Skip to content

Revenue (2.0.0)

The 'Revenue' application of the Core API

Languages
Servers
https://{environment}.pigello.io

Othercontractrevenueincreaserow

Operations

Industrialpremisesrevenueincreaserow

Operations

Parkingspotcontractrevenueincreaserow

Operations

Outdoorsectionrevenueincreaserow

Operations

Parkingspotrevenueincreaserow

Operations

Apartmentrevenueincreaserow

Operations

Outdoorsectioncontractrevenueincreaserow

Operations

Apartmentcontractrevenueincreaserow

Operations

Revenueincreasecollection

Operations

Industrialpremisescontractrevenueincreaserow

Operations

Customerearningsreport

Operations

Customerearningsrevenuesetting

Operations

Indexationsettingusage

Operations

Indexationsetting

Operations

Indexationtable

Operations

Indexationtablerow

Operations

Retroactiveparkingspotrevenueproposal

Operations

Retroactivebrfapartmentrevenueproposal

Operations

Retroactiveoutdoorsectionrevenueproposal

Operations

Retroactiveapartmentrevenueproposal

Operations

Retroactiveindustrialpremisesrevenueproposal

Operations

Automaticdistributiontaxationconnector

Operations

Brfapartmentrevenuerow

Operations

Blockcontractrevenuerow

Operations

Delete 'Blockcontractrevenuerow'

Request

Security
customer_id and application_id and service_id and service_version_id and client_ct and client_object_id and client_secret
Path
pkstringwrite-onlyrequired
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'

Responses

Successful deletion

Response
No content

Create 'Blockcontractrevenuerow'

Request

Security
customer_id and application_id and service_id and service_version_id and client_ct and client_object_id and client_secret
Bodyapplication/json
articleobject(Article)required
article.​idstring(uuid)
titlestring<= 255 charactersrequired
contractobject(Blockcontract)required
contract.​idstring(uuid)
unit_pricenumber(float)required
unit_amountnumber(float)required
organizationobject or null(Organization)
ignore_retroactivity_tostring or null(date)
excempt_from_monthsArray of objects or null
custom_dimension_valuestring or null<= 255 characters
periods_adjusts_total_amountboolean
accounted_end_datestring or null(date)

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

end_datestring or null(date)

Additional Validation Information:

This value must be set in an proper order, in relation to the following fields: start_date

start_datestring or null(date)

Additional Validation Information:

This value must be set in an proper order, in relation to the following fields: end_date

custom_idstring or null<= 128 characters
accounted_start_datestring or null(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

curl -i -X POST \
  https://dev.api.pigello.io/revenue/revenuerows/blockcontractrevenuerow/ \
  -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"
  }'

Responses

Successful creation

Bodyapplication/json
articleobject(Article)required
article.​idstring(uuid)
titlestring<= 255 charactersrequired
idstring(uuid)read-onlyrequired

Additional Validation Information:

Must be unique

contractobject(Blockcontract)required
contract.​idstring(uuid)
unit_pricenumber(float)required
unit_amountnumber(float)required
organizationobject or null(Organization)
customer_columnsanyread-only
ignore_retroactivity_tostring or null(date)
excempt_from_monthsArray of objects or null
pending_monitor_approval_amountanyread-only
custom_dimension_valuestring or null<= 255 characters
applied_indexation_usageanyread-only
tagsanyread-only
measurement_seriesobject or null(Measurementseries)read-only
created_atstring(date-time)read-only
indexation_usageobject or null(Indexationsettingusage)read-only
customer_earnings_settingobject or null(Customerearningsrevenuesetting)read-only
periods_adjusts_total_amountboolean
accounted_end_datestring or null(date)

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

end_datestring or null(date)

Additional Validation Information:

This value must be set in an proper order, in relation to the following fields: start_date

start_datestring or null(date)

Additional Validation Information:

This value must be set in an proper order, in relation to the following fields: end_date

customer_earnings_reportobject or null(Customerearningsreport)read-only
custom_idstring or null<= 128 characters
is_customer_earnings_report_penaltybooleanread-only
accounted_start_datestring or null(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

Response
application/json
{ "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" }

List 'Blockcontractrevenuerow'

Request

Security
customer_id and application_id and service_id and service_version_id and client_ct and client_object_id and client_secret
Query
_jsonlboolean
_order_byArray of strings
Example: _order_by=field_a,-field_b
_pageinteger(int32)>= 1

Additional Validation Information:

This value must be set together with the following fields: _page_size

_page_sizeinteger(int32)

Additional Validation Information:

This value must be set together with the following fields: _page

_searchstring
_slimboolean
_statisticsboolean
customer_columnsArray of objects
global_realestatesArray of objects
global_segmentsArray of objects
tagsArray of objects
accounted_end_dateany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: gt, Supports negation (via !): True

Operator: gte, Supports negation (via !): True

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

Operator: lt, Supports negation (via !): True

Operator: lte, Supports negation (via !): True

accounted_start_dateany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: gt, Supports negation (via !): True

Operator: gte, Supports negation (via !): True

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

Operator: lt, Supports negation (via !): True

Operator: lte, Supports negation (via !): True

articleany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

contractany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

created_atany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: gt, Supports negation (via !): True

Operator: gte, Supports negation (via !): True

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

Operator: lt, Supports negation (via !): True

Operator: lte, Supports negation (via !): True

custom_dimension_valueany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: contains, Supports negation (via !): True

Operator: endswith, Supports negation (via !): True

Operator: icontains, Supports negation (via !): True

Operator: iendswith, Supports negation (via !): True

Operator: iexact, Supports negation (via !): True

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

Operator: istartswith, Supports negation (via !): True

Operator: startswith, Supports negation (via !): True

custom_idany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: contains, Supports negation (via !): True

Operator: endswith, Supports negation (via !): True

Operator: icontains, Supports negation (via !): True

Operator: iendswith, Supports negation (via !): True

Operator: iexact, Supports negation (via !): True

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

Operator: istartswith, Supports negation (via !): True

Operator: startswith, Supports negation (via !): True

customer_earnings_reportany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

customer_earnings_settingany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

end_dateany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: gt, Supports negation (via !): True

Operator: gte, Supports negation (via !): True

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

Operator: lt, Supports negation (via !): True

Operator: lte, Supports negation (via !): True

idany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

ignore_retroactivity_toany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: gt, Supports negation (via !): True

Operator: gte, Supports negation (via !): True

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

Operator: lt, Supports negation (via !): True

Operator: lte, Supports negation (via !): True

indexation_usageany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

is_customer_earnings_report_penaltyany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

measurement_seriesany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

organizationany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

periods_adjusts_total_amountany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

start_dateany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: gt, Supports negation (via !): True

Operator: gte, Supports negation (via !): True

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

Operator: lt, Supports negation (via !): True

Operator: lte, Supports negation (via !): True

titleany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: contains, Supports negation (via !): True

Operator: endswith, Supports negation (via !): True

Operator: icontains, Supports negation (via !): True

Operator: iendswith, Supports negation (via !): True

Operator: iexact, Supports negation (via !): True

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

Operator: istartswith, Supports negation (via !): True

Operator: startswith, Supports negation (via !): True

unit_amountany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: gt, Supports negation (via !): True

Operator: gte, Supports negation (via !): True

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

Operator: lt, Supports negation (via !): True

Operator: lte, Supports negation (via !): True

unit_priceany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: gt, Supports negation (via !): True

Operator: gte, Supports negation (via !): True

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

Operator: lt, Supports negation (via !): True

Operator: lte, Supports negation (via !): True

curl -i -X GET \
  'https://dev.api.pigello.io/revenue/revenuerows/blockcontractrevenuerow/list/?_jsonl=true&_order_by=field_a%2C-field_b&_page=1&_page_size=0&_search=string&_slim=true&_statistics=true' \
  -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'

Responses

Successful query

Bodyapplication/jsonArray [
articleobject(Article)required
article.​idstring(uuid)
titlestring<= 255 charactersrequired
idstring(uuid)read-onlyrequired

Additional Validation Information:

Must be unique

contractobject(Blockcontract)required
contract.​idstring(uuid)
unit_pricenumber(float)required
unit_amountnumber(float)required
organizationobject or null(Organization)
customer_columnsanyread-only
ignore_retroactivity_tostring or null(date)
excempt_from_monthsArray of objects or null
pending_monitor_approval_amountanyread-only
custom_dimension_valuestring or null<= 255 characters
applied_indexation_usageanyread-only
tagsanyread-only
measurement_seriesobject or null(Measurementseries)read-only
created_atstring(date-time)read-only
indexation_usageobject or null(Indexationsettingusage)read-only
customer_earnings_settingobject or null(Customerearningsrevenuesetting)read-only
periods_adjusts_total_amountboolean
accounted_end_datestring or null(date)

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

end_datestring or null(date)

Additional Validation Information:

This value must be set in an proper order, in relation to the following fields: start_date

start_datestring or null(date)

Additional Validation Information:

This value must be set in an proper order, in relation to the following fields: end_date

customer_earnings_reportobject or null(Customerearningsreport)read-only
custom_idstring or null<= 128 characters
is_customer_earnings_report_penaltybooleanread-only
accounted_start_datestring or null(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

]
Response
application/json
[ { "organization": {}, "customer_columns": null, "ignore_retroactivity_to": "2019-08-24", "excempt_from_months": [], "pending_monitor_approval_amount": null, "custom_dimension_value": "string", "applied_indexation_usage": null, "tags": null, "article": {}, "measurement_series": {}, "title": "string", "created_at": "2019-08-24T14:15:22Z", "indexation_usage": {}, "customer_earnings_setting": {}, "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": {}, "custom_id": "string", "is_customer_earnings_report_penalty": true, "contract": {}, "unit_price": 0.1, "unit_amount": 0.1, "accounted_start_date": "2019-08-24" } ]

Brfapartmentinvoiceconfigurationrevenuerow

Operations

Automaticdistributiontypevalue

Operations

Automaticdistributiontype

Operations

Automaticdistributionquota

Operations