POST api/v3/Playlist/AddItems
Request Information
URI Parameters
None.
Body Parameters
PlaylistItemRequestName | Description | Type | Additional information |
---|---|---|---|
PlaylistId | integer |
None. |
|
Items | Collection of Item |
None. |
Request Formats
application/json, text/json
Sample:
{ "PlaylistId": 1, "Items": [ { "Id": 1, "Name": "sample string 2", "Overview": "sample string 3", "ThumbnailUrl": "sample string 4", "ItemType": 1 }, { "Id": 1, "Name": "sample string 2", "Overview": "sample string 3", "ThumbnailUrl": "sample string 4", "ItemType": 1 } ] }
text/html
Sample:
{"PlaylistId":1,"Items":[{"Id":1,"Name":"sample string 2","Overview":"sample string 3","ThumbnailUrl":"sample string 4","ItemType":1},{"Id":1,"Name":"sample string 2","Overview":"sample string 3","ThumbnailUrl":"sample string 4","ItemType":1}]}
text/xml
Sample:
<PlaylistItemRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShotClassCore.Models"> <Items> <Item> <Id>1</Id> <ItemType>shotclass</ItemType> <Name>sample string 2</Name> <Overview>sample string 3</Overview> <ThumbnailUrl>sample string 4</ThumbnailUrl> </Item> <Item> <Id>1</Id> <ItemType>shotclass</ItemType> <Name>sample string 2</Name> <Overview>sample string 3</Overview> <ThumbnailUrl>sample string 4</ThumbnailUrl> </Item> </Items> <PlaylistId>1</PlaylistId> </PlaylistItemRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
booleanResponse Formats
application/json, text/json, text/html
Sample:
true
text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>