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

Create 'Contractcancellationreason'

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
titlestring<= 512 charactersrequired
visible_for_customersboolean
allowed_for_regular_terminationboolean
organizationobject or null(Organization)
descriptionstring or null
custom_idstring or null<= 128 characters
allowed_for_pending_re_negotationboolean
curl -i -X POST \
  https://dev.api.pigello.io/contracts/contractcancellationreason/ \
  -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 '{
    "visible_for_customers": true,
    "allowed_for_regular_termination": true,
    "organization": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "description": "string",
    "title": "string",
    "custom_id": "string",
    "allowed_for_pending_re_negotation": true
  }'

Responses

Successful creation

Bodyapplication/json
titlestring<= 512 charactersrequired
idstring(uuid)read-onlyrequired

Additional Validation Information:

Must be unique

visible_for_customersboolean
created_atstring(date-time)read-only
allowed_for_regular_terminationboolean
organizationobject or null(Organization)
descriptionstring or null
custom_idstring or null<= 128 characters
allowed_for_pending_re_negotationboolean
Response
application/json
{ "visible_for_customers": true, "created_at": "2019-08-24T14:15:22Z", "allowed_for_regular_termination": true, "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "description": "string", "title": "string", "custom_id": "string", "allowed_for_pending_re_negotation": true, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }

Bulk write 'Contractcancellationreason'

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 [
titlestring<= 512 charactersrequired
visible_for_customersboolean
allowed_for_regular_terminationboolean
organizationobject or null(Organization)
descriptionstring or null
custom_idstring or null<= 128 characters
allowed_for_pending_re_negotationboolean
]
curl -i -X POST \
  https://dev.api.pigello.io/contracts/contractcancellationreason/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 '[
    {
      "visible_for_customers": true,
      "allowed_for_regular_termination": true,
      "organization": {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
      },
      "description": "string",
      "title": "string",
      "custom_id": "string",
      "allowed_for_pending_re_negotation": true
    }
  ]'

Responses

Successful bulk create/update

Bodyapplication/jsonArray [
titlestring<= 512 charactersrequired
idstring(uuid)read-onlyrequired

Additional Validation Information:

Must be unique

visible_for_customersboolean
created_atstring(date-time)read-only
allowed_for_regular_terminationboolean
organizationobject or null(Organization)
descriptionstring or null
custom_idstring or null<= 128 characters
allowed_for_pending_re_negotationboolean
]
Response
application/json
[ { "visible_for_customers": true, "created_at": "2019-08-24T14:15:22Z", "allowed_for_regular_termination": true, "organization": {}, "description": "string", "title": "string", "custom_id": "string", "allowed_for_pending_re_negotation": true, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ]

List 'Contractcancellationreason'

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
global_realestatesArray of objects
global_segmentsArray of objects
allowed_for_pending_re_negotationany

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

allowed_for_regular_terminationany

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

Additional operators:

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

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

created_atany

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

Additional operators:

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

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

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

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

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

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

custom_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

descriptionany

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

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

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

titleany

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

Additional operators:

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

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

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

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

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

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

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

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

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

visible_for_customersany

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/contractcancellationreason/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 [
titlestring<= 512 charactersrequired
idstring(uuid)read-onlyrequired

Additional Validation Information:

Must be unique

visible_for_customersboolean
created_atstring(date-time)read-only
allowed_for_regular_terminationboolean
organizationobject or null(Organization)
descriptionstring or null
custom_idstring or null<= 128 characters
allowed_for_pending_re_negotationboolean
]
Response
application/json
[ { "visible_for_customers": true, "created_at": "2019-08-24T14:15:22Z", "allowed_for_regular_termination": true, "organization": {}, "description": "string", "title": "string", "custom_id": "string", "allowed_for_pending_re_negotation": true, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ]

Delete 'Contractcancellationreason'

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/contractcancellationreason/{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

Get 'Contractcancellationreason'

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/contractcancellationreason/{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
titlestring<= 512 charactersrequired
idstring(uuid)read-onlyrequired

Additional Validation Information:

Must be unique

visible_for_customersboolean
created_atstring(date-time)read-only
allowed_for_regular_terminationboolean
organizationobject or null(Organization)
descriptionstring or null
custom_idstring or null<= 128 characters
allowed_for_pending_re_negotationboolean
Response
application/json
{ "visible_for_customers": true, "created_at": "2019-08-24T14:15:22Z", "allowed_for_regular_termination": true, "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "description": "string", "title": "string", "custom_id": "string", "allowed_for_pending_re_negotation": true, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }

Update 'Contractcancellationreason'

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
titlestring<= 512 charactersrequired
visible_for_customersboolean
allowed_for_regular_terminationboolean
organizationobject or null(Organization)
descriptionstring or null
custom_idstring or null<= 128 characters
allowed_for_pending_re_negotationboolean
curl -i -X PATCH \
  'https://dev.api.pigello.io/contracts/contractcancellationreason/{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 '{
    "visible_for_customers": true,
    "allowed_for_regular_termination": true,
    "organization": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "description": "string",
    "title": "string",
    "custom_id": "string",
    "allowed_for_pending_re_negotation": true
  }'

Responses

Successful update

Bodyapplication/json
titlestring<= 512 charactersrequired
idstring(uuid)read-onlyrequired

Additional Validation Information:

Must be unique

visible_for_customersboolean
created_atstring(date-time)read-only
allowed_for_regular_terminationboolean
organizationobject or null(Organization)
descriptionstring or null
custom_idstring or null<= 128 characters
allowed_for_pending_re_negotationboolean
Response
application/json
{ "visible_for_customers": true, "created_at": "2019-08-24T14:15:22Z", "allowed_for_regular_termination": true, "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "description": "string", "title": "string", "custom_id": "string", "allowed_for_pending_re_negotation": true, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }

Outdoorsectioncontract

Operations

Industrialpremisescontract

Operations

Blockcontract

Operations

Contractcancellationposition

Operations

Contracttransfernotation

Operations

Othercontract

Operations

Signedcontractdocument

Operations

Contractcancellationconfiguration

Operations