masterdata.GetModuleByLangCode.GetModuleByLangCode.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!
GetModuleByLangCode:
Admin_GetModuleByLangCode_allValid_smoke:
endPoint: /v1/masterdata/modules/{langcode}
uniqueIdentifier: TC_Masterdata_GetModuleByLangCode_01
description: Retrieve module details by valid language code
role: admin
templateFields: ["langcode"]
restMethod: get
inputTemplate: masterdata/GetModuleByLangCode/getModuleByLangCode
outputTemplate: masterdata/GetModuleByLangCode/getModuleByLangCodeResult
input: '{
"langcode":"eng"
}'
output: '{
"modules": [{
"id": "$IGNORE$",
"name": "$IGNORE$",
"langCode": "$IGNORE$",
"description": "$IGNORE$",
"isActive": true
}]
}'
Admin_GetModuleByLangCode_Invalid_Invalid_langcode:
endPoint: /v1/masterdata/modules/{langcode}
uniqueIdentifier: TC_Masterdata_GetModuleByLangCode_02
description: Retrieve module details by invalid language code
role: admin
restMethod: get
inputTemplate: masterdata/GetModuleByLangCode/getModuleByLangCode
outputTemplate: masterdata/error
input: '{
"langcode":"abc"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-248",
"message": "Module not Found"
}
]
}'
© 2015 - 2025 Weber Informatics LLC | Privacy Policy