The 'Revenue' application of the Core API
Revenue (2.0.0)
- https://dev.api.pigello.io/revenue/customerearnings/customerearningsrevenuesetting/{pk}/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://dev.api.pigello.io/revenue/customerearnings/customerearningsrevenuesetting/{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 with a proper magnitude, in relation to the following fields: min_value, max_value
Additional Validation Information:
This value must be set with a proper magnitude, in relation to the following fields: min_value, max_value
Additional Validation Information:
This value must be set with a proper magnitude, in relation to the following fields: pre_first_report_value, missing_report_value, max_value
Additional Validation Information:
This value must be set with a proper magnitude, in relation to the following fields: pre_first_report_value, missing_report_value, min_value
{ "custom_id": "string", "pre_first_report_value": 0.1, "firm_value_indexation_setting": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "firm_value_indexation_override_base_year": 1900, "description": "string", "missing_report_value": 0.1, "missing_report_penalty_months": 1, "min_value": 0.1, "missing_report_penalty_fee_interval": 1, "pending_monitor_approval_amount": null, "article": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "tags": null, "report_due_notify_days": 2147483647, "reporting_month_frequency": 1, "customer_columns": null, "max_value": 0.1, "report_late_notify_interval_days": 2147483647, "missing_report_penalty_fee": 0.1, "quota": 100, "reporting_month_offset": 1, "created_at": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "start_reporting_from_month": 1, "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "name": "string" }
- https://dev.api.pigello.io/revenue/customerearnings/customerearningsrevenuesetting/{pk}/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://dev.api.pigello.io/revenue/customerearnings/customerearningsrevenuesetting/{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'Additional Validation Information:
This value must be set with a proper magnitude, in relation to the following fields: min_value, max_value
Additional Validation Information:
This value must be set with a proper magnitude, in relation to the following fields: min_value, max_value
Additional Validation Information:
This value must be set with a proper magnitude, in relation to the following fields: pre_first_report_value, missing_report_value, max_value
Additional Validation Information:
This value must be set with a proper magnitude, in relation to the following fields: pre_first_report_value, missing_report_value, min_value
- https://dev.api.pigello.io/revenue/customerearnings/customerearningsrevenuesetting/{pk}/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://dev.api.pigello.io/revenue/customerearnings/customerearningsrevenuesetting/{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 '{
"custom_id": "string",
"pre_first_report_value": 0.1,
"firm_value_indexation_setting": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
},
"firm_value_indexation_override_base_year": 1900,
"description": "string",
"missing_report_value": 0.1,
"missing_report_penalty_months": 1,
"min_value": 0.1,
"missing_report_penalty_fee_interval": 1,
"article": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
},
"report_due_notify_days": 2147483647,
"reporting_month_frequency": 1,
"max_value": 0.1,
"report_late_notify_interval_days": 2147483647,
"missing_report_penalty_fee": 0.1,
"quota": 100,
"reporting_month_offset": 1,
"start_reporting_from_month": 1,
"organization": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
},
"name": "string"
}'Successful update
Additional Validation Information:
This value must be set with a proper magnitude, in relation to the following fields: min_value, max_value
Additional Validation Information:
This value must be set with a proper magnitude, in relation to the following fields: min_value, max_value
Additional Validation Information:
This value must be set with a proper magnitude, in relation to the following fields: pre_first_report_value, missing_report_value, max_value
Additional Validation Information:
This value must be set with a proper magnitude, in relation to the following fields: pre_first_report_value, missing_report_value, min_value
{ "custom_id": "string", "pre_first_report_value": 0.1, "firm_value_indexation_setting": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "firm_value_indexation_override_base_year": 1900, "description": "string", "missing_report_value": 0.1, "missing_report_penalty_months": 1, "min_value": 0.1, "missing_report_penalty_fee_interval": 1, "pending_monitor_approval_amount": null, "article": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "tags": null, "report_due_notify_days": 2147483647, "reporting_month_frequency": 1, "customer_columns": null, "max_value": 0.1, "report_late_notify_interval_days": 2147483647, "missing_report_penalty_fee": 0.1, "quota": 100, "reporting_month_offset": 1, "created_at": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "start_reporting_from_month": 1, "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "name": "string" }