The 'Measurements' application of the Core API
Measurements (2.0.0)
Download OpenAPI description
Languages
Servers
https://{environment}.pigello.io
Bodyapplication/json
Additional Validation Information:
This value can't bet set, when any of the following fields are set: target_price_change_interval_days
- https://dev.api.pigello.io/measurements/sensors/pricegroup/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://dev.api.pigello.io/measurements/sensors/pricegroup/ \
-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 '{
"custom_id": "string",
"name": "string",
"auto_accept": true,
"description": "string",
"sensor_specification": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
},
"target_price_change_day_of_month": 1,
"periods_offset": 1,
"organization": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
},
"target_price_change_interval_days": 1
}'Response
application/json
{ "custom_id": "string", "name": "string", "tags": null, "auto_accept": true, "description": "string", "price_items": null, "created_at": "2019-08-24T14:15:22Z", "customer_columns": null, "sensor_specification": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "target_price_change_day_of_month": 1, "periods_offset": 1, "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "target_price_change_interval_days": 1, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }
- https://dev.api.pigello.io/measurements/sensors/pricegroup/{pk}/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://dev.api.pigello.io/measurements/sensors/pricegroup/{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'Bodyapplication/json
Additional Validation Information:
This value can't bet set, when any of the following fields are set: target_price_change_interval_days
- https://dev.api.pigello.io/measurements/sensors/pricegroup/{pk}/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://dev.api.pigello.io/measurements/sensors/pricegroup/{pk}/' \
-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 '{
"custom_id": "string",
"name": "string",
"auto_accept": true,
"description": "string",
"sensor_specification": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
},
"target_price_change_day_of_month": 1,
"periods_offset": 1,
"organization": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
},
"target_price_change_interval_days": 1
}'Response
application/json
{ "custom_id": "string", "name": "string", "tags": null, "auto_accept": true, "description": "string", "price_items": null, "created_at": "2019-08-24T14:15:22Z", "customer_columns": null, "sensor_specification": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "target_price_change_day_of_month": 1, "periods_offset": 1, "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "target_price_change_interval_days": 1, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }