POST api/AserApp/H5ConfigSignature

Request Information

URI Parameters

None.

Body Parameters

WeChatService.Controllers.H5ConfigSignatureRequestModel
NameDescriptionTypeAdditional information
Url

System.String

Required

Request Formats

application/json, text/json

Sample:
{
  "Url": "sample string 1"
}

application/xml, text/xml

Sample:
<H5ConfigSignatureRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeChatService.Controllers">
  <Url>sample string 1</Url>
</H5ConfigSignatureRequestModel>

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 'H5ConfigSignatureRequestModel'.

Response Information

Resource Description

WeChatService.Controllers.H5ConfigSignatureResponseModel
NameDescriptionTypeAdditional information
Success

System.Boolean

None.

Message

System.String

None.

AppID

System.String

None.

Timestamp

System.String

None.

NonceStr

System.String

None.

Signature

System.String

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Message": "sample string 2",
  "AppID": "sample string 3",
  "Timestamp": "sample string 4",
  "NonceStr": "sample string 5",
  "Signature": "sample string 6"
}

application/xml, text/xml

Sample:
<H5ConfigSignatureResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeChatService.Controllers">
  <AppID>sample string 3</AppID>
  <Message>sample string 2</Message>
  <NonceStr>sample string 5</NonceStr>
  <Signature>sample string 6</Signature>
  <Success>true</Success>
  <Timestamp>sample string 4</Timestamp>
</H5ConfigSignatureResponseModel>