Link Search Menu Expand Document

5. Get Level

Op name:

scgrids.readLevel

This gets a given Level for a valid Project

Endpoint:

Method: POST
Type: application/json
URL: /v1/actions

Headers:

Key Value Description
Authorization   (Required) The Acccess Token or HMAC Signature
x-sc-identity external (Required)

Query params:

Key Value Description
op scgrids.readLevel (Required) Operation Name
org   (Required) Organisation ID
pid   (Required) Project ID
propid   (Optional) Property ID

Body:

{
    "LID": ""
}

More example Requests/Responses:

I. Example Request: Get Level

Body:

{
    "LID": ""
}
I. Example Response: Get Level
{
    "status": 200,
    "message": "Success",
    "data": {
        "Name": "New Name",
        "Level": "L1",
        "Area": 5000,
        "FloorPlan": "",
        "LID": ""
    }
}

Status Code: 200

Error codes:

400
Possible reasons:
1. Missing op/org/pid
2. Invalid characters/improper input body
3. If LID is missing in the body



Table of contents