POST api/DtTrip/OaExternalApproval

Request Information

URI Parameters

None.

Body Parameters

ExternalApprovalRequestParam
NameDescriptionTypeAdditional information
travelBizOrderNo

string

None.

remarks

string

None.

approvalStatus

integer

None.

externalApprovalNo

string

None.

Request Formats

application/json, text/json

Sample:
{
  "travelBizOrderNo": "sample string 1",
  "remarks": "sample string 2",
  "approvalStatus": 1,
  "externalApprovalNo": "sample string 3"
}

application/xml, text/xml

Sample:
<ExternalApprovalRequestParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Strong.WebAPI.Model.DtTrip.Dto">
  <approvalStatus>1</approvalStatus>
  <externalApprovalNo>sample string 3</externalApprovalNo>
  <remarks>sample string 2</remarks>
  <travelBizOrderNo>sample string 1</travelBizOrderNo>
</ExternalApprovalRequestParam>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ExternalApprovalResponseView
NameDescriptionTypeAdditional information
success

boolean

None.

errorCode

string

None.

errorMessage

string

None.

errorType

integer

None.

data

Object

None.

requestData

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "errorCode": "sample string 2",
  "errorMessage": "sample string 3",
  "errorType": 4,
  "data": {},
  "requestData": {}
}

application/xml, text/xml

Sample:
<ExternalApprovalResponseView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Strong.WebAPI.Model.DtTrip.Dto">
  <data />
  <errorCode>sample string 2</errorCode>
  <errorMessage>sample string 3</errorMessage>
  <errorType>4</errorType>
  <requestData />
  <success>true</success>
</ExternalApprovalResponseView>