masterdata.GetModuleByIdLangCode.GetModuleByIdLangCode.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!
GetModuleByIdLangCode:
Admin_GetModuleByIdLangCode_allValid_smoke:
endPoint: /v1/masterdata/modules/{id}/{langcode}
uniqueIdentifier: TC_Masterdata_GetModuleByIdLangCode_01
description: Retrieve module details by by valid ID and language code
role: admin
templateFields: ["langcode"]
restMethod: get
inputTemplate: masterdata/GetModuleByIdLangCode/getModuleByIdLangCode
outputTemplate: masterdata/GetModuleByIdLangCode/getModuleByIdLangCodeResult
input: '{
"id":"10001",
"langcode":"eng"
}'
output: '{
"modules": [{
"id": "$IGNORE$",
"name": "$IGNORE$",
"langCode": "$IGNORE$",
"description": "$IGNORE$",
"isActive": true
}]
}'
Admin_GetModuleByIdLangCode_Invalid_Invalid_langcode:
endPoint: /v1/masterdata/modules/{id}/{langcode}
uniqueIdentifier: TC_Masterdata_GetModuleByIdLangCode_02
description: Retrieve module details by by valid ID and invalid language code
role: admin
restMethod: get
inputTemplate: masterdata/GetModuleByIdLangCode/getModuleByIdLangCode
outputTemplate: masterdata/error
input: '{
"id":"10001",
"langcode":"abc"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-248",
"message": "Module not Found"
}
]
}'
Admin_GetModuleByIdLangCode_Invalid_Invalid_lD:
endPoint: /v1/masterdata/modules/{id}/{langcode}
uniqueIdentifier: TC_Masterdata_GetModuleByIdLangCode_03
description: Retrieve module details by by invalid ID and valid language code
role: admin
restMethod: get
inputTemplate: masterdata/GetModuleByIdLangCode/getModuleByIdLangCode
outputTemplate: masterdata/error
input: '{
"id":"abc",
"langcode":"eng"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-248",
"message": "Module not Found"
}
]
}'
© 2015 - 2025 Weber Informatics LLC | Privacy Policy