POST Createlink

Request Information

URI Parameters

None.

Body Parameters

URLDetails
NameDescriptionTypeAdditional information
ActualLink

string

None.

ApplicationName

string

None.

APPId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ActualLink": "sample string 1",
  "ApplicationName": "sample string 2",
  "APPId": "sample string 3"
}

application/xml, text/xml

Sample:
<URLDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShortURL.Models">
  <APPId>sample string 3</APPId>
  <ActualLink>sample string 1</ActualLink>
  <ApplicationName>sample string 2</ApplicationName>
</URLDetails>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ShortDetails
NameDescriptionTypeAdditional information
ResponseId

integer

None.

Response

string

None.

TinyURL

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseId": 1,
  "Response": "sample string 2",
  "TinyURL": "sample string 3"
}

application/xml, text/xml

Sample:
<ShortDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShortURL.Models">
  <Response>sample string 2</Response>
  <ResponseId>1</ResponseId>
  <TinyURL>sample string 3</TinyURL>
</ShortDetails>