POST api/GBAOneTicket

Request Information

URI Parameters

None.

Body Parameters

BaseParamEntityOfObject
NameDescriptionTypeAdditional information
publicrequest

PublicRequest

None.

body

Object

None.

Request Formats

application/json, text/json

Sample:
{
  "publicrequest": {
    "protover": "sample string 1",
    "sysid": "sample string 2",
    "method": "sample string 3",
    "accesskey": "sample string 4",
    "requestid": "sample string 5",
    "requesttime": "sample string 6",
    "signdata": "sample string 7",
    "signmethod": "SM2"
  },
  "body": {}
}

application/xml, text/xml

Sample:
<BaseParamEntityOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YD.CYW.Class.GBAOneTicket.IF2.BaseEntity">
  <body />
  <publicrequest>
    <accesskey>sample string 4</accesskey>
    <method>sample string 3</method>
    <protover>sample string 1</protover>
    <requestid>sample string 5</requestid>
    <requesttime>sample string 6</requesttime>
    <signdata>sample string 7</signdata>
    <sysid>sample string 2</sysid>
  </publicrequest>
</BaseParamEntityOfanyType>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BaseResultEntityOfObject
NameDescriptionTypeAdditional information
publicresponse

PublicResponse

None.

body

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "publicresponse": {
    "protover": "sample string 1",
    "sysid": "sample string 2",
    "method": "sample string 3",
    "accesskey": "sample string 4",
    "requestid": "sample string 5",
    "responsetime": "sample string 6",
    "statuscode": "sample string 7",
    "statusmsg": "sample string 8",
    "reserve": "sample string 9"
  },
  "body": {}
}

application/xml, text/xml

Sample:
<BaseResultEntityOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YD.CYW.Class.GBAOneTicket.IF2.BaseEntity">
  <body />
  <publicresponse>
    <accesskey>sample string 4</accesskey>
    <method>sample string 3</method>
    <protover>sample string 1</protover>
    <requestid>sample string 5</requestid>
    <reserve>sample string 9</reserve>
    <responsetime>sample string 6</responsetime>
    <statuscode>sample string 7</statuscode>
    <statusmsg>sample string 8</statusmsg>
    <sysid>sample string 2</sysid>
  </publicresponse>
</BaseResultEntityOfanyType>