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": "d6cb1ca1-4a8c-4b5e-866b-f5743c75c414",
  "userId": "d70020eb-b209-4311-95d4-ed5793f1a776"
}

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": "72541a14-9ac0-430e-afce-69fdfc1c9d27",
    "totalItems": 2,
    "createDate": "2020-08-06T18:39:20+00:00",
    "name": "sample string 4"
  },
  "user": {
    "id": "57260627-196c-40b5-8392-91c5dd8e0f8f",
    "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>72541a14-9ac0-430e-afce-69fdfc1c9d27</Id>
    <VideoCount>2</VideoCount>
  </Playlist>
  <User>
    <FullName>sample string 2</FullName>
    <Id>57260627-196c-40b5-8392-91c5dd8e0f8f</Id>
    <ImageUrl>sample string 3</ImageUrl>
    <LanguageCode>sample string 4</LanguageCode>
  </User>
</PlaylistShareResultModel>