The 'Revenue' application of the Core API
Revenue (2.0.0)
- https://dev.api.pigello.io/revenue/revenuerows/blockcontractrevenuerow/{pk}/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://dev.api.pigello.io/revenue/revenuerows/blockcontractrevenuerow/{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: accounted_start_date
This value must be set together with the following fields: accounted_start_date
This value requires that the following fields are also set: start_date, end_date
Additional Validation Information:
This value must be set in an proper order, in relation to the following fields: start_date
Additional Validation Information:
This value must be set in an proper order, in relation to the following fields: end_date
Additional Validation Information:
This value must be set in an proper order, in relation to the following fields: accounted_end_date
This value must be set together with the following fields: accounted_end_date
This value requires that the following fields are also set: start_date, end_date
{ "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "customer_columns": null, "ignore_retroactivity_to": "2019-08-24", "excempt_from_months": [ null ], "pending_monitor_approval_amount": null, "custom_dimension_value": "string", "applied_indexation_usage": null, "tags": null, "article": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "measurement_series": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "title": "string", "created_at": "2019-08-24T14:15:22Z", "indexation_usage": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "customer_earnings_setting": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "periods_adjusts_total_amount": true, "accounted_end_date": "2019-08-24", "end_date": "2019-08-24", "start_date": "2019-08-24", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "customer_earnings_report": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "custom_id": "string", "is_customer_earnings_report_penalty": true, "contract": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "unit_price": 0.1, "unit_amount": 0.1, "accounted_start_date": "2019-08-24" }
Additional Validation Information:
This value must be set in an proper order, in relation to the following fields: accounted_start_date
This value must be set together with the following fields: accounted_start_date
This value requires that the following fields are also set: start_date, end_date
Additional Validation Information:
This value must be set in an proper order, in relation to the following fields: start_date
Additional Validation Information:
This value must be set in an proper order, in relation to the following fields: end_date
Additional Validation Information:
This value must be set in an proper order, in relation to the following fields: accounted_end_date
This value must be set together with the following fields: accounted_end_date
This value requires that the following fields are also set: start_date, end_date
- https://dev.api.pigello.io/revenue/revenuerows/blockcontractrevenuerow/{pk}/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://dev.api.pigello.io/revenue/revenuerows/blockcontractrevenuerow/{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 '{
"organization": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
},
"ignore_retroactivity_to": "2019-08-24",
"excempt_from_months": [
null
],
"custom_dimension_value": "string",
"article": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
},
"title": "string",
"periods_adjusts_total_amount": true,
"accounted_end_date": "2019-08-24",
"end_date": "2019-08-24",
"start_date": "2019-08-24",
"custom_id": "string",
"contract": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
},
"unit_price": 0.1,
"unit_amount": 0.1,
"accounted_start_date": "2019-08-24"
}'Successful update
Additional Validation Information:
This value must be set in an proper order, in relation to the following fields: accounted_start_date
This value must be set together with the following fields: accounted_start_date
This value requires that the following fields are also set: start_date, end_date
Additional Validation Information:
This value must be set in an proper order, in relation to the following fields: start_date
Additional Validation Information:
This value must be set in an proper order, in relation to the following fields: end_date
Additional Validation Information:
This value must be set in an proper order, in relation to the following fields: accounted_end_date
This value must be set together with the following fields: accounted_end_date
This value requires that the following fields are also set: start_date, end_date
{ "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "customer_columns": null, "ignore_retroactivity_to": "2019-08-24", "excempt_from_months": [ null ], "pending_monitor_approval_amount": null, "custom_dimension_value": "string", "applied_indexation_usage": null, "tags": null, "article": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "measurement_series": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "title": "string", "created_at": "2019-08-24T14:15:22Z", "indexation_usage": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "customer_earnings_setting": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "periods_adjusts_total_amount": true, "accounted_end_date": "2019-08-24", "end_date": "2019-08-24", "start_date": "2019-08-24", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "customer_earnings_report": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "custom_id": "string", "is_customer_earnings_report_penalty": true, "contract": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "unit_price": 0.1, "unit_amount": 0.1, "accounted_start_date": "2019-08-24" }
- https://dev.api.pigello.io/revenue/revenuerows/blockcontractrevenuerow/{pk}/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://dev.api.pigello.io/revenue/revenuerows/blockcontractrevenuerow/{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'