POST api/Playlists/Share

Request Information

URI Parameters

None.

Body Parameters

PlaylistShareModel
NameDescriptionTypeAdditional information
playlistId

globally unique identifier

None.

userId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "playlistId": "eeb864dc-80b4-4d06-bf1a-777b83c56cc1",
  "userId": "5d686de6-7a03-4f13-aea7-b32dae2e9133"
}

text/xml

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PlaylistShareResultModel
NameDescriptionTypeAdditional information
playlist

PlaylistDetailsViewModel

None.

user

BasicUserViewModel

None.

Response Formats

application/json, text/json

Sample:
{
  "playlist": {
    "playlistID": "a107b012-1495-4d87-bb9f-10372b9b12d4",
    "totalItems": 2,
    "createDate": "2020-02-28T18:04:58+00:00",
    "name": "sample string 4"
  },
  "user": {
    "id": "b2c59269-8b65-451a-b927-150d396d45d5",
    "name": "sample string 2",
    "imageUrl": "sample string 3",
    "languageCode": "sample string 4"
  }
}

text/xml

Sample:
<PlaylistShareResultModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ClipAisle.Api.Models">
  <Playlist>
    <Name>sample string 4</Name>
    <Id>a107b012-1495-4d87-bb9f-10372b9b12d4</Id>
    <VideoCount>2</VideoCount>
  </Playlist>
  <User>
    <FullName>sample string 2</FullName>
    <Id>b2c59269-8b65-451a-b927-150d396d45d5</Id>
    <ImageUrl>sample string 3</ImageUrl>
    <LanguageCode>sample string 4</LanguageCode>
  </User>
</PlaylistShareResultModel>