masterdata.GetTemplateType.TemplateType.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!
TemplateType:
Kernel_TemplateType_allValid_smoke:
endPoint: /v1/masterdata/templatetypes/{code}/{langcode}
uniqueIdentifier: TC_Masterdata_TemplateType_01
description: Retrieve template details by valid language code and valid code
role: admin
restMethod: get
inputTemplate: masterdata/TemplateType/templateType
outputTemplate: masterdata/TemplateType/templateTypeResult
input: '{
"langcode": "eng",
"code": "auth-email-content"
}'
output: '{
"templateTypes": [{
"isActive": true
}]
}'
Kernel_TemplateType_inValid_code:
endPoint: /v1/masterdata/templatetypes/{code}/{langcode}
uniqueIdentifier: TC_Masterdata_TemplateType_02
description: Retrieve template details by valid language code and invalid code
role: admin
restMethod: get
inputTemplate: masterdata/TemplateType/templateType
outputTemplate: masterdata/error
input: '{
"langcode": "eng",
"code": "autmail-content"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-398",
"message": "Template Type not Found"
}
]
}'
Kernel_TemplateType_inValid_langcode:
endPoint: /v1/masterdata/templatetypes/{code}/{langcode}
uniqueIdentifier: TC_Masterdata_TemplateType_03
description: Retrieve template details by invalid language code and valid code
role: admin
restMethod: get
inputTemplate: masterdata/TemplateType/templateType
outputTemplate: masterdata/error
input: '{
"langcode": "enegd3662yu2bg",
"code": "auth-email-content"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-398",
"message": "Template Type not Found"
}
]
}'
Kernel_TemplateType_allValid_smoke_langcode:
endPoint: /v1/masterdata/templatetypes/{langcode}
uniqueIdentifier: TC_Masterdata_TemplateType_04
description: Retrieve template details by valid language code and without code
role: admin
restMethod: get
inputTemplate: masterdata/TemplateType/templateType
outputTemplate: masterdata/TemplateType/templateTypeResult
input: '{
"langcode": "eng",
"code": "$REMOVE$"
}'
output: '{
"templateTypes": [{
"isActive": true
}]
}'
Kernel_TemplateType_INValid_langcode:
endPoint: /v1/masterdata/templatetypes/{langcode}
uniqueIdentifier: TC_Masterdata_TemplateType_05
description: Retrieve template details by invalid language code and valid code
role: admin
restMethod: get
inputTemplate: masterdata/TemplateType/templateType
outputTemplate: masterdata/error
input: '{
"langcode": "ehsjsshsjshng",
"code": "$REMOVE$"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-398",
"message": "Template Type not Found"
}
]
}'
© 2015 - 2025 Weber Informatics LLC | Privacy Policy