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

Get 'Subtenant'

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/customer/subtenant/{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
allow_errands_access_through_connectionsbooleanrequired
allow_personal_information_accessbooleanrequired
add_connection_description_on_invoicebooleanrequired
allow_notificationsbooleanrequired
allow_revenue_row_accessbooleanrequired
allow_brf_accessbooleanrequired
allow_cancel_contract_accessbooleanrequired
allow_errands_accessbooleanrequired
allow_contracts_accessbooleanrequired
allow_invoice_accessbooleanrequired
allow_objects_accessbooleanrequired
allow_my_pages_accessbooleanrequired
statusinteger(int32)[ -2147483648 .. 2147483647 ]read-onlyrequired
Enum0123456789
idstring(uuid)read-onlyrequired

Additional Validation Information:

Must be unique

mfa_has_hotpboolean or nullread-only
org_nostring or null(luhn)[ 10 .. 11 ] characters
block_sms_notifications_forArray of objects
usernamestring or null[ 8 .. 150 ] characters'^[\w.@+-]+\Z'read-only

Additional Validation Information:

Must be unique

is_companyanyread-only
previous_addressobject or null(Address)
organizationobject or null(Organization)
block_notifications_forArray of objects
current_registered_addressobject or null(Address)
invoice_emailstring or null(email)<= 254 characters
sni_numberstring or null<= 6 characters

Additional Validation Information:

This value requires that the following fields are also set: corporate_name

Enum"20.520""78.300""68.310""79.900""96.090""32.910""46.630""20.59""20.160""42.110"
ssn_is_coordination_numberboolean
profile_pictureobject or null
is_activeboolean
hotp_invite_sendout_timestring or null(date-time)read-only
mfa_has_totpboolean or nullread-only
gln13_numberstring or null(gln13)[ 13 .. 14 ] characters
allows_external_personal_information_sharingboolean or null
last_loginstring or null(date-time)read-only
customer_columnsanyread-only
autogiro_disables_invoice_distributionboolean
fmistring or null[ 17 .. 20 ] characters
phone_numberstring or null<= 36 characters'^\+?1?\d{7,15}$'
peppol_idstring or null[ 15 .. 18 ] characters'^(0007|0088):\d{10,13}$'
pending_monitor_approval_amountanyread-only
future_addressobject or null(Address)
created_atstring(date-time)read-only
birth_datestring or null(date)
emailstring or null(email)<= 254 characters
custom_idstring or null<= 128 characters
full_nameanyread-only
send_out_distribution_instructionArray of objects or null
active_tostring or null(date-time)
tagsanyread-only
popular_namestring or null<= 255 characters
email_verifiedbooleanread-only
last_namestring or null<= 255 characters

Additional Validation Information:

This field, or at least one of the following fields must be set: first_name, corporate_name

first_namestring or null<= 255 characters

Additional Validation Information:

This field, or at least one of the following fields must be set: last_name, corporate_name

latest_active_datestring or null(date)read-only
block_email_notifications_forArray of objects
anonymizedboolean
earliest_active_datestring or null(date)read-only
wants_evictedboolean
communication_nameanyread-only
realestatesArray of objects(Realestate)
custom_application_domainstring or null<= 255 charactersread-only
ssnstring or null(luhn)[ 12 .. 13 ] characters
invoice_addressobject or null(Address)
anonymization_namestring or null<= 255 characters
corporate_namestring or null<= 255 characters

Additional Validation Information:

This field, or at least one of the following fields must be set: first_name, last_name

phone_number_verifiedbooleanread-only
Response
application/json
{ "mfa_has_hotp": true, "org_no": "stringstri", "block_sms_notifications_for": [ null ], "username": "stringst", "is_company": null, "previous_address": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "block_notifications_for": [ null ], "allow_errands_access_through_connections": true, "current_registered_address": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "invoice_email": "user@example.com", "sni_number": "20.520", "allow_personal_information_access": true, "ssn_is_coordination_number": true, "profile_picture": { "name": "string", "md5_hash": "string", "get": "string", "post": {} }, "is_active": true, "add_connection_description_on_invoice": true, "hotp_invite_sendout_time": "2019-08-24T14:15:22Z", "mfa_has_totp": true, "gln13_number": "stringstrings", "allows_external_personal_information_sharing": true, "last_login": "2019-08-24T14:15:22Z", "customer_columns": null, "autogiro_disables_invoice_distribution": true, "fmi": "stringstringstrin", "allow_notifications": true, "allow_revenue_row_access": true, "allow_brf_access": true, "phone_number": "string", "peppol_id": "stringstringstr", "pending_monitor_approval_amount": null, "future_address": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "allow_cancel_contract_access": true, "created_at": "2019-08-24T14:15:22Z", "allow_errands_access": true, "birth_date": "2019-08-24", "email": "user@example.com", "custom_id": "string", "full_name": null, "send_out_distribution_instruction": [ null ], "active_to": "2019-08-24T14:15:22Z", "tags": null, "popular_name": "string", "email_verified": true, "last_name": "string", "first_name": "string", "allow_contracts_access": true, "latest_active_date": "2019-08-24", "block_email_notifications_for": [ null ], "anonymized": true, "earliest_active_date": "2019-08-24", "wants_evicted": true, "allow_invoice_access": true, "communication_name": null, "realestates": [ {} ], "custom_application_domain": "string", "ssn": "stringstring", "invoice_address": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "allow_objects_access": true, "anonymization_name": "string", "allow_my_pages_access": true, "corporate_name": "string", "phone_number_verified": true, "status": 0, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }

/accounts/users/auth/invite/customer/subtenant/

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
any
curl -i -X POST \
  https://dev.api.pigello.io/accounts/users/auth/invite/customer/subtenant/ \
  -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'

Responses

Successful creation

Bodyapplication/json
any
Response
application/json
null

Organizationuserworkengagement

Operations

Organizationusersegment

Operations

Integrationuseragent

Operations

Protectedidentity

Operations

Workengagement

Operations