POST api/Reg

Request Information

URI Parameters

None.

Body Parameters

Object

None.

Request Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />

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

Response Information

Resource Description

PreResponse
NameDescriptionTypeAdditional information
allow

boolean

None.

action

string

None.

secret_key_timestamp

string

None.

request_hash

string

None.

secret_key

string

None.

message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "allow": true,
  "action": "sample string 2",
  "secret_key_timestamp": "sample string 3",
  "request_hash": "sample string 4",
  "secret_key": "sample string 5",
  "message": "sample string 6"
}

application/xml, text/xml

Sample:
<RegController.PreResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APIProject.Controllers">
  <action>sample string 2</action>
  <allow>true</allow>
  <message>sample string 6</message>
  <request_hash>sample string 4</request_hash>
  <secret_key>sample string 5</secret_key>
  <secret_key_timestamp>sample string 3</secret_key_timestamp>
</RegController.PreResponse>