masterdata.FetchWorkingDays.FetchWorkingDays.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!
FetchWorkingDays:
MasterData_FetchWorkingDays_allValid_smoke:
endPoint: /v1/masterdata/workingdays/{registrationCenterID}/{langCode}
uniqueIdentifier: TC_Masterdata_FetchWorkingDays_01
description: Retrieve Working Day details By registrationCenterID and langCode
role: admin
checkErrorsOnlyInResponse: true
templateFields: ["langCode"]
restMethod: get
inputTemplate: masterdata/FetchWorkingDays/fetchWorkingDays
outputTemplate: masterdata/FetchWorkingDays/fetchWorkingDaysResult
input: '{
"langCode": "eng",
"registrationCenterID": "10011"
}'
output: '{
"errors": null
}'
MasterData_FetchWorkingDays_ByLangcode_allValid_smoke:
endPoint: /v1/masterdata/workingdays/{langCode}
uniqueIdentifier: TC_Masterdata_FetchWorkingDays_02
description: Retrieve Working Day details By langCode
role: admin
checkErrorsOnlyInResponse: true
templateFields: ["langCode"]
restMethod: get
inputTemplate: masterdata/FetchWorkingDays/fetchWorkingDays
outputTemplate: masterdata/FetchWorkingDays/fetchWorkingDaysResult
input: '{
"langCode": "eng",
"registrationCenterID": "$REMOVE$"
}'
output: '{
}'
MasterData_FetchWorkingDays_InvalidValid_langCode:
endPoint: /v1/masterdata/workingdays/{registrationCenterID}/{langCode}
uniqueIdentifier: TC_Masterdata_FetchWorkingDays_03
description: Retrieve Working Day details By invalid langCode
role: admin
restMethod: get
inputTemplate: masterdata/FetchWorkingDays/fetchWorkingDays
outputTemplate: masterdata/error
input: '{
"langCode": "eng1",
"registrationCenterID": "10011"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-999",
"message": "Language Code is Invalid"
}
]
}'
MasterData_FetchWorkingDays_InvalidValid_registrationCenterID:
endPoint: /v1/masterdata/workingdays/{registrationCenterID}/{langCode}
uniqueIdentifier: TC_Masterdata_FetchWorkingDays_04
description: Retrieve Working Day details By invalid registrationCenterID and valid langCode
role: admin
templateFields: ["langCode"]
restMethod: get
inputTemplate: masterdata/FetchWorkingDays/fetchWorkingDays
outputTemplate: masterdata/error
input: '{
"langCode": "eng",
"registrationCenterID": "1001112"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-802",
"message": "Center ID is invalid"
}
]
}'
© 2015 - 2025 Weber Informatics LLC | Privacy Policy