Skip to content

Accounts (2.0.0)

The 'Accounts' application of the Core API

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

Subtenantcontractconnection

Operations

Subtenanttenantconnection

Operations

Bulk write 'Subtenanttenantconnection'

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 [
sub_tenantobject(Subtenant)required
sub_tenant.​idstring(uuid)
tenantobject(Tenant)required
tenant.​idstring(uuid)
stakeholder_typeinteger(int32)[ -2147483648 .. 2147483647 ]required
Enum0123
reminder_distribution_instructionArray of objects or null
organizationobject or null(Organization)
is_activeboolean
categoryinteger or null(int32)[ -2147483648 .. 2147483647 ]
Enum0123456789
custom_idstring or null<= 128 characters
invoice_distribution_instructionArray of objects or null
prefer_invoice_view_onlyboolean
parent_sub_tenantobject or null(Subtenant)
debt_distribution_instructionArray of objects or null
]
curl -i -X POST \
  https://dev.api.pigello.io/accounts/users/customer/subtenanttenantconnection/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 '[
    {
      "reminder_distribution_instruction": [
        null
      ],
      "organization": {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
      },
      "is_active": true,
      "category": 0,
      "sub_tenant": {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
      },
      "tenant": {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
      },
      "custom_id": "string",
      "invoice_distribution_instruction": [
        null
      ],
      "stakeholder_type": 0,
      "prefer_invoice_view_only": true,
      "parent_sub_tenant": {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
      },
      "debt_distribution_instruction": [
        null
      ]
    }
  ]'

Responses

Successful bulk create/update

Bodyapplication/jsonArray [
sub_tenantobject(Subtenant)required
sub_tenant.​idstring(uuid)
idstring(uuid)read-onlyrequired

Additional Validation Information:

Must be unique

tenantobject(Tenant)required
tenant.​idstring(uuid)
stakeholder_typeinteger(int32)[ -2147483648 .. 2147483647 ]required
Enum0123
reminder_distribution_instructionArray of objects or null
organizationobject or null(Organization)
is_activeboolean
categoryinteger or null(int32)[ -2147483648 .. 2147483647 ]
Enum0123456789
tagsanyread-only
customer_columnsanyread-only
custom_idstring or null<= 128 characters
invoice_distribution_instructionArray of objects or null
created_atstring(date-time)read-only
pending_monitor_approval_amountanyread-only
prefer_invoice_view_onlyboolean
parent_sub_tenantobject or null(Subtenant)
debt_distribution_instructionArray of objects or null
]
Response
application/json
[ { "reminder_distribution_instruction": [], "organization": {}, "is_active": true, "category": 0, "tags": null, "sub_tenant": {}, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "customer_columns": null, "tenant": {}, "custom_id": "string", "invoice_distribution_instruction": [], "stakeholder_type": 0, "created_at": "2019-08-24T14:15:22Z", "pending_monitor_approval_amount": null, "prefer_invoice_view_only": true, "parent_sub_tenant": {}, "debt_distribution_instruction": [] } ]

Create 'Subtenanttenantconnection'

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
sub_tenantobject(Subtenant)required
sub_tenant.​idstring(uuid)
tenantobject(Tenant)required
tenant.​idstring(uuid)
stakeholder_typeinteger(int32)[ -2147483648 .. 2147483647 ]required
Enum0123
reminder_distribution_instructionArray of objects or null
organizationobject or null(Organization)
is_activeboolean
categoryinteger or null(int32)[ -2147483648 .. 2147483647 ]
Enum0123456789
custom_idstring or null<= 128 characters
invoice_distribution_instructionArray of objects or null
prefer_invoice_view_onlyboolean
parent_sub_tenantobject or null(Subtenant)
debt_distribution_instructionArray of objects or null
curl -i -X POST \
  https://dev.api.pigello.io/accounts/users/customer/subtenanttenantconnection/ \
  -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 '{
    "reminder_distribution_instruction": [
      null
    ],
    "organization": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "is_active": true,
    "category": 0,
    "sub_tenant": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "tenant": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "custom_id": "string",
    "invoice_distribution_instruction": [
      null
    ],
    "stakeholder_type": 0,
    "prefer_invoice_view_only": true,
    "parent_sub_tenant": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "debt_distribution_instruction": [
      null
    ]
  }'

Responses

Successful creation

Bodyapplication/json
sub_tenantobject(Subtenant)required
sub_tenant.​idstring(uuid)
idstring(uuid)read-onlyrequired

Additional Validation Information:

Must be unique

tenantobject(Tenant)required
tenant.​idstring(uuid)
stakeholder_typeinteger(int32)[ -2147483648 .. 2147483647 ]required
Enum0123
reminder_distribution_instructionArray of objects or null
organizationobject or null(Organization)
is_activeboolean
categoryinteger or null(int32)[ -2147483648 .. 2147483647 ]
Enum0123456789
tagsanyread-only
customer_columnsanyread-only
custom_idstring or null<= 128 characters
invoice_distribution_instructionArray of objects or null
created_atstring(date-time)read-only
pending_monitor_approval_amountanyread-only
prefer_invoice_view_onlyboolean
parent_sub_tenantobject or null(Subtenant)
debt_distribution_instructionArray of objects or null
Response
application/json
{ "reminder_distribution_instruction": [ null ], "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "is_active": true, "category": 0, "tags": null, "sub_tenant": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "customer_columns": null, "tenant": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "custom_id": "string", "invoice_distribution_instruction": [ null ], "stakeholder_type": 0, "created_at": "2019-08-24T14:15:22Z", "pending_monitor_approval_amount": null, "prefer_invoice_view_only": true, "parent_sub_tenant": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "debt_distribution_instruction": [ null ] }

Get 'Subtenanttenantconnection'

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/subtenanttenantconnection/{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
sub_tenantobject(Subtenant)required
sub_tenant.​idstring(uuid)
idstring(uuid)read-onlyrequired

Additional Validation Information:

Must be unique

tenantobject(Tenant)required
tenant.​idstring(uuid)
stakeholder_typeinteger(int32)[ -2147483648 .. 2147483647 ]required
Enum0123
reminder_distribution_instructionArray of objects or null
organizationobject or null(Organization)
is_activeboolean
categoryinteger or null(int32)[ -2147483648 .. 2147483647 ]
Enum0123456789
tagsanyread-only
customer_columnsanyread-only
custom_idstring or null<= 128 characters
invoice_distribution_instructionArray of objects or null
created_atstring(date-time)read-only
pending_monitor_approval_amountanyread-only
prefer_invoice_view_onlyboolean
parent_sub_tenantobject or null(Subtenant)
debt_distribution_instructionArray of objects or null
Response
application/json
{ "reminder_distribution_instruction": [ null ], "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "is_active": true, "category": 0, "tags": null, "sub_tenant": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "customer_columns": null, "tenant": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "custom_id": "string", "invoice_distribution_instruction": [ null ], "stakeholder_type": 0, "created_at": "2019-08-24T14:15:22Z", "pending_monitor_approval_amount": null, "prefer_invoice_view_only": true, "parent_sub_tenant": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "debt_distribution_instruction": [ null ] }

Tenant

Operations

Organizationuser

Operations

Subtenant

Operations

Organizationuserworkengagement

Operations

Organizationusersegment

Operations

Integrationuseragent

Operations

Protectedidentity

Operations

Workengagement

Operations