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

Organizationusersegment

Operations

Integrationuseragent

Operations

Update 'Integrationuseragent'

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
Bodyapplication/json
service_idstring(uuid)required
clashing_priorityinteger(int32)[ -2147483648 .. 2147483647 ]required
service_version_idstring(uuid)required
application_idstring(uuid)required
activation_variablesobject or null
integration_activation_dataobject or null
activation_object_idstring or null(uuid)

Additional Validation Information:

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

activation_content_typeobject or null(Contenttype)

Additional Validation Information:

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

is_activeboolean
categorystring or null
access_requires_specific_object_connectionboolean
personal_information_acceptance_modeinteger or null(int32)[ -2147483648 .. 2147483647 ]
Enum012
custom_idstring or null<= 128 characters
organizationobject or null(Organization)
curl -i -X PATCH \
  'https://dev.api.pigello.io/accounts/users/api/integrationuseragent/{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 '{
    "activation_variables": {},
    "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
    "integration_activation_data": {},
    "activation_object_id": "c5a56fe5-88a3-45fb-b8be-0179e3e35fc6",
    "clashing_priority": -2147483648,
    "service_version_id": "26d5aff9-394f-4ac9-b146-a5dbfb7218eb",
    "activation_content_type": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "is_active": true,
    "category": "string",
    "access_requires_specific_object_connection": true,
    "personal_information_acceptance_mode": 0,
    "custom_id": "string",
    "organization": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "application_id": "48ac72d0-a829-4896-a067-dcb1c2b0f30c"
  }'

Responses

Successful update

Bodyapplication/json
subscribes_to_eventsArray of objectsread-onlyrequired
requires_sole_category_ownershipbooleanread-onlyrequired
allowed_accessobjectread-onlyrequired
allowed_access.​property name*anyadditional property
allow_token_generation_for_tenantsbooleanread-onlyrequired
service_idstring(uuid)required
clashing_priorityinteger(int32)[ -2147483648 .. 2147483647 ]required
allow_token_generation_for_sub_tenantsbooleanread-onlyrequired
service_version_idstring(uuid)required
idstring(uuid)read-onlyrequired

Additional Validation Information:

Must be unique

require_personal_information_accessbooleanread-onlyrequired
application_idstring(uuid)required
has_sub_tenant_http_invokable_methodbooleanread-onlyrequired
has_tenant_http_invokable_methodbooleanread-onlyrequired
registered_ip_addressesArray of strings or nulluniqueread-only
activation_variablesobject or null
integration_activation_dataobject or null
activation_object_idstring or null(uuid)

Additional Validation Information:

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

created_atstring(date-time)read-only
activation_content_typeobject or null(Contenttype)

Additional Validation Information:

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

is_activeboolean
categorystring or null
access_requires_specific_object_connectionboolean
personal_information_acceptance_modeinteger or null(int32)[ -2147483648 .. 2147483647 ]
Enum012
custom_idstring or null<= 128 characters
organizationobject or null(Organization)
Response
application/json
{ "registered_ip_addresses": [ "string" ], "subscribes_to_events": [ null ], "requires_sole_category_ownership": true, "allowed_access": {}, "allow_token_generation_for_tenants": true, "activation_variables": {}, "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0", "integration_activation_data": {}, "activation_object_id": "c5a56fe5-88a3-45fb-b8be-0179e3e35fc6", "clashing_priority": -2147483648, "allow_token_generation_for_sub_tenants": true, "created_at": "2019-08-24T14:15:22Z", "service_version_id": "26d5aff9-394f-4ac9-b146-a5dbfb7218eb", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "activation_content_type": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "is_active": true, "category": "string", "access_requires_specific_object_connection": true, "personal_information_acceptance_mode": 0, "custom_id": "string", "require_personal_information_access": true, "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "application_id": "48ac72d0-a829-4896-a067-dcb1c2b0f30c", "has_sub_tenant_http_invokable_method": true, "has_tenant_http_invokable_method": true }

Create 'Integrationuseragent'

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/json
service_idstring(uuid)required
clashing_priorityinteger(int32)[ -2147483648 .. 2147483647 ]required
service_version_idstring(uuid)required
application_idstring(uuid)required
activation_variablesobject or null
integration_activation_dataobject or null
activation_object_idstring or null(uuid)

Additional Validation Information:

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

activation_content_typeobject or null(Contenttype)

Additional Validation Information:

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

is_activeboolean
categorystring or null
access_requires_specific_object_connectionboolean
personal_information_acceptance_modeinteger or null(int32)[ -2147483648 .. 2147483647 ]
Enum012
custom_idstring or null<= 128 characters
organizationobject or null(Organization)
curl -i -X POST \
  https://dev.api.pigello.io/accounts/users/api/integrationuseragent/ \
  -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 '{
    "activation_variables": {},
    "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
    "integration_activation_data": {},
    "activation_object_id": "c5a56fe5-88a3-45fb-b8be-0179e3e35fc6",
    "clashing_priority": -2147483648,
    "service_version_id": "26d5aff9-394f-4ac9-b146-a5dbfb7218eb",
    "activation_content_type": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "is_active": true,
    "category": "string",
    "access_requires_specific_object_connection": true,
    "personal_information_acceptance_mode": 0,
    "custom_id": "string",
    "organization": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "application_id": "48ac72d0-a829-4896-a067-dcb1c2b0f30c"
  }'

Responses

Successful creation

Bodyapplication/json
subscribes_to_eventsArray of objectsread-onlyrequired
requires_sole_category_ownershipbooleanread-onlyrequired
allowed_accessobjectread-onlyrequired
allowed_access.​property name*anyadditional property
allow_token_generation_for_tenantsbooleanread-onlyrequired
service_idstring(uuid)required
clashing_priorityinteger(int32)[ -2147483648 .. 2147483647 ]required
allow_token_generation_for_sub_tenantsbooleanread-onlyrequired
service_version_idstring(uuid)required
idstring(uuid)read-onlyrequired

Additional Validation Information:

Must be unique

require_personal_information_accessbooleanread-onlyrequired
application_idstring(uuid)required
has_sub_tenant_http_invokable_methodbooleanread-onlyrequired
has_tenant_http_invokable_methodbooleanread-onlyrequired
registered_ip_addressesArray of strings or nulluniqueread-only
activation_variablesobject or null
integration_activation_dataobject or null
activation_object_idstring or null(uuid)

Additional Validation Information:

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

created_atstring(date-time)read-only
activation_content_typeobject or null(Contenttype)

Additional Validation Information:

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

is_activeboolean
categorystring or null
access_requires_specific_object_connectionboolean
personal_information_acceptance_modeinteger or null(int32)[ -2147483648 .. 2147483647 ]
Enum012
custom_idstring or null<= 128 characters
organizationobject or null(Organization)
Response
application/json
{ "registered_ip_addresses": [ "string" ], "subscribes_to_events": [ null ], "requires_sole_category_ownership": true, "allowed_access": {}, "allow_token_generation_for_tenants": true, "activation_variables": {}, "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0", "integration_activation_data": {}, "activation_object_id": "c5a56fe5-88a3-45fb-b8be-0179e3e35fc6", "clashing_priority": -2147483648, "allow_token_generation_for_sub_tenants": true, "created_at": "2019-08-24T14:15:22Z", "service_version_id": "26d5aff9-394f-4ac9-b146-a5dbfb7218eb", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "activation_content_type": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "is_active": true, "category": "string", "access_requires_specific_object_connection": true, "personal_information_acceptance_mode": 0, "custom_id": "string", "require_personal_information_access": true, "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "application_id": "48ac72d0-a829-4896-a067-dcb1c2b0f30c", "has_sub_tenant_http_invokable_method": true, "has_tenant_http_invokable_method": true }

List 'Integrationuseragent'

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
access_requires_specific_object_connectionany

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

activation_content_typeany

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

activation_object_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

allow_token_generation_for_sub_tenantsany

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

allow_token_generation_for_tenantsany

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

application_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

categoryany

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

clashing_priorityany

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

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

has_sub_tenant_http_invokable_methodany

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

has_tenant_http_invokable_methodany

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

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

is_activeany

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

personal_information_acceptance_modeany

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

registered_ip_addressesany

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

Additional operators:

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

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

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

require_personal_information_accessany

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

requires_sole_category_ownershipany

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

service_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

service_version_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

curl -i -X GET \
  'https://dev.api.pigello.io/accounts/users/api/integrationuseragent/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 [
subscribes_to_eventsArray of objectsread-onlyrequired
requires_sole_category_ownershipbooleanread-onlyrequired
allowed_accessobjectread-onlyrequired
allowed_access.​property name*anyadditional property
allow_token_generation_for_tenantsbooleanread-onlyrequired
service_idstring(uuid)required
clashing_priorityinteger(int32)[ -2147483648 .. 2147483647 ]required
allow_token_generation_for_sub_tenantsbooleanread-onlyrequired
service_version_idstring(uuid)required
idstring(uuid)read-onlyrequired

Additional Validation Information:

Must be unique

require_personal_information_accessbooleanread-onlyrequired
application_idstring(uuid)required
has_sub_tenant_http_invokable_methodbooleanread-onlyrequired
has_tenant_http_invokable_methodbooleanread-onlyrequired
registered_ip_addressesArray of strings or nulluniqueread-only
activation_variablesobject or null
integration_activation_dataobject or null
activation_object_idstring or null(uuid)

Additional Validation Information:

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

created_atstring(date-time)read-only
activation_content_typeobject or null(Contenttype)

Additional Validation Information:

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

is_activeboolean
categorystring or null
access_requires_specific_object_connectionboolean
personal_information_acceptance_modeinteger or null(int32)[ -2147483648 .. 2147483647 ]
Enum012
custom_idstring or null<= 128 characters
organizationobject or null(Organization)
]
Response
application/json
[ { "registered_ip_addresses": [], "subscribes_to_events": [], "requires_sole_category_ownership": true, "allowed_access": {}, "allow_token_generation_for_tenants": true, "activation_variables": {}, "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0", "integration_activation_data": {}, "activation_object_id": "c5a56fe5-88a3-45fb-b8be-0179e3e35fc6", "clashing_priority": -2147483648, "allow_token_generation_for_sub_tenants": true, "created_at": "2019-08-24T14:15:22Z", "service_version_id": "26d5aff9-394f-4ac9-b146-a5dbfb7218eb", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "activation_content_type": {}, "is_active": true, "category": "string", "access_requires_specific_object_connection": true, "personal_information_acceptance_mode": 0, "custom_id": "string", "require_personal_information_access": true, "organization": {}, "application_id": "48ac72d0-a829-4896-a067-dcb1c2b0f30c", "has_sub_tenant_http_invokable_method": true, "has_tenant_http_invokable_method": true } ]

Protectedidentity

Operations

Workengagement

Operations