The 'Objects' application of the Core API
/
Create 'Outdoorsectiontar...
Objects (2.0.0)
Download OpenAPI description
Languages
Servers
https://{environment}.pigello.io
Bodyapplication/json
Additional Validation Information:
This value must be set with a proper magnitude, in relation to the following fields: maximum_number_of_employees
- https://dev.api.pigello.io/objects/spaces/targetaudiences/outdoorsectiontargetaudience/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://dev.api.pigello.io/objects/spaces/targetaudiences/outdoorsectiontargetaudience/ \
-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_any_bankruptcy": true,
"organization": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
},
"minimum_previous_year_revenue": 2147483647,
"archived": true,
"custom_id": "string",
"name": "string",
"maximum_payment_remark_amount": 2147483647,
"sni_codes": [
null
],
"minimum_number_of_employees": 2147483647,
"maximum_number_of_employees": 2147483647
}'Response
application/json
{ "allow_any_bankruptcy": true, "created_at": "2019-08-24T14:15:22Z", "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "minimum_previous_year_revenue": 2147483647, "archived": true, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "custom_id": "string", "customer_columns": null, "tags": null, "name": "string", "maximum_payment_remark_amount": 2147483647, "sni_codes": [ null ], "minimum_number_of_employees": 2147483647, "maximum_number_of_employees": 2147483647 }
- https://dev.api.pigello.io/objects/spaces/targetaudiences/outdoorsectiontargetaudience/{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/outdoorsectiontargetaudience/{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_any_bankruptcy": true, "created_at": "2019-08-24T14:15:22Z", "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "minimum_previous_year_revenue": 2147483647, "archived": true, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "custom_id": "string", "customer_columns": null, "tags": null, "name": "string", "maximum_payment_remark_amount": 2147483647, "sni_codes": [ null ], "minimum_number_of_employees": 2147483647, "maximum_number_of_employees": 2147483647 }
Bodyapplication/json
Additional Validation Information:
This value must be set with a proper magnitude, in relation to the following fields: maximum_number_of_employees
- https://dev.api.pigello.io/objects/spaces/targetaudiences/outdoorsectiontargetaudience/{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/outdoorsectiontargetaudience/{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_any_bankruptcy": true,
"organization": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
},
"minimum_previous_year_revenue": 2147483647,
"archived": true,
"custom_id": "string",
"name": "string",
"maximum_payment_remark_amount": 2147483647,
"sni_codes": [
null
],
"minimum_number_of_employees": 2147483647,
"maximum_number_of_employees": 2147483647
}'Response
application/json
{ "allow_any_bankruptcy": true, "created_at": "2019-08-24T14:15:22Z", "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "minimum_previous_year_revenue": 2147483647, "archived": true, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "custom_id": "string", "customer_columns": null, "tags": null, "name": "string", "maximum_payment_remark_amount": 2147483647, "sni_codes": [ null ], "minimum_number_of_employees": 2147483647, "maximum_number_of_employees": 2147483647 }