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": "dd41394a-7cb5-42eb-a5b4-026010dda268",
  "userId": "eed806e7-47d6-482c-a26f-48b8177e762d"
}

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": "87623532-a4e7-4477-a11a-e1c82afffc3b",
    "totalItems": 2,
    "createDate": "2020-10-24T22:15:07+00:00",
    "name": "sample string 4"
  },
  "user": {
    "id": "5554100c-acea-47a7-93a5-af87e257557d",
    "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>87623532-a4e7-4477-a11a-e1c82afffc3b</Id>
    <VideoCount>2</VideoCount>
  </Playlist>
  <User>
    <FullName>sample string 2</FullName>
    <Id>5554100c-acea-47a7-93a5-af87e257557d</Id>
    <ImageUrl>sample string 3</ImageUrl>
    <LanguageCode>sample string 4</LanguageCode>
  </User>
</PlaylistShareResultModel>