masterdata.GetLocationHierarchyByHierarchyName.GetLocationHierarchyByHierarchyName.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!
GetLocationHierarchyByHierarchyName:
Admin_GetLocationHierarchyByHierarchyName_allValid_smoke:
endPoint: /v1/masterdata/locations/locationhierarchy/{hierarchyname}
uniqueIdentifier: TC_Masterdata_GetLocationHierarchyByHierarchyName_01
description: Retrieve location hierarchy details by valid hierarchy name
role: admin
restMethod: get
inputTemplate: masterdata/GetLocationHierarchyByHierarchyName/getLocationHierarchyByHierarchyName
outputTemplate: masterdata/GetLocationHierarchyByHierarchyName/getLocationHierarchyByHierarchyNameResult
input: '{
"hierarchyname":"City"
}'
output: '{
"locations": [{
"code": "$IGNORE$",
"name": "$IGNORE$",
"hierarchyLevel": "$IGNORE$",
"hierarchyName": "City",
"parentLocCode": "$IGNORE$",
"isActive": "$IGNORE$"
}]
}'
Admin_GetLocationHierarchyByHierarchyName_Invalid_Invalid_hierarchyname:
endPoint: /v1/masterdata/locations/locationhierarchy/{hierarchyname}
uniqueIdentifier: TC_Masterdata_GetLocationHierarchyByHierarchyName_02
description: Retrieve location hierarchy details by invalid hierarchy name
role: admin
restMethod: get
inputTemplate: masterdata/GetLocationHierarchyByHierarchyName/getLocationHierarchyByHierarchyName
outputTemplate: masterdata/error
input: '{
"hierarchyname":"abc"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-026",
"message": "Location not found"
}
]
}'
© 2015 - 2025 Weber Informatics LLC | Privacy Policy