masterdata.DeleteHoliday.deleteHoliday.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!
DeleteHoliday:
MasterData_DeleteHoliday_All_Valid_Smoke_sid:
endPoint: /v1/masterdata/holidays
uniqueIdentifier: TC_Masterdata_DeleteHoliday_01
description: Delete Holiday with all valid data
role: admin
templateFields: []
restMethod: delete
inputTemplate: masterdata/DeleteHoliday/deleteHoliday
outputTemplate: masterdata/DeleteHoliday/deleteHolidayResult
input: '{
"requesttime": "$TIMESTAMP$",
"holidayDate": "2020-08-15",
"locationCode": "$LOCATIONCODE$"
}'
output: '{
"holidayDate": "2020-08-15",
"locationCode": "$IGNORE$"
}'
MasterData_DeleteHoliday_Invalid_requesttime_Neg:
endPoint: /v1/masterdata/holidays
uniqueIdentifier: TC_Masterdata_DeleteHoliday_02
description: Delete Holiday with invalid requesttime
role: admin
templateFields: []
restMethod: delete
inputTemplate: masterdata/DeleteHoliday/deleteHoliday
outputTemplate: masterdata/error
input: '{
"requesttime": "ssf$5",
"holidayDate": "2020-08-15",
"locationCode": "$LOCATIONCODE$"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-999",
"message": "Invalid Format in field : requesttime"
}
],
"holidayDate": "2020-08-15",
"locationCode": "$IGNORE$"
}'
MasterData_DeleteHoliday_Invalid_locationCode:
endPoint: /v1/masterdata/holidays
uniqueIdentifier: TC_Masterdata_DeleteHoliday_03
description: Delete Holiday with invalid locationCode
role: admin
templateFields: []
restMethod: delete
inputTemplate: masterdata/DeleteHoliday/deleteHoliday
outputTemplate: masterdata/error
input: '{
"requesttime": "$TIMESTAMP$",
"holidayDate": "2020-08-15",
"locationCode": "Fe4$"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-020",
"message": "Holiday not found"
}
],
"holidayDate": "2020-08-15",
"locationCode": "$IGNORE$"
}'
MasterData_DeleteHoliday_Invalid_holidayDate_Neg:
endPoint: /v1/masterdata/holidays
uniqueIdentifier: TC_Masterdata_DeleteHoliday_04
description: Delete Holiday with invalid holidayDate
role: admin
templateFields: []
restMethod: delete
inputTemplate: masterdata/DeleteHoliday/deleteHoliday
outputTemplate: masterdata/error
input: '{
"requesttime": "$TIMESTAMP$",
"holidayDate": "2020-0",
"locationCode": "$LOCATIONCODE$"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-999",
"message": "Invalid Format in field : holidayDate"
}
],
"holidayDate": "2020-08-15",
"locationCode": "$IGNORE$"
}'
© 2015 - 2025 Weber Informatics LLC | Privacy Policy