| Name | Type | Reference |
|---|---|---|
| property_idrequired | integer | CustomProperty ID |
| Name | Value |
|---|---|
| Content-Type | application/json |
| Name | Type | Constraints | Description |
|---|---|---|---|
value required | object | contains pairs key: value, where the key is the uid of the catalog field, the value - value of this field |
| Description | Response type | Example |
|---|---|---|
| Success | Object |
| Name | Type | Description |
|---|---|---|
| updated | string | Last update timestamp |
| created | string | Create date |
| id | integer | Catalog option id |
| custom_property_id | integer | Custom property id |
| value | object | Custom property catalog value |
| name | string | Custom property catalog value name |
| author_id | integer | Author id |
| updater_id | integer | Last updater id |
| condition | string | Custom property catalog value condition |
| 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 | Object |
| Name | Type | Description |
|---|---|---|
| message | string | Error message |
| Description | Response type | Example |
|---|---|---|
| Not found | Response body does not exist |
A schema has not been defined for this response code.
How to create
{
"value": {
"3889a0a5-66de-4df3-9bd6-405e02eecfca": "test"
}
}Path Parameters
1 curl --request POST \
2 --url 'https://example.kaiten.ru/api/latest/company/custom-properties/{property_id}/catalog-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!