masterdata.GetIdTypeByLangCode.GetIdTypeByLangCode.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!
GetIdTypeByLangCode:
Admin_GetIdTypeByLangCode_allValid_smoke:
endPoint: /v1/masterdata/idtypes/{langcode}
uniqueIdentifier: TC_Masterdata_GetIdTypeByLangCode_01
description: Retrieve ID type by valid language code
role: admin
checkErrorsOnlyInResponse: true
restMethod: get
inputTemplate: masterdata/GetIdTypeByLangCode/getIdTypeByLangCode
outputTemplate: masterdata/GetIdTypeByLangCode/getIdTypeByLangCodeResult
input: '{
"langcode":"eng"
}'
output: '{
"idtypes": [{
"code": "$IGNORE$",
"descr": "$IGNORE$",
"name": "$IGNORE$",
"isActive": "$IGNORE$"
}]
}'
Admin_GetIdTypeByLangCode_InValid_Invalid_langCode:
endPoint: /v1/masterdata/idtypes/{langcode}
uniqueIdentifier: TC_Masterdata_GetIdTypeByLangCode_02
description: Retrieve ID type by valid inlanguage code
role: admin
restMethod: get
inputTemplate: masterdata/GetIdTypeByLangCode/getIdTypeByLangCode
outputTemplate: masterdata/error
input: '{
"langcode":"eng1"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-022",
"message": "ID Type not found."
}
]
}'
© 2015 - 2025 Weber Informatics LLC | Privacy Policy