Skip to content

Accounts (2.0.0)

The 'Accounts' application of the Core API

Languages
Servers
https://{environment}.pigello.io

Subtenantcontractconnection

Operations

Subtenanttenantconnection

Operations

Tenant

Operations

Organizationuser

Operations

Subtenant

Operations

Organizationuserworkengagement

Operations

Get 'Organizationuserworkengagement'

Request

Security
customer_id and application_id and service_id and service_version_id and client_ct and client_object_id and client_secret
Path
pkstringwrite-onlyrequired
curl -i -X GET \
  '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'

Responses

Successful selection

Bodyapplication/json
idstring(uuid)read-onlyrequired

Additional Validation Information:

Must be unique

userobject(Organizationuser)required
user.​idstring(uuid)
work_engagementobject(Workengagement)required
work_engagement.​idstring(uuid)
end_datestring or null(date)

Additional Validation Information:

This value must be set in an proper order, in relation to the following fields: start_date

outdoor_areasArray of objects(Outdoorarea)
dates_are_blockingboolean or null
buildingsArray of objects(Building)
organizationobject or null(Organization)
created_atstring(date-time)read-only
receive_email_notifications_forArray of objects

Additional Validation Information:

This value must match with the values of these fields: receive_notifications_for

receive_sms_notifications_forArray of objects

Additional Validation Information:

This value must match with the values of these fields: receive_notifications_for

start_datestring or null(date)

Additional Validation Information:

This value must be set in an proper order, in relation to the following fields: end_date

parking_lotsArray of objects(Parkinglot)
receive_notifications_forArray of objects
custom_idstring or null<= 128 characters
Response
application/json
{ "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" }

List 'Organizationuserworkengagement'

Request

Security
customer_id and application_id and service_id and service_version_id and client_ct and client_object_id and client_secret
Query
_jsonlboolean
_order_byArray of strings
Example: _order_by=field_a,-field_b
_pageinteger(int32)>= 1

Additional Validation Information:

This value must be set together with the following fields: _page_size

_page_sizeinteger(int32)

Additional Validation Information:

This value must be set together with the following fields: _page

_searchstring
_slimboolean
_statisticsboolean
global_realestatesArray of objects
global_segmentsArray of objects
buildingsany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

created_atany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: gt, Supports negation (via !): True

Operator: gte, Supports negation (via !): True

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

Operator: lt, Supports negation (via !): True

Operator: lte, Supports negation (via !): True

custom_idany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: contains, Supports negation (via !): True

Operator: endswith, Supports negation (via !): True

Operator: icontains, Supports negation (via !): True

Operator: iendswith, Supports negation (via !): True

Operator: iexact, Supports negation (via !): True

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

Operator: istartswith, Supports negation (via !): True

Operator: startswith, Supports negation (via !): True

dates_are_blockingany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

end_dateany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: gt, Supports negation (via !): True

Operator: gte, Supports negation (via !): True

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

Operator: lt, Supports negation (via !): True

Operator: lte, Supports negation (via !): True

idany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

organizationany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

outdoor_areasany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

parking_lotsany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

start_dateany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: gt, Supports negation (via !): True

Operator: gte, Supports negation (via !): True

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

Operator: lt, Supports negation (via !): True

Operator: lte, Supports negation (via !): True

userany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

work_engagementany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

curl -i -X GET \
  'https://dev.api.pigello.io/accounts/users/organization/organizationuserworkengagement/list/?_jsonl=true&_order_by=field_a%2C-field_b&_page=1&_page_size=0&_search=string&_slim=true&_statistics=true' \
  -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'

Responses

Successful query

Bodyapplication/jsonArray [
idstring(uuid)read-onlyrequired

Additional Validation Information:

Must be unique

userobject(Organizationuser)required
user.​idstring(uuid)
work_engagementobject(Workengagement)required
work_engagement.​idstring(uuid)
end_datestring or null(date)

Additional Validation Information:

This value must be set in an proper order, in relation to the following fields: start_date

outdoor_areasArray of objects(Outdoorarea)
dates_are_blockingboolean or null
buildingsArray of objects(Building)
organizationobject or null(Organization)
created_atstring(date-time)read-only
receive_email_notifications_forArray of objects

Additional Validation Information:

This value must match with the values of these fields: receive_notifications_for

receive_sms_notifications_forArray of objects

Additional Validation Information:

This value must match with the values of these fields: receive_notifications_for

start_datestring or null(date)

Additional Validation Information:

This value must be set in an proper order, in relation to the following fields: end_date

parking_lotsArray of objects(Parkinglot)
receive_notifications_forArray of objects
custom_idstring or null<= 128 characters
]
Response
application/json
[ { "end_date": "2019-08-24", "outdoor_areas": [], "dates_are_blocking": true, "buildings": [], "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "user": {}, "organization": {}, "created_at": "2019-08-24T14:15:22Z", "receive_email_notifications_for": [], "receive_sms_notifications_for": [], "start_date": "2019-08-24", "parking_lots": [], "receive_notifications_for": [], "work_engagement": {}, "custom_id": "string" } ]

Bulk write 'Organizationuserworkengagement'

Request

Security
customer_id and application_id and service_id and service_version_id and client_ct and client_object_id and client_secret
Bodyapplication/jsonArray [
userobject(Organizationuser)required
user.​idstring(uuid)
work_engagementobject(Workengagement)required
work_engagement.​idstring(uuid)
end_datestring or null(date)

Additional Validation Information:

This value must be set in an proper order, in relation to the following fields: start_date

outdoor_areasArray of objects(Outdoorarea)
dates_are_blockingboolean or null
buildingsArray of objects(Building)
organizationobject or null(Organization)
receive_email_notifications_forArray of objects

Additional Validation Information:

This value must match with the values of these fields: receive_notifications_for

receive_sms_notifications_forArray of objects

Additional Validation Information:

This value must match with the values of these fields: receive_notifications_for

start_datestring or null(date)

Additional Validation Information:

This value must be set in an proper order, in relation to the following fields: end_date

parking_lotsArray of objects(Parkinglot)
receive_notifications_forArray of objects
custom_idstring or null<= 128 characters
]
curl -i -X POST \
  https://dev.api.pigello.io/accounts/users/organization/organizationuserworkengagement/list/ \
  -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"
    }
  ]'

Responses

Successful bulk create/update

Bodyapplication/jsonArray [
idstring(uuid)read-onlyrequired

Additional Validation Information:

Must be unique

userobject(Organizationuser)required
user.​idstring(uuid)
work_engagementobject(Workengagement)required
work_engagement.​idstring(uuid)
end_datestring or null(date)

Additional Validation Information:

This value must be set in an proper order, in relation to the following fields: start_date

outdoor_areasArray of objects(Outdoorarea)
dates_are_blockingboolean or null
buildingsArray of objects(Building)
organizationobject or null(Organization)
created_atstring(date-time)read-only
receive_email_notifications_forArray of objects

Additional Validation Information:

This value must match with the values of these fields: receive_notifications_for

receive_sms_notifications_forArray of objects

Additional Validation Information:

This value must match with the values of these fields: receive_notifications_for

start_datestring or null(date)

Additional Validation Information:

This value must be set in an proper order, in relation to the following fields: end_date

parking_lotsArray of objects(Parkinglot)
receive_notifications_forArray of objects
custom_idstring or null<= 128 characters
]
Response
application/json
[ { "end_date": "2019-08-24", "outdoor_areas": [], "dates_are_blocking": true, "buildings": [], "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "user": {}, "organization": {}, "created_at": "2019-08-24T14:15:22Z", "receive_email_notifications_for": [], "receive_sms_notifications_for": [], "start_date": "2019-08-24", "parking_lots": [], "receive_notifications_for": [], "work_engagement": {}, "custom_id": "string" } ]

Organizationusersegment

Operations

Integrationuseragent

Operations

Protectedidentity

Operations

Workengagement

Operations