masterdata.GetimmediateChildrenByLocationCode.GetimmediateChildrenByLocationCode.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!
GetimmediateChildrenByLocationCode:
Admin_GetimmediateChildrenByLocationCode_allValid_smoke:
endPoint: /v1/masterdata/locations/immediatechildren/{locationcode}/{langcode}
uniqueIdentifier: TC_Masterdata_GetimmediateChildrenByLocationCode_01
description: Retrieve immediate children details by valid location and language code
role: admin
checkErrorsOnlyInResponse: true
restMethod: get
inputTemplate: masterdata/GetimmediateChildrenByLocationCode/getimmediateChildrenByLocationCode
outputTemplate: masterdata/GetimmediateChildrenByLocationCode/getimmediateChildrenByLocationCodeResult
input: '{
"locationcode":"BNMR",
"langcode":"eng"
}'
output: '{
"locations": [{
"code": "$IGNORE$",
"name": "$IGNORE$",
"hierarchyLevel": "$IGNORE$",
"hierarchyName": "$IGNORE$",
"parentLocCode": "$IGNORE$",
"isActive": "$IGNORE$"
}]
}'
Admin_GetimmediateChildrenByLocationCode_Invalid_Invalid_locationcode:
endPoint: /v1/masterdata/locations/immediatechildren/{locationcode}/{langcode}
uniqueIdentifier: TC_Masterdata_GetimmediateChildrenByLocationCode_02
description: Retrieve immediate children details by invalid location code and valid language code
role: admin
restMethod: get
inputTemplate: masterdata/GetimmediateChildrenByLocationCode/getimmediateChildrenByLocationCode
outputTemplate: masterdata/error
input: '{
"locationcode":"abc",
"langcode":"eng"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-026",
"message": "Location not found"
}
]
}'
Admin_GetimmediateChildrenByLocationCode_Invalid_Invalid_langcode:
endPoint: /v1/masterdata/locations/immediatechildren/{locationcode}/{langcode}
uniqueIdentifier: TC_Masterdata_GetimmediateChildrenByLocationCode_03
description: Retrieve immediate children details by valid location code and invalid language code
role: admin
restMethod: get
inputTemplate: masterdata/GetimmediateChildrenByLocationCode/getimmediateChildrenByLocationCode
outputTemplate: masterdata/error
input: '{
"locationcode":"$LOCATIONCODE$",
"langcode":"abc"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-026",
"message": "Location not found"
}
]
}'
© 2015 - 2025 Weber Informatics LLC | Privacy Policy