masterdata.GetApplicantType.GetApplicantType.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!
GetApplicantType:
Masterdata_GetApplicantType_valid_smoke:
endPoint: /v1/masterdata/getApplicantType
uniqueIdentifier: TC_Masterdata_GetApplicantType_01
description: Retrieve Applicant Types by all valid data
role: admin
restMethod: post
inputTemplate: masterdata/GetApplicantType/getApplicantType
outputTemplate: masterdata/GetApplicantType/getApplicantTypeResult
input: '{
"attributes": [{
"attribute": "residenceStatus",
"value": "FR"
},
{
"attribute": "dateOfBirth",
"value": "1996/01/01"
},
{
"attribute": "gender",
"value": "MLE"
},
{
"attribute": "biometricAvailable",
"value": true
}
],
"requesttime": "$TIMESTAMP$"
}'
output: '{
"applicantTypeCode": "002"
}'
Masterdata_GetApplicantType_MLE_NFR_CHL_True:
endPoint: /v1/masterdata/getApplicantType
uniqueIdentifier: TC_Masterdata_GetApplicantType_02
description: Retrieve Applicant Types for Male, Non Foreigner and Child
role: admin
restMethod: post
inputTemplate: masterdata/GetApplicantType/getApplicantType
outputTemplate: masterdata/GetApplicantType/getApplicantTypeResult
input: '{
"attributes": [{
"attribute": "residenceStatus",
"value": "NFR"
},
{
"attribute": "dateOfBirth",
"value": "2019/01/01"
},
{
"attribute": "gender",
"value": "MLE"
},
{
"attribute": "biometricAvailable",
"value": true
}
],
"requesttime": "$TIMESTAMP$"
}'
output: '{
"applicantTypeCode": "003"
}'
Masterdata_GetApplicantType_MLE_NFR_CHL_False:
endPoint: /v1/masterdata/getApplicantType
uniqueIdentifier: TC_Masterdata_GetApplicantType_03
description: Retrieve Applicant Types for Male, Non Foreigner and Child
role: admin
restMethod: post
inputTemplate: masterdata/GetApplicantType/getApplicantType
outputTemplate: masterdata/GetApplicantType/getApplicantTypeResult
input: '{
"attributes": [{
"attribute": "residenceStatus",
"value": "NFR"
},
{
"attribute": "dateOfBirth",
"value": "2019/01/01"
},
{
"attribute": "gender",
"value": "MLE"
},
{
"attribute": "biometricAvailable",
"value": false
}
],
"requesttime": "$TIMESTAMP$"
}'
output: '{
"applicantTypeCode": "003"
}'
Masterdata_GetApplicantType_MLE_NFR_ADL_True:
endPoint: /v1/masterdata/getApplicantType
uniqueIdentifier: TC_Masterdata_GetApplicantType_04
description: Retrieve Applicant Types for Male, Non Foreigner and Adult Biometric available
role: admin
restMethod: post
inputTemplate: masterdata/GetApplicantType/getApplicantType
outputTemplate: masterdata/GetApplicantType/getApplicantTypeResult
input: '{
"attributes": [{
"attribute": "residenceStatus",
"value": "NFR"
},
{
"attribute": "dateOfBirth",
"value": "1996/01/01"
},
{
"attribute": "gender",
"value": "MLE"
},
{
"attribute": "biometricAvailable",
"value": true
}
],
"requesttime": "$TIMESTAMP$"
}'
output: '{
"applicantTypeCode": "004"
}'
Masterdata_GetApplicantType_MLE_NFR_ADL_False:
endPoint: /v1/masterdata/getApplicantType
uniqueIdentifier: TC_Masterdata_GetApplicantType_05
description: Retrieve Applicant Types for Male, Non Foreigner and Adult Biometric not available
role: admin
restMethod: post
inputTemplate: masterdata/GetApplicantType/getApplicantType
outputTemplate: masterdata/GetApplicantType/getApplicantTypeResult
input: '{
"attributes": [{
"attribute": "residenceStatus",
"value": "NFR"
},
{
"attribute": "dateOfBirth",
"value": "1996/01/01"
},
{
"attribute": "gender",
"value": "MLE"
},
{
"attribute": "biometricAvailable",
"value": false
}
],
"requesttime": "$TIMESTAMP$"
}'
output: '{
"applicantTypeCode": "004"
}'
Masterdata_GetApplicantType_MLE_FR_CHL_False:
endPoint: /v1/masterdata/getApplicantType
uniqueIdentifier: TC_Masterdata_GetApplicantType_06
description: Retrieve Applicant Types for Male, Foreigner and and Child Biometric not available
role: admin
restMethod: post
inputTemplate: masterdata/GetApplicantType/getApplicantType
outputTemplate: masterdata/GetApplicantType/getApplicantTypeResult
input: '{
"attributes": [{
"attribute": "residenceStatus",
"value": "FR"
},
{
"attribute": "dateOfBirth",
"value": "2019/01/01"
},
{
"attribute": "gender",
"value": "MLE"
},
{
"attribute": "biometricAvailable",
"value": false
}
],
"requesttime": "$TIMESTAMP$"
}'
output: '{
"applicantTypeCode": "001"
}'
Masterdata_GetApplicantType_MLE_FR_ADL_True:
endPoint: /v1/masterdata/getApplicantType
uniqueIdentifier: TC_Masterdata_GetApplicantType_07
description: Retrieve Applicant Types for Male, Foreigner and Adult Biometric not available
role: admin
restMethod: post
inputTemplate: masterdata/GetApplicantType/getApplicantType
outputTemplate: masterdata/GetApplicantType/getApplicantTypeResult
input: '{
"attributes": [{
"attribute": "residenceStatus",
"value": "FR"
},
{
"attribute": "dateOfBirth",
"value": "1996/01/01"
},
{
"attribute": "gender",
"value": "MLE"
},
{
"attribute": "biometricAvailable",
"value": true
}
],
"requesttime": "$TIMESTAMP$"
}'
output: '{
"applicantTypeCode": "002"
}'
Masterdata_GetApplicantType_MLE_FR_ADL_False:
endPoint: /v1/masterdata/getApplicantType
uniqueIdentifier: TC_Masterdata_GetApplicantType_08
description: Retrieve Applicant Types for Male, Foreigner and Adult Biometric not available
role: admin
restMethod: post
inputTemplate: masterdata/GetApplicantType/getApplicantType
outputTemplate: masterdata/GetApplicantType/getApplicantTypeResult
input: '{
"attributes": [{
"attribute": "residenceStatus",
"value": "FR"
},
{
"attribute": "dateOfBirth",
"value": "1996/01/01"
},
{
"attribute": "gender",
"value": "MLE"
},
{
"attribute": "biometricAvailable",
"value": false
}
],
"requesttime": "$TIMESTAMP$"
}'
output: '{
"applicantTypeCode": "002"
}'
Masterdata_GetApplicantType_invalid_residenceStatus:
endPoint: /v1/masterdata/getApplicantType
uniqueIdentifier: TC_Masterdata_GetApplicantType_09
description: Retrieve Applicant Types for invalid residenceStatus
role: admin
restMethod: post
inputTemplate: masterdata/GetApplicantType/getApplicantType
outputTemplate: masterdata/GetApplicantType/getApplicantTypeResult
input: '{
"attributes": [{
"attribute": "residenceStatus",
"value": "4564"
},
{
"attribute": "dateOfBirth",
"value": "1996/01/01"
},
{
"attribute": "gender",
"value": "MLE"
},
{
"attribute": "biometricAvailable",
"value": false
}
],
"requesttime": "$TIMESTAMP$"
}'
output: '{
"applicantTypeCode": "000"
}'
Masterdata_GetApplicantType_invalid_gender:
endPoint: /v1/masterdata/getApplicantType
uniqueIdentifier: TC_Masterdata_GetApplicantType_10
description: Retrieve Applicant Types for invalid gender
role: admin
restMethod: post
inputTemplate: masterdata/GetApplicantType/getApplicantType
outputTemplate: masterdata/GetApplicantType/getApplicantTypeResult
input: '{
"attributes": [{
"attribute": "residenceStatus",
"value": "FR"
},
{
"attribute": "dateOfBirth",
"value": "1996/01/01"
},
{
"attribute": "gender",
"value": "35132"
},
{
"attribute": "biometricAvailable",
"value": false
}
],
"requesttime": "$TIMESTAMP$"
}'
output: '{
"applicantTypeCode": "000"
}'
Masterdata_GetApplicantType_invalid_dateOfBirth:
endPoint: /v1/masterdata/getApplicantType
uniqueIdentifier: TC_Masterdata_GetApplicantType_11
description: Retrieve Applicant Types for invalid dateOfBirth
role: admin
restMethod: post
inputTemplate: masterdata/GetApplicantType/getApplicantType
outputTemplate: masterdata/error
input: '{
"attributes": [{
"attribute": "residenceStatus",
"value": "FR"
},
{
"attribute": "dateOfBirth",
"value": "2018-01-01 10:00:00.00Z"
},
{
"attribute": "gender",
"value": "MLE"
},
{
"attribute": "biometricAvailable",
"value": true
}
],
"requesttime": "$TIMESTAMP$"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-147",
"message": "Invalid query passed for applicant type"
}
]
}'
Masterdata_GetApplicantType_invalid_biometricAvailable:
endPoint: /v1/masterdata/getApplicantType
uniqueIdentifier: TC_Masterdata_GetApplicantType_12
description: Retrieve Applicant Types for invalid biometricAvailable
role: admin
restMethod: post
inputTemplate: masterdata/GetApplicantType/getApplicantType
outputTemplate: masterdata/GetApplicantType/getApplicantTypeResult
input: '{
"attributes": [{
"attribute": "residenceStatus",
"value": "FR"
},
{
"attribute": "dateOfBirth",
"value": "1996/01/01"
},
{
"attribute": "gender",
"value": "MLE"
},
{
"attribute": "biometricAvailable",
"value": "fsadfdf"
}
],
"requesttime": "$TIMESTAMP$"
}'
output: '{
"applicantTypeCode": "002"
}'
Masterdata_GetApplicantType_Future_date_as_DOB:
endPoint: /v1/masterdata/getApplicantType
uniqueIdentifier: TC_Masterdata_GetApplicantType_13
description: Retrieve Applicant Types with future date for dateOfBirth
role: admin
restMethod: post
inputTemplate: masterdata/GetApplicantType/getApplicantType
outputTemplate: masterdata/error
input: '{
"attributes": [{
"attribute": "residenceStatus",
"value": "FR"
},
{
"attribute": "dateOfBirth",
"value": "2029/01/01"
},
{
"attribute": "gender",
"value": "MLE"
},
{
"attribute": "biometricAvailable",
"value": true
}
],
"requesttime": "$TIMESTAMP$"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-151",
"message": "DOB cannot exceed current date"
}
]
}'
Masterdata_GetApplicantType_FLE_NFR_CHL_true:
endPoint: /v1/masterdata/getApplicantType
uniqueIdentifier: TC_Masterdata_GetApplicantType_14
description: Retrieve Applicant Types for Female, Non Foreigner and Child Biometric available
role: admin
restMethod: post
inputTemplate: masterdata/GetApplicantType/getApplicantType
outputTemplate: masterdata/GetApplicantType/getApplicantTypeResult
input: '{
"attributes": [{
"attribute": "residenceStatus",
"value": "NFR"
},
{
"attribute": "dateOfBirth",
"value": "2019/01/01"
},
{
"attribute": "gender",
"value": "FLE"
},
{
"attribute": "biometricAvailable",
"value": true
}
],
"requesttime": "$TIMESTAMP$"
}'
output: '{
"applicantTypeCode": "007"
}'
Masterdata_GetApplicantType_FLE_NFR_CHL_False:
endPoint: /v1/masterdata/getApplicantType
uniqueIdentifier: TC_Masterdata_GetApplicantType_15
description: Retrieve Applicant Types for Female, Non Foreigner and Child Biometric not available
role: admin
restMethod: post
inputTemplate: masterdata/GetApplicantType/getApplicantType
outputTemplate: masterdata/GetApplicantType/getApplicantTypeResult
input: '{
"attributes": [{
"attribute": "residenceStatus",
"value": "NFR"
},
{
"attribute": "dateOfBirth",
"value": "2019/01/01"
},
{
"attribute": "gender",
"value": "FLE"
},
{
"attribute": "biometricAvailable",
"value": false
}
],
"requesttime": "$TIMESTAMP$"
}'
output: '{
"applicantTypeCode": "007"
}'
Masterdata_GetApplicantType_FLE_NFR_ADL_true:
endPoint: /v1/masterdata/getApplicantType
uniqueIdentifier: TC_Masterdata_GetApplicantType_16
description: Retrieve Applicant Types for Female, Non Foreigner and Adult Biometric available
role: admin
restMethod: post
inputTemplate: masterdata/GetApplicantType/getApplicantType
outputTemplate: masterdata/GetApplicantType/getApplicantTypeResult
input: '{
"attributes": [{
"attribute": "residenceStatus",
"value": "NFR"
},
{
"attribute": "dateOfBirth",
"value": "1996/01/01"
},
{
"attribute": "gender",
"value": "FLE"
},
{
"attribute": "biometricAvailable",
"value": true
}
],
"requesttime": "$TIMESTAMP$"
}'
output: '{
"applicantTypeCode": "008"
}'
Masterdata_GetApplicantType_FLE_NFR_ADL_False:
endPoint: /v1/masterdata/getApplicantType
uniqueIdentifier: TC_Masterdata_GetApplicantType_17
description: Retrieve Applicant Types for Female, Non Foreigner and Adult Biometric not available
role: admin
restMethod: post
inputTemplate: masterdata/GetApplicantType/getApplicantType
outputTemplate: masterdata/GetApplicantType/getApplicantTypeResult
input: '{
"attributes": [{
"attribute": "residenceStatus",
"value": "NFR"
},
{
"attribute": "dateOfBirth",
"value": "1996/01/01"
},
{
"attribute": "gender",
"value": "FLE"
},
{
"attribute": "biometricAvailable",
"value": false
}
],
"requesttime": "$TIMESTAMP$"
}'
output: '{
"applicantTypeCode": "008"
}'
Masterdata_GetApplicantType_FLE_FR_CHL_True:
endPoint: /v1/masterdata/getApplicantType
uniqueIdentifier: TC_Masterdata_GetApplicantType_18
description: Retrieve Applicant Types for Female, Foreigner and Child Biometric available
role: admin
restMethod: post
inputTemplate: masterdata/GetApplicantType/getApplicantType
outputTemplate: masterdata/GetApplicantType/getApplicantTypeResult
input: '{
"attributes": [{
"attribute": "residenceStatus",
"value": "FR"
},
{
"attribute": "dateOfBirth",
"value": "2019/01/01"
},
{
"attribute": "gender",
"value": "FLE"
},
{
"attribute": "biometricAvailable",
"value": true
}
],
"requesttime": "$TIMESTAMP$"
}'
output: '{
"applicantTypeCode": "005"
}'
Masterdata_GetApplicantType_FLE_FR_CHL_False:
endPoint: /v1/masterdata/getApplicantType
uniqueIdentifier: TC_Masterdata_GetApplicantType_19
description: Retrieve Applicant Types for Female, Foreigner and Child Biometric not available
role: admin
restMethod: post
inputTemplate: masterdata/GetApplicantType/getApplicantType
outputTemplate: masterdata/GetApplicantType/getApplicantTypeResult
input: '{
"attributes": [{
"attribute": "residenceStatus",
"value": "FR"
},
{
"attribute": "dateOfBirth",
"value": "2019/01/01"
},
{
"attribute": "gender",
"value": "FLE"
},
{
"attribute": "biometricAvailable",
"value": false
}
],
"requesttime": "$TIMESTAMP$"
}'
output: '{
"applicantTypeCode": "005"
}'
Masterdata_GetApplicantType_FLE_FR_ADL_true:
endPoint: /v1/masterdata/getApplicantType
uniqueIdentifier: TC_Masterdata_GetApplicantType_20
description: Retrieve Applicant Types for Female, Foreigner and Adult Biometric available
role: admin
restMethod: post
inputTemplate: masterdata/GetApplicantType/getApplicantType
outputTemplate: masterdata/GetApplicantType/getApplicantTypeResult
input: '{
"attributes": [{
"attribute": "residenceStatus",
"value": "FR"
},
{
"attribute": "dateOfBirth",
"value": "1996/01/01"
},
{
"attribute": "gender",
"value": "FLE"
},
{
"attribute": "biometricAvailable",
"value": true
}
],
"requesttime": "$TIMESTAMP$"
}'
output: '{
"applicantTypeCode": "006"
}'
Masterdata_GetApplicantType_FLE_FR_ADL_False:
endPoint: /v1/masterdata/getApplicantType
uniqueIdentifier: TC_Masterdata_GetApplicantType_21
description: Retrieve Applicant Types for Female, Foreigner and Adult Biometric not available
role: admin
restMethod: post
inputTemplate: masterdata/GetApplicantType/getApplicantType
outputTemplate: masterdata/GetApplicantType/getApplicantTypeResult
input: '{
"attributes": [{
"attribute": "residenceStatus",
"value": "FR"
},
{
"attribute": "dateOfBirth",
"value": "1996/01/01"
},
{
"attribute": "gender",
"value": "FLE"
},
{
"attribute": "biometricAvailable",
"value": false
}
],
"requesttime": "$TIMESTAMP$"
}'
output: '{
"applicantTypeCode": "006"
}'
Masterdata_GetApplicantType_DOB_lessThanAYear:
endPoint: /v1/masterdata/getApplicantType
uniqueIdentifier: TC_Masterdata_GetApplicantType_22
description: Retrieve Applicant Types for dateOfBirth lessthan a year
role: admin
restMethod: post
inputTemplate: masterdata/GetApplicantType/getApplicantType
outputTemplate: masterdata/GetApplicantType/getApplicantTypeResult
input: '{
"attributes": [{
"attribute": "residenceStatus",
"value": "FR"
},
{
"attribute": "dateOfBirth",
"value": "2021/01/01"
},
{
"attribute": "gender",
"value": "FLE"
},
{
"attribute": "biometricAvailable",
"value": false
}
],
"requesttime": "$TIMESTAMP$"
}'
output: '{
"applicantTypeCode": "005"
}'
Masterdata_GetApplicantType_response_time:
endPoint: /v1/masterdata/getApplicantType
uniqueIdentifier: TC_Masterdata_GetApplicantType_23
description: Get response time for retrieving Applicant Types
role: admin
restMethod: post
inputTemplate: masterdata/GetApplicantType/getApplicantType
outputTemplate: masterdata/GetApplicantType/getApplicantTypeResult
input: '{
"attributes": [{
"attribute": "residenceStatus",
"value": "FR"
},
{
"attribute": "dateOfBirth",
"value": "1996/01/01"
},
{
"attribute": "gender",
"value": "MLE"
},
{
"attribute": "biometricAvailable",
"value": true
}
],
"requesttime": "$TIMESTAMP$"
}'
output: '{
"applicantTypeCode": "002"
}'
© 2015 - 2025 Weber Informatics LLC | Privacy Policy