POST api/URL/GetUrl

获得带身份的跳转的地址

Request Information

URI Parameters

None.

Body Parameters

输入参数

GetUrlInput
NameDescriptionTypeAdditional information
Url

目标网址

string

None.

Token

签名

string

None.

SessionID

会话ID

globally unique identifier

None.

TimeStamp

时间戳

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Url": "sample string 1",
  "Token": "sample string 2",
  "SessionID": "d5546e40-b468-4346-81f8-285d9e3bd82b",
  "TimeStamp": 3
}

application/xml, text/xml

Sample:
<GetUrlInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/_30edu.WEBAPI.WX.API.Common">
  <SessionID xmlns="http://schemas.datacontract.org/2004/07/_30edu.WEBAPI.WX.Models">d5546e40-b468-4346-81f8-285d9e3bd82b</SessionID>
  <TimeStamp xmlns="http://schemas.datacontract.org/2004/07/_30edu.WEBAPI.WX.Models">3</TimeStamp>
  <Token xmlns="http://schemas.datacontract.org/2004/07/_30edu.WEBAPI.WX.Models">sample string 2</Token>
  <Url>sample string 1</Url>
</GetUrlInput>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'GetUrlInput'.

Response Information

Resource Description

返回值

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

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