The 'Accounts' application of the Core API
Accounts (2.0.0)
Additional Validation Information:
This value must be set in an proper order, in relation to the following fields: start_date
Additional Validation Information:
This value must match with the values of these fields: receive_notifications_for
Additional Validation Information:
This value must match with the values of these fields: receive_notifications_for
Additional Validation Information:
This value must be set in an proper order, in relation to the following fields: end_date
- https://dev.api.pigello.io/accounts/users/organization/organizationuserworkengagement/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://dev.api.pigello.io/accounts/users/organization/organizationuserworkengagement/ \
-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 '{
"end_date": "2019-08-24",
"outdoor_areas": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
],
"dates_are_blocking": true,
"buildings": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
],
"user": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
},
"organization": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
},
"receive_email_notifications_for": [
null
],
"receive_sms_notifications_for": [
null
],
"start_date": "2019-08-24",
"parking_lots": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
],
"receive_notifications_for": [
null
],
"work_engagement": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
},
"custom_id": "string"
}'Successful creation
Additional Validation Information:
This value must be set in an proper order, in relation to the following fields: start_date
Additional Validation Information:
This value must match with the values of these fields: receive_notifications_for
Additional Validation Information:
This value must match with the values of these fields: receive_notifications_for
Additional Validation Information:
This value must be set in an proper order, in relation to the following fields: end_date
{ "end_date": "2019-08-24", "outdoor_areas": [ { … } ], "dates_are_blocking": true, "buildings": [ { … } ], "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "user": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "created_at": "2019-08-24T14:15:22Z", "receive_email_notifications_for": [ null ], "receive_sms_notifications_for": [ null ], "start_date": "2019-08-24", "parking_lots": [ { … } ], "receive_notifications_for": [ null ], "work_engagement": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "custom_id": "string" }
Additional Validation Information:
This value must be set in an proper order, in relation to the following fields: start_date
Additional Validation Information:
This value must match with the values of these fields: receive_notifications_for
Additional Validation Information:
This value must match with the values of these fields: receive_notifications_for
Additional Validation Information:
This value must be set in an proper order, in relation to the following fields: end_date
- https://dev.api.pigello.io/accounts/users/organization/organizationuserworkengagement/{pk}/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://dev.api.pigello.io/accounts/users/organization/organizationuserworkengagement/{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 '{
"end_date": "2019-08-24",
"outdoor_areas": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
],
"dates_are_blocking": true,
"buildings": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
],
"user": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
},
"organization": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
},
"receive_email_notifications_for": [
null
],
"receive_sms_notifications_for": [
null
],
"start_date": "2019-08-24",
"parking_lots": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
],
"receive_notifications_for": [
null
],
"work_engagement": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
},
"custom_id": "string"
}'Successful update
Additional Validation Information:
This value must be set in an proper order, in relation to the following fields: start_date
Additional Validation Information:
This value must match with the values of these fields: receive_notifications_for
Additional Validation Information:
This value must match with the values of these fields: receive_notifications_for
Additional Validation Information:
This value must be set in an proper order, in relation to the following fields: end_date
{ "end_date": "2019-08-24", "outdoor_areas": [ { … } ], "dates_are_blocking": true, "buildings": [ { … } ], "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "user": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "created_at": "2019-08-24T14:15:22Z", "receive_email_notifications_for": [ null ], "receive_sms_notifications_for": [ null ], "start_date": "2019-08-24", "parking_lots": [ { … } ], "receive_notifications_for": [ null ], "work_engagement": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "custom_id": "string" }
- https://dev.api.pigello.io/accounts/users/organization/organizationuserworkengagement/{pk}/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://dev.api.pigello.io/accounts/users/organization/organizationuserworkengagement/{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'