Skip to content

Errands (2.0.0)

The 'Errands' application of the Core API

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

Generalerrandaction

Operations

Generalerranddefaultdescription

Operations

Generalerrandsubtype

Operations

Generalerrandgroup

Operations

Generalerrandtype

Operations

Generalerrandactionfile

Operations

Generalerrandfile

Operations

Componentconditionvalue

Operations

Componentconditionnotation

Operations

Errandactiondefault

Operations

Inspectionerrandfault

Operations

Inspectionerrandsetting

Operations

Inspectionerrand

Operations

Inspectionerrandchecklist

Operations

Inspectionerrandfile

Operations

Inspectionerrandprotocolsetting

Operations

Inspectionerrandnote

Operations

Tenantinspectionassociation

Operations

Customerrandfieldvalue

Operations

Customerrandfieldinclusion

Operations

Customerrandfieldtype

Operations

Externalsupplier

Operations

Erranddelegationoffer

Operations

Erranddelegationinstruction

Operations

List 'Erranddelegationinstruction'

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
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

external_supplierany

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

general_errand_sub_typeany

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

general_errand_typeany

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

groupany

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

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

inspection_errand_settingany

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

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

work_engagementany

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/errands/delegations/erranddelegationinstruction/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

groupinteger(int32)[ -2147483648 .. 2147483647 ]required
inspection_errand_settingobject or null(Inspectionerrandsetting)

Additional Validation Information:

This value can't bet set, when any of the following fields are set: external_supplier, general_errand_type, general_errand_sub_type

This field, or at least one of the following fields must be set: general_errand_type, general_errand_sub_type

custom_idstring or null<= 128 characters
work_engagementobject or null(Workengagement)

Additional Validation Information:

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

This field, or at least one of the following fields must be set: organization_user, external_supplier

created_atstring(date-time)read-only
general_errand_sub_typeobject or null(Generalerrandsubtype)

Additional Validation Information:

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

This field, or at least one of the following fields must be set: general_errand_type, inspection_errand_setting

organizationobject or null(Organization)
general_errand_typeobject or null(Generalerrandtype)

Additional Validation Information:

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

This field, or at least one of the following fields must be set: general_errand_sub_type, inspection_errand_setting

organization_userobject or null(Organizationuser)

Additional Validation Information:

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

This field, or at least one of the following fields must be set: work_engagement, external_supplier

external_supplierobject or null(Externalsupplier)

Additional Validation Information:

This value can't bet set, when any of the following fields are set: organization_user, work_engagement, inspection_errand_setting

This field, or at least one of the following fields must be set: organization_user, work_engagement

]
Response
application/json
[ { "inspection_errand_setting": {}, "custom_id": "string", "work_engagement": {}, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "group": -2147483648, "created_at": "2019-08-24T14:15:22Z", "general_errand_sub_type": {}, "organization": {}, "general_errand_type": {}, "organization_user": {}, "external_supplier": {} } ]

Bulk write 'Erranddelegationinstruction'

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 [
groupinteger(int32)[ -2147483648 .. 2147483647 ]required
inspection_errand_settingobject or null(Inspectionerrandsetting)

Additional Validation Information:

This value can't bet set, when any of the following fields are set: external_supplier, general_errand_type, general_errand_sub_type

This field, or at least one of the following fields must be set: general_errand_type, general_errand_sub_type

custom_idstring or null<= 128 characters
work_engagementobject or null(Workengagement)

Additional Validation Information:

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

This field, or at least one of the following fields must be set: organization_user, external_supplier

general_errand_sub_typeobject or null(Generalerrandsubtype)

Additional Validation Information:

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

This field, or at least one of the following fields must be set: general_errand_type, inspection_errand_setting

organizationobject or null(Organization)
general_errand_typeobject or null(Generalerrandtype)

Additional Validation Information:

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

This field, or at least one of the following fields must be set: general_errand_sub_type, inspection_errand_setting

organization_userobject or null(Organizationuser)

Additional Validation Information:

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

This field, or at least one of the following fields must be set: work_engagement, external_supplier

external_supplierobject or null(Externalsupplier)

Additional Validation Information:

This value can't bet set, when any of the following fields are set: organization_user, work_engagement, inspection_errand_setting

This field, or at least one of the following fields must be set: organization_user, work_engagement

]
curl -i -X POST \
  https://dev.api.pigello.io/errands/delegations/erranddelegationinstruction/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 '[
    {
      "inspection_errand_setting": {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
      },
      "custom_id": "string",
      "work_engagement": {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
      },
      "group": -2147483648,
      "general_errand_sub_type": {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
      },
      "organization": {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
      },
      "general_errand_type": {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
      },
      "organization_user": {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
      },
      "external_supplier": {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
      }
    }
  ]'

Responses

Successful bulk create/update

Bodyapplication/jsonArray [
idstring(uuid)read-onlyrequired

Additional Validation Information:

Must be unique

groupinteger(int32)[ -2147483648 .. 2147483647 ]required
inspection_errand_settingobject or null(Inspectionerrandsetting)

Additional Validation Information:

This value can't bet set, when any of the following fields are set: external_supplier, general_errand_type, general_errand_sub_type

This field, or at least one of the following fields must be set: general_errand_type, general_errand_sub_type

custom_idstring or null<= 128 characters
work_engagementobject or null(Workengagement)

Additional Validation Information:

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

This field, or at least one of the following fields must be set: organization_user, external_supplier

created_atstring(date-time)read-only
general_errand_sub_typeobject or null(Generalerrandsubtype)

Additional Validation Information:

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

This field, or at least one of the following fields must be set: general_errand_type, inspection_errand_setting

organizationobject or null(Organization)
general_errand_typeobject or null(Generalerrandtype)

Additional Validation Information:

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

This field, or at least one of the following fields must be set: general_errand_sub_type, inspection_errand_setting

organization_userobject or null(Organizationuser)

Additional Validation Information:

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

This field, or at least one of the following fields must be set: work_engagement, external_supplier

external_supplierobject or null(Externalsupplier)

Additional Validation Information:

This value can't bet set, when any of the following fields are set: organization_user, work_engagement, inspection_errand_setting

This field, or at least one of the following fields must be set: organization_user, work_engagement

]
Response
application/json
[ { "inspection_errand_setting": {}, "custom_id": "string", "work_engagement": {}, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "group": -2147483648, "created_at": "2019-08-24T14:15:22Z", "general_errand_sub_type": {}, "organization": {}, "general_errand_type": {}, "organization_user": {}, "external_supplier": {} } ]

Create 'Erranddelegationinstruction'

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
groupinteger(int32)[ -2147483648 .. 2147483647 ]required
inspection_errand_settingobject or null(Inspectionerrandsetting)

Additional Validation Information:

This value can't bet set, when any of the following fields are set: external_supplier, general_errand_type, general_errand_sub_type

This field, or at least one of the following fields must be set: general_errand_type, general_errand_sub_type

custom_idstring or null<= 128 characters
work_engagementobject or null(Workengagement)

Additional Validation Information:

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

This field, or at least one of the following fields must be set: organization_user, external_supplier

general_errand_sub_typeobject or null(Generalerrandsubtype)

Additional Validation Information:

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

This field, or at least one of the following fields must be set: general_errand_type, inspection_errand_setting

organizationobject or null(Organization)
general_errand_typeobject or null(Generalerrandtype)

Additional Validation Information:

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

This field, or at least one of the following fields must be set: general_errand_sub_type, inspection_errand_setting

organization_userobject or null(Organizationuser)

Additional Validation Information:

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

This field, or at least one of the following fields must be set: work_engagement, external_supplier

external_supplierobject or null(Externalsupplier)

Additional Validation Information:

This value can't bet set, when any of the following fields are set: organization_user, work_engagement, inspection_errand_setting

This field, or at least one of the following fields must be set: organization_user, work_engagement

curl -i -X POST \
  https://dev.api.pigello.io/errands/delegations/erranddelegationinstruction/ \
  -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 '{
    "inspection_errand_setting": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "custom_id": "string",
    "work_engagement": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "group": -2147483648,
    "general_errand_sub_type": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "organization": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "general_errand_type": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "organization_user": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "external_supplier": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    }
  }'

Responses

Successful creation

Bodyapplication/json
idstring(uuid)read-onlyrequired

Additional Validation Information:

Must be unique

groupinteger(int32)[ -2147483648 .. 2147483647 ]required
inspection_errand_settingobject or null(Inspectionerrandsetting)

Additional Validation Information:

This value can't bet set, when any of the following fields are set: external_supplier, general_errand_type, general_errand_sub_type

This field, or at least one of the following fields must be set: general_errand_type, general_errand_sub_type

custom_idstring or null<= 128 characters
work_engagementobject or null(Workengagement)

Additional Validation Information:

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

This field, or at least one of the following fields must be set: organization_user, external_supplier

created_atstring(date-time)read-only
general_errand_sub_typeobject or null(Generalerrandsubtype)

Additional Validation Information:

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

This field, or at least one of the following fields must be set: general_errand_type, inspection_errand_setting

organizationobject or null(Organization)
general_errand_typeobject or null(Generalerrandtype)

Additional Validation Information:

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

This field, or at least one of the following fields must be set: general_errand_sub_type, inspection_errand_setting

organization_userobject or null(Organizationuser)

Additional Validation Information:

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

This field, or at least one of the following fields must be set: work_engagement, external_supplier

external_supplierobject or null(Externalsupplier)

Additional Validation Information:

This value can't bet set, when any of the following fields are set: organization_user, work_engagement, inspection_errand_setting

This field, or at least one of the following fields must be set: organization_user, work_engagement

Response
application/json
{ "inspection_errand_setting": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "custom_id": "string", "work_engagement": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "group": -2147483648, "created_at": "2019-08-24T14:15:22Z", "general_errand_sub_type": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "general_errand_type": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "organization_user": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "external_supplier": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } }

Errandcost

Operations