Skip to content

Organization (2.0.0)

The 'Organization' application of the Core API

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

Externalclient

Operations

Externalclientcontactperson

Operations

List 'Externalclientcontactperson'

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
customer_columnsArray of objects
global_realestatesArray of objects
global_segmentsArray of objects
tagsArray of objects
corporate_nameany

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

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

emailany

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

external_clientany

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

first_nameany

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

last_nameany

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

nameany

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

org_noany

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

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

phone_numberany

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

ssnany

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

titleany

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

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

namestring<= 255 charactersrequired
external_clientobject(Externalclient)required
external_client.​idstring(uuid)
titlestring<= 255 charactersrequired
ssnstring or null(luhn)[ 12 .. 13 ] characters
created_atstring(date-time)read-only
tagsanyread-only
custom_idstring or null<= 128 characters
customer_columnsanyread-only
org_nostring or null(luhn)[ 10 .. 11 ] characters
first_namestring or null<= 255 characters
emailstring or null(email)<= 254 characters
organizationobject or null(Organization)
corporate_namestring or null<= 255 characters
phone_numberstring or null<= 36 characters'^\+?1?\d{7,15}$'
last_namestring or null<= 255 characters
]
Response
application/json
[ { "ssn": "stringstring", "created_at": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "tags": null, "custom_id": "string", "name": "string", "customer_columns": null, "external_client": {}, "org_no": "stringstri", "first_name": "string", "email": "user@example.com", "organization": {}, "corporate_name": "string", "phone_number": "string", "title": "string", "last_name": "string" } ]

Bulk write 'Externalclientcontactperson'

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 [
namestring<= 255 charactersrequired
external_clientobject(Externalclient)required
external_client.​idstring(uuid)
titlestring<= 255 charactersrequired
ssnstring or null(luhn)[ 12 .. 13 ] characters
custom_idstring or null<= 128 characters
org_nostring or null(luhn)[ 10 .. 11 ] characters
first_namestring or null<= 255 characters
emailstring or null(email)<= 254 characters
organizationobject or null(Organization)
corporate_namestring or null<= 255 characters
phone_numberstring or null<= 36 characters'^\+?1?\d{7,15}$'
last_namestring or null<= 255 characters
]
curl -i -X POST \
  https://dev.api.pigello.io/organization/externalclientcontactperson/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 '[
    {
      "ssn": "stringstring",
      "custom_id": "string",
      "name": "string",
      "external_client": {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
      },
      "org_no": "stringstri",
      "first_name": "string",
      "email": "user@example.com",
      "organization": {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
      },
      "corporate_name": "string",
      "phone_number": "string",
      "title": "string",
      "last_name": "string"
    }
  ]'

Responses

Successful bulk create/update

Bodyapplication/jsonArray [
idstring(uuid)read-onlyrequired

Additional Validation Information:

Must be unique

namestring<= 255 charactersrequired
external_clientobject(Externalclient)required
external_client.​idstring(uuid)
titlestring<= 255 charactersrequired
ssnstring or null(luhn)[ 12 .. 13 ] characters
created_atstring(date-time)read-only
tagsanyread-only
custom_idstring or null<= 128 characters
customer_columnsanyread-only
org_nostring or null(luhn)[ 10 .. 11 ] characters
first_namestring or null<= 255 characters
emailstring or null(email)<= 254 characters
organizationobject or null(Organization)
corporate_namestring or null<= 255 characters
phone_numberstring or null<= 36 characters'^\+?1?\d{7,15}$'
last_namestring or null<= 255 characters
]
Response
application/json
[ { "ssn": "stringstring", "created_at": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "tags": null, "custom_id": "string", "name": "string", "customer_columns": null, "external_client": {}, "org_no": "stringstri", "first_name": "string", "email": "user@example.com", "organization": {}, "corporate_name": "string", "phone_number": "string", "title": "string", "last_name": "string" } ]

Create 'Externalclientcontactperson'

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
namestring<= 255 charactersrequired
external_clientobject(Externalclient)required
external_client.​idstring(uuid)
titlestring<= 255 charactersrequired
ssnstring or null(luhn)[ 12 .. 13 ] characters
custom_idstring or null<= 128 characters
org_nostring or null(luhn)[ 10 .. 11 ] characters
first_namestring or null<= 255 characters
emailstring or null(email)<= 254 characters
organizationobject or null(Organization)
corporate_namestring or null<= 255 characters
phone_numberstring or null<= 36 characters'^\+?1?\d{7,15}$'
last_namestring or null<= 255 characters
curl -i -X POST \
  https://dev.api.pigello.io/organization/externalclientcontactperson/ \
  -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 '{
    "ssn": "stringstring",
    "custom_id": "string",
    "name": "string",
    "external_client": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "org_no": "stringstri",
    "first_name": "string",
    "email": "user@example.com",
    "organization": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "corporate_name": "string",
    "phone_number": "string",
    "title": "string",
    "last_name": "string"
  }'

Responses

Successful creation

Bodyapplication/json
idstring(uuid)read-onlyrequired

Additional Validation Information:

Must be unique

namestring<= 255 charactersrequired
external_clientobject(Externalclient)required
external_client.​idstring(uuid)
titlestring<= 255 charactersrequired
ssnstring or null(luhn)[ 12 .. 13 ] characters
created_atstring(date-time)read-only
tagsanyread-only
custom_idstring or null<= 128 characters
customer_columnsanyread-only
org_nostring or null(luhn)[ 10 .. 11 ] characters
first_namestring or null<= 255 characters
emailstring or null(email)<= 254 characters
organizationobject or null(Organization)
corporate_namestring or null<= 255 characters
phone_numberstring or null<= 36 characters'^\+?1?\d{7,15}$'
last_namestring or null<= 255 characters
Response
application/json
{ "ssn": "stringstring", "created_at": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "tags": null, "custom_id": "string", "name": "string", "customer_columns": null, "external_client": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "org_no": "stringstri", "first_name": "string", "email": "user@example.com", "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "corporate_name": "string", "phone_number": "string", "title": "string", "last_name": "string" }

Update 'Externalclientcontactperson'

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
namestring<= 255 charactersrequired
external_clientobject(Externalclient)required
external_client.​idstring(uuid)
titlestring<= 255 charactersrequired
ssnstring or null(luhn)[ 12 .. 13 ] characters
custom_idstring or null<= 128 characters
org_nostring or null(luhn)[ 10 .. 11 ] characters
first_namestring or null<= 255 characters
emailstring or null(email)<= 254 characters
organizationobject or null(Organization)
corporate_namestring or null<= 255 characters
phone_numberstring or null<= 36 characters'^\+?1?\d{7,15}$'
last_namestring or null<= 255 characters
curl -i -X PATCH \
  'https://dev.api.pigello.io/organization/externalclientcontactperson/{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 '{
    "ssn": "stringstring",
    "custom_id": "string",
    "name": "string",
    "external_client": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "org_no": "stringstri",
    "first_name": "string",
    "email": "user@example.com",
    "organization": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "corporate_name": "string",
    "phone_number": "string",
    "title": "string",
    "last_name": "string"
  }'

Responses

Successful update

Bodyapplication/json
idstring(uuid)read-onlyrequired

Additional Validation Information:

Must be unique

namestring<= 255 charactersrequired
external_clientobject(Externalclient)required
external_client.​idstring(uuid)
titlestring<= 255 charactersrequired
ssnstring or null(luhn)[ 12 .. 13 ] characters
created_atstring(date-time)read-only
tagsanyread-only
custom_idstring or null<= 128 characters
customer_columnsanyread-only
org_nostring or null(luhn)[ 10 .. 11 ] characters
first_namestring or null<= 255 characters
emailstring or null(email)<= 254 characters
organizationobject or null(Organization)
corporate_namestring or null<= 255 characters
phone_numberstring or null<= 36 characters'^\+?1?\d{7,15}$'
last_namestring or null<= 255 characters
Response
application/json
{ "ssn": "stringstring", "created_at": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "tags": null, "custom_id": "string", "name": "string", "customer_columns": null, "external_client": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "org_no": "stringstri", "first_name": "string", "email": "user@example.com", "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "corporate_name": "string", "phone_number": "string", "title": "string", "last_name": "string" }

Delete 'Externalclientcontactperson'

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/organization/externalclientcontactperson/{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

Get 'Externalclientcontactperson'

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/organization/externalclientcontactperson/{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

namestring<= 255 charactersrequired
external_clientobject(Externalclient)required
external_client.​idstring(uuid)
titlestring<= 255 charactersrequired
ssnstring or null(luhn)[ 12 .. 13 ] characters
created_atstring(date-time)read-only
tagsanyread-only
custom_idstring or null<= 128 characters
customer_columnsanyread-only
org_nostring or null(luhn)[ 10 .. 11 ] characters
first_namestring or null<= 255 characters
emailstring or null(email)<= 254 characters
organizationobject or null(Organization)
corporate_namestring or null<= 255 characters
phone_numberstring or null<= 36 characters'^\+?1?\d{7,15}$'
last_namestring or null<= 255 characters
Response
application/json
{ "ssn": "stringstring", "created_at": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "tags": null, "custom_id": "string", "name": "string", "customer_columns": null, "external_client": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "org_no": "stringstri", "first_name": "string", "email": "user@example.com", "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "corporate_name": "string", "phone_number": "string", "title": "string", "last_name": "string" }

Company

Operations