The 'Measurements' application of the Core API
Measurements (2.0.0)
- https://dev.api.pigello.io/measurements/sensors/pricegrouponlyenabledfor/{pk}/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://dev.api.pigello.io/measurements/sensors/pricegrouponlyenabledfor/{pk}/' \
-H 'X-PIGELLO-APPLICATION-ID: YOUR_API_KEY_HERE' \
-H 'X-PIGELLO-CLIENT-CT: YOUR_API_KEY_HERE' \
-H 'X-PIGELLO-CLIENT-ENTITY: YOUR_API_KEY_HERE' \
-H 'X-PIGELLO-CLIENT-SECRET: YOUR_API_KEY_HERE' \
-H 'X-PIGELLO-CUSTOMER-ID: YOUR_API_KEY_HERE' \
-H 'X-PIGELLO-SERVICE-ID: YOUR_API_KEY_HERE' \
-H 'X-PIGELLO-SERVICE-VERSION-ID: YOUR_API_KEY_HERE'Successful selection
Additional Validation Information:
This value can't bet set, when any of the following fields are set: building, parking_lot
This field, or at least one of the following fields must be set: building, parking_lot
Additional Validation Information:
This value can't bet set, when any of the following fields are set: building, outdoor_area
This field, or at least one of the following fields must be set: building, outdoor_area
{ "outdoor_area": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "created_at": "2019-08-24T14:15:22Z", "custom_id": "string", "tags": null, "parking_lot": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "customer_columns": null, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "building": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "price_group": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } }
Additional Validation Information:
This value can't bet set, when any of the following fields are set: building, parking_lot
This field, or at least one of the following fields must be set: building, parking_lot
Additional Validation Information:
This value can't bet set, when any of the following fields are set: building, outdoor_area
This field, or at least one of the following fields must be set: building, outdoor_area
- https://dev.api.pigello.io/measurements/sensors/pricegrouponlyenabledfor/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://dev.api.pigello.io/measurements/sensors/pricegrouponlyenabledfor/ \
-H 'Content-Type: application/json' \
-H 'X-PIGELLO-APPLICATION-ID: YOUR_API_KEY_HERE' \
-H 'X-PIGELLO-CLIENT-CT: YOUR_API_KEY_HERE' \
-H 'X-PIGELLO-CLIENT-ENTITY: YOUR_API_KEY_HERE' \
-H 'X-PIGELLO-CLIENT-SECRET: YOUR_API_KEY_HERE' \
-H 'X-PIGELLO-CUSTOMER-ID: YOUR_API_KEY_HERE' \
-H 'X-PIGELLO-SERVICE-ID: YOUR_API_KEY_HERE' \
-H 'X-PIGELLO-SERVICE-VERSION-ID: YOUR_API_KEY_HERE' \
-d '{
"outdoor_area": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
},
"custom_id": "string",
"parking_lot": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
},
"organization": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
},
"building": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
},
"price_group": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
}'Successful creation
Additional Validation Information:
This value can't bet set, when any of the following fields are set: building, parking_lot
This field, or at least one of the following fields must be set: building, parking_lot
Additional Validation Information:
This value can't bet set, when any of the following fields are set: building, outdoor_area
This field, or at least one of the following fields must be set: building, outdoor_area
{ "outdoor_area": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "created_at": "2019-08-24T14:15:22Z", "custom_id": "string", "tags": null, "parking_lot": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "customer_columns": null, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "building": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "price_group": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } }