The 'Errands' application of the Core API
Errands (2.0.0)
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
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
- https://dev.api.pigello.io/errands/inspections/reporting/inspectionerrandfile/{pk}/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
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"
}'Successful update
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
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
{ "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" }
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
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
- https://dev.api.pigello.io/errands/inspections/reporting/inspectionerrandfile/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
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"
}'Successful creation
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
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
{ "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" }