masterdata.FilterZoneDetails.FilterZoneDetails.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!
FilterZoneDetails:
Admin_FilterZoneDetails_Valid_Request_Smoke:
endPoint: /v1/masterdata/zones/filtervalues
uniqueIdentifier: TC_Masterdata_FilterZoneDetails_01
description: Filter Zone details by all valid details
role: admin
restMethod: post
inputTemplate: masterdata/FilterZoneDetails/filterZoneDetails
outputTemplate: masterdata/FilterZoneDetails/filterZoneDetailsResult
input: '{
"filters": [{
"columnName": "name",
"type": "all",
"text": "MyCountry"
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"filters": [
{
"fieldID": "name",
"fieldValue": "MyCountry",
"fieldCode": "MOR"
}
]
}'
Admin_FilterZoneDetails_Invalid_EmptyFilterType:
endPoint: /v1/masterdata/zones/filtervalues
uniqueIdentifier: TC_Masterdata_FilterZoneDetails_02
description: Filter Zone details by empty filter type
role: admin
restMethod: post
inputTemplate: masterdata/FilterZoneDetails/filterZoneDetails
outputTemplate: masterdata/error
input: '{
"filters": [{
"columnName": "name",
"type": "",
"text": "MyCountry"
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-322",
"message": "Filter Type cannot be empty or null"
}
]
}'
Admin_FilterZoneDetails_Invalid_InvalidFilterType:
endPoint: /v1/masterdata/zones/filtervalues
uniqueIdentifier: TC_Masterdata_FilterZoneDetails_03
description: Filter Zone details by invalid filter type
role: admin
restMethod: post
inputTemplate: masterdata/FilterZoneDetails/filterZoneDetails
outputTemplate: masterdata/error
input: '{
"filters": [{
"columnName": "name",
"type": "abc",
"text": "MyCountry"
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-324",
"message": "Received Filter Type not supported"
}
]
}'
Admin_FilterZoneDetails_Invalid_InvalidcolumnName:
endPoint: /v1/masterdata/zones/filtervalues
uniqueIdentifier: TC_Masterdata_FilterZoneDetails_04
description: Filter Zone details by invalid filter columnname
role: admin
restMethod: post
inputTemplate: masterdata/FilterZoneDetails/filterZoneDetails
outputTemplate: masterdata/error
input: '{
"filters": [{
"columnName": "abc",
"type": "all",
"text": "MyCountry"
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-317",
"message": "$IGNORE$"
}
]
}'
Admin_FilterZoneDetails_Invalid_EmptycolumnName:
endPoint: /v1/masterdata/zones/filtervalues
uniqueIdentifier: TC_Masterdata_FilterZoneDetails_05
description: Filter Zone details by empty columnname
role: admin
restMethod: post
inputTemplate: masterdata/FilterZoneDetails/filterZoneDetails
outputTemplate: masterdata/error
input: '{
"filters": [{
"columnName": "",
"type": "all",
"text": "MyCountry"
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-999",
"message": "$IGNORE$"
}
]
}'
© 2015 - 2025 Weber Informatics LLC | Privacy Policy