GET TransportLegConfirmation/Attachment/LoadAll?SessionId={SessionId}&CompanyId={CompanyId}&confirmationId={confirmationId}&transportId={transportId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
SessionId

string

None.

CompanyId

integer

None.

confirmationId

integer

Required

transportId

integer

Default value is -1

Body Parameters

None.

Response Information

Resource Description

ListReplyOfTransportLegConfirmationAttachmentRecord
NameDescriptionTypeAdditional information
total

integer

None.

data

Collection of TransportLegConfirmationAttachmentRecord

None.

errorCode

integer

None.

error

string

None.

top

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "data": [
    {
      "id": 1,
      "headerId": 2,
      "mark": "sample string 3",
      "url": "sample string 4",
      "typeId": 5,
      "driverSignature": true,
      "customerSignature": true
    },
    {
      "id": 1,
      "headerId": 2,
      "mark": "sample string 3",
      "url": "sample string 4",
      "typeId": 5,
      "driverSignature": true,
      "customerSignature": true
    }
  ],
  "errorCode": 1,
  "error": "sample string 2",
  "top": 3,
  "total": 2
}

text/javascript

Sample:
{"data":[{"id":1,"headerId":2,"mark":"sample string 3","url":"sample string 4","typeId":5,"driverSignature":true,"customerSignature":true},{"id":1,"headerId":2,"mark":"sample string 3","url":"sample string 4","typeId":5,"driverSignature":true,"customerSignature":true}],"errorCode":1,"error":"sample string 2","top":3,"total":2}

application/xml, text/xml

Sample:
<ListReplyOfTransportLegConfirmationAttachmentRecord47aJv9zI 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/T8LSP_Transport.Model">
    <d2p1:TransportLegConfirmationAttachmentRecord>
      <d2p1:customerSignature>true</d2p1:customerSignature>
      <d2p1:driverSignature>true</d2p1:driverSignature>
      <d2p1:headerId>2</d2p1:headerId>
      <d2p1:id>1</d2p1:id>
      <d2p1:mark>sample string 3</d2p1:mark>
      <d2p1:typeId>5</d2p1:typeId>
      <d2p1:url>sample string 4</d2p1:url>
    </d2p1:TransportLegConfirmationAttachmentRecord>
    <d2p1:TransportLegConfirmationAttachmentRecord>
      <d2p1:customerSignature>true</d2p1:customerSignature>
      <d2p1:driverSignature>true</d2p1:driverSignature>
      <d2p1:headerId>2</d2p1:headerId>
      <d2p1:id>1</d2p1:id>
      <d2p1:mark>sample string 3</d2p1:mark>
      <d2p1:typeId>5</d2p1:typeId>
      <d2p1:url>sample string 4</d2p1:url>
    </d2p1:TransportLegConfirmationAttachmentRecord>
  </data>
  <error>sample string 2</error>
  <errorCode>1</errorCode>
  <top>3</top>
</ListReplyOfTransportLegConfirmationAttachmentRecord47aJv9zI>

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.Models.ListReply`1[[T8LSP_Transport.Model.TransportLegConfirmationAttachmentRecord, T8LSP_Transport, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]