masterdata.GetPacketRejectionReason.GetPacketRejectionReason.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!
GetPacketRejectionReason:
Masterdata_GetPacketRejectionReason_allValid_smoke:
endPoint: /v1/masterdata/packetrejectionreasons/{reasoncategorycode}/{langcode}
uniqueIdentifier: TC_Masterdata_GetPacketRejectionReason_01
description: Retrieve the packet rejection reason using a valid language code and reason category code
role: admin
checkErrorsOnlyInResponse: true
templateFields: ["langcode"]
restMethod: get
inputTemplate: masterdata/GetPacketRejectionReason/getPacketRejectionReason
outputTemplate: masterdata/GetPacketRejectionReason/getPacketRejectionReasonResult
input: '{
"reasoncategorycode":"MNA",
"langcode":"eng"
}'
output: '{
"errors": null
}'
Masterdata_GetPacketRejectionReason_with_empty_data:
endPoint: /v1/masterdata/packetrejectionreasons/{reasoncategorycode}/{langcode}
uniqueIdentifier: TC_Masterdata_GetPacketRejectionReason_02
description: Retrieve the packet rejection reason without language code and reason category code
role: admin
restMethod: get
inputTemplate: masterdata/GetPacketRejectionReason/getPacketRejectionReason
outputTemplate: masterdata/error
input: '{
"reasoncategorycode":"$IGNORE$",
"langcode":"$IGNORE$"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-036",
"message": "Reason not found"
}
]
}'
Masterdata_GetPacketRejectionReason_Invalid_reasoncategorycode:
endPoint: /v1/masterdata/packetrejectionreasons/{reasoncategorycode}/{langcode}
uniqueIdentifier: TC_Masterdata_GetPacketRejectionReason_03
description: Retrieve the packet rejection reason using a valid language code and invalid reason category code
role: admin
restMethod: get
inputTemplate: masterdata/GetPacketRejectionReason/getPacketRejectionReason
outputTemplate: masterdata/error
input: '{
"reasoncategorycode":"a@b@12c",
"langcode":"eng"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-036",
"message": "Reason not found"
}
]
}'
Masterdata_GetPacketRejectionReason_Invalid_langcode:
endPoint: /v1/masterdata/packetrejectionreasons/{reasoncategorycode}/{langcode}
uniqueIdentifier: TC_Masterdata_GetPacketRejectionReason_04
description: Retrieve the packet rejection reason using a invalid language code and valid reason category code
role: admin
restMethod: get
inputTemplate: masterdata/GetPacketRejectionReason/getPacketRejectionReason
outputTemplate: masterdata/error
input: '{
"reasoncategorycode":"MNA",
"langcode":"abc"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-036",
"message": "Reason not found"
}
]
}'
© 2015 - 2025 Weber Informatics LLC | Privacy Policy