POST api/send

Request Information

URI Parameters

None.

Body Parameters

BaoKimRequestData
NameDescriptionTypeAdditional information
JsonData

string

None.

Token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "JsonData": "sample string 1",
  "Token": "sample string 2"
}

application/xml, text/xml

Sample:
<BaoKimRequestData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Auto.ConnectPartnerAPI.Controllers">
  <JsonData>sample string 1</JsonData>
  <Token>sample string 2</Token>
</BaoKimRequestData>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseOrderData
NameDescriptionTypeAdditional information
code

integer

None.

message

Collection of Object

None.

count

integer

None.

data

OrderReturned

None.

Response Formats

application/json, text/json

Sample:
{
  "code": 1,
  "message": [
    {},
    {}
  ],
  "count": 2,
  "data": {
    "order_id": 1,
    "redirect_url": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<ResponseOrderData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BanXeHoi.Models.DomainModels">
  <code>1</code>
  <count>2</count>
  <data>
    <order_id>1</order_id>
    <redirect_url>sample string 2</redirect_url>
  </data>
  <message xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:anyType />
    <d2p1:anyType />
  </message>
</ResponseOrderData>