POST api/Playlists

Request Information

URI Parameters

None.

Body Parameters

PlaylistModel
NameDescriptionTypeAdditional information
name

string

None.

Request Formats

application/json, text/json

Sample:
{
  "name": "sample string 1"
}

text/xml

Sample:
<PlaylistModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ClipAisle.Api.Models">
  <Name>sample string 1</Name>
</PlaylistModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PlaylistDetailsViewModel
NameDescriptionTypeAdditional information
playlistID

globally unique identifier

None.

totalItems

integer

None.

createDate

date

None.

name

string

None.

Response Formats

application/json, text/json

Sample:
{
  "playlistID": "2459bda8-c6ff-4f37-8d7d-6a00f0cceb79",
  "totalItems": 2,
  "createDate": "2020-02-28T19:05:36+00:00",
  "name": "sample string 4"
}

text/xml

Sample:
<PlaylistDetailsViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ClipAisle.Api.Models">
  <Name>sample string 4</Name>
  <Id>2459bda8-c6ff-4f37-8d7d-6a00f0cceb79</Id>
  <VideoCount>2</VideoCount>
</PlaylistDetailsViewModel>