| Name | Type | Reference |
|---|---|---|
| property_idrequired | integer | CustomProperty ID |
| Name | Value |
|---|---|
| Content-Type | application/json |
| Name | Type | Constraints | Description |
|---|---|---|---|
value required | string | minLength: 1 maxLength: 128 | Custom property select value |
| color | integer | Color of custom property select value | |
null | Custom property select value without color |
| Description | Response type | Example |
|---|---|---|
| Success | Object |
| Name | Type | Description |
|---|---|---|
| updated | string | Last update timestamp |
| created | string | Create date |
| id | integer | Select option id |
| custom_property_id | integer | Custom property id |
| value | string | Select option value |
| color | integer | Color number |
| author_id | integer | Author id |
| company_id | integer | Company id |
| condition | enum | Custom property select value condition |
| sort_order | number | Position |
| external_id | null | string | External id |
| Description | Response type | Example |
|---|---|---|
| Validation error | Object |
| Name | Type | Description |
|---|---|---|
| message | string | Error message |
| Description | Response type | Example |
|---|---|---|
| Invalid token | String |
A schema has not been defined for this response code.
| Description | Response type | Example |
|---|---|---|
| Forbidden |
A schema has not been defined for this response code.
| Description | Response type | Example |
|---|---|---|
| Not found | Object |
| Name | Type | Description |
|---|---|---|
| message | string | Error message |
Path Parameters
1 curl --request POST \
2 --url 'https://example.kaiten.ru/api/latest/company/custom-properties/{property_id}/select-values' \
3 --header 'Accept: application/json' \
4 --header 'Content-Type: application/json'
5 Response
ClickTry It!to start a request and see the response here!