masterdata.FilterMachines.FilterMachines.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!
FilterMachines:
Masterdata_FilterMachines_Valid_ColumnStatus:
endPoint: /v1/masterdata/machines/filtervalues
uniqueIdentifier: TC_Masterdata_FilterMachines_01
description: Filter Active Machine details by columnName isActive
role: globalAdmin
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/FilterMachines/filterMachines
outputTemplate: masterdata/FilterMachines/filterMachinesResult
input: '{
"filters": [{
"columnName": "isActive",
"type": "all",
"text": ""
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"filters": [
{
"fieldID": "isActive",
"fieldValue": "true"
}
]
}'
Masterdata_FilterMachines_Valid_ColumnMachineSpecId:
endPoint: /v1/masterdata/machines/filtervalues
uniqueIdentifier: TC_Masterdata_FilterMachines_02
description: Filter All Machine details by columnName machineSpecId
role: globalAdmin
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/FilterMachines/filterMachines
outputTemplate: masterdata/FilterMachines/filterMachinesResult
input: '{
"filters": [{
"columnName": "machineSpecId",
"type": "All",
"text": "$ID:CreateMachineSpecification_All_Valid_Smoke_sid_id$"
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"filters": [
{
"fieldID": "machineSpecId",
"fieldValue": "$IGNORE$"
}
]
}'
Masterdata_FilterMachines_Invalid_EmptyColumnName:
endPoint: /v1/masterdata/machines/filtervalues
uniqueIdentifier: TC_Masterdata_FilterMachines_03
description: Filter Machine details by empty columnName
role: globalAdmin
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/FilterMachines/filterMachines
outputTemplate: masterdata/error
input: '{
"filters": [{
"columnName": "",
"type": "equals",
"text": "a2ml30846"
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-999",
"message": "request.filters[0].columnName: must not be blank"
}
]
}'
Masterdata_FilterMachines_Invalid_EmptyFilterType:
endPoint: /v1/masterdata/machines/filtervalues
uniqueIdentifier: TC_Masterdata_FilterMachines_04
description: Filter Machine details by empty filter type
role: globalAdmin
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/FilterMachines/filterMachines
outputTemplate: masterdata/error
input: '{
"filters": [{
"columnName": "name",
"type": "",
"text": "a2ml30846"
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-322",
"message": "Filter Type cannot be empty or null"
}
]
}'
Masterdata_FilterMachines_Invalid_ColumnName:
endPoint: /v1/masterdata/machines/filtervalues
uniqueIdentifier: TC_Masterdata_FilterMachines_05
description: Filter Machine details by invalid columnName
role: globalAdmin
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/FilterMachines/filterMachines
outputTemplate: masterdata/error
input: '{
"filters": [{
"columnName": "dkfjdkfj",
"type": "equals",
"text": "a2ml30846"
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-317"
}
]
}'
© 2015 - 2025 Weber Informatics LLC | Privacy Policy