masterdata.GetUserDetailsByIdAndEffDate.GetUserDetailsByIdAndEffDate.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!
GetUserDetailsByIdAndEffDate:
MasterData_GetUserDetailsByIdAndEffDate_allValid_smoke:
endPoint: /v1/masterdata/users/{id}/{effDate}
uniqueIdentifier: TC_Masterdata_GetUserDetailsByIdAndEffDate_01
description: Retrieve user details by valid ID and effective date
role: admin
templateFields: ["langCode"]
restMethod: get
inputTemplate: masterdata/GetUserDetailsByIdAndEffDate/getUserDetailsByIdAndEffDate
outputTemplate: masterdata/GetUserDetailsByIdAndEffDate/getUserDetailsByIdAndEffDateResult
input: '{
"id":"$ID:CreateZoneUser_All_Valid_Smoke_Sid_userId$",
"effDate":"$ID:UserCenterMapping_All_Valid_Smoke_FullResponse_sid_responsetime$"
}'
output: '{
"id": "masterdata-220005"
}'
MasterData_GetUserDetailsByIdAndEffDate_InValid_dateFormat:
endPoint: /v1/masterdata/users/{id}/{effDate}
uniqueIdentifier: TC_Masterdata_GetUserDetailsByIdAndEffDate_02
description: Retrieve user details using a valid ID and an invalid date format for the effective date
role: admin
restMethod: get
inputTemplate: masterdata/GetUserDetailsByIdAndEffDate/getUserDetailsByIdAndEffDate
outputTemplate: masterdata/error
input: '{
"id":"func_auto_test_user",
"effDate":"2021-12-10T08:43:46.614"
}'
output: '{
"errors": [
{
"errorCode": "KER-USR-002",
"message": "Invalid Date Format"
}
]
}'
MasterData_GetUserDetailsByIsAndEffDate_InValid_effDate:
endPoint: /v1/masterdata/users/{id}/{effDate}
uniqueIdentifier: TC_Masterdata_GetUserDetailsByIdAndEffDate_03
description: Retrieve user details using a valid ID and an invalid for the invalid effective date
role: admin
restMethod: get
inputTemplate: masterdata/GetUserDetailsByIdAndEffDate/getUserDetailsByIdAndEffDate
outputTemplate: masterdata/error
input: '{
"id":"func_auto_test_user",
"effDate":"2021-09-08T08:43:46.614Z"
}'
output: '{
"errors": [
{
"errorCode": "KER-USR-003",
"message": "User History not found"
}
]
}'
MasterData_GetUserDetailsByIdAndEffDate_InValid_UserID:
endPoint: /v1/masterdata/users/{id}/{effDate}
uniqueIdentifier: TC_Masterdata_GetUserDetailsByIdAndEffDate_04
description: Retrieve user details using a invalid ID
role: admin
restMethod: get
inputTemplate: masterdata/GetUserDetailsByIdAndEffDate/getUserDetailsByIdAndEffDate
outputTemplate: masterdata/error
input: '{
"id":"abc",
"effDate":"2021-12-10T08:43:46.614Z"
}'
output: '{
"errors": [
{
"errorCode": "KER-USR-003",
"message": "User History not found"
}
]
}'
© 2015 - 2025 Weber Informatics LLC | Privacy Policy