POST Api/Viewer/GetShortURL

Request Information

URI Parameters

None.

Body Parameters

ShortUrlInfo
NameDescriptionTypeAdditional information
siteurldomain

string

None.

imageurl

string

None.

clippedfilename

string

None.

finalimageid

string

None.

caption

string

None.

comment

string

None.

tags

string

None.

metadata

string

None.

filename

string

None.

CollectionId

string

None.

colorclass

string

None.

Request Formats

application/json, text/json

Sample:
{
  "siteurldomain": "sample string 1",
  "imageurl": "sample string 2",
  "clippedfilename": "sample string 3",
  "finalimageid": "sample string 4",
  "caption": "sample string 5",
  "comment": "sample string 6",
  "tags": "sample string 7",
  "metadata": "sample string 8",
  "filename": "sample string 9",
  "CollectionId": "sample string 10",
  "colorclass": "sample string 11"
}

application/xml, text/xml

Sample:
<ShortUrlInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CRUDAPI.Controllers">
  <CollectionId>sample string 10</CollectionId>
  <caption>sample string 5</caption>
  <clippedfilename>sample string 3</clippedfilename>
  <colorclass>sample string 11</colorclass>
  <comment>sample string 6</comment>
  <filename>sample string 9</filename>
  <finalimageid>sample string 4</finalimageid>
  <imageurl>sample string 2</imageurl>
  <metadata>sample string 8</metadata>
  <siteurldomain>sample string 1</siteurldomain>
  <tags>sample string 7</tags>
</ShortUrlInfo>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.