GET Report/UrgentTransportsByPartnersController/Create?SessionId={SessionId}&CompanyId={CompanyId}&transportId={transportId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
SessionId

string

None.

CompanyId

integer

None.

transportId

integer

Required

Body Parameters

None.

Response Information

Resource Description

KendoGridResponseOfUrgentTransportByPartner
NameDescriptionTypeAdditional information
total

integer

None.

data

Collection of UrgentTransportByPartner

None.

errorCode

integer

None.

error

string

None.

top

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "total": 1,
  "data": [
    {
      "partnerId": 1,
      "partner": {
        "id": 1,
        "shortName": "sample string 2",
        "longName": "sample string 3",
        "address": "sample string 4",
        "place": "sample string 5",
        "cc": "sample string 6",
        "isCompany": true,
        "postNumber": "sample string 8",
        "name": "sample string 9"
      },
      "cargo": {
        "id": 1,
        "toId": 2,
        "weightInKG": 3.1,
        "noOfPackages": 4.1,
        "lenghtInM": 5.1,
        "volumeInM3": 6.1
      }
    },
    {
      "partnerId": 1,
      "partner": {
        "id": 1,
        "shortName": "sample string 2",
        "longName": "sample string 3",
        "address": "sample string 4",
        "place": "sample string 5",
        "cc": "sample string 6",
        "isCompany": true,
        "postNumber": "sample string 8",
        "name": "sample string 9"
      },
      "cargo": {
        "id": 1,
        "toId": 2,
        "weightInKG": 3.1,
        "noOfPackages": 4.1,
        "lenghtInM": 5.1,
        "volumeInM3": 6.1
      }
    }
  ],
  "errorCode": 2,
  "error": "sample string 3",
  "top": 4
}

text/javascript

Sample:
{"total":1,"data":[{"partnerId":1,"partner":{"id":1,"shortName":"sample string 2","longName":"sample string 3","address":"sample string 4","place":"sample string 5","cc":"sample string 6","isCompany":true,"postNumber":"sample string 8","name":"sample string 9"},"cargo":{"id":1,"toId":2,"weightInKG":3.1,"noOfPackages":4.1,"lenghtInM":5.1,"volumeInM3":6.1}},{"partnerId":1,"partner":{"id":1,"shortName":"sample string 2","longName":"sample string 3","address":"sample string 4","place":"sample string 5","cc":"sample string 6","isCompany":true,"postNumber":"sample string 8","name":"sample string 9"},"cargo":{"id":1,"toId":2,"weightInKG":3.1,"noOfPackages":4.1,"lenghtInM":5.1,"volumeInM3":6.1}}],"errorCode":2,"error":"sample string 3","top":4}

application/xml, text/xml

Sample:
<KendoGridResponseOfUrgentTransportByPartnerJYPJrDrI 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/LSP.Controllers.Report">
    <d2p1:UrgentTransportByPartner>
      <d2p1:cargo xmlns:d4p1="http://schemas.datacontract.org/2004/07/T8LSPModel.Model">
        <d4p1:id>1</d4p1:id>
        <d4p1:lenghtInM>5.1</d4p1:lenghtInM>
        <d4p1:noOfPackages>4.1</d4p1:noOfPackages>
        <d4p1:toId>2</d4p1:toId>
        <d4p1:volumeInM3>6.1</d4p1:volumeInM3>
        <d4p1:weightInKG>3.1</d4p1:weightInKG>
      </d2p1:cargo>
      <d2p1:partner xmlns:d4p1="http://schemas.datacontract.org/2004/07/T8LSPModel.Model">
        <d4p1:address>sample string 4</d4p1:address>
        <d4p1:cc>sample string 6</d4p1:cc>
        <d4p1:id>1</d4p1:id>
        <d4p1:isCompany>true</d4p1:isCompany>
        <d4p1:longName>sample string 3</d4p1:longName>
        <d4p1:name>sample string 9</d4p1:name>
        <d4p1:place>sample string 5</d4p1:place>
        <d4p1:postNumber>sample string 8</d4p1:postNumber>
        <d4p1:shortName>sample string 2</d4p1:shortName>
      </d2p1:partner>
      <d2p1:partnerId>1</d2p1:partnerId>
    </d2p1:UrgentTransportByPartner>
    <d2p1:UrgentTransportByPartner>
      <d2p1:cargo xmlns:d4p1="http://schemas.datacontract.org/2004/07/T8LSPModel.Model">
        <d4p1:id>1</d4p1:id>
        <d4p1:lenghtInM>5.1</d4p1:lenghtInM>
        <d4p1:noOfPackages>4.1</d4p1:noOfPackages>
        <d4p1:toId>2</d4p1:toId>
        <d4p1:volumeInM3>6.1</d4p1:volumeInM3>
        <d4p1:weightInKG>3.1</d4p1:weightInKG>
      </d2p1:cargo>
      <d2p1:partner xmlns:d4p1="http://schemas.datacontract.org/2004/07/T8LSPModel.Model">
        <d4p1:address>sample string 4</d4p1:address>
        <d4p1:cc>sample string 6</d4p1:cc>
        <d4p1:id>1</d4p1:id>
        <d4p1:isCompany>true</d4p1:isCompany>
        <d4p1:longName>sample string 3</d4p1:longName>
        <d4p1:name>sample string 9</d4p1:name>
        <d4p1:place>sample string 5</d4p1:place>
        <d4p1:postNumber>sample string 8</d4p1:postNumber>
        <d4p1:shortName>sample string 2</d4p1:shortName>
      </d2p1:partner>
      <d2p1:partnerId>1</d2p1:partnerId>
    </d2p1:UrgentTransportByPartner>
  </data>
  <error>sample string 3</error>
  <errorCode>2</errorCode>
  <top>4</top>
  <total>1</total>
</KendoGridResponseOfUrgentTransportByPartnerJYPJrDrI>

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[[LSP.Controllers.Report.UrgentTransportByPartner, LSP, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]