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": "eab6e447-1499-4888-ba23-594811a5f86c",
  "userId": "871c5809-b319-423c-bb07-d8a9673040ad"
}

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": "e8ebac59-40ab-4991-8f04-36d8019aae66",
    "totalItems": 2,
    "createDate": "2020-05-21T19:07:28+00:00",
    "name": "sample string 4"
  },
  "user": {
    "id": "6fd04e50-3c2f-43b8-a09e-2835a9dcb24c",
    "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>e8ebac59-40ab-4991-8f04-36d8019aae66</Id>
    <VideoCount>2</VideoCount>
  </Playlist>
  <User>
    <FullName>sample string 2</FullName>
    <Id>6fd04e50-3c2f-43b8-a09e-2835a9dcb24c</Id>
    <ImageUrl>sample string 3</ImageUrl>
    <LanguageCode>sample string 4</LanguageCode>
  </User>
</PlaylistShareResultModel>