GET ops/logistics/weighbridges

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Depot
NameDescriptionTypeAdditional information
Coordinates

Coordinates

None.

DepotType

string

None.

Id

integer

None.

Location

Location

None.

Name

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "coordinates": null,
    "depotType": "sample string 1",
    "id": 2,
    "location": {
      "coordinates": null,
      "id": 1,
      "name": "sample string 2",
      "description": "sample string 3",
      "parentID": 4
    },
    "name": "sample string 3"
  },
  {
    "coordinates": null,
    "depotType": "sample string 1",
    "id": 2,
    "location": {
      "coordinates": null,
      "id": 1,
      "name": "sample string 2",
      "description": "sample string 3",
      "parentID": 4
    },
    "name": "sample string 3"
  }
]

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Type 'MTO.Coordinates' 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 'MTO.Coordinates' 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.