masterdata.DeleteLocation.DeleteLocation.yml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of apitest-masterdata Show documentation
Show all versions of apitest-masterdata Show documentation
Parent project of MOSIP Admin Services apitests
The newest version!
DeleteLocation:
MasterData_DeleteLocation_All_Valid_Smoke_sid:
endPoint: /v1/masterdata/locations/{locationcode}
uniqueIdentifier: TC_Masterdata_DeleteLocation_01
description: Delete Location with valid data
role: admin
checkErrorsOnlyInResponse: true
restMethod: delete
inputTemplate: masterdata/DeleteLocation/deleteLocation
outputTemplate: masterdata/DeleteLocation/deleteLocationResult
input: '{
"locationcode": "$LOCATIONCODE$"
}'
output: '{
"code": "$IGNORE$"
}'
MasterData_DeleteLocation_Invalid_ID:
endPoint: /v1/masterdata/locations/{locationcode}
uniqueIdentifier: TC_Masterdata_DeleteLocation_02
description: Delete Location with invalid locationcode
role: admin
restMethod: delete
inputTemplate: masterdata/DeleteLocation/deleteLocation
outputTemplate: masterdata/error
input: '{
"locationcode": "ahdkh"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-026",
"message": "Location not found"
}
]
}'
© 2015 - 2025 Weber Informatics LLC | Privacy Policy