POST api/Playlists

Request Information

URI Parameters

None.

Body Parameters

Playlist
NameDescriptionTypeAdditional information
PlaylistId

integer

None.

UserId

string

None.

PlaylistName

string

None.

CreatedDate

date

None.

ModifiedDate

date

None.

IsDeleted

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "PlaylistId": 1,
  "UserId": "sample string 2",
  "PlaylistName": "sample string 3",
  "CreatedDate": "2018-11-12T04:55:11.2479195+00:00",
  "ModifiedDate": "2018-11-12T04:55:11.2479195+00:00",
  "IsDeleted": true
}

application/xml, text/xml

Sample:
<Playlist xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JalsoApi.Models">
  <CreatedDate>2018-11-12T04:55:11.2479195+00:00</CreatedDate>
  <IsDeleted>true</IsDeleted>
  <ModifiedDate>2018-11-12T04:55:11.2479195+00:00</ModifiedDate>
  <PlaylistId>1</PlaylistId>
  <PlaylistName>sample string 3</PlaylistName>
  <UserId>sample string 2</UserId>
</Playlist>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Playlist
NameDescriptionTypeAdditional information
PlaylistId

integer

None.

UserId

string

None.

PlaylistName

string

None.

CreatedDate

date

None.

ModifiedDate

date

None.

IsDeleted

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "PlaylistId": 1,
  "UserId": "sample string 2",
  "PlaylistName": "sample string 3",
  "CreatedDate": "2018-11-12T04:55:11.2479195+00:00",
  "ModifiedDate": "2018-11-12T04:55:11.2479195+00:00",
  "IsDeleted": true
}

application/xml, text/xml

Sample:
<Playlist xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JalsoApi.Models">
  <CreatedDate>2018-11-12T04:55:11.2479195+00:00</CreatedDate>
  <IsDeleted>true</IsDeleted>
  <ModifiedDate>2018-11-12T04:55:11.2479195+00:00</ModifiedDate>
  <PlaylistId>1</PlaylistId>
  <PlaylistName>sample string 3</PlaylistName>
  <UserId>sample string 2</UserId>
</Playlist>