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

Get 'Parkingspotrevenueincreaserow'

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 GET \
  'https://dev.api.pigello.io/revenue/revenueincreases/parkingspotrevenueincreaserow/{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 selection

Bodyapplication/json
idstring(uuid)read-onlyrequired

Additional Validation Information:

Must be unique

from_datestring(date)required
revenue_row_sourceobject(Parkingspotrevenuerow)required

Additional Validation Information:

Must be unique

revenue_row_source.​idstring(uuid)
merge_rows_after_invoice_periodsinteger(int32)<= 2147483647required
collectionobject(Revenueincreasecollection)required
collection.​idstring(uuid)
retroactivity_methodinteger(int32)[ -2147483648 .. 2147483647 ]required
Enum012
value_calculation_methodinteger(int32)[ -2147483648 .. 2147483647 ]required
Enum012345
rounding_methodinteger(int32)[ -2147483648 .. 2147483647 ]required
Enum0123
actual_increase_valuenumber(float)required
value_calculation_inputnumber(float)required
custom_idstring or null<= 128 characters
tagsanyread-only
organizationobject or null(Organization)
pending_monitor_approval_amountanyread-only
customer_columnsanyread-only
created_atstring(date-time)read-only
retroactive_block_contract_rowsArray of objects(Blockcontractrevenuerow)read-only
retroactivity_month_amountinteger or null(int32)[ 1 .. 2147483647 ]
pre_merge_revenue_rowobject or null(Parkingspotrevenuerow)read-only
merged_revenue_rowobject or null(Parkingspotrevenuerow)read-only
retroactive_contract_rowsArray of objects(Parkingspotcontractrevenuerow)read-only
Response
application/json
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "custom_id": "string", "tags": null, "from_date": "2019-08-24", "revenue_row_source": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "merge_rows_after_invoice_periods": 2147483647, "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "collection": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "pending_monitor_approval_amount": null, "customer_columns": null, "created_at": "2019-08-24T14:15:22Z", "retroactive_block_contract_rows": [ {} ], "retroactivity_month_amount": 1, "retroactivity_method": 0, "value_calculation_method": 0, "rounding_method": 0, "pre_merge_revenue_row": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "actual_increase_value": 0.1, "merged_revenue_row": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "value_calculation_input": 0.1, "retroactive_contract_rows": [ {} ] }

Update 'Parkingspotrevenueincreaserow'

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
Bodyapplication/json
from_datestring(date)required
revenue_row_sourceobject(Parkingspotrevenuerow)required

Additional Validation Information:

Must be unique

revenue_row_source.​idstring(uuid)
merge_rows_after_invoice_periodsinteger(int32)<= 2147483647required
collectionobject(Revenueincreasecollection)required
collection.​idstring(uuid)
retroactivity_methodinteger(int32)[ -2147483648 .. 2147483647 ]required
Enum012
value_calculation_methodinteger(int32)[ -2147483648 .. 2147483647 ]required
Enum012345
rounding_methodinteger(int32)[ -2147483648 .. 2147483647 ]required
Enum0123
actual_increase_valuenumber(float)required
value_calculation_inputnumber(float)required
custom_idstring or null<= 128 characters
organizationobject or null(Organization)
retroactivity_month_amountinteger or null(int32)[ 1 .. 2147483647 ]
curl -i -X PATCH \
  'https://dev.api.pigello.io/revenue/revenueincreases/parkingspotrevenueincreaserow/{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",
    "from_date": "2019-08-24",
    "revenue_row_source": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "merge_rows_after_invoice_periods": 2147483647,
    "organization": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "collection": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "retroactivity_month_amount": 1,
    "retroactivity_method": 0,
    "value_calculation_method": 0,
    "rounding_method": 0,
    "actual_increase_value": 0.1,
    "value_calculation_input": 0.1
  }'

Responses

Successful update

Bodyapplication/json
idstring(uuid)read-onlyrequired

Additional Validation Information:

Must be unique

from_datestring(date)required
revenue_row_sourceobject(Parkingspotrevenuerow)required

Additional Validation Information:

Must be unique

revenue_row_source.​idstring(uuid)
merge_rows_after_invoice_periodsinteger(int32)<= 2147483647required
collectionobject(Revenueincreasecollection)required
collection.​idstring(uuid)
retroactivity_methodinteger(int32)[ -2147483648 .. 2147483647 ]required
Enum012
value_calculation_methodinteger(int32)[ -2147483648 .. 2147483647 ]required
Enum012345
rounding_methodinteger(int32)[ -2147483648 .. 2147483647 ]required
Enum0123
actual_increase_valuenumber(float)required
value_calculation_inputnumber(float)required
custom_idstring or null<= 128 characters
tagsanyread-only
organizationobject or null(Organization)
pending_monitor_approval_amountanyread-only
customer_columnsanyread-only
created_atstring(date-time)read-only
retroactive_block_contract_rowsArray of objects(Blockcontractrevenuerow)read-only
retroactivity_month_amountinteger or null(int32)[ 1 .. 2147483647 ]
pre_merge_revenue_rowobject or null(Parkingspotrevenuerow)read-only
merged_revenue_rowobject or null(Parkingspotrevenuerow)read-only
retroactive_contract_rowsArray of objects(Parkingspotcontractrevenuerow)read-only
Response
application/json
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "custom_id": "string", "tags": null, "from_date": "2019-08-24", "revenue_row_source": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "merge_rows_after_invoice_periods": 2147483647, "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "collection": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "pending_monitor_approval_amount": null, "customer_columns": null, "created_at": "2019-08-24T14:15:22Z", "retroactive_block_contract_rows": [ {} ], "retroactivity_month_amount": 1, "retroactivity_method": 0, "value_calculation_method": 0, "rounding_method": 0, "pre_merge_revenue_row": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "actual_increase_value": 0.1, "merged_revenue_row": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "value_calculation_input": 0.1, "retroactive_contract_rows": [ {} ] }

Delete 'Parkingspotrevenueincreaserow'

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/revenueincreases/parkingspotrevenueincreaserow/{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

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

Brfapartmentinvoiceconfigurationrevenuerow

Operations

Automaticdistributiontypevalue

Operations

Automaticdistributiontype

Operations

Automaticdistributionquota

Operations