GET TransportOrderLeg/Product/LoadAll?SessionId={SessionId}&CompanyId={CompanyId}&toId={toId}&tolId={tolId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
SessionId | string |
None. |
|
CompanyId | integer |
None. |
|
toId | integer |
Required |
|
tolId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ListReplyOfTransportOrderLegProductRecordName | Description | Type | Additional information |
---|---|---|---|
total | integer |
None. |
|
data | Collection of TransportOrderLegProductRecord |
None. |
|
errorCode | integer |
None. |
|
error | string |
None. |
|
top | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": [ { "id": 1, "toId": 2, "tolId": 3, "productId": 4, "q1": 5.1, "um1": 64 }, { "id": 1, "toId": 2, "tolId": 3, "productId": 4, "q1": 5.1, "um1": 64 } ], "errorCode": 1, "error": "sample string 2", "top": 3, "total": 2 }
text/javascript
Sample:
{"data":[{"id":1,"toId":2,"tolId":3,"productId":4,"q1":5.1,"um1":64},{"id":1,"toId":2,"tolId":3,"productId":4,"q1":5.1,"um1":64}],"errorCode":1,"error":"sample string 2","top":3,"total":2}
application/xml, text/xml
Sample:
<ListReplyOfTransportOrderLegProductRecordTPMxpBRP xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/T8UtilityLib.Models"> <data xmlns:d2p1="http://schemas.datacontract.org/2004/07/T8LSPModel.Model"> <d2p1:TransportOrderLegProductRecord> <d2p1:id>1</d2p1:id> <d2p1:productId>4</d2p1:productId> <d2p1:q1>5.1</d2p1:q1> <d2p1:toId>2</d2p1:toId> <d2p1:tolId>3</d2p1:tolId> <d2p1:um1>64</d2p1:um1> </d2p1:TransportOrderLegProductRecord> <d2p1:TransportOrderLegProductRecord> <d2p1:id>1</d2p1:id> <d2p1:productId>4</d2p1:productId> <d2p1:q1>5.1</d2p1:q1> <d2p1:toId>2</d2p1:toId> <d2p1:tolId>3</d2p1:tolId> <d2p1:um1>64</d2p1:um1> </d2p1:TransportOrderLegProductRecord> </data> <error>sample string 2</error> <errorCode>1</errorCode> <top>3</top> </ListReplyOfTransportOrderLegProductRecordTPMxpBRP>
application/x-protobuf
Sample: