GET ops/check/barcode?barcode={barcode}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
barcode

string

Required

Body Parameters

None.

Response Information

Resource Description

CheckResult
NameDescriptionTypeAdditional information
Compartment

string

None.

Customer

string

None.

Depot

string

None.

Driver

User

None.

DeliveryNote

DeliveryNote

None.

LastUpdate

date

None.

Log

CheckResultLog

None.

Plantation

string

None.

TrailerRegNo

string

None.

TruckRegNo

string

None.

Response Formats

application/json, text/json

Sample:
{
  "compartment": "sample string 1",
  "customer": "sample string 2",
  "depot": "sample string 3",
  "driver": {
    "id": 1,
    "username": "sample string 2"
  },
  "deliveryNote": {
    "actualWeight": 1,
    "estimatedWeight": 2,
    "id": 3,
    "name": "sample string 4",
    "modified": "2024-07-27T04:47:46.8385897+02:00",
    "modifiedById": 6
  },
  "lastUpdate": "2024-07-27T04:47:46.8385897+02:00",
  "log": null,
  "plantation": "sample string 5",
  "trailerRegNo": "sample string 6",
  "truckRegNo": "sample string 7"
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Type 'myREST.Models.Operations.CheckResultLog' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Type 'myREST.Models.Operations.CheckResultLog' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.