Skip to main content
POST
/
api
/
v1
/
measurements
/
awning_measurement_add_edit
curl -X POST http://localhost/fss/public/api/v1/measurements/awning_measurement_add_edit \
  -H "X-API-Token: YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "client_id": 456,
    "awning_type": "retractable",
    "width": 120,
    "projection": 60,
    "mount_height": 96
  }'
{
  "status": "success",
  "data": {
    "id": 794,
    "awning_type": "retractable",
    "dimensions": {
      "width": 120,
      "projection": 60,
      "mount_height": 96
    }
  }
}

Awning Measurement

Add or update awning measurements.

Endpoint

POST /api/v1/measurements/awning_measurement_add_edit
This endpoint requires authentication

Headers

X-API-Token
string
required
Your API access token. You can also set this globally in the API playground.
platform
string
required
The platform making the request: WEB, IOS, or ANDROID.

Request Body

client_id
integer
required
Client ID
awning_type
string
Awning type (retractable, stationary)
width
integer
Awning width
projection
integer
Awning projection
mount_height
integer
Mount height

Response

status
string
Success status
data
object
Response data
curl -X POST http://localhost/fss/public/api/v1/measurements/awning_measurement_add_edit \
  -H "X-API-Token: YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "client_id": 456,
    "awning_type": "retractable",
    "width": 120,
    "projection": 60,
    "mount_height": 96
  }'
{
  "status": "success",
  "data": {
    "id": 794,
    "awning_type": "retractable",
    "dimensions": {
      "width": 120,
      "projection": 60,
      "mount_height": 96
    }
  }
}