POST api/collection/collection_info
Создать коллекцию на основе коллекции пользователя
Request Information
URI Parameters
None.
Body Parameters
Входные параметры
AddCollectionFromUserCollectionRequestName | Description | Type | Additional information |
---|---|---|---|
UserCollectionId |
Идентификатор коллекции пользователя |
integer |
Required |
Title |
Название коллекции |
string |
Required |
Description |
Описание коллекции |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "userCollectionId": 1, "title": "sample string 2", "description": "sample string 3" }
application/xml, text/xml
Sample:
<AddCollectionFromUserCollectionRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RucontAPI.Models.Collections"> <Description>sample string 3</Description> <Title>sample string 2</Title> <UserCollectionId>1</UserCollectionId> </AddCollectionFromUserCollectionRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HTTP статус операции
HttpResponseMessageName | 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. |