masterdata.UpdateDynamicFieldStatus.UpdateDynamicFieldStatus.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!
UpdateDynamicFieldStatus:
MasterData_UpdateDynamicFieldStatus_All_Valid_Smoke:
endPoint: /v1/masterdata/dynamicfields?isActive={isActive}&id={id}
uniqueIdentifier: TC_Masterdata_UpdateDynamicFieldStatus_01
description: Update dynamic field status with valid data
role: admin
restMethod: patch
inputTemplate: masterdata/UpdateDynamicFieldStatus/updateDynamicFieldStatus
outputTemplate: masterdata/UpdateDynamicFieldStatus/updateDynamicFieldStatusResult
input: '{
"id": "$ID:CreateDynamicField_All_Valid_Smoke_sid_id$",
"isActive": true
}'
output: '{
"status": "Status updated successfully for Dynamic Fields"
}'
MasterData_UpdateDynamicFieldStatus_Invalid_id:
endPoint: /v1/masterdata/dynamicfields?isActive={isActive}&id={id}
uniqueIdentifier: TC_Masterdata_UpdateDynamicFieldStatus_02
description: Update dynamic field status with invalid ID
role: admin
restMethod: patch
inputTemplate: masterdata/UpdateDynamicFieldStatus/updateDynamicFieldStatus
outputTemplate: masterdata/error
input: '{
"id": "notexist",
"isActive": true
}'
output: '{
"errors": [
{
"errorCode": "KER-SCH-003",
"message": "Dynamic field not found"
}
]
}'
MasterData_UpdateDynamicFieldStatus_ByFieldName_All_Valid_Smoke:
endPoint: /v1/masterdata/dynamicfields/all?isActive={isActive}&fieldName={id}
uniqueIdentifier: TC_Masterdata_UpdateDynamicFieldStatus_03
description: Update dynamic field status by field name
role: admin
restMethod: patch
inputTemplate: masterdata/UpdateDynamicFieldStatus/updateDynamicFieldStatus
outputTemplate: masterdata/UpdateDynamicFieldStatus/updateDynamicFieldStatusResult
input: '{
"id": "TestAPL",
"isActive": true
}'
output: '{
"status": "Status updated successfully for Dynamic Fields"
}'
© 2015 - 2025 Weber Informatics LLC | Privacy Policy