masterdata.ValidDocumentFilter.ValidDocumentFilter.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!
ValidDocumentFilter:
MasterData_ValidDocumentFilter_Valid_Smoke:
endPoint: /v1/masterdata/validdocuments/filtervalues
uniqueIdentifier: TC_Masterdata_ValidDocumentFilter_01
description: Filter the valid document details with valid data
role: admin
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/ValidDocumentFilter/validDocumentFilter
outputTemplate: masterdata/ValidDocumentFilter/validDocumentFilterResult
input: '{
"filters": [{
"columnName": "isActive",
"type": "unique",
"text": ""
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"filters": [
{
"fieldID": "isActive",
"fieldValue": "true"
},
{
"fieldID": "isActive",
"fieldValue": "false"
}
],
"errors": null
}'
MasterData_ValidDocumentFilter_Invalid_RequestTime:
endPoint: /v1/masterdata/validdocuments/filtervalues
uniqueIdentifier: TC_Masterdata_ValidDocumentFilter_02
description: Filter the valid document details with invalid request time
role: admin
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/ValidDocumentFilter/validDocumentFilter
outputTemplate: masterdata/error
input: '{
"filters": [{
"columnName": "isActive",
"type": "unique",
"text": ""
}],
"languageCode": "eng",
"requesttime": "2019-7-3T05:22:35.845"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-999",
"message": "Invalid Format in field : requesttime"
}
]
}'
MasterData_ValidDocumentFilter_InValid_FilterType:
endPoint: /v1/masterdata/validdocuments/filtervalues
uniqueIdentifier: TC_Masterdata_ValidDocumentFilter_03
description: Filter the valid document details with invalid filter type
role: admin
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/ValidDocumentFilter/validDocumentFilter
outputTemplate: masterdata/error
input: '{
"filters": [{
"columnName": "iSActive",
"type": "between",
"text": ""
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-324",
"message": "Received Filter Type not supported"
}
]
}'
MasterData_ValidDocumentFilter_Blank_FilterType:
endPoint: /v1/masterdata/validdocuments/filtervalues
uniqueIdentifier: TC_Masterdata_ValidDocumentFilter_04
description: Filter the valid document details with filter type as blank
role: admin
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/ValidDocumentFilter/validDocumentFilter
outputTemplate: masterdata/error
input: '{
"filters": [{
"columnName": "isActive",
"type": "",
"text": ""
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-322",
"message": "Filter Type cannot be empty or null"
}
]
}'
MasterData_ValidDocumentFilter_InValid_columnName:
endPoint: /v1/masterdata/validdocuments/filtervalues
uniqueIdentifier: TC_Masterdata_ValidDocumentFilter_05
description: Filter the valid document details with invalid column name
role: admin
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/ValidDocumentFilter/validDocumentFilter
outputTemplate: masterdata/error
input: '{
"filters": [{
"columnName": "lang_code",
"type": "unique",
"text": ""
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-317",
"message": "$IGNORE$"
}
]
}'
© 2015 - 2025 Weber Informatics LLC | Privacy Policy