masterdata.GetExceptionalHolidays.GetExceptionalHolidays.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!
GetExceptionalHolidays:
Admin_GetExceptionalHolidays_allValid_smoke:
endPoint: /v1/masterdata/exceptionalholidays/{registrationCenterId}/{langCode}
uniqueIdentifier: TC_Masterdata_GetExceptionalHolidays_01
description: Retrieve exceptional holidays based on a valid registration center ID and language code
role: admin
checkErrorsOnlyInResponse: true
templateFields: ["langCode"]
restMethod: get
inputTemplate: masterdata/GetExceptionalHolidays/getExceptionalHolidays
outputTemplate: masterdata/GetExceptionalHolidays/getExceptionalHolidaysResult
input: '{
"registrationCenterId":"10001",
"langCode":"eng"
}'
output: '{
}'
Admin_GetExceptionalHolidays_InValid_Invalid_registrationCenterId:
endPoint: /v1/masterdata/exceptionalholidays/{registrationCenterId}/{langCode}
uniqueIdentifier: TC_Masterdata_GetExceptionalHolidays_02
description: Retrieve exceptional holidays based on a invalid registration center ID and valid language code
role: admin
templateFields: ["langCode"]
restMethod: get
inputTemplate: masterdata/GetExceptionalHolidays/getExceptionalHolidays
outputTemplate: masterdata/error
input: '{
"registrationCenterId":"abc",
"langCode":"eng"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-802",
"message": "Center ID is invalid"
}
]
}'
Admin_GetExceptionalHolidays_InValid_Invalid_langCode:
endPoint: /v1/masterdata/exceptionalholidays/{registrationCenterId}/{langCode}
uniqueIdentifier: TC_Masterdata_GetExceptionalHolidays_03
description: Retrieve exceptional holidays based on a valid registration center ID and invalid language code
role: admin
restMethod: get
inputTemplate: masterdata/GetExceptionalHolidays/getExceptionalHolidays
outputTemplate: masterdata/error
input: '{
"registrationCenterId":"10001",
"langCode":"abc"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-999",
"message": "Language Code is Invalid"
}
]
}'
© 2015 - 2025 Weber Informatics LLC | Privacy Policy