masterdata.UpdateDeviceSpecStatus.UpdateDeviceSpecStatus.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!
UpdateDeviceSpecStatus:
MasterData_UpdateDeviceSpecStatus_All_Valid_Smoke:
endPoint: /v1/masterdata/devicespecifications?isActive={isActive}&id={id}
uniqueIdentifier: TC_Masterdata_UpdateDeviceSpecStatus_01
description: Update device spec status with valid data
role: admin
restMethod: patch
inputTemplate: masterdata/UpdateDeviceSpecStatus/updateDeviceSpecStatus
outputTemplate: masterdata/UpdateDeviceSpecStatus/updateDeviceSpecStatusResult
input: '{
"id": "$ID:CreateDeviceSpecification_All_Valid_Smoke_sid_id$",
"isActive": true
}'
output: '{
"status": "Status updated successfully for Device Specifications"
}'
MasterData_UpdateDeviceSpecStatus_Invalid_id:
endPoint: /v1/masterdata/devicespecifications?isActive={isActive}&id={id}
uniqueIdentifier: TC_Masterdata_UpdateDeviceSpecStatus_02
description: Update device spec status with invalid ID
role: admin
restMethod: patch
inputTemplate: masterdata/UpdateDeviceSpecStatus/updateDeviceSpecStatus
outputTemplate: masterdata/error
input: '{
"id": "notexist",
"isActive": true
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-012",
"message": "Device Specification not found"
}
]
}'
© 2015 - 2025 Weber Informatics LLC | Privacy Policy