The 'Objects' application of the Core API
Objects (2.0.0)
Download OpenAPI description
Languages
Servers
https://{environment}.pigello.io
- https://dev.api.pigello.io/objects/spaces/targetaudiences/apartmenttargetaudience/{pk}/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://dev.api.pigello.io/objects/spaces/targetaudiences/apartmenttargetaudience/{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'Bodyapplication/json
Additional Validation Information:
This value must be set with a proper magnitude, in relation to the following fields: maximum_age
- https://dev.api.pigello.io/objects/spaces/targetaudiences/apartmenttargetaudience/{pk}/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://dev.api.pigello.io/objects/spaces/targetaudiences/apartmenttargetaudience/{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 '{
"allow_creditor": true,
"name": "string",
"post_rent_net_income_factor": 1,
"organization": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
},
"allow_benefit_income": true,
"pre_rent_net_income_factor": 1,
"archived": true,
"allow_temporary_work": true,
"maximum_payment_remark_amount": 2147483647,
"custom_id": "string",
"allow_any_bankruptcy": true,
"minimum_age": 12,
"allow_non_primary_residence": true,
"allow_part_time_work": true,
"allow_any_dept_sanitation": true,
"include_co_residents_income": true,
"retired": true,
"maximum_number_of_co_residents": 2147483647,
"students": true,
"disabilities": true,
"allow_trustee": true,
"maximum_age": 12
}'Response
application/json
{ "allow_creditor": true, "name": "string", "post_rent_net_income_factor": 1, "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "customer_columns": null, "allow_benefit_income": true, "pre_rent_net_income_factor": 1, "archived": true, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "allow_temporary_work": true, "maximum_payment_remark_amount": 2147483647, "created_at": "2019-08-24T14:15:22Z", "custom_id": "string", "allow_any_bankruptcy": true, "tags": null, "minimum_age": 12, "allow_non_primary_residence": true, "allow_part_time_work": true, "allow_any_dept_sanitation": true, "include_co_residents_income": true, "retired": true, "maximum_number_of_co_residents": 2147483647, "students": true, "disabilities": true, "allow_trustee": true, "maximum_age": 12 }
- https://dev.api.pigello.io/objects/spaces/targetaudiences/apartmenttargetaudience/{pk}/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://dev.api.pigello.io/objects/spaces/targetaudiences/apartmenttargetaudience/{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'Response
application/json
{ "allow_creditor": true, "name": "string", "post_rent_net_income_factor": 1, "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "customer_columns": null, "allow_benefit_income": true, "pre_rent_net_income_factor": 1, "archived": true, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "allow_temporary_work": true, "maximum_payment_remark_amount": 2147483647, "created_at": "2019-08-24T14:15:22Z", "custom_id": "string", "allow_any_bankruptcy": true, "tags": null, "minimum_age": 12, "allow_non_primary_residence": true, "allow_part_time_work": true, "allow_any_dept_sanitation": true, "include_co_residents_income": true, "retired": true, "maximum_number_of_co_residents": 2147483647, "students": true, "disabilities": true, "allow_trustee": true, "maximum_age": 12 }