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

Update 'Inspectionerrandfile'

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
file_objobjectrequired
file_obj.​namestring

wanted filename of the file

file_obj.​md5_hashstring

base64 encoded md5hash of the file

file_obj.​getstring(url)
file_obj.​postobject
inspection_errand_noteobject or null(Inspectionerrandnote)

Additional Validation Information:

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

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

inspection_errand_faultobject or null(Inspectionerrandfault)

Additional Validation Information:

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

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

organizationobject or null(Organization)
custom_idstring or null<= 128 characters
curl -i -X PATCH \
  'https://dev.api.pigello.io/errands/inspections/reporting/inspectionerrandfile/{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 '{
    "file_obj": {
      "name": "string",
      "md5_hash": "string",
      "get": "string",
      "post": {
        "url": "string",
        "fields": {}
      }
    },
    "inspection_errand_note": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "inspection_errand_fault": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "organization": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "custom_id": "string"
  }'

Responses

Successful update

Bodyapplication/json
idstring(uuid)read-onlyrequired

Additional Validation Information:

Must be unique

file_objobjectrequired
file_obj.​namestring

wanted filename of the file

file_obj.​md5_hashstring

base64 encoded md5hash of the file

file_obj.​getstring(url)
file_obj.​postobject
inspection_errand_noteobject or null(Inspectionerrandnote)

Additional Validation Information:

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

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

inspection_errand_faultobject or null(Inspectionerrandfault)

Additional Validation Information:

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

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

organizationobject or null(Organization)
created_atstring(date-time)read-only
custom_idstring or null<= 128 characters
Response
application/json
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "file_obj": { "name": "string", "md5_hash": "string", "get": "string", "post": {} }, "inspection_errand_note": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "inspection_errand_fault": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "created_at": "2019-08-24T14:15:22Z", "custom_id": "string" }

Create 'Inspectionerrandfile'

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
file_objobjectrequired
file_obj.​namestring

wanted filename of the file

file_obj.​md5_hashstring

base64 encoded md5hash of the file

file_obj.​getstring(url)
file_obj.​postobject
inspection_errand_noteobject or null(Inspectionerrandnote)

Additional Validation Information:

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

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

inspection_errand_faultobject or null(Inspectionerrandfault)

Additional Validation Information:

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

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

organizationobject or null(Organization)
custom_idstring or null<= 128 characters
curl -i -X POST \
  https://dev.api.pigello.io/errands/inspections/reporting/inspectionerrandfile/ \
  -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 '{
    "file_obj": {
      "name": "string",
      "md5_hash": "string",
      "get": "string",
      "post": {
        "url": "string",
        "fields": {}
      }
    },
    "inspection_errand_note": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "inspection_errand_fault": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "organization": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "custom_id": "string"
  }'

Responses

Successful creation

Bodyapplication/json
idstring(uuid)read-onlyrequired

Additional Validation Information:

Must be unique

file_objobjectrequired
file_obj.​namestring

wanted filename of the file

file_obj.​md5_hashstring

base64 encoded md5hash of the file

file_obj.​getstring(url)
file_obj.​postobject
inspection_errand_noteobject or null(Inspectionerrandnote)

Additional Validation Information:

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

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

inspection_errand_faultobject or null(Inspectionerrandfault)

Additional Validation Information:

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

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

organizationobject or null(Organization)
created_atstring(date-time)read-only
custom_idstring or null<= 128 characters
Response
application/json
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "file_obj": { "name": "string", "md5_hash": "string", "get": "string", "post": {} }, "inspection_errand_note": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "inspection_errand_fault": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "created_at": "2019-08-24T14:15:22Z", "custom_id": "string" }

Inspectionerrandprotocolsetting

Operations

Inspectionerrandnote

Operations

Tenantinspectionassociation

Operations

Customerrandfieldvalue

Operations

Customerrandfieldinclusion

Operations

Customerrandfieldtype

Operations

Externalsupplier

Operations

Erranddelegationoffer

Operations

Erranddelegationinstruction

Operations

Errandcost

Operations