POST api/Redirector?sessionId={sessionId}

Create new redirector

Request Information

URI Parameters

NameDescriptionTypeAdditional information
sessionId

string

Required

Body Parameters

APIRedirector
NameDescriptionTypeAdditional information
Id

Unique identifier

integer

None.

Description

Description of redirector

string

None.

HostName

Hostname portion of redirector url

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "description": "sample string 2",
  "hostName": "sample string 3"
}

application/xml, text/xml

Sample:
<APIRedirector xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rochester.Models">
  <Description>sample string 2</Description>
  <HostName>sample string 3</HostName>
  <Id>1</Id>
</APIRedirector>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>