GET TransportOrder/Attachments/LoadAll?SessionId={SessionId}&CompanyId={CompanyId}&orderId={orderId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
SessionId

string

None.

CompanyId

integer

None.

orderId

integer

Required

Body Parameters

None.

Response Information

Resource Description

KendoGridResponseOfTransportOrderAttachmentRecord
NameDescriptionTypeAdditional information
total

integer

None.

data

Collection of TransportOrderAttachmentRecord

None.

errorCode

integer

None.

error

string

None.

top

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "total": 1,
  "data": [
    {
      "id": 1,
      "orderId": 2,
      "code": "sample string 3",
      "mark": "sample string 4",
      "url": "sample string 5",
      "fileName": "sample string 6"
    },
    {
      "id": 1,
      "orderId": 2,
      "code": "sample string 3",
      "mark": "sample string 4",
      "url": "sample string 5",
      "fileName": "sample string 6"
    }
  ],
  "errorCode": 2,
  "error": "sample string 3",
  "top": 4
}

text/javascript

Sample:
{"total":1,"data":[{"id":1,"orderId":2,"code":"sample string 3","mark":"sample string 4","url":"sample string 5","fileName":"sample string 6"},{"id":1,"orderId":2,"code":"sample string 3","mark":"sample string 4","url":"sample string 5","fileName":"sample string 6"}],"errorCode":2,"error":"sample string 3","top":4}

application/xml, text/xml

Sample:
<KendoGridResponseOfTransportOrderAttachmentRecordTPMxpBRP xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/T8UtilityLib">
  <data xmlns:d2p1="http://schemas.datacontract.org/2004/07/T8LSPModel.Model">
    <d2p1:TransportOrderAttachmentRecord>
      <d2p1:code>sample string 3</d2p1:code>
      <d2p1:fileName>sample string 6</d2p1:fileName>
      <d2p1:id>1</d2p1:id>
      <d2p1:mark>sample string 4</d2p1:mark>
      <d2p1:orderId>2</d2p1:orderId>
      <d2p1:url>sample string 5</d2p1:url>
    </d2p1:TransportOrderAttachmentRecord>
    <d2p1:TransportOrderAttachmentRecord>
      <d2p1:code>sample string 3</d2p1:code>
      <d2p1:fileName>sample string 6</d2p1:fileName>
      <d2p1:id>1</d2p1:id>
      <d2p1:mark>sample string 4</d2p1:mark>
      <d2p1:orderId>2</d2p1:orderId>
      <d2p1:url>sample string 5</d2p1:url>
    </d2p1:TransportOrderAttachmentRecord>
  </data>
  <error>sample string 3</error>
  <errorCode>2</errorCode>
  <top>4</top>
  <total>1</total>
</KendoGridResponseOfTransportOrderAttachmentRecordTPMxpBRP>

application/x-protobuf

Sample:

An exception has occurred while using the formatter 'ProtoBufFormatter' to generate sample for media type 'application/x-protobuf'. Exception message: Type is not expected, and no contract can be inferred: T8UtilityLib.KendoGridResponse`1[[T8LSPModel.Model.TransportOrderAttachmentRecord, T8LSPModel, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]