POST api/travel/request
Request Information
URI Parameters
None.
Body Parameters
TravelRequestName | Description | Type | Additional information |
---|---|---|---|
MenuId | string |
None. |
|
Header | PDSWFTRAVELHEADER |
None. |
|
Routes | Collection of PDSWFTRAVELROUTE |
None. |
|
Accommodation | Collection of PDSWFTRAVELACCOMODATION |
None. |
|
Cost | Collection of PDSWFTRAVELCOST |
None. |
|
Action | string |
None. |
|
ApplicationName | string |
None. |
|
UserVersion | string |
None. |
|
DeviceType | string |
None. |
|
OperatingSystem | string |
None. |
|
AccountType | string |
None. |
|
RequestNo | string |
None. |
|
WorkflowName | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "menuId": "sample string 1", "header": { "headerStartDate": "sample string 1", "headerEndDate": "sample string 2", "headerTravelStatus": "sample string 3", "headerTravelType": "sample string 4", "headerDeparture": "sample string 5", "headerDestination": "sample string 6", "headerTravelReason": "sample string 7", "headerTravelResult": "sample string 8", "headerCorrectionStatus": "sample string 9", "headerCorrectStatus": "sample string 10", "headerEmployeeID": "sample string 11", "headerSequence": "sample string 12", "headerUID": "sample string 13", "headerDepartureTime": "sample string 14", "headerArrivalTime": "sample string 15", "headerSubOfficialID": "sample string 16", "headerSubOffName": "sample string 17", "headerSubWorkerID": "sample string 18", "headerSubWorkName": "sample string 19", "headerNotes": "sample string 20" }, "routes": [ { "routeStartDate": "sample string 1", "routeEndDate": "sample string 2", "routeHeaderSeqKey": "sample string 3", "routeHeaderSequence": "sample string 4", "routeSeqKey": "sample string 5", "routeSequence": "sample string 6", "routeEmployeeID": "sample string 7", "routeStartTime": "sample string 8", "routeEndTime": "sample string 9", "routeDataFlag": "sample string 10", "routeTransportType": "sample string 11", "routeTransportClass": "sample string 12", "routeTransportProvider": "sample string 13", "routeDeparture": "sample string 14", "routeDestination": "sample string 15", "routeUID": "sample string 16", "routeCurrency": "sample string 17", "routeAmount": "sample string 18", "routeNotes": "sample string 19", "id": "sample string 20" }, { "routeStartDate": "sample string 1", "routeEndDate": "sample string 2", "routeHeaderSeqKey": "sample string 3", "routeHeaderSequence": "sample string 4", "routeSeqKey": "sample string 5", "routeSequence": "sample string 6", "routeEmployeeID": "sample string 7", "routeStartTime": "sample string 8", "routeEndTime": "sample string 9", "routeDataFlag": "sample string 10", "routeTransportType": "sample string 11", "routeTransportClass": "sample string 12", "routeTransportProvider": "sample string 13", "routeDeparture": "sample string 14", "routeDestination": "sample string 15", "routeUID": "sample string 16", "routeCurrency": "sample string 17", "routeAmount": "sample string 18", "routeNotes": "sample string 19", "id": "sample string 20" } ], "accommodation": [ { "accomStartDate": "sample string 1", "accomEndDate": "sample string 2", "accomRate": "sample string 3", "id": "sample string 4", "accomHeaderSeqKey": "sample string 5", "accomHeaderSequence": "sample string 6", "accomSeqKey": "sample string 7", "accomSequence": "sample string 8", "accomEmployeeID": "sample string 9", "accomType": "sample string 10", "accomName": "sample string 11", "accomClass": "sample string 12", "accomDataFlag": "sample string 13", "accomAddress": "sample string 14", "accomLocation": "sample string 15", "accomContactNumber": "sample string 16", "accomContactPerson": "sample string 17", "accomUID": "sample string 18", "accomCurrency": "sample string 19", "accomAmount": "sample string 20", "accomNotes": "sample string 21" }, { "accomStartDate": "sample string 1", "accomEndDate": "sample string 2", "accomRate": "sample string 3", "id": "sample string 4", "accomHeaderSeqKey": "sample string 5", "accomHeaderSequence": "sample string 6", "accomSeqKey": "sample string 7", "accomSequence": "sample string 8", "accomEmployeeID": "sample string 9", "accomType": "sample string 10", "accomName": "sample string 11", "accomClass": "sample string 12", "accomDataFlag": "sample string 13", "accomAddress": "sample string 14", "accomLocation": "sample string 15", "accomContactNumber": "sample string 16", "accomContactPerson": "sample string 17", "accomUID": "sample string 18", "accomCurrency": "sample string 19", "accomAmount": "sample string 20", "accomNotes": "sample string 21" } ], "cost": [ { "costHeaderSeqKey": "sample string 1", "costHeaderSequence": "sample string 2", "costStartDate": "sample string 3", "costSeqKey": "sample string 4", "costSequence": "sample string 5", "costEndDate": "sample string 6", "costCostType": "sample string 7", "costEmployeeID": "sample string 8", "costCostDescription": "sample string 9", "costCurrency": "sample string 10", "costNumber": "sample string 11", "isCountDay": "sample string 12", "countDay": "sample string 13", "costRate": "sample string 14", "costSetFlag": "sample string 15", "costDataFlag": "sample string 16", "costCostCenter": "sample string 17", "costAmountPlan": "sample string 18", "costAmountSettlement": "sample string 19", "costAmountApproval": "sample string 20", "costBankTransfer": "sample string 21", "costNotes": "sample string 22", "costUID": "sample string 23", "id": "sample string 24" }, { "costHeaderSeqKey": "sample string 1", "costHeaderSequence": "sample string 2", "costStartDate": "sample string 3", "costSeqKey": "sample string 4", "costSequence": "sample string 5", "costEndDate": "sample string 6", "costCostType": "sample string 7", "costEmployeeID": "sample string 8", "costCostDescription": "sample string 9", "costCurrency": "sample string 10", "costNumber": "sample string 11", "isCountDay": "sample string 12", "countDay": "sample string 13", "costRate": "sample string 14", "costSetFlag": "sample string 15", "costDataFlag": "sample string 16", "costCostCenter": "sample string 17", "costAmountPlan": "sample string 18", "costAmountSettlement": "sample string 19", "costAmountApproval": "sample string 20", "costBankTransfer": "sample string 21", "costNotes": "sample string 22", "costUID": "sample string 23", "id": "sample string 24" } ], "action": "sample string 2", "applicationName": "sample string 3", "userVersion": "sample string 4", "deviceType": "sample string 5", "operatingSystem": "sample string 6", "accountType": "sample string 7", "requestNo": "sample string 8", "workflowName": "sample string 9" }
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.