POST api/DtTrip/TravelSync

Request Information

URI Parameters

None.

Body Parameters

PushRequestView
NameDescriptionTypeAdditional information
notifyData

string

None.

notifyType

integer

None.

subNotifyType

integer

None.

notifyTime

integer

None.

sign

string

None.

isEncrypt

boolean

None.

soleKey

string

None.

Request Formats

application/json, text/json

Sample:
{
  "notifyData": "sample string 1",
  "notifyType": 2,
  "subNotifyType": 3,
  "notifyTime": 4,
  "sign": "sample string 5",
  "isEncrypt": true,
  "soleKey": "sample string 7"
}

application/xml, text/xml

Sample:
<PushRequestView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Strong.WebAPI.Model.DtTrip.Dto">
  <isEncrypt>true</isEncrypt>
  <notifyData>sample string 1</notifyData>
  <notifyTime>4</notifyTime>
  <notifyType>2</notifyType>
  <sign>sample string 5</sign>
  <soleKey>sample string 7</soleKey>
  <subNotifyType>3</subNotifyType>
</PushRequestView>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PushResponseView
NameDescriptionTypeAdditional information
resCode

integer

None.

resMsg

string

None.

Response Formats

application/json, text/json

Sample:
{
  "resCode": 1,
  "resMsg": "sample string 2"
}

application/xml, text/xml

Sample:
<PushResponseView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Strong.WebAPI.Model.DtTrip.Dto">
  <resCode>1</resCode>
  <resMsg>sample string 2</resMsg>
</PushResponseView>