The 'Revenue' application of the Core API
Revenue (2.0.0)
- https://dev.api.pigello.io/revenue/distribution/automaticdistributiontype/{pk}/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://dev.api.pigello.io/revenue/distribution/automaticdistributiontype/{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 can't bet set, when any of the following fields are set: unit_amount
This field, or at least one of the following fields must be set: unit_amount
Additional Validation Information:
This value can't bet set, when any of the following fields are set: unit_price
This field, or at least one of the following fields must be set: unit_price
Additional Validation Information:
This value must be set with a proper magnitude, in relation to the following fields: maximum_distributed_total
Additional Validation Information:
This value must be set with a proper magnitude, in relation to the following fields: minimum_distributed_total
{ "unit_price": 0.1, "outdoor_areas": [ { … } ], "tags_filter": [ { … } ], "unit_amount": 0.1, "pending_monitor_approval_amount": null, "brf_apartment_categories": [ null ], "apartment_categories": [ null ], "name": "string", "tags": null, "distribution_method": 0, "minimum_distributed_total": 0.1, "maximum_distributed_total": 0.1, "article": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "customer_columns": null, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "buildings": [ { … } ], "custom_id": "string", "created_at": "2019-08-24T14:15:22Z", "outdoor_section_categories": [ null ], "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "parking_lots": [ { … } ], "industrial_premises_categories": [ null ], "target_contracts": true, "recalculate_on_historical_space_area_notations": true, "parking_spot_categories": [ null ] }
Additional Validation Information:
This value can't bet set, when any of the following fields are set: unit_amount
This field, or at least one of the following fields must be set: unit_amount
Additional Validation Information:
This value can't bet set, when any of the following fields are set: unit_price
This field, or at least one of the following fields must be set: unit_price
Additional Validation Information:
This value must be set with a proper magnitude, in relation to the following fields: maximum_distributed_total
Additional Validation Information:
This value must be set with a proper magnitude, in relation to the following fields: minimum_distributed_total
- https://dev.api.pigello.io/revenue/distribution/automaticdistributiontype/{pk}/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://dev.api.pigello.io/revenue/distribution/automaticdistributiontype/{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 '{
"unit_price": 0.1,
"outdoor_areas": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
],
"tags_filter": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
],
"unit_amount": 0.1,
"brf_apartment_categories": [
null
],
"apartment_categories": [
null
],
"name": "string",
"distribution_method": 0,
"minimum_distributed_total": 0.1,
"maximum_distributed_total": 0.1,
"article": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
},
"buildings": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
],
"custom_id": "string",
"outdoor_section_categories": [
null
],
"organization": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
},
"parking_lots": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
],
"industrial_premises_categories": [
null
],
"target_contracts": true,
"recalculate_on_historical_space_area_notations": true,
"parking_spot_categories": [
null
]
}'Successful update
Additional Validation Information:
This value can't bet set, when any of the following fields are set: unit_amount
This field, or at least one of the following fields must be set: unit_amount
Additional Validation Information:
This value can't bet set, when any of the following fields are set: unit_price
This field, or at least one of the following fields must be set: unit_price
Additional Validation Information:
This value must be set with a proper magnitude, in relation to the following fields: maximum_distributed_total
Additional Validation Information:
This value must be set with a proper magnitude, in relation to the following fields: minimum_distributed_total
{ "unit_price": 0.1, "outdoor_areas": [ { … } ], "tags_filter": [ { … } ], "unit_amount": 0.1, "pending_monitor_approval_amount": null, "brf_apartment_categories": [ null ], "apartment_categories": [ null ], "name": "string", "tags": null, "distribution_method": 0, "minimum_distributed_total": 0.1, "maximum_distributed_total": 0.1, "article": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "customer_columns": null, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "buildings": [ { … } ], "custom_id": "string", "created_at": "2019-08-24T14:15:22Z", "outdoor_section_categories": [ null ], "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "parking_lots": [ { … } ], "industrial_premises_categories": [ null ], "target_contracts": true, "recalculate_on_historical_space_area_notations": true, "parking_spot_categories": [ null ] }
- https://dev.api.pigello.io/revenue/distribution/automaticdistributiontype/{pk}/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://dev.api.pigello.io/revenue/distribution/automaticdistributiontype/{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'