356 lines
11 KiB
JSON
356 lines
11 KiB
JSON
{
|
|
"docs": [
|
|
{
|
|
"id": "660a8a0701275c2f8eb88344",
|
|
"dispatchesCode": "Tropical Tap Water",
|
|
"products": [
|
|
{
|
|
"id": "660a87b201275c2f8eb88302",
|
|
"productTitle": "Tote Bags",
|
|
"createdAt": "2024-04-01T10:08:50.417Z",
|
|
"updatedAt": "2024-04-01T10:08:50.417Z"
|
|
}
|
|
],
|
|
"typeOfTransportation": ["air"],
|
|
"courier": {
|
|
"id": "660a899501275c2f8eb8831b",
|
|
"name": "Daniel Aguilar Ruvalcaba",
|
|
"startingPoint": "Indonesia",
|
|
"destination": "Mexico",
|
|
"departureDate": "2024-04-15T06:00:00.000Z",
|
|
"arrivalDate": "2024-04-16T06:00:00.000Z",
|
|
"weightAllowance": 5,
|
|
"createdAt": "2024-04-01T10:16:53.455Z",
|
|
"updatedAt": "2024-04-01T10:16:53.455Z"
|
|
},
|
|
"timeSensitive": false,
|
|
"status": ["routeRequested"],
|
|
"createdAt": "2024-04-01T10:18:47.302Z",
|
|
"updatedAt": "2024-04-01T10:18:47.302Z"
|
|
},
|
|
{
|
|
"id": "66028d2a01275c2f8eb87e3a",
|
|
"dispatchesCode": "HQL-571",
|
|
"products": [
|
|
{
|
|
"id": "66028ee601275c2f8eb87e93",
|
|
"productTitle": "Acts of Departure: Dispatches from The Last Emporium",
|
|
"createdAt": "2024-03-26T09:01:26.239Z",
|
|
"updatedAt": "2024-03-26T09:01:26.239Z"
|
|
}
|
|
],
|
|
"startingPoint": {
|
|
"id": "66028ec901275c2f8eb87e76",
|
|
"name": "Display Distribute",
|
|
"location": [114.19163986185993, 22.31656075733971],
|
|
"products": [
|
|
{
|
|
"id": "65b0cefaafcaf765bddf4527",
|
|
"productTitle": "Product one",
|
|
"createdAt": "2024-01-24T08:48:58.369Z",
|
|
"updatedAt": "2024-01-24T08:48:58.369Z"
|
|
}
|
|
],
|
|
"createdAt": "2024-03-26T09:00:57.371Z",
|
|
"updatedAt": "2024-03-26T09:00:57.371Z"
|
|
},
|
|
"endPoint": {
|
|
"id": "65b0cf25afcaf765bddf4540",
|
|
"name": "Retailer one",
|
|
"location": [2.45, 48.9],
|
|
"products": [
|
|
{
|
|
"id": "65b0cefaafcaf765bddf4527",
|
|
"productTitle": "Product one",
|
|
"createdAt": "2024-01-24T08:48:58.369Z",
|
|
"updatedAt": "2024-01-24T08:48:58.369Z"
|
|
}
|
|
],
|
|
"createdAt": "2024-01-24T08:49:41.635Z",
|
|
"updatedAt": "2024-01-24T08:49:41.635Z"
|
|
},
|
|
"typeOfTransportation": ["air"],
|
|
"courier": {
|
|
"id": "66028b3801275c2f8eb87e22",
|
|
"name": "Shuang",
|
|
"startingPoint": "Chongqing",
|
|
"destination": "Hong Kong",
|
|
"departureDate": "2024-03-26T16:00:00.000Z",
|
|
"arrivalDate": "2024-03-27T16:00:00.000Z",
|
|
"weightAllowance": 2,
|
|
"createdAt": "2024-03-26T08:45:44.841Z",
|
|
"updatedAt": "2024-03-26T09:04:46.105Z"
|
|
},
|
|
"status": ["completed"],
|
|
"createdAt": "2024-03-26T08:54:02.444Z",
|
|
"updatedAt": "2024-03-26T09:05:05.667Z"
|
|
},
|
|
{
|
|
"id": "65db4a5af1b7d726bba2ebe4",
|
|
"dispatchesCode": "007",
|
|
"products": [
|
|
{
|
|
"id": "65b0cefaafcaf765bddf4527",
|
|
"productTitle": "Product one",
|
|
"createdAt": "2024-01-24T08:48:58.369Z",
|
|
"updatedAt": "2024-01-24T08:48:58.369Z"
|
|
}
|
|
],
|
|
"startingPoint": {
|
|
"id": "65b0cff2afcaf765bddf45a8",
|
|
"name": "Maker 3",
|
|
"location": [106, -6.2],
|
|
"products": [
|
|
{
|
|
"id": "65b0cefaafcaf765bddf4527",
|
|
"productTitle": "Product one",
|
|
"createdAt": "2024-01-24T08:48:58.369Z",
|
|
"updatedAt": "2024-01-24T08:48:58.369Z"
|
|
}
|
|
],
|
|
"createdAt": "2024-01-24T08:53:06.945Z",
|
|
"updatedAt": "2024-01-24T08:53:06.945Z"
|
|
},
|
|
"endPoint": {
|
|
"id": "65b0cf25afcaf765bddf4540",
|
|
"name": "Retailer one",
|
|
"location": [2.45, 48.9],
|
|
"products": [
|
|
{
|
|
"id": "65b0cefaafcaf765bddf4527",
|
|
"productTitle": "Product one",
|
|
"createdAt": "2024-01-24T08:48:58.369Z",
|
|
"updatedAt": "2024-01-24T08:48:58.369Z"
|
|
}
|
|
],
|
|
"createdAt": "2024-01-24T08:49:41.635Z",
|
|
"updatedAt": "2024-01-24T08:49:41.635Z"
|
|
},
|
|
"courier": {
|
|
"id": "65b0ced0afcaf765bddf4503",
|
|
"name": "Joost the Courier",
|
|
"createdAt": "2024-01-24T08:48:16.461Z",
|
|
"updatedAt": "2024-01-24T08:48:16.461Z"
|
|
},
|
|
"timeSensitive": true,
|
|
"status": ["routeRequested"],
|
|
"createdAt": "2024-02-25T14:10:34.727Z",
|
|
"updatedAt": "2024-02-25T19:24:29.046Z",
|
|
"typeOfTransportation": ["car"]
|
|
},
|
|
{
|
|
"id": "65b0d0aeafcaf765bddf4671",
|
|
"dispatchesCode": "004",
|
|
"products": [
|
|
{
|
|
"id": "65b0cefaafcaf765bddf4527",
|
|
"productTitle": "Product one",
|
|
"createdAt": "2024-01-24T08:48:58.369Z",
|
|
"updatedAt": "2024-01-24T08:48:58.369Z"
|
|
}
|
|
],
|
|
"startingPoint": {
|
|
"id": "65b0cfd9afcaf765bddf4596",
|
|
"name": "Maker Two",
|
|
"location": [0.128, 51.5],
|
|
"products": [
|
|
{
|
|
"id": "65b0cefaafcaf765bddf4527",
|
|
"productTitle": "Product one",
|
|
"createdAt": "2024-01-24T08:48:58.369Z",
|
|
"updatedAt": "2024-01-24T08:48:58.369Z"
|
|
}
|
|
],
|
|
"createdAt": "2024-01-24T08:52:41.057Z",
|
|
"updatedAt": "2024-01-24T08:52:41.057Z"
|
|
},
|
|
"endPoint": {
|
|
"id": "65b0cf7eafcaf765bddf4564",
|
|
"name": "Retailer 3",
|
|
"location": [9.19, 45.5],
|
|
"products": [
|
|
{
|
|
"id": "65b0cefaafcaf765bddf4527",
|
|
"productTitle": "Product one",
|
|
"createdAt": "2024-01-24T08:48:58.369Z",
|
|
"updatedAt": "2024-01-24T08:48:58.369Z"
|
|
}
|
|
],
|
|
"createdAt": "2024-01-24T08:51:10.008Z",
|
|
"updatedAt": "2024-01-24T08:51:10.008Z"
|
|
},
|
|
"courier": {
|
|
"id": "65b0ced0afcaf765bddf4503",
|
|
"name": "Joost the Courier",
|
|
"createdAt": "2024-01-24T08:48:16.461Z",
|
|
"updatedAt": "2024-01-24T08:48:16.461Z"
|
|
},
|
|
"status": ["routeRequested"],
|
|
"createdAt": "2024-01-24T08:56:14.210Z",
|
|
"updatedAt": "2024-01-24T08:56:14.210Z"
|
|
},
|
|
{
|
|
"id": "65b0d099afcaf765bddf4640",
|
|
"dispatchesCode": "003",
|
|
"products": [
|
|
{
|
|
"id": "65b0cefaafcaf765bddf4527",
|
|
"productTitle": "Product one",
|
|
"createdAt": "2024-01-24T08:48:58.369Z",
|
|
"updatedAt": "2024-01-24T08:48:58.369Z"
|
|
}
|
|
],
|
|
"startingPoint": {
|
|
"id": "65b0cff2afcaf765bddf45a8",
|
|
"name": "Maker 3",
|
|
"location": [106, -6.2],
|
|
"products": [
|
|
{
|
|
"id": "65b0cefaafcaf765bddf4527",
|
|
"productTitle": "Product one",
|
|
"createdAt": "2024-01-24T08:48:58.369Z",
|
|
"updatedAt": "2024-01-24T08:48:58.369Z"
|
|
}
|
|
],
|
|
"createdAt": "2024-01-24T08:53:06.945Z",
|
|
"updatedAt": "2024-01-24T08:53:06.945Z"
|
|
},
|
|
"endPoint": {
|
|
"id": "65b0cf6bafcaf765bddf4552",
|
|
"name": "Retailer two",
|
|
"location": [-74, 40.7],
|
|
"products": [
|
|
{
|
|
"id": "65b0cefaafcaf765bddf4527",
|
|
"productTitle": "Product one",
|
|
"createdAt": "2024-01-24T08:48:58.369Z",
|
|
"updatedAt": "2024-01-24T08:48:58.369Z"
|
|
}
|
|
],
|
|
"createdAt": "2024-01-24T08:50:51.876Z",
|
|
"updatedAt": "2024-01-24T08:50:51.876Z"
|
|
},
|
|
"courier": {
|
|
"id": "65b0ced0afcaf765bddf4503",
|
|
"name": "Joost the Courier",
|
|
"createdAt": "2024-01-24T08:48:16.461Z",
|
|
"updatedAt": "2024-01-24T08:48:16.461Z"
|
|
},
|
|
"status": ["completed"],
|
|
"createdAt": "2024-01-24T08:55:53.951Z",
|
|
"updatedAt": "2024-01-24T08:55:53.951Z"
|
|
},
|
|
{
|
|
"id": "65b0d07cafcaf765bddf460f",
|
|
"dispatchesCode": "002",
|
|
"products": [
|
|
{
|
|
"id": "65b0cefaafcaf765bddf4527",
|
|
"productTitle": "Product one",
|
|
"createdAt": "2024-01-24T08:48:58.369Z",
|
|
"updatedAt": "2024-01-24T08:48:58.369Z"
|
|
}
|
|
],
|
|
"startingPoint": {
|
|
"id": "65b0d00dafcaf765bddf45ba",
|
|
"name": "Fahad the Artist",
|
|
"location": [-6.84, 33.9],
|
|
"products": [
|
|
{
|
|
"id": "65b0cefaafcaf765bddf4527",
|
|
"productTitle": "Product one",
|
|
"createdAt": "2024-01-24T08:48:58.369Z",
|
|
"updatedAt": "2024-01-24T08:48:58.369Z"
|
|
}
|
|
],
|
|
"createdAt": "2024-01-24T08:53:33.106Z",
|
|
"updatedAt": "2024-01-24T08:53:33.106Z"
|
|
},
|
|
"endPoint": {
|
|
"id": "65b0cf25afcaf765bddf4540",
|
|
"name": "Retailer one",
|
|
"location": [2.45, 48.9],
|
|
"products": [
|
|
{
|
|
"id": "65b0cefaafcaf765bddf4527",
|
|
"productTitle": "Product one",
|
|
"createdAt": "2024-01-24T08:48:58.369Z",
|
|
"updatedAt": "2024-01-24T08:48:58.369Z"
|
|
}
|
|
],
|
|
"createdAt": "2024-01-24T08:49:41.635Z",
|
|
"updatedAt": "2024-01-24T08:49:41.635Z"
|
|
},
|
|
"courier": {
|
|
"id": "65b0ced0afcaf765bddf4503",
|
|
"name": "Joost the Courier",
|
|
"createdAt": "2024-01-24T08:48:16.461Z",
|
|
"updatedAt": "2024-01-24T08:48:16.461Z"
|
|
},
|
|
"status": ["routeRequested"],
|
|
"createdAt": "2024-01-24T08:55:24.797Z",
|
|
"updatedAt": "2024-01-24T08:55:24.797Z"
|
|
},
|
|
{
|
|
"id": "65b0d05cafcaf765bddf45de",
|
|
"dispatchesCode": "Random-string-maybe-better-to-use-the-ID",
|
|
"products": [
|
|
{
|
|
"id": "65b0cefaafcaf765bddf4527",
|
|
"productTitle": "Product one",
|
|
"createdAt": "2024-01-24T08:48:58.369Z",
|
|
"updatedAt": "2024-01-24T08:48:58.369Z"
|
|
}
|
|
],
|
|
"startingPoint": {
|
|
"id": "65b0cfd9afcaf765bddf4596",
|
|
"name": "Maker Two",
|
|
"location": [0.128, 51.5],
|
|
"products": [
|
|
{
|
|
"id": "65b0cefaafcaf765bddf4527",
|
|
"productTitle": "Product one",
|
|
"createdAt": "2024-01-24T08:48:58.369Z",
|
|
"updatedAt": "2024-01-24T08:48:58.369Z"
|
|
}
|
|
],
|
|
"createdAt": "2024-01-24T08:52:41.057Z",
|
|
"updatedAt": "2024-01-24T08:52:41.057Z"
|
|
},
|
|
"endPoint": {
|
|
"id": "65b0cf7eafcaf765bddf4564",
|
|
"name": "Retailer 3",
|
|
"location": [9.19, 45.5],
|
|
"products": [
|
|
{
|
|
"id": "65b0cefaafcaf765bddf4527",
|
|
"productTitle": "Product one",
|
|
"createdAt": "2024-01-24T08:48:58.369Z",
|
|
"updatedAt": "2024-01-24T08:48:58.369Z"
|
|
}
|
|
],
|
|
"createdAt": "2024-01-24T08:51:10.008Z",
|
|
"updatedAt": "2024-01-24T08:51:10.008Z"
|
|
},
|
|
"courier": {
|
|
"id": "65b0ced0afcaf765bddf4503",
|
|
"name": "Joost the Courier",
|
|
"createdAt": "2024-01-24T08:48:16.461Z",
|
|
"updatedAt": "2024-01-24T08:48:16.461Z"
|
|
},
|
|
"status": ["inTransit"],
|
|
"createdAt": "2024-01-24T08:54:52.811Z",
|
|
"updatedAt": "2024-01-24T08:54:52.811Z"
|
|
}
|
|
],
|
|
"totalDocs": 7,
|
|
"limit": 10,
|
|
"totalPages": 1,
|
|
"page": 1,
|
|
"pagingCounter": 1,
|
|
"hasPrevPage": false,
|
|
"hasNextPage": false,
|
|
"prevPage": null,
|
|
"nextPage": null
|
|
}
|