getCompletionsResponse.json 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. {
  2. "data": [
  3. {
  4. "id": "6d12c473-26f6-4587-84ac-60ca0007f5d5",
  5. "type": "completion",
  6. "attributes": {
  7. "readyAt": "2017-05-11T15:49:47+02:00",
  8. "createdAt": "2017-05-11T13:49:58.882Z",
  9. "groups": [
  10. {
  11. "carrierReference": "1ZX6756Y6699434410",
  12. "carrierName": "UPS Web Services",
  13. "integrationId": "carrier-integration-ups-ws-v3"
  14. }
  15. ],
  16. "shipments": [
  17. {
  18. "id": "f27b43e7-a132-436e-be97-e4da3ef6b8f2",
  19. "status": "processed"
  20. }
  21. ],
  22. "totalShipments": 1,
  23. "customAttributes": {
  24. "carrierName": "United Parcel Services (UPS)"
  25. },
  26. "status": "processed",
  27. "modifiedAt": "2017-05-11T13:50:06.000Z"
  28. }
  29. },
  30. {
  31. "id": "181f571b-8d79-4a6c-8233-8113a4327299",
  32. "type": "completion",
  33. "attributes": {
  34. "readyAt": "2017-05-11T19:01:09+10:00",
  35. "createdAt": "2017-05-11T09:02:02.553Z",
  36. "groups": [
  37. {
  38. "carrierReference": "1ZX6756Y6696207395",
  39. "carrierName": "UPS Web Services",
  40. "integrationId": "carrier-integration-ups-ws-v3"
  41. }
  42. ],
  43. "shipments": [
  44. {
  45. "id": "4b71fb1d-9248-4c13-a88f-76cc86203707",
  46. "status": "processed"
  47. },
  48. {
  49. "id": "5ba33c12-a27a-4f4a-a042-af126f6d9aad",
  50. "status": "processed"
  51. },
  52. {
  53. "id": "f1fad34c-3ea6-4c6b-a7fe-4345da01258b",
  54. "status": "processed"
  55. },
  56. {
  57. "id": "700ce4dc-df2d-4b61-baea-161191f2fe59",
  58. "status": "processed"
  59. }
  60. ],
  61. "totalShipments": 4,
  62. "customAttributes": {
  63. "carrierName": "United Parcel Services (UPS)"
  64. },
  65. "status": "processed",
  66. "modifiedAt": "2017-05-11T09:02:08.000Z"
  67. }
  68. },
  69. {
  70. "id": "6c1961b9-cd9f-403d-bf82-21428eca5aef",
  71. "type": "completion",
  72. "attributes": {
  73. "readyAt": "2017-01-01T00:00:01Z",
  74. "createdAt": "2017-05-10T13:26:59.677Z",
  75. "$schema": "http://completions.temando.com/schema/api/completionAttributes+v1#",
  76. "shipments": [
  77. {
  78. "id": "410a2ba0-126b-4cbb-bfec-24d88c4f000b",
  79. "status": "fetched"
  80. },
  81. {
  82. "id": "752a4b23-f62f-4063-b28d-f772ad5cb4c8",
  83. "status": "fetched"
  84. },
  85. {
  86. "id": "b6458c32-67cc-435d-b24f-aa019fca5439",
  87. "status": "fetched"
  88. }
  89. ],
  90. "totalShipments": 3,
  91. "customAttributes": {
  92. "carrierName": "UPS TEST"
  93. },
  94. "status": "fetched",
  95. "modifiedAt": "2017-05-10T13:27:03.000Z"
  96. }
  97. }
  98. ]
  99. }