POST api/Transport/GetGui

Request Information

URI Parameters

None.

Body Parameters

TransportGetGuiRequest
NameDescriptionTypeAdditional information
idTransport

integer

None.

intervention

string

None.

qrOrderContent

string

None.

qrTransportContent

string

None.

orderNumber

string

None.

billed

boolean

None.

docInHands

boolean

None.

lastHoursOrdered

integer

None.

lastHoursComplete

integer

None.

lastHoursAssigned

integer

None.

orderedFrom

date

None.

completeFrom

date

None.

orderedTo

date

None.

completeTo

date

None.

maxResults

integer

None.

isDestination

boolean

None.

isCreator

boolean

None.

isDispatcher

boolean

None.

isTransporter

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "idTransport": 1,
  "intervention": "sample string 1",
  "qrOrderContent": "sample string 2",
  "qrTransportContent": "sample string 3",
  "orderNumber": "sample string 4",
  "billed": true,
  "docInHands": true,
  "lastHoursOrdered": 1,
  "lastHoursComplete": 1,
  "lastHoursAssigned": 1,
  "orderedFrom": "2025-12-11T02:52:59.1941659+01:00",
  "completeFrom": "2025-12-11T02:52:59.1941659+01:00",
  "orderedTo": "2025-12-11T02:52:59.1941659+01:00",
  "completeTo": "2025-12-11T02:52:59.1941659+01:00",
  "maxResults": 1,
  "isDestination": true,
  "isCreator": true,
  "isDispatcher": true,
  "isTransporter": true
}

application/xml, text/xml

Sample:
<TransportGetGuiRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NMP3000Api.Areas.Transport.Models">
  <Billed>true</Billed>
  <IdTransport>1</IdTransport>
  <Intervention>sample string 1</Intervention>
  <OrderNumber>sample string 4</OrderNumber>
  <QrOrderContent>sample string 2</QrOrderContent>
  <QrTransportContent>sample string 3</QrTransportContent>
</TransportGetGuiRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'TransportGetGuiRequest'.

Response Information

Resource Description

TransportGetGuiResponse
NameDescriptionTypeAdditional information
url

string

None.

mesasge

string

None.

isSuccess

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "url": "sample string 1",
  "mesasge": "sample string 2",
  "isSuccess": true
}

application/xml, text/xml

Sample:
<TransportGetGuiResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NMP3000Api.Areas.Transport.Models">
  <IsSuccess xmlns="http://schemas.datacontract.org/2004/07/NMP3000Api.Models">true</IsSuccess>
  <Mesasge xmlns="http://schemas.datacontract.org/2004/07/NMP3000Api.Models">sample string 2</Mesasge>
  <Url xmlns="http://schemas.datacontract.org/2004/07/NMP3000Api.Models">sample string 1</Url>
</TransportGetGuiResponse>