GET breeze/RouteApi/Depots

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Depot
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Address

Address

None.

AddressId

integer

None.

Company

Company

None.

CompanyId

integer

None.

Locations

Collection of DepotLocation

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "$type": "EosWeb.Models.Depot, EosWeb",
    "Id": 1,
    "Name": "sample string 2",
    "Address": {
      "$type": "EosWeb.Models.Address, EosWeb",
      "Id": 1,
      "Street": "sample string 2",
      "Town": "sample string 3",
      "Postcode": "sample string 4",
      "Country": "sample string 5",
      "Phone": "sample string 6",
      "Email": "sample string 7",
      "Code": "sample string 8",
      "ContactName": "sample string 9",
      "Lookups": [
        {
          "$id": "2",
          "$type": "EosWeb.Models.Lookup, EosWeb",
          "Id": 1,
          "Data": "sample string 2",
          "Type": "ROUNDING"
        },
        {
          "$ref": "2"
        }
      ],
      "StreetFormat": "sample string 2;",
      "FullAddress": "sample string 2\r\nsample string 3\r\nsample string 5\r\nsample string 4",
      "LongAddress": "sample string 2, sample string 3, sample string 5, sample string 4"
    },
    "AddressId": 3,
    "Company": {
      "$id": "3",
      "$type": "EosWeb.Models.Companies.Company, EosWeb",
      "Id": 1,
      "CompanyName": "sample string 2",
      "Address": {
        "$type": "EosWeb.Models.Address, EosWeb",
        "Id": 1,
        "Street": "sample string 2",
        "Town": "sample string 3",
        "Postcode": "sample string 4",
        "Country": "sample string 5",
        "Phone": "sample string 6",
        "Email": "sample string 7",
        "Code": "sample string 8",
        "ContactName": "sample string 9",
        "Lookups": [
          {
            "$ref": "2"
          },
          {
            "$ref": "2"
          }
        ],
        "StreetFormat": "sample string 2;",
        "FullAddress": "sample string 2\r\nsample string 3\r\nsample string 5\r\nsample string 4",
        "LongAddress": "sample string 2, sample string 3, sample string 5, sample string 4"
      },
      "AddressId": 3,
      "Logo": {
        "$type": "System.Byte[], mscorlib",
        "$value": "QEA="
      },
      "CompanyTypes": "Consigner",
      "LinkedCompanys": [
        {
          "$id": "4",
          "$type": "EosWeb.Models.LinkedCompany, EosWeb",
          "Id": 1,
          "CompanyRef": "sample string 2",
          "Link": {
            "$ref": "3"
          },
          "LinkId": 1,
          "Company": {
            "$ref": "3"
          },
          "CompanyId": 3,
          "Services": [
            {
              "$id": "5",
              "$type": "EosWeb.Models.ServiceType, EosWeb",
              "Id": 1,
              "Name": "sample string 2",
              "ImportValue": "sample string 3",
              "Start": "2017-12-14T20:54:38.972+00:00",
              "End": "2017-12-14T20:54:38.972+00:00",
              "ChargeBy": "None",
              "Cost": 4.0
            },
            {
              "$ref": "5"
            }
          ],
          "CompanyMemberType": "Consigner"
        },
        {
          "$ref": "4"
        }
      ],
      "UnitTypes": [
        {
          "$id": "6",
          "$type": "EosWeb.Models.UnitType, EosWeb",
          "Id": 1,
          "Order": 2,
          "Name": "sample string 3",
          "ImportValue": "sample string 4",
          "Cube": 5.0,
          "Weight": 6.0
        },
        {
          "$ref": "6"
        }
      ],
      "ServiceTypes": [
        {
          "$ref": "5"
        },
        {
          "$ref": "5"
        }
      ],
      "Users": [
        {
          "$id": "7",
          "$type": "EosWeb.Models.ApplicationUser, EosWeb",
          "Imports": [
            {
              "$id": "8",
              "$type": "EosWeb.Models.Import, EosWeb",
              "Id": 1,
              "ImportType": "Order",
              "Columns": [
                {
                  "$id": "9",
                  "$type": "EosWeb.Models.ImportColumn, EosWeb",
                  "Id": 1,
                  "ColumnOrder": 2,
                  "ColumnProperty": "sample string 3"
                },
                {
                  "$ref": "9"
                }
              ]
            },
            {
              "$ref": "8"
            }
          ],
          "Company": {
            "$ref": "3"
          },
          "CompanyId": 1,
          "Address": {
            "$type": "EosWeb.Models.Address, EosWeb",
            "Id": 1,
            "Street": "sample string 2",
            "Town": "sample string 3",
            "Postcode": "sample string 4",
            "Country": "sample string 5",
            "Phone": "sample string 6",
            "Email": "sample string 7",
            "Code": "sample string 8",
            "ContactName": "sample string 9",
            "Lookups": [
              {
                "$ref": "2"
              },
              {
                "$ref": "2"
              }
            ],
            "StreetFormat": "sample string 2;",
            "FullAddress": "sample string 2\r\nsample string 3\r\nsample string 5\r\nsample string 4",
            "LongAddress": "sample string 2, sample string 3, sample string 5, sample string 4"
          },
          "AddressId": 1,
          "Email": "sample string 2",
          "EmailConfirmed": true,
          "PasswordHash": "sample string 4",
          "SecurityStamp": "sample string 5",
          "PhoneNumber": "sample string 6",
          "PhoneNumberConfirmed": true,
          "TwoFactorEnabled": true,
          "LockoutEndDateUtc": "2017-12-14T20:54:38.972+00:00",
          "LockoutEnabled": true,
          "AccessFailedCount": 10,
          "Roles": [],
          "Claims": [],
          "Logins": [],
          "Id": "sample string 11",
          "UserName": "sample string 12"
        },
        {
          "$ref": "7"
        }
      ],
      "Depots": [
        {
          "$ref": "1"
        },
        {
          "$ref": "1"
        }
      ],
      "TomTomQueueResults": [
        {
          "$id": "10",
          "$type": "EosWeb.Models.TomTomQueueResult, EosWeb",
          "Id": 1,
          "CompanyId": 2,
          "Company": {
            "$ref": "3"
          },
          "distance": 1,
          "driverNo": "sample string 3",
          "eta": "2017-12-14T20:54:38.972+00:00",
          "msgTime": "2017-12-14T20:54:38.972+00:00",
          "msgText": "sample string 4",
          "msgType": 5,
          "objectNo": "sample string 6",
          "orderAddrNo": "sample string 7",
          "orderNo": "sample string 8",
          "orderState": "sample string 9",
          "orderType": "sample string 10",
          "posAddrNo": "sample string 11",
          "latitude": 1,
          "longitude": 1,
          "posCountry": "sample string 12",
          "posPostcode": "sample string 13",
          "posTime": "2017-12-14T20:54:38.972+00:00",
          "posText": "sample string 14",
          "speed": 15,
          "status": "sample string 16",
          "userStatus": "sample string 17",
          "userText": "sample string 18"
        },
        {
          "$ref": "10"
        }
      ],
      "TomTomStatuses": [
        {
          "$id": "11",
          "$type": "EosWeb.Models.TomTomStatus, EosWeb",
          "Id": 1,
          "Text": "sample string 2",
          "Type": "sample string 3",
          "Order": 4,
          "Action": "NotSet"
        },
        {
          "$ref": "11"
        }
      ],
      "Vehicles": [
        {
          "$id": "12",
          "$type": "EosWeb.Models.Vehicle, EosWeb",
          "Id": 1,
          "Reg": "sample string 2",
          "IsTomTom": true
        },
        {
          "$ref": "12"
        }
      ],
      "Feedback": [
        {
          "$id": "13",
          "$type": "EosWeb.Models.Exchange.Feedback, EosWeb",
          "Id": 1,
          "Order": {
            "$id": "14",
            "$type": "EosWeb.Models.Booking.Order, EosWeb",
            "Id": 1,
            "Created": "2017-12-14T20:54:38.972+00:00",
            "OrderNumber": "sample string 2",
            "OrderType": "Collection",
            "CompanyOrders": [
              {
                "$id": "15",
                "$type": "EosWeb.Models.Companies.CompanyOrder, EosWeb",
                "Id": 1,
                "Created": "2017-12-14T20:54:38.972+00:00",
                "Service": {
                  "$ref": "5"
                },
                "ServiceId": 1,
                "Costs": [
                  {
                    "$id": "16",
                    "$type": "EosWeb.Models.Companies.Cost, EosWeb",
                    "Id": 1,
                    "UnitCost": 2.0,
                    "Units": 3.0,
                    "Description": "sample string 4",
                    "CostType": "None"
                  },
                  {
                    "$ref": "16"
                  }
                ],
                "Order": {
                  "$ref": "14"
                },
                "OrderId": 2,
                "Company": {
                  "$ref": "3"
                },
                "CompanyId": 3,
                "Customer": {
                  "$ref": "3"
                },
                "CustomerId": 1,
                "Cost": 12.0
              },
              {
                "$ref": "15"
              }
            ],
            "ConsignmentUnits": [
              {
                "$id": "17",
                "$type": "EosWeb.Models.ConsignmentUnit, EosWeb",
                "Id": 1,
                "Cube": 2.0,
                "Weight": 3.0,
                "UnitType": {
                  "$ref": "6"
                },
                "ExternalBarcode": "sample string 4",
                "Order": {
                  "$ref": "14"
                },
                "Order_Id": 1,
                "Barcode": "0000000001001"
              },
              {
                "$ref": "17"
              }
            ],
            "Manifest": {
              "$id": "18",
              "$type": "EosWeb.Models.Booking.Manifest, EosWeb",
              "Id": 1,
              "ManifestNumber": "sample string 2",
              "Created": "2017-12-14T20:54:38.972+00:00",
              "Bookings": [
                {
                  "$ref": "14"
                },
                {
                  "$ref": "14"
                }
              ],
              "Company": {
                "$ref": "3"
              },
              "CompanyId": 1,
              "UnitCount": 4,
              "Count": 2
            },
            "Manifest_Id": 1,
            "CollectionId": 1,
            "Collection": {
              "$id": "19",
              "$type": "EosWeb.Models.Booking.Leg, EosWeb",
              "Id": 1,
              "From": "2017-12-14T20:54:38.972+00:00",
              "To": "2017-12-14T20:54:38.972+00:00",
              "Reference": "sample string 2",
              "DateType": "On",
              "LegUnits": [
                {
                  "$id": "20",
                  "$type": "EosWeb.Models.LegUnit, EosWeb",
                  "Id": 1,
                  "Created": "2017-12-14T20:54:38.972+00:00",
                  "ConsignmentUnit": {
                    "$ref": "17"
                  },
                  "ConsignmentUnit_Id": 1,
                  "Scanner": {
                    "$ref": "7"
                  },
                  "Scanner_Id": "sample string 3",
                  "Leg": {
                    "$ref": "19"
                  },
                  "Leg_Id": 1
                },
                {
                  "$ref": "20"
                }
              ],
              "AddressId": 3,
              "Address": {
                "$type": "EosWeb.Models.Address, EosWeb",
                "Id": 1,
                "Street": "sample string 2",
                "Town": "sample string 3",
                "Postcode": "sample string 4",
                "Country": "sample string 5",
                "Phone": "sample string 6",
                "Email": "sample string 7",
                "Code": "sample string 8",
                "ContactName": "sample string 9",
                "Lookups": [
                  {
                    "$ref": "2"
                  },
                  {
                    "$ref": "2"
                  }
                ],
                "StreetFormat": "sample string 2;",
                "FullAddress": "sample string 2\r\nsample string 3\r\nsample string 5\r\nsample string 4",
                "LongAddress": "sample string 2, sample string 3, sample string 5, sample string 4"
              },
              "POD": {
                "$id": "21",
                "$type": "EosWeb.Models.Routing.POD, EosWeb",
                "Id": 1,
                "Name": "sample string 2",
                "Created": "2017-12-14T20:54:38.972+00:00",
                "Signature": "sample string 4",
                "Leg": {
                  "$ref": "19"
                }
              },
              "RouteItem": {
                "$id": "22",
                "$type": "EosWeb.Models.RouteItem, EosWeb",
                "ConsignmentUnits": 4,
                "LegUnits": 4,
                "Address": {
                  "$type": "EosWeb.Models.Address, EosWeb",
                  "Id": 1,
                  "Street": "sample string 2",
                  "Town": "sample string 3",
                  "Postcode": "sample string 4",
                  "Country": "sample string 5",
                  "Phone": "sample string 6",
                  "Email": "sample string 7",
                  "Code": "sample string 8",
                  "ContactName": "sample string 9",
                  "Lookups": [
                    {
                      "$ref": "2"
                    },
                    {
                      "$ref": "2"
                    }
                  ],
                  "StreetFormat": "sample string 2;",
                  "FullAddress": "sample string 2\r\nsample string 3\r\nsample string 5\r\nsample string 4",
                  "LongAddress": "sample string 2, sample string 3, sample string 5, sample string 4"
                },
                "Id": 1,
                "Order": 2,
                "Duration": 1,
                "Waiting": 1.0,
                "Date": "2017-12-14T20:54:38.972+00:00",
                "Depart": "2017-12-14T20:54:38.972+00:00",
                "Distance": 1.0,
                "IsCollection": true,
                "Depot": {
                  "$id": "23",
                  "$type": "EosWeb.Models.RouteDepot, EosWeb",
                  "Id": 1,
                  "Closed": "2017-12-14T20:54:38.972+00:00",
                  "Legs": [
                    {
                      "$ref": "19"
                    },
                    {
                      "$ref": "19"
                    }
                  ],
                  "Type": 2,
                  "Depot": {
                    "$ref": "1"
                  },
                  "DepotId": 1,
                  "Route": {
                    "$id": "24",
                    "$type": "EosWeb.Models.Route, EosWeb",
                    "LegCount": 2,
                    "ConsignmentUnits": 8,
                    "LegUnits": 8,
                    "Id": 1,
                    "RouteNumber": "sample string 2",
                    "Date": "2017-12-14T20:54:38.972+00:00",
                    "Legs": [
                      {
                        "$ref": "22"
                      },
                      {
                        "$ref": "22"
                      }
                    ],
                    "Vehicle": {
                      "$ref": "12"
                    },
                    "VehicleId": 1,
                    "Driver": {
                      "$ref": "7"
                    },
                    "DriverId": "sample string 3",
                    "Company": {
                      "$ref": "3"
                    },
                    "CompanyId": 1,
                    "Load": {
                      "$ref": "1"
                    },
                    "LoadId": 1,
                    "Unload": {
                      "$ref": "1"
                    },
                    "UnloadId": 1
                  },
                  "RouteId": 1
                },
                "DepotId": 1,
                "Route": {
                  "$ref": "24"
                },
                "RouteId": 1,
                "Legs": [
                  {
                    "$ref": "19"
                  },
                  {
                    "$ref": "19"
                  }
                ]
              },
              "CollectionFor": [
                {
                  "$ref": "14"
                },
                {
                  "$ref": "14"
                }
              ],
              "DeliveryFor": [
                {
                  "$ref": "14"
                },
                {
                  "$ref": "14"
                }
              ],
              "LegType": "Collection",
              "ConsignmentUnits": [
                {
                  "$ref": "17"
                },
                {
                  "$ref": "17"
                }
              ],
              "Order": {
                "$ref": "14"
              },
              "BookedFor": " 14 Dec"
            },
            "DeliveryId": 1,
            "Delivery": {
              "$ref": "19"
            },
            "Cube": 4.0,
            "StockWeight": 6.0,
            "StockCount": 2
          },
          "Comments": "sample string 2",
          "Ratings": [
            {
              "$id": "25",
              "$type": "EosWeb.Models.Exchange.Rating, EosWeb",
              "Id": 1,
              "Criteria": "Payment",
              "Score": 2
            },
            {
              "$ref": "25"
            }
          ]
        },
        {
          "$ref": "13"
        }
      ],
      "LogoBase64": "data:image/png;base64,QEA="
    },
    "CompanyId": 1,
    "Locations": [
      {
        "$id": "26",
        "$type": "EosWeb.Models.DepotLocation, EosWeb",
        "Id": 1,
        "Name": "sample string 2",
        "Barcode": "sample string 3",
        "Master": 4,
        "Counts": [
          {
            "$id": "27",
            "$type": "EosWeb.Models.LocationCount, EosWeb",
            "Id": 1,
            "Location": {
              "$ref": "26"
            },
            "Date": "2017-12-14T20:54:38.972+00:00",
            "Products": [
              {
                "$id": "28",
                "$type": "EosWeb.Models.ProductLocationCount, EosWeb",
                "Id": 1,
                "Product": {
                  "$id": "29",
                  "$type": "EosWeb.Models.Product, EosWeb",
                  "Id": 1,
                  "Name": "sample string 2",
                  "Code": "sample string 3",
                  "ABC": "sample string 4",
                  "Description": "sample string 5",
                  "Height": 6.0,
                  "Length": 7.0,
                  "Width": 8.0,
                  "Weight": 9.0,
                  "Cube": 10.0,
                  "StockCount": 11.0,
                  "Cycle": 12,
                  "Unit": {
                    "$ref": "6"
                  },
                  "Deliveries": [
                    {
                      "$id": "30",
                      "$type": "EosWeb.Models.ProductDelivery, EosWeb",
                      "Id": 1,
                      "Product": {
                        "$ref": "29"
                      },
                      "Booking": {
                        "$ref": "14"
                      },
                      "Stock": {
                        "$ref": "20"
                      },
                      "Error": {
                        "$id": "31",
                        "$type": "EosWeb.Models.LegStockError, EosWeb",
                        "Id": 1,
                        "Message": "sample string 2",
                        "Code": "sample string 3"
                      },
                      "Locations": [
                        {
                          "$id": "32",
                          "$type": "EosWeb.Models.ProductDeliveryLocation, EosWeb",
                          "Id": 1,
                          "Location": {
                            "$ref": "26"
                          },
                          "Product": {
                            "$ref": "29"
                          },
                          "ProductDelivery": {
                            "$ref": "30"
                          },
                          "ScannedBy": {
                            "$ref": "7"
                          },
                          "Date": "2017-12-14T20:54:38.972+00:00",
                          "Count": 3,
                          "Error": {
                            "$ref": "31"
                          }
                        },
                        {
                          "$ref": "32"
                        }
                      ],
                      "Count": 2
                    },
                    {
                      "$ref": "30"
                    }
                  ],
                  "Counts": [
                    {
                      "$ref": "27"
                    },
                    {
                      "$ref": "27"
                    }
                  ]
                },
                "Location": {
                  "$ref": "26"
                },
                "Errors": [
                  {
                    "$id": "33",
                    "$type": "EosWeb.Models.ProductLocationCountError, EosWeb",
                    "Id": 1,
                    "Products": 2,
                    "Error": {
                      "$ref": "31"
                    }
                  },
                  {
                    "$ref": "33"
                  }
                ],
                "ScannedBy": {
                  "$ref": "7"
                },
                "Date": "2017-12-14T20:54:38.972+00:00",
                "Counted": 2,
                "Expected": 3
              },
              {
                "$ref": "28"
              }
            ]
          },
          {
            "$ref": "27"
          }
        ],
        "Movements": [
          {
            "$ref": "32"
          },
          {
            "$ref": "32"
          }
        ],
        "Depot": {
          "$ref": "1"
        },
        "DepotId": 5
      },
      {
        "$ref": "26"
      }
    ]
  },
  {
    "$ref": "1"
  }
]