Security
customer_id and application_id and service_id and service_version_id and client_ct and client_object_id and client_secret
GET
curl -i -X GET \
'https://dev.api.pigello.io/revenue/customerearnings/customerearningsreport/{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'Successful selection
Additional Validation Information:
This value must be set in an proper order, in relation to the following fields: period_end
Additional Validation Information:
This value must be set in an proper order, in relation to the following fields: period_start
Response
{ "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "custom_id": "string", "created_at": "2019-08-24T14:15:22Z", "tenant": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "org_no": "stringstri", "accountant_company_name": "string", "accountant_work_email": "user@example.com", "accountant_work_phone": "string", "description": "string", "includes_subletted_space": true, "gross_value": 0.1, "value": 0.1, "reported_at": "2019-08-24T14:15:22Z", "period_start": "2019-08-24", "period_end": "2019-08-24", "tags": null, "customer_columns": null, "pending_monitor_approval_amount": null }