masterdata.SearchZoneUser.SearchZoneUser.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!
SearchZoneUser:
MasterData_SearchZoneUser_Valid_Smoke:
endPoint: /v1/masterdata/zoneuser/search
uniqueIdentifier: TC_Masterdata_SearchZoneUser_01
description: Search for zone user details with valid data
role: admin
restMethod: post
inputTemplate: masterdata/SearchZoneUser/searchZoneUser
outputTemplate: masterdata/SearchZoneUser/searchZoneUserResult
input: '{
"filters": [
{
"columnName": "zoneCode",
"type": "all",
"value": "CST",
"fromValue": "$REMOVE$",
"toValue": "$REMOVE$"
}
],
"sort": [
{
"sortField": "zoneCode",
"sortType": "ASC"
}
],
"pageStart": 0,
"pageFetch": 1,
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"createdBy": "$IGNORE$",
"createdDateTime": "$IGNORE$",
"updatedBy": "$IGNORE$",
"updatedDateTime": "$IGNORE$",
"deletedDateTime": "$IGNORE$",
"zoneCode": "$IGNORE$",
"userId": "$IGNORE$",
"userName": "$IGNORE$",
"zoneName": "$IGNORE$"
}'
MasterData_SearchZoneUser_Empty_Value:
endPoint: /v1/masterdata/zoneuser/search
uniqueIdentifier: TC_Masterdata_SearchZoneUser_02
description: Search for zone user details with value as empty
role: admin
restMethod: post
inputTemplate: masterdata/SearchZoneUser/searchZoneUser
outputTemplate: masterdata/error
input: '{
"filters": [
{
"columnName": "zoneCode",
"type": "all",
"value": "",
"fromValue": "$REMOVE$",
"toValue": "$REMOVE$"
}
],
"sort": [
{
"sortField": "zoneCode",
"sortType": "ASC"
}
],
"pageStart": 0,
"pageFetch": 1,
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-390",
"message": "Invalid filter value"
}
]
}'
MasterData_SearchZoneUser_Empty_ColumnName:
endPoint: /v1/masterdata/zoneuser/search
uniqueIdentifier: TC_Masterdata_SearchZoneUser_03
description: Search for zone user details with column name as empty
role: admin
restMethod: post
inputTemplate: masterdata/SearchZoneUser/searchZoneUser
outputTemplate: masterdata/error
input: '{
"filters": [
{
"columnName": "",
"type": "all",
"value": "CST",
"fromValue": "$REMOVE$",
"toValue": "$REMOVE$"
}
],
"sort": [
{
"sortField": "zoneCode",
"sortType": "ASC"
}
],
"pageStart": 0,
"pageFetch": 1,
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-311",
"message": "Column is missing in request"
}
]
}'
MasterData_SearchZoneUser_Invalid_Pagination:
endPoint: /v1/masterdata/zoneuser/search
uniqueIdentifier: TC_Masterdata_SearchZoneUser_04
description: Search for zone user details with invalid pagination
role: admin
restMethod: post
inputTemplate: masterdata/SearchZoneUser/searchZoneUser
outputTemplate: masterdata/error
input: '{
"filters": [
{
"columnName": "zoneCode",
"type": "all",
"value": "CST",
"fromValue": "$REMOVE$",
"toValue": "$REMOVE$"
}
],
"sort": [
{
"sortField": "zoneCode",
"sortType": "ASC"
}
],
"pageStart": 0,
"pageFetch": -1,
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-313",
"message": "Invalid pagination value received pagestart:0 and pagefetch:-1"
}
]
}'
© 2015 - 2025 Weber Informatics LLC | Privacy Policy