Skip to content

Integrations (2.0.0)

The 'Integrations' application of the Core API

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

Answeredintegrationpersonalinformationaccess

Operations

Bulk write 'Answeredintegrationpersonalinformationaccess'

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 [
answerbooleanrequired
integrationobject(Integrationuseragent)required
integration.​idstring(uuid)
answered_by_organization_userobject or null(Organizationuser)

Additional Validation Information:

This value can't bet set, when any of the following fields are set: answered_by_tenant, answered_by_sub_tenant

This field, or at least one of the following fields must be set: answered_by_tenant, answered_by_sub_tenant

answered_by_tenantobject or null(Tenant)

Additional Validation Information:

This value can't bet set, when any of the following fields are set: answered_by_organization_user, answered_by_sub_tenant

This field, or at least one of the following fields must be set: answered_by_organization_user, answered_by_sub_tenant

organizationobject or null(Organization)
custom_idstring or null<= 128 characters
answered_by_sub_tenantobject or null(Subtenant)

Additional Validation Information:

This value can't bet set, when any of the following fields are set: answered_by_tenant, answered_by_organization_user

This field, or at least one of the following fields must be set: answered_by_tenant, answered_by_organization_user

]
curl -i -X POST \
  https://dev.api.pigello.io/integrations/answeredintegrationpersonalinformationaccess/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 '[
    {
      "answer": true,
      "answered_by_organization_user": {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
      },
      "answered_by_tenant": {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
      },
      "organization": {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
      },
      "integration": {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
      },
      "custom_id": "string",
      "answered_by_sub_tenant": {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
      }
    }
  ]'

Responses

Successful bulk create/update

Bodyapplication/jsonArray [
idstring(uuid)read-onlyrequired

Additional Validation Information:

Must be unique

answerbooleanrequired
integrationobject(Integrationuseragent)required
integration.​idstring(uuid)
answered_by_organization_userobject or null(Organizationuser)

Additional Validation Information:

This value can't bet set, when any of the following fields are set: answered_by_tenant, answered_by_sub_tenant

This field, or at least one of the following fields must be set: answered_by_tenant, answered_by_sub_tenant

answered_by_tenantobject or null(Tenant)

Additional Validation Information:

This value can't bet set, when any of the following fields are set: answered_by_organization_user, answered_by_sub_tenant

This field, or at least one of the following fields must be set: answered_by_organization_user, answered_by_sub_tenant

created_atstring(date-time)read-only
organizationobject or null(Organization)
custom_idstring or null<= 128 characters
answered_by_sub_tenantobject or null(Subtenant)

Additional Validation Information:

This value can't bet set, when any of the following fields are set: answered_by_tenant, answered_by_organization_user

This field, or at least one of the following fields must be set: answered_by_tenant, answered_by_organization_user

]
Response
application/json
[ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "answer": true, "answered_by_organization_user": {}, "answered_by_tenant": {}, "created_at": "2019-08-24T14:15:22Z", "organization": {}, "integration": {}, "custom_id": "string", "answered_by_sub_tenant": {} } ]

List 'Answeredintegrationpersonalinformationaccess'

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
answerany

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

answered_by_organization_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

answered_by_sub_tenantany

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

answered_by_tenantany

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

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

integrationany

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

curl -i -X GET \
  'https://dev.api.pigello.io/integrations/answeredintegrationpersonalinformationaccess/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

answerbooleanrequired
integrationobject(Integrationuseragent)required
integration.​idstring(uuid)
answered_by_organization_userobject or null(Organizationuser)

Additional Validation Information:

This value can't bet set, when any of the following fields are set: answered_by_tenant, answered_by_sub_tenant

This field, or at least one of the following fields must be set: answered_by_tenant, answered_by_sub_tenant

answered_by_tenantobject or null(Tenant)

Additional Validation Information:

This value can't bet set, when any of the following fields are set: answered_by_organization_user, answered_by_sub_tenant

This field, or at least one of the following fields must be set: answered_by_organization_user, answered_by_sub_tenant

created_atstring(date-time)read-only
organizationobject or null(Organization)
custom_idstring or null<= 128 characters
answered_by_sub_tenantobject or null(Subtenant)

Additional Validation Information:

This value can't bet set, when any of the following fields are set: answered_by_tenant, answered_by_organization_user

This field, or at least one of the following fields must be set: answered_by_tenant, answered_by_organization_user

]
Response
application/json
[ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "answer": true, "answered_by_organization_user": {}, "answered_by_tenant": {}, "created_at": "2019-08-24T14:15:22Z", "organization": {}, "integration": {}, "custom_id": "string", "answered_by_sub_tenant": {} } ]

Create 'Answeredintegrationpersonalinformationaccess'

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
answerbooleanrequired
integrationobject(Integrationuseragent)required
integration.​idstring(uuid)
answered_by_organization_userobject or null(Organizationuser)

Additional Validation Information:

This value can't bet set, when any of the following fields are set: answered_by_tenant, answered_by_sub_tenant

This field, or at least one of the following fields must be set: answered_by_tenant, answered_by_sub_tenant

answered_by_tenantobject or null(Tenant)

Additional Validation Information:

This value can't bet set, when any of the following fields are set: answered_by_organization_user, answered_by_sub_tenant

This field, or at least one of the following fields must be set: answered_by_organization_user, answered_by_sub_tenant

organizationobject or null(Organization)
custom_idstring or null<= 128 characters
answered_by_sub_tenantobject or null(Subtenant)

Additional Validation Information:

This value can't bet set, when any of the following fields are set: answered_by_tenant, answered_by_organization_user

This field, or at least one of the following fields must be set: answered_by_tenant, answered_by_organization_user

curl -i -X POST \
  https://dev.api.pigello.io/integrations/answeredintegrationpersonalinformationaccess/ \
  -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 '{
    "answer": true,
    "answered_by_organization_user": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "answered_by_tenant": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "organization": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "integration": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "custom_id": "string",
    "answered_by_sub_tenant": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    }
  }'

Responses

Successful creation

Bodyapplication/json
idstring(uuid)read-onlyrequired

Additional Validation Information:

Must be unique

answerbooleanrequired
integrationobject(Integrationuseragent)required
integration.​idstring(uuid)
answered_by_organization_userobject or null(Organizationuser)

Additional Validation Information:

This value can't bet set, when any of the following fields are set: answered_by_tenant, answered_by_sub_tenant

This field, or at least one of the following fields must be set: answered_by_tenant, answered_by_sub_tenant

answered_by_tenantobject or null(Tenant)

Additional Validation Information:

This value can't bet set, when any of the following fields are set: answered_by_organization_user, answered_by_sub_tenant

This field, or at least one of the following fields must be set: answered_by_organization_user, answered_by_sub_tenant

created_atstring(date-time)read-only
organizationobject or null(Organization)
custom_idstring or null<= 128 characters
answered_by_sub_tenantobject or null(Subtenant)

Additional Validation Information:

This value can't bet set, when any of the following fields are set: answered_by_tenant, answered_by_organization_user

This field, or at least one of the following fields must be set: answered_by_tenant, answered_by_organization_user

Response
application/json
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "answer": true, "answered_by_organization_user": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "answered_by_tenant": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "created_at": "2019-08-24T14:15:22Z", "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "integration": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "custom_id": "string", "answered_by_sub_tenant": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } }

Get 'Answeredintegrationpersonalinformationaccess'

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/integrations/answeredintegrationpersonalinformationaccess/{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

answerbooleanrequired
integrationobject(Integrationuseragent)required
integration.​idstring(uuid)
answered_by_organization_userobject or null(Organizationuser)

Additional Validation Information:

This value can't bet set, when any of the following fields are set: answered_by_tenant, answered_by_sub_tenant

This field, or at least one of the following fields must be set: answered_by_tenant, answered_by_sub_tenant

answered_by_tenantobject or null(Tenant)

Additional Validation Information:

This value can't bet set, when any of the following fields are set: answered_by_organization_user, answered_by_sub_tenant

This field, or at least one of the following fields must be set: answered_by_organization_user, answered_by_sub_tenant

created_atstring(date-time)read-only
organizationobject or null(Organization)
custom_idstring or null<= 128 characters
answered_by_sub_tenantobject or null(Subtenant)

Additional Validation Information:

This value can't bet set, when any of the following fields are set: answered_by_tenant, answered_by_organization_user

This field, or at least one of the following fields must be set: answered_by_tenant, answered_by_organization_user

Response
application/json
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "answer": true, "answered_by_organization_user": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "answered_by_tenant": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "created_at": "2019-08-24T14:15:22Z", "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "integration": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "custom_id": "string", "answered_by_sub_tenant": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } }

Update 'Answeredintegrationpersonalinformationaccess'

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
answerbooleanrequired
integrationobject(Integrationuseragent)required
integration.​idstring(uuid)
answered_by_organization_userobject or null(Organizationuser)

Additional Validation Information:

This value can't bet set, when any of the following fields are set: answered_by_tenant, answered_by_sub_tenant

This field, or at least one of the following fields must be set: answered_by_tenant, answered_by_sub_tenant

answered_by_tenantobject or null(Tenant)

Additional Validation Information:

This value can't bet set, when any of the following fields are set: answered_by_organization_user, answered_by_sub_tenant

This field, or at least one of the following fields must be set: answered_by_organization_user, answered_by_sub_tenant

organizationobject or null(Organization)
custom_idstring or null<= 128 characters
answered_by_sub_tenantobject or null(Subtenant)

Additional Validation Information:

This value can't bet set, when any of the following fields are set: answered_by_tenant, answered_by_organization_user

This field, or at least one of the following fields must be set: answered_by_tenant, answered_by_organization_user

curl -i -X PATCH \
  'https://dev.api.pigello.io/integrations/answeredintegrationpersonalinformationaccess/{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 '{
    "answer": true,
    "answered_by_organization_user": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "answered_by_tenant": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "organization": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "integration": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "custom_id": "string",
    "answered_by_sub_tenant": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    }
  }'

Responses

Successful update

Bodyapplication/json
idstring(uuid)read-onlyrequired

Additional Validation Information:

Must be unique

answerbooleanrequired
integrationobject(Integrationuseragent)required
integration.​idstring(uuid)
answered_by_organization_userobject or null(Organizationuser)

Additional Validation Information:

This value can't bet set, when any of the following fields are set: answered_by_tenant, answered_by_sub_tenant

This field, or at least one of the following fields must be set: answered_by_tenant, answered_by_sub_tenant

answered_by_tenantobject or null(Tenant)

Additional Validation Information:

This value can't bet set, when any of the following fields are set: answered_by_organization_user, answered_by_sub_tenant

This field, or at least one of the following fields must be set: answered_by_organization_user, answered_by_sub_tenant

created_atstring(date-time)read-only
organizationobject or null(Organization)
custom_idstring or null<= 128 characters
answered_by_sub_tenantobject or null(Subtenant)

Additional Validation Information:

This value can't bet set, when any of the following fields are set: answered_by_tenant, answered_by_organization_user

This field, or at least one of the following fields must be set: answered_by_tenant, answered_by_organization_user

Response
application/json
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "answer": true, "answered_by_organization_user": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "answered_by_tenant": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "created_at": "2019-08-24T14:15:22Z", "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "integration": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "custom_id": "string", "answered_by_sub_tenant": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } }

Delete 'Answeredintegrationpersonalinformationaccess'

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 DELETE \
  'https://dev.api.pigello.io/integrations/answeredintegrationpersonalinformationaccess/{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 deletion

Response
No content

Integrationserviceidconnection

Operations