The 'Errands' application of the Core API
Errands (2.0.0)
Download OpenAPI description
Languages
Servers
https://{environment}.pigello.io
- https://dev.api.pigello.io/errands/inspections/reporting/tenantinspectionassociation/{pk}/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://dev.api.pigello.io/errands/inspections/reporting/tenantinspectionassociation/{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'Response
application/json
{ "delegate_phone_number": "string", "delegate_ssn": "stringstring", "delegate_first_name": "string", "inspection_errand": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "delegate_title": "string", "delegate_last_name": "string", "was_not_present": true, "custom_id": "string", "created_at": "2019-08-24T14:15:22Z", "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "category": 0, "delegate_email": "user@example.com", "tenant": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } }
- https://dev.api.pigello.io/errands/inspections/reporting/tenantinspectionassociation/{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/tenantinspectionassociation/{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 '{
"delegate_phone_number": "string",
"delegate_ssn": "stringstring",
"delegate_first_name": "string",
"inspection_errand": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
},
"delegate_title": "string",
"delegate_last_name": "string",
"was_not_present": true,
"custom_id": "string",
"organization": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
},
"category": 0,
"delegate_email": "user@example.com",
"tenant": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
}'Response
application/json
{ "delegate_phone_number": "string", "delegate_ssn": "stringstring", "delegate_first_name": "string", "inspection_errand": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "delegate_title": "string", "delegate_last_name": "string", "was_not_present": true, "custom_id": "string", "created_at": "2019-08-24T14:15:22Z", "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "category": 0, "delegate_email": "user@example.com", "tenant": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } }
- https://dev.api.pigello.io/errands/inspections/reporting/tenantinspectionassociation/{pk}/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://dev.api.pigello.io/errands/inspections/reporting/tenantinspectionassociation/{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'