masterdata.FetchDocumentTypes.FetchDocumentTypes.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!
FetchDocumentTypes:
MasterData_FetchDocumentTypes_invalid_langcode:
endPoint: /v1/masterdata/documenttypes/{langcode}
uniqueIdentifier: TC_Masterdata_FetchDocumentTypes_01
description: Retrieve Document Types with invalid langcode
role: admin
templateFields: []
restMethod: get
inputTemplate: masterdata/FetchDocumentTypes/fetchDocumentTypes
outputTemplate: masterdata/error
input: '{
"documentcategorycode":"$REMOVE$",
"langcode":"e@@efff34354566y"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-118",
"message": "Document Type not found"
}
]
}'
MasterData_FetchDocumentTypes_invalid_documentcategorycode_notpresent:
endPoint: /v1/masterdata/documenttypes/{documentcategorycode}/{langcode}
uniqueIdentifier: TC_Masterdata_FetchDocumentTypes_02
description: Retrieve Document Types with non existing documentcategorycode
role: admin
templateFields: []
restMethod: get
inputTemplate: masterdata/FetchDocumentTypes/fetchDocumentTypes
outputTemplate: masterdata/error
input: '{
"documentcategorycode":"Java",
"langcode":"eng"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-118",
"message": "Document Type not found"
}
]
}'
MasterData_FetchDocumentTypes_invalid_langcode_notpresent:
endPoint: /v1/masterdata/documenttypes/{documentcategorycode}/{langcode}
uniqueIdentifier: TC_Masterdata_FetchDocumentTypes_03
description: Retrieve Document Types with invalid langcode
role: admin
templateFields: []
restMethod: get
inputTemplate: masterdata/FetchDocumentTypes/fetchDocumentTypes
outputTemplate: masterdata/error
input: '{
"documentcategorycode":"TestDocType0010",
"langcode":"ger"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-118",
"message": "Document Type not found"
}
]
}'
© 2015 - 2025 Weber Informatics LLC | Privacy Policy