masterdata.FetchGenderType.FetchGenderType.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!
FetchGenderType:
Masterdata_FetchGenderType_allValid_smoke_get:
endPoint: /v1/masterdata/gendertypes
uniqueIdentifier: TC_Masterdata_FetchGenderType_01
description: Retrieve Gender Types with all valid data
role: admin
restMethod: get
inputTemplate: masterdata/FetchGenderType/fetchGenderType
outputTemplate: masterdata/FetchGenderType/fetchGenderTypeResult
input: '{
"langcode":"$REMOVE$",
"gendername":"$REMOVE$"
}'
output: '{
}'
Masterdata_FetchGenderType_Validate_gender_name_smoke:
endPoint: /v1/masterdata/gendertypes/validate/{gendername}
uniqueIdentifier: TC_Masterdata_FetchGenderType_02
description: Retrieve Gender Types with valid gendername
role: admin
templateFields: []
restMethod: get
inputTemplate: masterdata/FetchGenderType/fetchGenderType
outputTemplate: masterdata/FetchGenderType/fetchGenderTypeValidationResult
input: '{
"langcode":"$REMOVE$",
"gendername":"Male"
}'
output: '{
}'
Masterdata_FetchGenderType_Validate_gender_name_invalid:
endPoint: /v1/masterdata/gendertypes/validate/{gendername}
uniqueIdentifier: TC_Masterdata_FetchGenderType_03
description: Retrieve Gender Types with invalid gendername
role: admin
templateFields: []
restMethod: get
inputTemplate: masterdata/FetchGenderType/fetchGenderType
outputTemplate: masterdata/FetchGenderType/fetchGenderTypeValidationResult
input: '{
"langcode":"$REMOVE$",
"gendername":"M@@dfdf433556667"
}'
output: '{
"status": "Invalid"
}'
Masterdata_FetchGenderType_invalid_langcode_unexisting:
endPoint: /v1/masterdata/gendertypes/{langcode}
uniqueIdentifier: TC_Masterdata_FetchGenderType_04
description: Retrieve Gender Types with invalid langcode
role: admin
templateFields: []
restMethod: get
inputTemplate: masterdata/FetchGenderType/fetchGenderType
outputTemplate: masterdata/error
input: '{
"langcode":"GER",
"gendername":"$REMOVE$"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-018",
"message": "Gender Type not found"
}
]
}'
© 2015 - 2025 Weber Informatics LLC | Privacy Policy