masterdata.GetDocumentTypeByLangCode.GetDocumentTypeByLangCode.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!
GetDocumentTypeByLangCode:
Masterdata_GetDocumentTypeByLangCode_allValid_smoke:
endPoint: /v1/masterdata/documenttypes/{langcode}
uniqueIdentifier: TC_Masterdata_GetDocumentTypeByLangCode_01
description: Retrieve document type by valid language code
role: admin
checkErrorsOnlyInResponse: true
restMethod: get
inputTemplate: masterdata/GetDocumentTypeByLangCode/getDocumentTypeByLangCode
outputTemplate: masterdata/GetDocumentTypeByLangCode/getDocumentTypeByLangCodeResult
input: '{
"langcode":"eng"
}'
output: '{
"documenttypes": [{
"code": "$IGNORE$",
"name": "$IGNORE$",
"description": "$IGNORE$",
"isActive": "$IGNORE$"
}]
}'
Masterdata_GetDocumentTypeByLangCode_InValid_langcode:
endPoint: /v1/masterdata/documenttypes/{langcode}
uniqueIdentifier: TC_Masterdata_GetDocumentTypeByLangCode_02
description: Retrieve document type by invalid language code
role: admin
restMethod: get
inputTemplate: masterdata/GetDocumentTypeByLangCode/getDocumentTypeByLangCode
outputTemplate: masterdata/error
input: '{
"langcode":"eng1"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-118",
"message": "Document Type not found"
}
]
}'
© 2015 - 2025 Weber Informatics LLC | Privacy Policy