masterdata.UpdateDeviceType.UpdateDeviceType.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!
UpdateDeviceType:
MasterData_UpdateDeviceType_All_Valid_Smoke_sid:
endPoint: /v1/masterdata/devicetypes?isActive=true&code=FRS
uniqueIdentifier: TC_Masterdata_UpdateDeviceType_01
description: Update device type with valid data
role: admin
restMethod: patch
inputTemplate: masterdata/UpdateDeviceType/updateDeviceType
outputTemplate: masterdata/UpdateDeviceType/updateDeviceTypeResult
input: '{
}'
output: '{
"status": "Status updated successfully for Device Types"
}'
MasterData_UpdateDeviceType_Invalid_status:
endPoint: /v1/masterdata/devicetypes?isActive=false&code=FRS
uniqueIdentifier: TC_Masterdata_UpdateDeviceType_02
description: Update device type with invalid status
role: admin
restMethod: patch
inputTemplate: masterdata/UpdateDeviceType/updateDeviceType
outputTemplate: masterdata/error
input: '{
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-055",
"message": "Mapping exist before deactivating remove the mapping"
}
]
}'
MasterData_UpdateDeviceType_Invalid_code:
endPoint: /v1/masterdata/devicetypes?isActive=true&code=ABC
uniqueIdentifier: TC_Masterdata_UpdateDeviceType_03
description: Update device type with invalid code
role: admin
restMethod: patch
inputTemplate: masterdata/UpdateDeviceType/updateDeviceType
outputTemplate: masterdata/error
input: '{
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-209",
"message": "Required Device Type detail Not Found"
}
]
}'
© 2015 - 2025 Weber Informatics LLC | Privacy Policy