masterdata.CreateIdType.CreateIdType.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!
CreateIdType:
MasterData_CreateIdType_allValid_smoke:
endPoint: /v1/masterdata/idtypes
uniqueIdentifier: TC_Masterdata_CreateIdType_01
description: Create Id Type with valid data
role: admin
templateFields: ["langCode"]
restMethod: post
inputTemplate: masterdata/CreateIdType/createIdType
outputTemplate: masterdata/CreateIdType/createIdTypeResult
input: '{
"code": "NEW",
"descr": "test",
"name": "test",
"langCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"code": "NEW"
}'
MasterData_CreateIdType_Invalid_langCode:
endPoint: /v1/masterdata/idtypes
uniqueIdentifier: TC_Masterdata_CreateIdType_02
description: Create Id Type with invalid langcode
role: admin
restMethod: post
inputTemplate: masterdata/CreateIdType/createIdType
outputTemplate: masterdata/error
input: '{
"code": "NEW",
"descr": "test",
"name": "test",
"langCode": "eng1",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-999",
"message": "Language Code is Invalid"
}
]
}'
© 2015 - 2025 Weber Informatics LLC | Privacy Policy