masterdata.PacketRejectionReasonCategory.PacketRejectionReasonCategory.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!
PacketRejectionReasonCategory:
MasterData_PacketRejectionReasonCategory_All_Valid_Smoke:
endPoint: /v1/masterdata/packetrejectionreasons/reasoncategory
uniqueIdentifier: TC_Masterdata_PacketRejectionReasonCategory_01
description: Create packer rejection reason category with valid data
role: admin
templateFields: ["langCode"]
restMethod: post
inputTemplate: masterdata/PacketRejectionReasonCategory/packetRejectionReasonCategory
outputTemplate: masterdata/PacketRejectionReasonCategory/packetRejectionReasonCategoryResult
input: '{
"code": "TEST_CAT_CODE",
"name": "TEST_CAT",
"description": "test reason category code",
"langCode": "eng",
"isActive": true,
"requesttime": "$TIMESTAMP$"
}'
output: '{
"code": "TEST_CAT_CODE"
}'
MasterData_PacketRejectionReasonCategory_Invalid_langCode:
endPoint: /v1/masterdata/packetrejectionreasons/reasoncategory
uniqueIdentifier: TC_Masterdata_PacketRejectionReasonCategory_02
description: Create packer rejection reason category with invalid language code
role: admin
restMethod: get
inputTemplate: masterdata/PacketRejectionReasonCategory/packetRejectionReasonCategory
outputTemplate: masterdata/error
input: '{
"code": "TEST_CAT_CODE",
"name": "TEST_CAT",
"description": "test reason category code",
"langCode": "a@@12bc",
"isActive": true,
"requesttime": "$TIMESTAMP$"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-999",
"message": "request.langCode: Language code not supported"
}
]
}'
© 2015 - 2025 Weber Informatics LLC | Privacy Policy