POST api/cataloguer/back/categories/{id}/products
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| token |
Токен авторизации |
string |
Required |
| id | integer |
Required |
Body Parameters
AddProductInCategoryBackRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| product_id | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"product_id": 1
}
application/x-www-form-urlencoded
Sample:
Sample not available.
application/xml, text/xml
Sample:
<AddProductInCategoryBackRequest> <ProductId>1</ProductId> </AddProductInCategoryBackRequest>
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |