PUT /ws/rest/service/v1/level
Purpose:
To update level record. This works only at project or shell level.
Input:
All parameters should be URL encoded.
Both input & output in JSON format in the body
Update Level input JSON
{
"options" :
{
"project_number":"Shell/Project number"
},
"data": [
{
"uuu_sp_level_name": "F-0001",
"status": "Occupied",
"App_date": "26/Dec/2019 1:00 PM",
"NumericPullDown": "One, Two"
}
]
}
Input JSON field description:
- project_number (Required): specify the project/shell number to update level.
- uuu_sp_level_name(Required): specify the floor name to update level
Note: Input Date fields should be provided in Integration user preference format in input JSON.
Output:
JSON object containing 'status', 'data', 'message'
Update Level output JSON
{
"data": [
{
"uuu_sp_level_name": "F-0001",
"status": "Occupied",
"App_date": "26/Dec/2019 07:00 PM",
"ulevStorAreaND": "0.00000000",
"ulevGrossBuildAreaNLD": "0.00000000",
"uuu_sp_uom": "Sq Ft",
"ulevStorAreaBasNLD": "0.00000000",
"ulvlCode": "1.00000000",
"ulevStackOrdDA": "123.00000000",
"NumericPullDown": "One",
"multiselect": "One, Two",
"CPLGrossAreaND": 2345.0
"uuu_sp_level_drawing": null,
"ulevBuildRatioNLD": 0.0
}
],
"message": [
{
"uuu_sp_level_name": "F-0001",
"message": "success"
}
],
"status": 200
}
Status codes are:
1> 200 , for success
2> 3000, for partial update.