The 'Accounts' application of the Core API
Accounts (2.0.0)
- https://dev.api.pigello.io/accounts/users/organization/organizationuser/{pk}/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://dev.api.pigello.io/accounts/users/organization/organizationuser/{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'Additional Validation Information:
This field, or at least one of the following fields must be set: first_name, corporate_name
Additional Validation Information:
This field, or at least one of the following fields must be set: last_name, corporate_name
Additional Validation Information:
This field, or at least one of the following fields must be set: first_name, last_name
- https://dev.api.pigello.io/accounts/users/organization/organizationuser/{pk}/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://dev.api.pigello.io/accounts/users/organization/organizationuser/{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 '{
"custom_id": "string",
"external_clients": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
],
"ssn_is_coordination_number": true,
"debt_distribution_instruction": [
null
],
"birth_date": "2019-08-24",
"email": "user@example.com",
"reminder_distribution_instruction": [
null
],
"org_no": "stringstri",
"last_name": "string",
"organization": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
},
"anonymized": true,
"fmi": "stringstringstrin",
"detail_access": 0,
"role": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
},
"send_out_distribution_instruction": [
null
],
"active_to": "2019-08-24T14:15:22Z",
"prefer_invoice_view_only": true,
"first_name": "string",
"phone_number": "string",
"ssn": "stringstring",
"invoice_distribution_instruction": [
null
],
"corporate_name": "string",
"is_active": true,
"anonymization_name": "string",
"profile_picture": {
"name": "string",
"md5_hash": "string",
"get": "string",
"post": {
"url": "string",
"fields": {}
}
}
}'Successful update
Additional Validation Information:
This field, or at least one of the following fields must be set: first_name, corporate_name
Additional Validation Information:
Must be unique
Additional Validation Information:
This field, or at least one of the following fields must be set: last_name, corporate_name
Additional Validation Information:
This field, or at least one of the following fields must be set: first_name, last_name
{ "mfa_has_totp": true, "custom_id": "string", "external_clients": [ { … } ], "ssn_is_coordination_number": true, "debt_distribution_instruction": [ null ], "birth_date": "2019-08-24", "email": "user@example.com", "email_verified": true, "reminder_distribution_instruction": [ null ], "full_name": null, "tags": null, "org_no": "stringstri", "last_name": "string", "last_login": "2019-08-24T14:15:22Z", "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "communication_name": null, "anonymized": true, "fmi": "stringstringstrin", "customer_columns": null, "detail_access": 0, "role": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "send_out_distribution_instruction": [ null ], "active_to": "2019-08-24T14:15:22Z", "username": "stringst", "prefer_invoice_view_only": true, "first_name": "string", "phone_number": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "mfa_has_hotp": true, "hotp_invite_sendout_time": "2019-08-24T14:15:22Z", "ssn": "stringstring", "invoice_distribution_instruction": [ null ], "corporate_name": "string", "is_active": true, "created_at": "2019-08-24T14:15:22Z", "anonymization_name": "string", "profile_picture": { "name": "string", "md5_hash": "string", "get": "string", "post": { … } }, "phone_number_verified": true }
- https://dev.api.pigello.io/accounts/users/organization/organizationuser/{pk}/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://dev.api.pigello.io/accounts/users/organization/organizationuser/{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'Successful selection
Additional Validation Information:
This field, or at least one of the following fields must be set: first_name, corporate_name
Additional Validation Information:
Must be unique
Additional Validation Information:
This field, or at least one of the following fields must be set: last_name, corporate_name
Additional Validation Information:
This field, or at least one of the following fields must be set: first_name, last_name
{ "mfa_has_totp": true, "custom_id": "string", "external_clients": [ { … } ], "ssn_is_coordination_number": true, "debt_distribution_instruction": [ null ], "birth_date": "2019-08-24", "email": "user@example.com", "email_verified": true, "reminder_distribution_instruction": [ null ], "full_name": null, "tags": null, "org_no": "stringstri", "last_name": "string", "last_login": "2019-08-24T14:15:22Z", "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "communication_name": null, "anonymized": true, "fmi": "stringstringstrin", "customer_columns": null, "detail_access": 0, "role": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "send_out_distribution_instruction": [ null ], "active_to": "2019-08-24T14:15:22Z", "username": "stringst", "prefer_invoice_view_only": true, "first_name": "string", "phone_number": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "mfa_has_hotp": true, "hotp_invite_sendout_time": "2019-08-24T14:15:22Z", "ssn": "stringstring", "invoice_distribution_instruction": [ null ], "corporate_name": "string", "is_active": true, "created_at": "2019-08-24T14:15:22Z", "anonymization_name": "string", "profile_picture": { "name": "string", "md5_hash": "string", "get": "string", "post": { … } }, "phone_number_verified": true }