masterdata.GetTemplateFileFormat.GetTemplateFileFormat.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!
GetTemplateFileFormat:
Masterdata_GetTemplateFileFormat_allValid_smoke:
endPoint: /v1/masterdata/templatefileformats/{code}/{langcode}
uniqueIdentifier: TC_Masterdata_GetTemplateFileFormat_01
description: Retrieve template file format with valid language code and code
role: admin
templateFields: ["langcode"]
restMethod: get
inputTemplate: masterdata/GetTemplateFileFormat/getTemplateFileFormat
outputTemplate: masterdata/GetTemplateFileFormat/getTemplateFileFormatResult
input: '{
"langcode": "eng",
"code": "json"
}'
output: '{
"templateFileFormats": [{
"code": "json",
"isActive": true
}]
}'
Masterdata_GetTemplateFileFormat_inValid_code:
endPoint: /v1/masterdata/templatefileformats/{code}/{langcode}
uniqueIdentifier: TC_Masterdata_GetTemplateFileFormat_02
description: Retrieve template file format with valid language code and invalid code
role: admin
templateFields: ["langcode"]
restMethod: get
inputTemplate: masterdata/GetTemplateFileFormat/getTemplateFileFormat
outputTemplate: masterdata/error
input: '{
"langcode": "eng",
"code": "jdhdudhdson"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-046",
"message": "Template not found."
}
]
}'
Masterdata_GetTemplateFileFormat_langcode_allValid_smoke:
endPoint: /v1/masterdata/templatefileformats/code/{code}
uniqueIdentifier: TC_Masterdata_GetTemplateFileFormat_02
description: Retrieve template file format without language code and code
role: admin
restMethod: get
inputTemplate: masterdata/GetTemplateFileFormat/getTemplateFileFormat
outputTemplate: masterdata/GetTemplateFileFormat/getTemplateFileFormatResult
input: '{
"langcode": "$REMOVE$",
"code": "json"
}'
output: '{
"templateFileFormats": [{
"code": "json",
"isActive": true
}]
}'
© 2015 - 2025 Weber Informatics LLC | Privacy Policy