masterdata.UpdateIdSchema.UpdateIdSchema.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!
UpdateIdSchema:
MasterData_Invalid_UpdateIdSchema_older_date_Smoke:
endPoint: /v1/masterdata/idschema/publish
uniqueIdentifier: TC_Masterdata_UpdateIdSchema_01
description: Update ID schema details with older date
role: admin
restMethod: put
inputTemplate: masterdata/UpdateIdSchema/updateIdSchema
outputTemplate: masterdata/error
input: '{
"effectiveFrom": "2021-07-09T07:23:03.744Z",
"id": "1001",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"errors": [
{
"errorCode": "KER-SCH-010",
"message": "Schema effective from date cannot be older"
}
]
}'
MasterData_Invalid_UpdateIdSchemac_Already_exists:
endPoint: /v1/masterdata/idschema/publish
uniqueIdentifier: TC_Masterdata_UpdateIdSchema_02
description: Update ID schema details which already exists
role: admin
restMethod: put
inputTemplate: masterdata/UpdateIdSchema/updateIdSchema
outputTemplate: masterdata/error
input: '{
"effectiveFrom": "2052-07-29T12:25:54.886Z",
"id": "1001",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"errors": [
{
"errorCode": "KER-SCH-009",
"message": "Schema already published"
}
]
}'
© 2015 - 2025 Weber Informatics LLC | Privacy Policy