Skip to content

Contracts (2.0.0)

The 'Contracts' application of the Core API

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

Apartmentcontract

Operations

Parkingspotcontract

Operations

Contractcancellationreason

Operations

Outdoorsectioncontract

Operations

Industrialpremisescontract

Operations

Blockcontract

Operations

List 'Blockcontract'

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
tenantsArray of objects
apartmentsany

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

archivedany

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

bi_tenantsany

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

cancellation_commentany

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

cancellation_reasonany

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

cancellation_signed_timeany

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

cancellation_sourceany

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

cancellation_timeany

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

cancelled_by_counterpartany

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

co_invoiceany

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

counterpart_notification_interval_weeksany

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

counterpart_warning_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

counterpart_warning_interval_weeksany

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

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

has_base_rent_vatany

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

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

id_numberany

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

industrial_premisesany

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

initial_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

invoice_merge_base_rent_in_viewany

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

invoice_merge_index_in_viewany

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

invoice_merge_non_base_rent_in_viewany

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

invoice_month_intervalany

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

invoicing_attempt_autogiroany

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

invoicing_automatic_creation_pausedany

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

invoicing_companyany

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

invoicing_contract_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

invoicing_customer_referenceany

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

invoicing_debt_blockedany

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

invoicing_debt_distribution_pushed_untilany

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

invoicing_default_vatany

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

invoicing_interest_fee_blockedany

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

invoicing_markingany

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

invoicing_payment_termsany

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

invoicing_periodany

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

invoicing_period_fromany

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

invoicing_reminder_blockedany

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

invoicing_reminder_distribution_pushed_untilany

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

is_draftany

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

last_counterpart_notification_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

last_owner_notification_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

lifetime_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

main_realestateany

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

negotiation_succession_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

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

outdoor_sectionsany

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

owner_notification_interval_weeksany

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

owner_warning_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

owner_warning_interval_weeksany

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

parking_spotsany

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

pending_re_negotiationsany

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

renew_indefinetelyany

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

renew_interval_weeksany

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

renewed_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

revenue_increase_created_at__lteany
revenue_increase_not_created__gteany
signed_timeany

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

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

statusany

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

tenantany

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

curl -i -X GET \
  'https://dev.api.pigello.io/contracts/blockcontract/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 [
statusinteger(int32)[ -2147483648 .. 2147483647 ]read-onlyrequired
Enum0123456789
id_numberstring<= 255 charactersrequired
main_realestateobject(Realestate)required
main_realestate.​idstring(uuid)
idstring(uuid)read-onlyrequired

Additional Validation Information:

Must be unique

invoicing_interest_fee_blockedboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

negotiation_succession_contractobject or null(Blockcontract)
signed_timestring or null(date-time)

Additional Validation Information:

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

owner_warning_interval_weeksinteger or null(int32)<= 2147483647
invoicing_payment_termsobject or null(Paymenttermssetting)

Additional Validation Information:

This value must be set together with the following fields: invoicing_company, invoicing_contract_setting

parking_spotsArray of objects(Parkingspot)
tenantobject or null(Tenant)

Additional Validation Information:

This value must not match with the values of these fields: bi_tenants

invoicing_contract_settingobject or null(Automaticcontractinvoicingsetting)

Additional Validation Information:

This value must be set together with the following fields: invoicing_company, invoicing_payment_terms

co_invoiceboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

invoice_merge_base_rent_in_viewboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

cancellation_commentstring or null

Additional Validation Information:

This value requires that the following fields are also set: cancellation_time

last_counterpart_notification_datestring or null(date)read-only
industrial_premisesArray of objects(Industrialpremises)
is_draftboolean
cancelled_by_counterpartboolean or null

Additional Validation Information:

This value requires that the following fields are also set: cancellation_time

created_atstring(date-time)read-only
organizationobject or null(Organization)
renewed_tostring or null(date)read-only
invoicing_periodinteger or null(int32)[ -2147483648 .. 2147483647 ]

Additional Validation Information:

This value must be set together with the following fields: invoice_month_interval, invoicing_period_from

Enum01-1
bi_tenantsArray of objects(Tenant)
invoicing_companyobject or null(Company)

Additional Validation Information:

This value must be set together with the following fields: invoicing_payment_terms, invoicing_contract_setting

invoice_merge_index_in_viewboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

apartmentsArray of objects(Apartment)
owner_warning_datestring or null(date)read-only
counterpart_warning_datestring or null(date)read-only
invoicing_markingstring or null<= 255 characters
last_owner_notification_datestring or null(date)read-only
start_datestring or null(date)

Additional Validation Information:

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

has_base_rent_vatbooleanread-only
pending_re_negotiationsboolean
invoicing_period_fromstring or null(date)

Additional Validation Information:

This value must be set together with the following fields: invoicing_period, invoice_month_interval

invoicing_debt_blockedboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

invoicing_customer_referencestring or null<= 255 characters
invoice_month_intervalinteger or null(int32)[ 1 .. 2147483647 ]

Additional Validation Information:

This value must be set together with the following fields: invoicing_period, invoicing_period_from

renew_indefinetelyboolean
invoicing_reminder_distribution_pushed_untilstring or null(date)

Additional Validation Information:

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

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

pending_monitor_approval_amountanyread-only
custom_idstring or null<= 128 characters
cancellation_reasonstring or null

Additional Validation Information:

This value requires that the following fields are also set: cancellation_time

invoicing_automatic_creation_pausedboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

renew_interval_weeksinteger or null(int32)<= 2147483647
invoicing_reminder_blockedboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

initial_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

lifetime_end_datestring or null(date)

Additional Validation Information:

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

cancellation_timestring or null(date-time)

Additional Validation Information:

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

This value requires that the following fields are also set: start_date, signed_time, cancelled_by_counterpart

counterpart_warning_interval_weeksinteger or null(int32)<= 2147483647
tagsanyread-only
invoicing_default_vatinteger or null(int32)[ -2147483648 .. 2147483647 ]
Enum025126
custom_dimension_valuestring or null<= 255 characters
outdoor_sectionsArray of objects(Outdoorsection)
archivedboolean
owner_notification_interval_weeksinteger(int32)<= 2147483647
cancellation_sourceinteger or null(int32)[ -2147483648 .. 2147483647 ]

Additional Validation Information:

This value requires that the following fields are also set: cancellation_time

Enum0123456
counterpart_notification_interval_weeksinteger(int32)<= 2147483647
cancellation_signed_timestring or null(date-time)

Additional Validation Information:

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

This value requires that the following fields are also set: cancellation_time

invoice_merge_non_base_rent_in_viewboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

customer_columnsanyread-only
invoicing_debt_distribution_pushed_untilstring or null(date)

Additional Validation Information:

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

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

invoicing_attempt_autogiroboolean
]
Response
application/json
[ { "invoicing_interest_fee_blocked": true, "negotiation_succession_contract": {}, "status": 0, "signed_time": "2019-08-24T14:15:22Z", "owner_warning_interval_weeks": 2147483647, "invoicing_payment_terms": {}, "id_number": "string", "parking_spots": [], "tenant": {}, "invoicing_contract_setting": {}, "co_invoice": true, "invoice_merge_base_rent_in_view": true, "cancellation_comment": "string", "last_counterpart_notification_date": "2019-08-24", "main_realestate": {}, "industrial_premises": [], "is_draft": true, "cancelled_by_counterpart": true, "created_at": "2019-08-24T14:15:22Z", "organization": {}, "renewed_to": "2019-08-24", "invoicing_period": 0, "bi_tenants": [], "invoicing_company": {}, "invoice_merge_index_in_view": true, "apartments": [], "owner_warning_date": "2019-08-24", "counterpart_warning_date": "2019-08-24", "invoicing_marking": "string", "last_owner_notification_date": "2019-08-24", "start_date": "2019-08-24", "has_base_rent_vat": true, "pending_re_negotiations": true, "invoicing_period_from": "2019-08-24", "invoicing_debt_blocked": true, "invoicing_customer_reference": "string", "invoice_month_interval": 1, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "renew_indefinetely": true, "invoicing_reminder_distribution_pushed_until": "2019-08-24", "pending_monitor_approval_amount": null, "custom_id": "string", "cancellation_reason": "string", "invoicing_automatic_creation_paused": true, "renew_interval_weeks": 2147483647, "invoicing_reminder_blocked": true, "initial_end_date": "2019-08-24", "lifetime_end_date": "2019-08-24", "cancellation_time": "2019-08-24T14:15:22Z", "counterpart_warning_interval_weeks": 2147483647, "tags": null, "invoicing_default_vat": 0, "custom_dimension_value": "string", "outdoor_sections": [], "archived": true, "owner_notification_interval_weeks": 2147483647, "cancellation_source": 0, "counterpart_notification_interval_weeks": 2147483647, "cancellation_signed_time": "2019-08-24T14:15:22Z", "invoice_merge_non_base_rent_in_view": true, "customer_columns": null, "invoicing_debt_distribution_pushed_until": "2019-08-24", "invoicing_attempt_autogiro": true } ]

Bulk write 'Blockcontract'

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/jsonArray [
id_numberstring<= 255 charactersrequired
main_realestateobject(Realestate)required
main_realestate.​idstring(uuid)
invoicing_interest_fee_blockedboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

negotiation_succession_contractobject or null(Blockcontract)
signed_timestring or null(date-time)

Additional Validation Information:

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

owner_warning_interval_weeksinteger or null(int32)<= 2147483647
invoicing_payment_termsobject or null(Paymenttermssetting)

Additional Validation Information:

This value must be set together with the following fields: invoicing_company, invoicing_contract_setting

parking_spotsArray of objects(Parkingspot)
tenantobject or null(Tenant)

Additional Validation Information:

This value must not match with the values of these fields: bi_tenants

invoicing_contract_settingobject or null(Automaticcontractinvoicingsetting)

Additional Validation Information:

This value must be set together with the following fields: invoicing_company, invoicing_payment_terms

co_invoiceboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

invoice_merge_base_rent_in_viewboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

cancellation_commentstring or null

Additional Validation Information:

This value requires that the following fields are also set: cancellation_time

industrial_premisesArray of objects(Industrialpremises)
is_draftboolean
cancelled_by_counterpartboolean or null

Additional Validation Information:

This value requires that the following fields are also set: cancellation_time

organizationobject or null(Organization)
invoicing_periodinteger or null(int32)[ -2147483648 .. 2147483647 ]

Additional Validation Information:

This value must be set together with the following fields: invoice_month_interval, invoicing_period_from

Enum01-1
bi_tenantsArray of objects(Tenant)
invoicing_companyobject or null(Company)

Additional Validation Information:

This value must be set together with the following fields: invoicing_payment_terms, invoicing_contract_setting

invoice_merge_index_in_viewboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

apartmentsArray of objects(Apartment)
invoicing_markingstring or null<= 255 characters
start_datestring or null(date)

Additional Validation Information:

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

pending_re_negotiationsboolean
invoicing_period_fromstring or null(date)

Additional Validation Information:

This value must be set together with the following fields: invoicing_period, invoice_month_interval

invoicing_debt_blockedboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

invoicing_customer_referencestring or null<= 255 characters
invoice_month_intervalinteger or null(int32)[ 1 .. 2147483647 ]

Additional Validation Information:

This value must be set together with the following fields: invoicing_period, invoicing_period_from

renew_indefinetelyboolean
invoicing_reminder_distribution_pushed_untilstring or null(date)

Additional Validation Information:

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

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

custom_idstring or null<= 128 characters
cancellation_reasonstring or null

Additional Validation Information:

This value requires that the following fields are also set: cancellation_time

invoicing_automatic_creation_pausedboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

renew_interval_weeksinteger or null(int32)<= 2147483647
invoicing_reminder_blockedboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

initial_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

lifetime_end_datestring or null(date)

Additional Validation Information:

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

cancellation_timestring or null(date-time)

Additional Validation Information:

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

This value requires that the following fields are also set: start_date, signed_time, cancelled_by_counterpart

counterpart_warning_interval_weeksinteger or null(int32)<= 2147483647
invoicing_default_vatinteger or null(int32)[ -2147483648 .. 2147483647 ]
Enum025126
custom_dimension_valuestring or null<= 255 characters
outdoor_sectionsArray of objects(Outdoorsection)
archivedboolean
owner_notification_interval_weeksinteger(int32)<= 2147483647
cancellation_sourceinteger or null(int32)[ -2147483648 .. 2147483647 ]

Additional Validation Information:

This value requires that the following fields are also set: cancellation_time

Enum0123456
counterpart_notification_interval_weeksinteger(int32)<= 2147483647
cancellation_signed_timestring or null(date-time)

Additional Validation Information:

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

This value requires that the following fields are also set: cancellation_time

invoice_merge_non_base_rent_in_viewboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

invoicing_debt_distribution_pushed_untilstring or null(date)

Additional Validation Information:

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

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

invoicing_attempt_autogiroboolean
]
curl -i -X POST \
  https://dev.api.pigello.io/contracts/blockcontract/list/ \
  -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 '[
    {
      "invoicing_interest_fee_blocked": true,
      "negotiation_succession_contract": {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
      },
      "signed_time": "2019-08-24T14:15:22Z",
      "owner_warning_interval_weeks": 2147483647,
      "invoicing_payment_terms": {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
      },
      "id_number": "string",
      "parking_spots": [
        {
          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
        }
      ],
      "tenant": {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
      },
      "invoicing_contract_setting": {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
      },
      "co_invoice": true,
      "invoice_merge_base_rent_in_view": true,
      "cancellation_comment": "string",
      "main_realestate": {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
      },
      "industrial_premises": [
        {
          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
        }
      ],
      "is_draft": true,
      "cancelled_by_counterpart": true,
      "organization": {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
      },
      "invoicing_period": 0,
      "bi_tenants": [
        {
          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
        }
      ],
      "invoicing_company": {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
      },
      "invoice_merge_index_in_view": true,
      "apartments": [
        {
          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
        }
      ],
      "invoicing_marking": "string",
      "start_date": "2019-08-24",
      "pending_re_negotiations": true,
      "invoicing_period_from": "2019-08-24",
      "invoicing_debt_blocked": true,
      "invoicing_customer_reference": "string",
      "invoice_month_interval": 1,
      "renew_indefinetely": true,
      "invoicing_reminder_distribution_pushed_until": "2019-08-24",
      "custom_id": "string",
      "cancellation_reason": "string",
      "invoicing_automatic_creation_paused": true,
      "renew_interval_weeks": 2147483647,
      "invoicing_reminder_blocked": true,
      "initial_end_date": "2019-08-24",
      "lifetime_end_date": "2019-08-24",
      "cancellation_time": "2019-08-24T14:15:22Z",
      "counterpart_warning_interval_weeks": 2147483647,
      "invoicing_default_vat": 0,
      "custom_dimension_value": "string",
      "outdoor_sections": [
        {
          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
        }
      ],
      "archived": true,
      "owner_notification_interval_weeks": 2147483647,
      "cancellation_source": 0,
      "counterpart_notification_interval_weeks": 2147483647,
      "cancellation_signed_time": "2019-08-24T14:15:22Z",
      "invoice_merge_non_base_rent_in_view": true,
      "invoicing_debt_distribution_pushed_until": "2019-08-24",
      "invoicing_attempt_autogiro": true
    }
  ]'

Responses

Successful bulk create/update

Bodyapplication/jsonArray [
statusinteger(int32)[ -2147483648 .. 2147483647 ]read-onlyrequired
Enum0123456789
id_numberstring<= 255 charactersrequired
main_realestateobject(Realestate)required
main_realestate.​idstring(uuid)
idstring(uuid)read-onlyrequired

Additional Validation Information:

Must be unique

invoicing_interest_fee_blockedboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

negotiation_succession_contractobject or null(Blockcontract)
signed_timestring or null(date-time)

Additional Validation Information:

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

owner_warning_interval_weeksinteger or null(int32)<= 2147483647
invoicing_payment_termsobject or null(Paymenttermssetting)

Additional Validation Information:

This value must be set together with the following fields: invoicing_company, invoicing_contract_setting

parking_spotsArray of objects(Parkingspot)
tenantobject or null(Tenant)

Additional Validation Information:

This value must not match with the values of these fields: bi_tenants

invoicing_contract_settingobject or null(Automaticcontractinvoicingsetting)

Additional Validation Information:

This value must be set together with the following fields: invoicing_company, invoicing_payment_terms

co_invoiceboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

invoice_merge_base_rent_in_viewboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

cancellation_commentstring or null

Additional Validation Information:

This value requires that the following fields are also set: cancellation_time

last_counterpart_notification_datestring or null(date)read-only
industrial_premisesArray of objects(Industrialpremises)
is_draftboolean
cancelled_by_counterpartboolean or null

Additional Validation Information:

This value requires that the following fields are also set: cancellation_time

created_atstring(date-time)read-only
organizationobject or null(Organization)
renewed_tostring or null(date)read-only
invoicing_periodinteger or null(int32)[ -2147483648 .. 2147483647 ]

Additional Validation Information:

This value must be set together with the following fields: invoice_month_interval, invoicing_period_from

Enum01-1
bi_tenantsArray of objects(Tenant)
invoicing_companyobject or null(Company)

Additional Validation Information:

This value must be set together with the following fields: invoicing_payment_terms, invoicing_contract_setting

invoice_merge_index_in_viewboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

apartmentsArray of objects(Apartment)
owner_warning_datestring or null(date)read-only
counterpart_warning_datestring or null(date)read-only
invoicing_markingstring or null<= 255 characters
last_owner_notification_datestring or null(date)read-only
start_datestring or null(date)

Additional Validation Information:

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

has_base_rent_vatbooleanread-only
pending_re_negotiationsboolean
invoicing_period_fromstring or null(date)

Additional Validation Information:

This value must be set together with the following fields: invoicing_period, invoice_month_interval

invoicing_debt_blockedboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

invoicing_customer_referencestring or null<= 255 characters
invoice_month_intervalinteger or null(int32)[ 1 .. 2147483647 ]

Additional Validation Information:

This value must be set together with the following fields: invoicing_period, invoicing_period_from

renew_indefinetelyboolean
invoicing_reminder_distribution_pushed_untilstring or null(date)

Additional Validation Information:

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

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

pending_monitor_approval_amountanyread-only
custom_idstring or null<= 128 characters
cancellation_reasonstring or null

Additional Validation Information:

This value requires that the following fields are also set: cancellation_time

invoicing_automatic_creation_pausedboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

renew_interval_weeksinteger or null(int32)<= 2147483647
invoicing_reminder_blockedboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

initial_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

lifetime_end_datestring or null(date)

Additional Validation Information:

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

cancellation_timestring or null(date-time)

Additional Validation Information:

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

This value requires that the following fields are also set: start_date, signed_time, cancelled_by_counterpart

counterpart_warning_interval_weeksinteger or null(int32)<= 2147483647
tagsanyread-only
invoicing_default_vatinteger or null(int32)[ -2147483648 .. 2147483647 ]
Enum025126
custom_dimension_valuestring or null<= 255 characters
outdoor_sectionsArray of objects(Outdoorsection)
archivedboolean
owner_notification_interval_weeksinteger(int32)<= 2147483647
cancellation_sourceinteger or null(int32)[ -2147483648 .. 2147483647 ]

Additional Validation Information:

This value requires that the following fields are also set: cancellation_time

Enum0123456
counterpart_notification_interval_weeksinteger(int32)<= 2147483647
cancellation_signed_timestring or null(date-time)

Additional Validation Information:

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

This value requires that the following fields are also set: cancellation_time

invoice_merge_non_base_rent_in_viewboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

customer_columnsanyread-only
invoicing_debt_distribution_pushed_untilstring or null(date)

Additional Validation Information:

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

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

invoicing_attempt_autogiroboolean
]
Response
application/json
[ { "invoicing_interest_fee_blocked": true, "negotiation_succession_contract": {}, "status": 0, "signed_time": "2019-08-24T14:15:22Z", "owner_warning_interval_weeks": 2147483647, "invoicing_payment_terms": {}, "id_number": "string", "parking_spots": [], "tenant": {}, "invoicing_contract_setting": {}, "co_invoice": true, "invoice_merge_base_rent_in_view": true, "cancellation_comment": "string", "last_counterpart_notification_date": "2019-08-24", "main_realestate": {}, "industrial_premises": [], "is_draft": true, "cancelled_by_counterpart": true, "created_at": "2019-08-24T14:15:22Z", "organization": {}, "renewed_to": "2019-08-24", "invoicing_period": 0, "bi_tenants": [], "invoicing_company": {}, "invoice_merge_index_in_view": true, "apartments": [], "owner_warning_date": "2019-08-24", "counterpart_warning_date": "2019-08-24", "invoicing_marking": "string", "last_owner_notification_date": "2019-08-24", "start_date": "2019-08-24", "has_base_rent_vat": true, "pending_re_negotiations": true, "invoicing_period_from": "2019-08-24", "invoicing_debt_blocked": true, "invoicing_customer_reference": "string", "invoice_month_interval": 1, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "renew_indefinetely": true, "invoicing_reminder_distribution_pushed_until": "2019-08-24", "pending_monitor_approval_amount": null, "custom_id": "string", "cancellation_reason": "string", "invoicing_automatic_creation_paused": true, "renew_interval_weeks": 2147483647, "invoicing_reminder_blocked": true, "initial_end_date": "2019-08-24", "lifetime_end_date": "2019-08-24", "cancellation_time": "2019-08-24T14:15:22Z", "counterpart_warning_interval_weeks": 2147483647, "tags": null, "invoicing_default_vat": 0, "custom_dimension_value": "string", "outdoor_sections": [], "archived": true, "owner_notification_interval_weeks": 2147483647, "cancellation_source": 0, "counterpart_notification_interval_weeks": 2147483647, "cancellation_signed_time": "2019-08-24T14:15:22Z", "invoice_merge_non_base_rent_in_view": true, "customer_columns": null, "invoicing_debt_distribution_pushed_until": "2019-08-24", "invoicing_attempt_autogiro": true } ]

Create 'Blockcontract'

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
id_numberstring<= 255 charactersrequired
main_realestateobject(Realestate)required
main_realestate.​idstring(uuid)
invoicing_interest_fee_blockedboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

negotiation_succession_contractobject or null(Blockcontract)
signed_timestring or null(date-time)

Additional Validation Information:

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

owner_warning_interval_weeksinteger or null(int32)<= 2147483647
invoicing_payment_termsobject or null(Paymenttermssetting)

Additional Validation Information:

This value must be set together with the following fields: invoicing_company, invoicing_contract_setting

parking_spotsArray of objects(Parkingspot)
tenantobject or null(Tenant)

Additional Validation Information:

This value must not match with the values of these fields: bi_tenants

invoicing_contract_settingobject or null(Automaticcontractinvoicingsetting)

Additional Validation Information:

This value must be set together with the following fields: invoicing_company, invoicing_payment_terms

co_invoiceboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

invoice_merge_base_rent_in_viewboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

cancellation_commentstring or null

Additional Validation Information:

This value requires that the following fields are also set: cancellation_time

industrial_premisesArray of objects(Industrialpremises)
is_draftboolean
cancelled_by_counterpartboolean or null

Additional Validation Information:

This value requires that the following fields are also set: cancellation_time

organizationobject or null(Organization)
invoicing_periodinteger or null(int32)[ -2147483648 .. 2147483647 ]

Additional Validation Information:

This value must be set together with the following fields: invoice_month_interval, invoicing_period_from

Enum01-1
bi_tenantsArray of objects(Tenant)
invoicing_companyobject or null(Company)

Additional Validation Information:

This value must be set together with the following fields: invoicing_payment_terms, invoicing_contract_setting

invoice_merge_index_in_viewboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

apartmentsArray of objects(Apartment)
invoicing_markingstring or null<= 255 characters
start_datestring or null(date)

Additional Validation Information:

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

pending_re_negotiationsboolean
invoicing_period_fromstring or null(date)

Additional Validation Information:

This value must be set together with the following fields: invoicing_period, invoice_month_interval

invoicing_debt_blockedboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

invoicing_customer_referencestring or null<= 255 characters
invoice_month_intervalinteger or null(int32)[ 1 .. 2147483647 ]

Additional Validation Information:

This value must be set together with the following fields: invoicing_period, invoicing_period_from

renew_indefinetelyboolean
invoicing_reminder_distribution_pushed_untilstring or null(date)

Additional Validation Information:

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

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

custom_idstring or null<= 128 characters
cancellation_reasonstring or null

Additional Validation Information:

This value requires that the following fields are also set: cancellation_time

invoicing_automatic_creation_pausedboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

renew_interval_weeksinteger or null(int32)<= 2147483647
invoicing_reminder_blockedboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

initial_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

lifetime_end_datestring or null(date)

Additional Validation Information:

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

cancellation_timestring or null(date-time)

Additional Validation Information:

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

This value requires that the following fields are also set: start_date, signed_time, cancelled_by_counterpart

counterpart_warning_interval_weeksinteger or null(int32)<= 2147483647
invoicing_default_vatinteger or null(int32)[ -2147483648 .. 2147483647 ]
Enum025126
custom_dimension_valuestring or null<= 255 characters
outdoor_sectionsArray of objects(Outdoorsection)
archivedboolean
owner_notification_interval_weeksinteger(int32)<= 2147483647
cancellation_sourceinteger or null(int32)[ -2147483648 .. 2147483647 ]

Additional Validation Information:

This value requires that the following fields are also set: cancellation_time

Enum0123456
counterpart_notification_interval_weeksinteger(int32)<= 2147483647
cancellation_signed_timestring or null(date-time)

Additional Validation Information:

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

This value requires that the following fields are also set: cancellation_time

invoice_merge_non_base_rent_in_viewboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

invoicing_debt_distribution_pushed_untilstring or null(date)

Additional Validation Information:

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

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

invoicing_attempt_autogiroboolean
curl -i -X POST \
  https://dev.api.pigello.io/contracts/blockcontract/ \
  -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 '{
    "invoicing_interest_fee_blocked": true,
    "negotiation_succession_contract": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "signed_time": "2019-08-24T14:15:22Z",
    "owner_warning_interval_weeks": 2147483647,
    "invoicing_payment_terms": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "id_number": "string",
    "parking_spots": [
      {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
      }
    ],
    "tenant": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "invoicing_contract_setting": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "co_invoice": true,
    "invoice_merge_base_rent_in_view": true,
    "cancellation_comment": "string",
    "main_realestate": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "industrial_premises": [
      {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
      }
    ],
    "is_draft": true,
    "cancelled_by_counterpart": true,
    "organization": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "invoicing_period": 0,
    "bi_tenants": [
      {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
      }
    ],
    "invoicing_company": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "invoice_merge_index_in_view": true,
    "apartments": [
      {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
      }
    ],
    "invoicing_marking": "string",
    "start_date": "2019-08-24",
    "pending_re_negotiations": true,
    "invoicing_period_from": "2019-08-24",
    "invoicing_debt_blocked": true,
    "invoicing_customer_reference": "string",
    "invoice_month_interval": 1,
    "renew_indefinetely": true,
    "invoicing_reminder_distribution_pushed_until": "2019-08-24",
    "custom_id": "string",
    "cancellation_reason": "string",
    "invoicing_automatic_creation_paused": true,
    "renew_interval_weeks": 2147483647,
    "invoicing_reminder_blocked": true,
    "initial_end_date": "2019-08-24",
    "lifetime_end_date": "2019-08-24",
    "cancellation_time": "2019-08-24T14:15:22Z",
    "counterpart_warning_interval_weeks": 2147483647,
    "invoicing_default_vat": 0,
    "custom_dimension_value": "string",
    "outdoor_sections": [
      {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
      }
    ],
    "archived": true,
    "owner_notification_interval_weeks": 2147483647,
    "cancellation_source": 0,
    "counterpart_notification_interval_weeks": 2147483647,
    "cancellation_signed_time": "2019-08-24T14:15:22Z",
    "invoice_merge_non_base_rent_in_view": true,
    "invoicing_debt_distribution_pushed_until": "2019-08-24",
    "invoicing_attempt_autogiro": true
  }'

Responses

Successful creation

Bodyapplication/json
statusinteger(int32)[ -2147483648 .. 2147483647 ]read-onlyrequired
Enum0123456789
id_numberstring<= 255 charactersrequired
main_realestateobject(Realestate)required
main_realestate.​idstring(uuid)
idstring(uuid)read-onlyrequired

Additional Validation Information:

Must be unique

invoicing_interest_fee_blockedboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

negotiation_succession_contractobject or null(Blockcontract)
signed_timestring or null(date-time)

Additional Validation Information:

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

owner_warning_interval_weeksinteger or null(int32)<= 2147483647
invoicing_payment_termsobject or null(Paymenttermssetting)

Additional Validation Information:

This value must be set together with the following fields: invoicing_company, invoicing_contract_setting

parking_spotsArray of objects(Parkingspot)
tenantobject or null(Tenant)

Additional Validation Information:

This value must not match with the values of these fields: bi_tenants

invoicing_contract_settingobject or null(Automaticcontractinvoicingsetting)

Additional Validation Information:

This value must be set together with the following fields: invoicing_company, invoicing_payment_terms

co_invoiceboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

invoice_merge_base_rent_in_viewboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

cancellation_commentstring or null

Additional Validation Information:

This value requires that the following fields are also set: cancellation_time

last_counterpart_notification_datestring or null(date)read-only
industrial_premisesArray of objects(Industrialpremises)
is_draftboolean
cancelled_by_counterpartboolean or null

Additional Validation Information:

This value requires that the following fields are also set: cancellation_time

created_atstring(date-time)read-only
organizationobject or null(Organization)
renewed_tostring or null(date)read-only
invoicing_periodinteger or null(int32)[ -2147483648 .. 2147483647 ]

Additional Validation Information:

This value must be set together with the following fields: invoice_month_interval, invoicing_period_from

Enum01-1
bi_tenantsArray of objects(Tenant)
invoicing_companyobject or null(Company)

Additional Validation Information:

This value must be set together with the following fields: invoicing_payment_terms, invoicing_contract_setting

invoice_merge_index_in_viewboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

apartmentsArray of objects(Apartment)
owner_warning_datestring or null(date)read-only
counterpart_warning_datestring or null(date)read-only
invoicing_markingstring or null<= 255 characters
last_owner_notification_datestring or null(date)read-only
start_datestring or null(date)

Additional Validation Information:

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

has_base_rent_vatbooleanread-only
pending_re_negotiationsboolean
invoicing_period_fromstring or null(date)

Additional Validation Information:

This value must be set together with the following fields: invoicing_period, invoice_month_interval

invoicing_debt_blockedboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

invoicing_customer_referencestring or null<= 255 characters
invoice_month_intervalinteger or null(int32)[ 1 .. 2147483647 ]

Additional Validation Information:

This value must be set together with the following fields: invoicing_period, invoicing_period_from

renew_indefinetelyboolean
invoicing_reminder_distribution_pushed_untilstring or null(date)

Additional Validation Information:

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

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

pending_monitor_approval_amountanyread-only
custom_idstring or null<= 128 characters
cancellation_reasonstring or null

Additional Validation Information:

This value requires that the following fields are also set: cancellation_time

invoicing_automatic_creation_pausedboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

renew_interval_weeksinteger or null(int32)<= 2147483647
invoicing_reminder_blockedboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

initial_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

lifetime_end_datestring or null(date)

Additional Validation Information:

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

cancellation_timestring or null(date-time)

Additional Validation Information:

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

This value requires that the following fields are also set: start_date, signed_time, cancelled_by_counterpart

counterpart_warning_interval_weeksinteger or null(int32)<= 2147483647
tagsanyread-only
invoicing_default_vatinteger or null(int32)[ -2147483648 .. 2147483647 ]
Enum025126
custom_dimension_valuestring or null<= 255 characters
outdoor_sectionsArray of objects(Outdoorsection)
archivedboolean
owner_notification_interval_weeksinteger(int32)<= 2147483647
cancellation_sourceinteger or null(int32)[ -2147483648 .. 2147483647 ]

Additional Validation Information:

This value requires that the following fields are also set: cancellation_time

Enum0123456
counterpart_notification_interval_weeksinteger(int32)<= 2147483647
cancellation_signed_timestring or null(date-time)

Additional Validation Information:

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

This value requires that the following fields are also set: cancellation_time

invoice_merge_non_base_rent_in_viewboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

customer_columnsanyread-only
invoicing_debt_distribution_pushed_untilstring or null(date)

Additional Validation Information:

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

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

invoicing_attempt_autogiroboolean
Response
application/json
{ "invoicing_interest_fee_blocked": true, "negotiation_succession_contract": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "status": 0, "signed_time": "2019-08-24T14:15:22Z", "owner_warning_interval_weeks": 2147483647, "invoicing_payment_terms": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "id_number": "string", "parking_spots": [ {} ], "tenant": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "invoicing_contract_setting": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "co_invoice": true, "invoice_merge_base_rent_in_view": true, "cancellation_comment": "string", "last_counterpart_notification_date": "2019-08-24", "main_realestate": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "industrial_premises": [ {} ], "is_draft": true, "cancelled_by_counterpart": true, "created_at": "2019-08-24T14:15:22Z", "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "renewed_to": "2019-08-24", "invoicing_period": 0, "bi_tenants": [ {} ], "invoicing_company": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "invoice_merge_index_in_view": true, "apartments": [ {} ], "owner_warning_date": "2019-08-24", "counterpart_warning_date": "2019-08-24", "invoicing_marking": "string", "last_owner_notification_date": "2019-08-24", "start_date": "2019-08-24", "has_base_rent_vat": true, "pending_re_negotiations": true, "invoicing_period_from": "2019-08-24", "invoicing_debt_blocked": true, "invoicing_customer_reference": "string", "invoice_month_interval": 1, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "renew_indefinetely": true, "invoicing_reminder_distribution_pushed_until": "2019-08-24", "pending_monitor_approval_amount": null, "custom_id": "string", "cancellation_reason": "string", "invoicing_automatic_creation_paused": true, "renew_interval_weeks": 2147483647, "invoicing_reminder_blocked": true, "initial_end_date": "2019-08-24", "lifetime_end_date": "2019-08-24", "cancellation_time": "2019-08-24T14:15:22Z", "counterpart_warning_interval_weeks": 2147483647, "tags": null, "invoicing_default_vat": 0, "custom_dimension_value": "string", "outdoor_sections": [ {} ], "archived": true, "owner_notification_interval_weeks": 2147483647, "cancellation_source": 0, "counterpart_notification_interval_weeks": 2147483647, "cancellation_signed_time": "2019-08-24T14:15:22Z", "invoice_merge_non_base_rent_in_view": true, "customer_columns": null, "invoicing_debt_distribution_pushed_until": "2019-08-24", "invoicing_attempt_autogiro": true }

Delete 'Blockcontract'

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/contracts/blockcontract/{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

Update 'Blockcontract'

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
id_numberstring<= 255 charactersrequired
main_realestateobject(Realestate)required
main_realestate.​idstring(uuid)
invoicing_interest_fee_blockedboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

negotiation_succession_contractobject or null(Blockcontract)
signed_timestring or null(date-time)

Additional Validation Information:

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

owner_warning_interval_weeksinteger or null(int32)<= 2147483647
invoicing_payment_termsobject or null(Paymenttermssetting)

Additional Validation Information:

This value must be set together with the following fields: invoicing_company, invoicing_contract_setting

parking_spotsArray of objects(Parkingspot)
tenantobject or null(Tenant)

Additional Validation Information:

This value must not match with the values of these fields: bi_tenants

invoicing_contract_settingobject or null(Automaticcontractinvoicingsetting)

Additional Validation Information:

This value must be set together with the following fields: invoicing_company, invoicing_payment_terms

co_invoiceboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

invoice_merge_base_rent_in_viewboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

cancellation_commentstring or null

Additional Validation Information:

This value requires that the following fields are also set: cancellation_time

industrial_premisesArray of objects(Industrialpremises)
is_draftboolean
cancelled_by_counterpartboolean or null

Additional Validation Information:

This value requires that the following fields are also set: cancellation_time

organizationobject or null(Organization)
invoicing_periodinteger or null(int32)[ -2147483648 .. 2147483647 ]

Additional Validation Information:

This value must be set together with the following fields: invoice_month_interval, invoicing_period_from

Enum01-1
bi_tenantsArray of objects(Tenant)
invoicing_companyobject or null(Company)

Additional Validation Information:

This value must be set together with the following fields: invoicing_payment_terms, invoicing_contract_setting

invoice_merge_index_in_viewboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

apartmentsArray of objects(Apartment)
invoicing_markingstring or null<= 255 characters
start_datestring or null(date)

Additional Validation Information:

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

pending_re_negotiationsboolean
invoicing_period_fromstring or null(date)

Additional Validation Information:

This value must be set together with the following fields: invoicing_period, invoice_month_interval

invoicing_debt_blockedboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

invoicing_customer_referencestring or null<= 255 characters
invoice_month_intervalinteger or null(int32)[ 1 .. 2147483647 ]

Additional Validation Information:

This value must be set together with the following fields: invoicing_period, invoicing_period_from

renew_indefinetelyboolean
invoicing_reminder_distribution_pushed_untilstring or null(date)

Additional Validation Information:

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

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

custom_idstring or null<= 128 characters
cancellation_reasonstring or null

Additional Validation Information:

This value requires that the following fields are also set: cancellation_time

invoicing_automatic_creation_pausedboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

renew_interval_weeksinteger or null(int32)<= 2147483647
invoicing_reminder_blockedboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

initial_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

lifetime_end_datestring or null(date)

Additional Validation Information:

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

cancellation_timestring or null(date-time)

Additional Validation Information:

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

This value requires that the following fields are also set: start_date, signed_time, cancelled_by_counterpart

counterpart_warning_interval_weeksinteger or null(int32)<= 2147483647
invoicing_default_vatinteger or null(int32)[ -2147483648 .. 2147483647 ]
Enum025126
custom_dimension_valuestring or null<= 255 characters
outdoor_sectionsArray of objects(Outdoorsection)
archivedboolean
owner_notification_interval_weeksinteger(int32)<= 2147483647
cancellation_sourceinteger or null(int32)[ -2147483648 .. 2147483647 ]

Additional Validation Information:

This value requires that the following fields are also set: cancellation_time

Enum0123456
counterpart_notification_interval_weeksinteger(int32)<= 2147483647
cancellation_signed_timestring or null(date-time)

Additional Validation Information:

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

This value requires that the following fields are also set: cancellation_time

invoice_merge_non_base_rent_in_viewboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

invoicing_debt_distribution_pushed_untilstring or null(date)

Additional Validation Information:

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

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

invoicing_attempt_autogiroboolean
curl -i -X PATCH \
  'https://dev.api.pigello.io/contracts/blockcontract/{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 '{
    "invoicing_interest_fee_blocked": true,
    "negotiation_succession_contract": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "signed_time": "2019-08-24T14:15:22Z",
    "owner_warning_interval_weeks": 2147483647,
    "invoicing_payment_terms": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "id_number": "string",
    "parking_spots": [
      {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
      }
    ],
    "tenant": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "invoicing_contract_setting": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "co_invoice": true,
    "invoice_merge_base_rent_in_view": true,
    "cancellation_comment": "string",
    "main_realestate": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "industrial_premises": [
      {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
      }
    ],
    "is_draft": true,
    "cancelled_by_counterpart": true,
    "organization": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "invoicing_period": 0,
    "bi_tenants": [
      {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
      }
    ],
    "invoicing_company": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "invoice_merge_index_in_view": true,
    "apartments": [
      {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
      }
    ],
    "invoicing_marking": "string",
    "start_date": "2019-08-24",
    "pending_re_negotiations": true,
    "invoicing_period_from": "2019-08-24",
    "invoicing_debt_blocked": true,
    "invoicing_customer_reference": "string",
    "invoice_month_interval": 1,
    "renew_indefinetely": true,
    "invoicing_reminder_distribution_pushed_until": "2019-08-24",
    "custom_id": "string",
    "cancellation_reason": "string",
    "invoicing_automatic_creation_paused": true,
    "renew_interval_weeks": 2147483647,
    "invoicing_reminder_blocked": true,
    "initial_end_date": "2019-08-24",
    "lifetime_end_date": "2019-08-24",
    "cancellation_time": "2019-08-24T14:15:22Z",
    "counterpart_warning_interval_weeks": 2147483647,
    "invoicing_default_vat": 0,
    "custom_dimension_value": "string",
    "outdoor_sections": [
      {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
      }
    ],
    "archived": true,
    "owner_notification_interval_weeks": 2147483647,
    "cancellation_source": 0,
    "counterpart_notification_interval_weeks": 2147483647,
    "cancellation_signed_time": "2019-08-24T14:15:22Z",
    "invoice_merge_non_base_rent_in_view": true,
    "invoicing_debt_distribution_pushed_until": "2019-08-24",
    "invoicing_attempt_autogiro": true
  }'

Responses

Successful update

Bodyapplication/json
statusinteger(int32)[ -2147483648 .. 2147483647 ]read-onlyrequired
Enum0123456789
id_numberstring<= 255 charactersrequired
main_realestateobject(Realestate)required
main_realestate.​idstring(uuid)
idstring(uuid)read-onlyrequired

Additional Validation Information:

Must be unique

invoicing_interest_fee_blockedboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

negotiation_succession_contractobject or null(Blockcontract)
signed_timestring or null(date-time)

Additional Validation Information:

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

owner_warning_interval_weeksinteger or null(int32)<= 2147483647
invoicing_payment_termsobject or null(Paymenttermssetting)

Additional Validation Information:

This value must be set together with the following fields: invoicing_company, invoicing_contract_setting

parking_spotsArray of objects(Parkingspot)
tenantobject or null(Tenant)

Additional Validation Information:

This value must not match with the values of these fields: bi_tenants

invoicing_contract_settingobject or null(Automaticcontractinvoicingsetting)

Additional Validation Information:

This value must be set together with the following fields: invoicing_company, invoicing_payment_terms

co_invoiceboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

invoice_merge_base_rent_in_viewboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

cancellation_commentstring or null

Additional Validation Information:

This value requires that the following fields are also set: cancellation_time

last_counterpart_notification_datestring or null(date)read-only
industrial_premisesArray of objects(Industrialpremises)
is_draftboolean
cancelled_by_counterpartboolean or null

Additional Validation Information:

This value requires that the following fields are also set: cancellation_time

created_atstring(date-time)read-only
organizationobject or null(Organization)
renewed_tostring or null(date)read-only
invoicing_periodinteger or null(int32)[ -2147483648 .. 2147483647 ]

Additional Validation Information:

This value must be set together with the following fields: invoice_month_interval, invoicing_period_from

Enum01-1
bi_tenantsArray of objects(Tenant)
invoicing_companyobject or null(Company)

Additional Validation Information:

This value must be set together with the following fields: invoicing_payment_terms, invoicing_contract_setting

invoice_merge_index_in_viewboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

apartmentsArray of objects(Apartment)
owner_warning_datestring or null(date)read-only
counterpart_warning_datestring or null(date)read-only
invoicing_markingstring or null<= 255 characters
last_owner_notification_datestring or null(date)read-only
start_datestring or null(date)

Additional Validation Information:

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

has_base_rent_vatbooleanread-only
pending_re_negotiationsboolean
invoicing_period_fromstring or null(date)

Additional Validation Information:

This value must be set together with the following fields: invoicing_period, invoice_month_interval

invoicing_debt_blockedboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

invoicing_customer_referencestring or null<= 255 characters
invoice_month_intervalinteger or null(int32)[ 1 .. 2147483647 ]

Additional Validation Information:

This value must be set together with the following fields: invoicing_period, invoicing_period_from

renew_indefinetelyboolean
invoicing_reminder_distribution_pushed_untilstring or null(date)

Additional Validation Information:

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

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

pending_monitor_approval_amountanyread-only
custom_idstring or null<= 128 characters
cancellation_reasonstring or null

Additional Validation Information:

This value requires that the following fields are also set: cancellation_time

invoicing_automatic_creation_pausedboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

renew_interval_weeksinteger or null(int32)<= 2147483647
invoicing_reminder_blockedboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

initial_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

lifetime_end_datestring or null(date)

Additional Validation Information:

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

cancellation_timestring or null(date-time)

Additional Validation Information:

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

This value requires that the following fields are also set: start_date, signed_time, cancelled_by_counterpart

counterpart_warning_interval_weeksinteger or null(int32)<= 2147483647
tagsanyread-only
invoicing_default_vatinteger or null(int32)[ -2147483648 .. 2147483647 ]
Enum025126
custom_dimension_valuestring or null<= 255 characters
outdoor_sectionsArray of objects(Outdoorsection)
archivedboolean
owner_notification_interval_weeksinteger(int32)<= 2147483647
cancellation_sourceinteger or null(int32)[ -2147483648 .. 2147483647 ]

Additional Validation Information:

This value requires that the following fields are also set: cancellation_time

Enum0123456
counterpart_notification_interval_weeksinteger(int32)<= 2147483647
cancellation_signed_timestring or null(date-time)

Additional Validation Information:

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

This value requires that the following fields are also set: cancellation_time

invoice_merge_non_base_rent_in_viewboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

customer_columnsanyread-only
invoicing_debt_distribution_pushed_untilstring or null(date)

Additional Validation Information:

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

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

invoicing_attempt_autogiroboolean
Response
application/json
{ "invoicing_interest_fee_blocked": true, "negotiation_succession_contract": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "status": 0, "signed_time": "2019-08-24T14:15:22Z", "owner_warning_interval_weeks": 2147483647, "invoicing_payment_terms": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "id_number": "string", "parking_spots": [ {} ], "tenant": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "invoicing_contract_setting": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "co_invoice": true, "invoice_merge_base_rent_in_view": true, "cancellation_comment": "string", "last_counterpart_notification_date": "2019-08-24", "main_realestate": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "industrial_premises": [ {} ], "is_draft": true, "cancelled_by_counterpart": true, "created_at": "2019-08-24T14:15:22Z", "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "renewed_to": "2019-08-24", "invoicing_period": 0, "bi_tenants": [ {} ], "invoicing_company": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "invoice_merge_index_in_view": true, "apartments": [ {} ], "owner_warning_date": "2019-08-24", "counterpart_warning_date": "2019-08-24", "invoicing_marking": "string", "last_owner_notification_date": "2019-08-24", "start_date": "2019-08-24", "has_base_rent_vat": true, "pending_re_negotiations": true, "invoicing_period_from": "2019-08-24", "invoicing_debt_blocked": true, "invoicing_customer_reference": "string", "invoice_month_interval": 1, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "renew_indefinetely": true, "invoicing_reminder_distribution_pushed_until": "2019-08-24", "pending_monitor_approval_amount": null, "custom_id": "string", "cancellation_reason": "string", "invoicing_automatic_creation_paused": true, "renew_interval_weeks": 2147483647, "invoicing_reminder_blocked": true, "initial_end_date": "2019-08-24", "lifetime_end_date": "2019-08-24", "cancellation_time": "2019-08-24T14:15:22Z", "counterpart_warning_interval_weeks": 2147483647, "tags": null, "invoicing_default_vat": 0, "custom_dimension_value": "string", "outdoor_sections": [ {} ], "archived": true, "owner_notification_interval_weeks": 2147483647, "cancellation_source": 0, "counterpart_notification_interval_weeks": 2147483647, "cancellation_signed_time": "2019-08-24T14:15:22Z", "invoice_merge_non_base_rent_in_view": true, "customer_columns": null, "invoicing_debt_distribution_pushed_until": "2019-08-24", "invoicing_attempt_autogiro": true }

Get 'Blockcontract'

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/contracts/blockcontract/{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
statusinteger(int32)[ -2147483648 .. 2147483647 ]read-onlyrequired
Enum0123456789
id_numberstring<= 255 charactersrequired
main_realestateobject(Realestate)required
main_realestate.​idstring(uuid)
idstring(uuid)read-onlyrequired

Additional Validation Information:

Must be unique

invoicing_interest_fee_blockedboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

negotiation_succession_contractobject or null(Blockcontract)
signed_timestring or null(date-time)

Additional Validation Information:

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

owner_warning_interval_weeksinteger or null(int32)<= 2147483647
invoicing_payment_termsobject or null(Paymenttermssetting)

Additional Validation Information:

This value must be set together with the following fields: invoicing_company, invoicing_contract_setting

parking_spotsArray of objects(Parkingspot)
tenantobject or null(Tenant)

Additional Validation Information:

This value must not match with the values of these fields: bi_tenants

invoicing_contract_settingobject or null(Automaticcontractinvoicingsetting)

Additional Validation Information:

This value must be set together with the following fields: invoicing_company, invoicing_payment_terms

co_invoiceboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

invoice_merge_base_rent_in_viewboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

cancellation_commentstring or null

Additional Validation Information:

This value requires that the following fields are also set: cancellation_time

last_counterpart_notification_datestring or null(date)read-only
industrial_premisesArray of objects(Industrialpremises)
is_draftboolean
cancelled_by_counterpartboolean or null

Additional Validation Information:

This value requires that the following fields are also set: cancellation_time

created_atstring(date-time)read-only
organizationobject or null(Organization)
renewed_tostring or null(date)read-only
invoicing_periodinteger or null(int32)[ -2147483648 .. 2147483647 ]

Additional Validation Information:

This value must be set together with the following fields: invoice_month_interval, invoicing_period_from

Enum01-1
bi_tenantsArray of objects(Tenant)
invoicing_companyobject or null(Company)

Additional Validation Information:

This value must be set together with the following fields: invoicing_payment_terms, invoicing_contract_setting

invoice_merge_index_in_viewboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

apartmentsArray of objects(Apartment)
owner_warning_datestring or null(date)read-only
counterpart_warning_datestring or null(date)read-only
invoicing_markingstring or null<= 255 characters
last_owner_notification_datestring or null(date)read-only
start_datestring or null(date)

Additional Validation Information:

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

has_base_rent_vatbooleanread-only
pending_re_negotiationsboolean
invoicing_period_fromstring or null(date)

Additional Validation Information:

This value must be set together with the following fields: invoicing_period, invoice_month_interval

invoicing_debt_blockedboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

invoicing_customer_referencestring or null<= 255 characters
invoice_month_intervalinteger or null(int32)[ 1 .. 2147483647 ]

Additional Validation Information:

This value must be set together with the following fields: invoicing_period, invoicing_period_from

renew_indefinetelyboolean
invoicing_reminder_distribution_pushed_untilstring or null(date)

Additional Validation Information:

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

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

pending_monitor_approval_amountanyread-only
custom_idstring or null<= 128 characters
cancellation_reasonstring or null

Additional Validation Information:

This value requires that the following fields are also set: cancellation_time

invoicing_automatic_creation_pausedboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

renew_interval_weeksinteger or null(int32)<= 2147483647
invoicing_reminder_blockedboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

initial_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

lifetime_end_datestring or null(date)

Additional Validation Information:

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

cancellation_timestring or null(date-time)

Additional Validation Information:

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

This value requires that the following fields are also set: start_date, signed_time, cancelled_by_counterpart

counterpart_warning_interval_weeksinteger or null(int32)<= 2147483647
tagsanyread-only
invoicing_default_vatinteger or null(int32)[ -2147483648 .. 2147483647 ]
Enum025126
custom_dimension_valuestring or null<= 255 characters
outdoor_sectionsArray of objects(Outdoorsection)
archivedboolean
owner_notification_interval_weeksinteger(int32)<= 2147483647
cancellation_sourceinteger or null(int32)[ -2147483648 .. 2147483647 ]

Additional Validation Information:

This value requires that the following fields are also set: cancellation_time

Enum0123456
counterpart_notification_interval_weeksinteger(int32)<= 2147483647
cancellation_signed_timestring or null(date-time)

Additional Validation Information:

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

This value requires that the following fields are also set: cancellation_time

invoice_merge_non_base_rent_in_viewboolean or null

Additional Validation Information:

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

customer_columnsanyread-only
invoicing_debt_distribution_pushed_untilstring or null(date)

Additional Validation Information:

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

This value requires that the following fields are also set: invoicing_period, invoice_month_interval, invoicing_period_from

invoicing_attempt_autogiroboolean
Response
application/json
{ "invoicing_interest_fee_blocked": true, "negotiation_succession_contract": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "status": 0, "signed_time": "2019-08-24T14:15:22Z", "owner_warning_interval_weeks": 2147483647, "invoicing_payment_terms": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "id_number": "string", "parking_spots": [ {} ], "tenant": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "invoicing_contract_setting": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "co_invoice": true, "invoice_merge_base_rent_in_view": true, "cancellation_comment": "string", "last_counterpart_notification_date": "2019-08-24", "main_realestate": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "industrial_premises": [ {} ], "is_draft": true, "cancelled_by_counterpart": true, "created_at": "2019-08-24T14:15:22Z", "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "renewed_to": "2019-08-24", "invoicing_period": 0, "bi_tenants": [ {} ], "invoicing_company": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "invoice_merge_index_in_view": true, "apartments": [ {} ], "owner_warning_date": "2019-08-24", "counterpart_warning_date": "2019-08-24", "invoicing_marking": "string", "last_owner_notification_date": "2019-08-24", "start_date": "2019-08-24", "has_base_rent_vat": true, "pending_re_negotiations": true, "invoicing_period_from": "2019-08-24", "invoicing_debt_blocked": true, "invoicing_customer_reference": "string", "invoice_month_interval": 1, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "renew_indefinetely": true, "invoicing_reminder_distribution_pushed_until": "2019-08-24", "pending_monitor_approval_amount": null, "custom_id": "string", "cancellation_reason": "string", "invoicing_automatic_creation_paused": true, "renew_interval_weeks": 2147483647, "invoicing_reminder_blocked": true, "initial_end_date": "2019-08-24", "lifetime_end_date": "2019-08-24", "cancellation_time": "2019-08-24T14:15:22Z", "counterpart_warning_interval_weeks": 2147483647, "tags": null, "invoicing_default_vat": 0, "custom_dimension_value": "string", "outdoor_sections": [ {} ], "archived": true, "owner_notification_interval_weeks": 2147483647, "cancellation_source": 0, "counterpart_notification_interval_weeks": 2147483647, "cancellation_signed_time": "2019-08-24T14:15:22Z", "invoice_merge_non_base_rent_in_view": true, "customer_columns": null, "invoicing_debt_distribution_pushed_until": "2019-08-24", "invoicing_attempt_autogiro": true }

/accounting/contracts/perform/blockcontract/{organization_id}/

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
organization_idstringwrite-onlyrequired
Bodyapplication/json
any
curl -i -X POST \
  'https://dev.api.pigello.io/accounting/contracts/perform/blockcontract/{organization_id}/' \
  -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'

Responses

Successful creation

Bodyapplication/json
any
Response
application/json
null

/accounting/contracts/preview/blockcontract/{organization_id}/

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
organization_idstringwrite-onlyrequired
Bodyapplication/json
any
curl -i -X POST \
  'https://dev.api.pigello.io/accounting/contracts/preview/blockcontract/{organization_id}/' \
  -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'

Responses

Successful creation

Bodyapplication/json
any
Response
application/json
null

Contractcancellationposition

Operations

Contracttransfernotation

Operations

Othercontract

Operations

Signedcontractdocument

Operations

Contractcancellationconfiguration

Operations