POST v2/Collection/Share

Share a colleciton

Request Information

URI Parameters

None.

Body Parameters

SharedCollection
NameDescriptionTypeAdditional information
ShareId

integer

None.

UserId

integer

None.

CollectionId

integer

None.

Token

globally unique identifier

None.

Created

date

None.

Note

string

None.

Views

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ShareId": 1,
  "UserId": 2,
  "CollectionId": 3,
  "Token": "61e5a2dd-1cb4-4821-8b44-5e3fdeabdd03",
  "Created": "2026-03-10T17:05:23.157262+00:00",
  "Note": "sample string 6",
  "Views": 7
}

application/xml, text/xml

Sample:
<SharedCollection xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bondi.Repository.Models">
  <CollectionId>3</CollectionId>
  <Created>2026-03-10T17:05:23.157262+00:00</Created>
  <Note>sample string 6</Note>
  <ShareId>1</ShareId>
  <Token>61e5a2dd-1cb4-4821-8b44-5e3fdeabdd03</Token>
  <UserId>2</UserId>
  <Views>7</Views>
</SharedCollection>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HTTP 200 with the share is successful if it is found, HTTP 404 if share is not successful

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.