From b91317fc4002d07ecff49915f2cad7e04b70496f Mon Sep 17 00:00:00 2001 From: Akshay Dodeja Date: Fri, 16 Oct 2026 15:59:19 -0700 Subject: [PATCH 01/27] feat(sdk): export the party role, container update, party, and custom field value types addPartyRole on containers and shipments, containers.update, parties.create and parties.update, and the setCustomField methods take types derived from the spec, but none of those types were exported, so callers could not name what they pass. Export ContainerAddPartyRoleParams, ShipmentAddPartyRoleParams, ContainerUpdateAttributes, PartyAttributes, and CustomFieldValue. The three managers share CustomFieldValue from the models module instead of each declaring its own copy. The containers.update test now sends every attribute the spec documents for PATCH /containers/{id}, and a type test pins the new exports. Co-Authored-By: Claude Opus 5.5 --- docs/docs.json | 9 ++++++-- docs/sdk/reference/client/index.mdx | 6 ++++++ .../managers/classes/ContainerManager.mdx | 4 ++-- .../managers/classes/ShipmentManager.mdx | 2 +- docs/sdk/reference/client/managers/index.mdx | 3 +++ .../ContainerAddPartyRoleParams.mdx | 14 +++++++++++++ .../interfaces/ShipmentAddPartyRoleParams.mdx | 14 +++++++++++++ .../ContainerUpdateAttributes.mdx | 9 ++++++++ .../client/type-aliases/PartyAttributes.mdx | 9 ++++++++ docs/sdk/reference/types/models/index.mdx | 6 ++++++ .../models/interfaces/CurrentCredential.mdx | 2 +- .../models/type-aliases/CustomFieldValue.mdx | 9 ++++++++ sdks/typescript-sdk/src/client.ts | 9 ++++---- .../src/client.write-endpoints.test.ts | 18 ++++++++++++++-- .../src/client/managers/containers.ts | 14 ++++++------- .../src/client/managers/shipments.ts | 9 ++++---- .../src/client/managers/tracking-requests.ts | 5 +---- sdks/typescript-sdk/src/exports.test-d.ts | 21 +++++++++++++++++++ sdks/typescript-sdk/src/types/models.ts | 5 +++++ 19 files changed, 140 insertions(+), 28 deletions(-) create mode 100644 docs/sdk/reference/client/managers/interfaces/ContainerAddPartyRoleParams.mdx create mode 100644 docs/sdk/reference/client/managers/interfaces/ShipmentAddPartyRoleParams.mdx create mode 100644 docs/sdk/reference/client/managers/type-aliases/ContainerUpdateAttributes.mdx create mode 100644 docs/sdk/reference/client/type-aliases/PartyAttributes.mdx create mode 100644 docs/sdk/reference/types/models/type-aliases/CustomFieldValue.mdx create mode 100644 sdks/typescript-sdk/src/exports.test-d.ts diff --git a/docs/docs.json b/docs/docs.json index c21a778a..8a4bbb89 100644 --- a/docs/docs.json +++ b/docs/docs.json @@ -422,7 +422,8 @@ "sdk/reference/client/interfaces/VesselFuturePositionsParams", "sdk/reference/client/interfaces/VesselFuturePositionsWithCoordsParams", "sdk/reference/client/interfaces/WebhookNotificationGetOptions", - "sdk/reference/client/interfaces/WebhookNotificationListOptions" + "sdk/reference/client/interfaces/WebhookNotificationListOptions", + "sdk/reference/client/type-aliases/PartyAttributes" ] }, { @@ -437,11 +438,14 @@ "sdk/reference/client/managers/classes/ShipmentManager", "sdk/reference/client/managers/classes/ShippingLineManager", "sdk/reference/client/managers/classes/TrackingRequestManager", + "sdk/reference/client/managers/interfaces/ContainerAddPartyRoleParams", "sdk/reference/client/managers/interfaces/CreateDocumentParams", "sdk/reference/client/managers/interfaces/CreateTrackingRequestFromInferOptions", "sdk/reference/client/managers/interfaces/DocumentListFilters", + "sdk/reference/client/managers/interfaces/ShipmentAddPartyRoleParams", "sdk/reference/client/managers/interfaces/TrackingRequestListFilters", "sdk/reference/client/managers/interfaces/UpdateDocumentParams", + "sdk/reference/client/managers/type-aliases/ContainerUpdateAttributes", "sdk/reference/client/managers/type-aliases/DocumentRotation", "sdk/reference/client/managers/type-aliases/TrackingRequestType" ] @@ -497,7 +501,8 @@ "sdk/reference/types/models/interfaces/Shipment", "sdk/reference/types/models/interfaces/ShippingLine", "sdk/reference/types/models/interfaces/TrackingRequest", - "sdk/reference/types/models/interfaces/TrackingSlots" + "sdk/reference/types/models/interfaces/TrackingSlots", + "sdk/reference/types/models/type-aliases/CustomFieldValue" ] }, { diff --git a/docs/sdk/reference/client/index.mdx b/docs/sdk/reference/client/index.mdx index fc5273e7..1e0ce367 100644 --- a/docs/sdk/reference/client/index.mdx +++ b/docs/sdk/reference/client/index.mdx @@ -33,3 +33,9 @@ description: "Reference index for the Terminal49 TypeScript SDK client module, l | [VesselFuturePositionsWithCoordsParams](/sdk/reference/client/interfaces/VesselFuturePositionsWithCoordsParams) | Parameters for [Terminal49Client.getVesselFuturePositionsWithCoords](/sdk/reference/client/classes/Terminal49Client#getvesselfuturepositionswithcoords). | | [WebhookNotificationGetOptions](/sdk/reference/client/interfaces/WebhookNotificationGetOptions) | Options for [Terminal49Client.getWebhookNotification](/sdk/reference/client/classes/Terminal49Client#getwebhooknotification). | | [WebhookNotificationListOptions](/sdk/reference/client/interfaces/WebhookNotificationListOptions) | Options for [Terminal49Client.listWebhookNotifications](/sdk/reference/client/classes/Terminal49Client#listwebhooknotifications). | + +## Type Aliases + +| Type Alias | Description | +| ------ | ------ | +| [PartyAttributes](/sdk/reference/client/type-aliases/PartyAttributes) | Party attributes for `parties.create` and `parties.update`. | diff --git a/docs/sdk/reference/client/managers/classes/ContainerManager.mdx b/docs/sdk/reference/client/managers/classes/ContainerManager.mdx index 78806caf..178433b3 100644 --- a/docs/sdk/reference/client/managers/classes/ContainerManager.mdx +++ b/docs/sdk/reference/client/managers/classes/ContainerManager.mdx @@ -43,7 +43,7 @@ Assign a party to a container in the given role. | Parameter | Type | | ------ | ------ | | `id` | `string` | -| `__namedParameters` | `AddPartyRoleParams` | +| `__namedParameters` | [`ContainerAddPartyRoleParams`](/sdk/reference/client/managers/interfaces/ContainerAddPartyRoleParams) | | `options?` | [`CallOptions`](/sdk/reference/types/options/interfaces/CallOptions) | #### Returns @@ -338,7 +338,7 @@ one dimension, in one request (`GET /containers/summary`). > **update**(`id`, `attrs`, `options?`): `Promise`\<`any`\> -Update container attributes such as `ref_numbers`. +Update a container's `ref_numbers`, `seal_number`, equipment type, length, and height, or `weight_in_lbs`. #### Parameters diff --git a/docs/sdk/reference/client/managers/classes/ShipmentManager.mdx b/docs/sdk/reference/client/managers/classes/ShipmentManager.mdx index 28190248..9d4d9089 100644 --- a/docs/sdk/reference/client/managers/classes/ShipmentManager.mdx +++ b/docs/sdk/reference/client/managers/classes/ShipmentManager.mdx @@ -43,7 +43,7 @@ Assign a party to a shipment in the given role. | Parameter | Type | | ------ | ------ | | `id` | `string` | -| `__namedParameters` | `AddPartyRoleParams` | +| `__namedParameters` | [`ShipmentAddPartyRoleParams`](/sdk/reference/client/managers/interfaces/ShipmentAddPartyRoleParams) | | `options?` | [`CallOptions`](/sdk/reference/types/options/interfaces/CallOptions) | #### Returns diff --git a/docs/sdk/reference/client/managers/index.mdx b/docs/sdk/reference/client/managers/index.mdx index dda0eb58..c7a7db81 100644 --- a/docs/sdk/reference/client/managers/index.mdx +++ b/docs/sdk/reference/client/managers/index.mdx @@ -22,10 +22,12 @@ description: "Reference for the Terminal49 TypeScript SDK managers module: conta | Interface | Description | | ------ | ------ | +| [ContainerAddPartyRoleParams](/sdk/reference/client/managers/interfaces/ContainerAddPartyRoleParams) | Parameters for `addPartyRole`; `role` is limited to what the spec accepts on this route. | | [CreateDocumentParams](/sdk/reference/client/managers/interfaces/CreateDocumentParams) | Attributes accepted by [DocumentManager.create](/sdk/reference/client/managers/classes/DocumentManager#create). | | [CreateTrackingRequestFromInferOptions](/sdk/reference/client/managers/interfaces/CreateTrackingRequestFromInferOptions) | - | | [DocumentListFilters](/sdk/reference/client/managers/interfaces/DocumentListFilters) | Filters accepted by [DocumentManager.list](/sdk/reference/client/managers/classes/DocumentManager#list). | | [IterateOptions](/sdk/reference/client/managers/interfaces/IterateOptions) | Options accepted by BaseManager.createIterator. | +| [ShipmentAddPartyRoleParams](/sdk/reference/client/managers/interfaces/ShipmentAddPartyRoleParams) | Parameters for `addPartyRole`; `role` is limited to what the spec accepts on this route. | | [TrackingRequestListFilters](/sdk/reference/client/managers/interfaces/TrackingRequestListFilters) | - | | [UpdateDocumentParams](/sdk/reference/client/managers/interfaces/UpdateDocumentParams) | Attributes accepted by [DocumentManager.update](/sdk/reference/client/managers/classes/DocumentManager#update). | @@ -33,6 +35,7 @@ description: "Reference for the Terminal49 TypeScript SDK managers module: conta | Type Alias | Description | | ------ | ------ | +| [ContainerUpdateAttributes](/sdk/reference/client/managers/type-aliases/ContainerUpdateAttributes) | Writable container attributes for `update`. | | [DocumentRotation](/sdk/reference/client/managers/type-aliases/DocumentRotation) | - | | [TrackingRequestType](/sdk/reference/client/managers/type-aliases/TrackingRequestType) | - | diff --git a/docs/sdk/reference/client/managers/interfaces/ContainerAddPartyRoleParams.mdx b/docs/sdk/reference/client/managers/interfaces/ContainerAddPartyRoleParams.mdx new file mode 100644 index 00000000..9cd01608 --- /dev/null +++ b/docs/sdk/reference/client/managers/interfaces/ContainerAddPartyRoleParams.mdx @@ -0,0 +1,14 @@ +--- +title: "Interface: ContainerAddPartyRoleParams" +--- + +# Interface: ContainerAddPartyRoleParams + +Parameters for `addPartyRole`; `role` is limited to what the spec accepts on this route. + +## Properties + +| Property | Type | +| ------ | ------ | +| `partyId` | `string` | +| `role` | `"pickup_dray_carrier"` | diff --git a/docs/sdk/reference/client/managers/interfaces/ShipmentAddPartyRoleParams.mdx b/docs/sdk/reference/client/managers/interfaces/ShipmentAddPartyRoleParams.mdx new file mode 100644 index 00000000..cbaf9ac8 --- /dev/null +++ b/docs/sdk/reference/client/managers/interfaces/ShipmentAddPartyRoleParams.mdx @@ -0,0 +1,14 @@ +--- +title: "Interface: ShipmentAddPartyRoleParams" +--- + +# Interface: ShipmentAddPartyRoleParams + +Parameters for `addPartyRole`; `role` is limited to what the spec accepts on this route. + +## Properties + +| Property | Type | +| ------ | ------ | +| `partyId` | `string` | +| `role` | `"shipper"` \| `"consignee"` \| `"notify_party"` \| `"customs_broker"` \| `"customer"` \| `"freight_forwarder"` \| `"pickup_dray_carrier"` | diff --git a/docs/sdk/reference/client/managers/type-aliases/ContainerUpdateAttributes.mdx b/docs/sdk/reference/client/managers/type-aliases/ContainerUpdateAttributes.mdx new file mode 100644 index 00000000..341d01d5 --- /dev/null +++ b/docs/sdk/reference/client/managers/type-aliases/ContainerUpdateAttributes.mdx @@ -0,0 +1,9 @@ +--- +title: "Type Alias: ContainerUpdateAttributes" +--- + +# Type Alias: ContainerUpdateAttributes + +> **ContainerUpdateAttributes** = `NonNullable`\<`JsonBody`\<`paths`\[`"/containers/{id}"`\]\[`"patch"`\]\>\[`"data"`\]\>\[`"attributes"`\] + +Writable container attributes for `update`. diff --git a/docs/sdk/reference/client/type-aliases/PartyAttributes.mdx b/docs/sdk/reference/client/type-aliases/PartyAttributes.mdx new file mode 100644 index 00000000..59eae27c --- /dev/null +++ b/docs/sdk/reference/client/type-aliases/PartyAttributes.mdx @@ -0,0 +1,9 @@ +--- +title: "Type Alias: PartyAttributes" +--- + +# Type Alias: PartyAttributes + +> **PartyAttributes** = `NonNullable`\<`JsonBody`\<`paths`\[`"/parties"`\]\[`"post"`\]\>\[`"data"`\]\>\[`"attributes"`\] + +Party attributes for `parties.create` and `parties.update`. diff --git a/docs/sdk/reference/types/models/index.mdx b/docs/sdk/reference/types/models/index.mdx index b2607488..1c8a6c0c 100644 --- a/docs/sdk/reference/types/models/index.mdx +++ b/docs/sdk/reference/types/models/index.mdx @@ -26,3 +26,9 @@ description: "Mapped response models in the Terminal49 TypeScript SDK: Container | [ShippingLine](/sdk/reference/types/models/interfaces/ShippingLine) | Simplified shipping line returned by mapped SDK responses. | | [TrackingRequest](/sdk/reference/types/models/interfaces/TrackingRequest) | Simplified tracking request model returned by mapped SDK responses. | | [TrackingSlots](/sdk/reference/types/models/interfaces/TrackingSlots) | Tracking-slot usage on free and trial plans. | + +## Type Aliases + +| Type Alias | Description | +| ------ | ------ | +| [CustomFieldValue](/sdk/reference/types/models/type-aliases/CustomFieldValue) | Value accepted when setting a custom field; its shape depends on the field's data type. | diff --git a/docs/sdk/reference/types/models/interfaces/CurrentCredential.mdx b/docs/sdk/reference/types/models/interfaces/CurrentCredential.mdx index 8feeac36..285ff865 100644 --- a/docs/sdk/reference/types/models/interfaces/CurrentCredential.mdx +++ b/docs/sdk/reference/types/models/interfaces/CurrentCredential.mdx @@ -14,6 +14,6 @@ Mapped `GET /me` response: the credential behind the current request. | `channel` | `string` | api, dashboard, mcp, or askt49. | | `features` | `Record`\<`string`, [`FeatureAvailability`](/sdk/reference/types/models/interfaces/FeatureAvailability)\> | - | | `id` | `string` | The API key id or the user id, depending on `kind`. | -| `kind` | `"api_key"` \| `"user"` | - | +| `kind` | `"user"` \| `"api_key"` | - | | `name?` | `string` | API key label; undefined for user tokens. | | `user` | [`CurrentUser`](/sdk/reference/types/models/interfaces/CurrentUser) \| `null` | `null` for an API key that is not acting as a user. | diff --git a/docs/sdk/reference/types/models/type-aliases/CustomFieldValue.mdx b/docs/sdk/reference/types/models/type-aliases/CustomFieldValue.mdx new file mode 100644 index 00000000..545d43be --- /dev/null +++ b/docs/sdk/reference/types/models/type-aliases/CustomFieldValue.mdx @@ -0,0 +1,9 @@ +--- +title: "Type Alias: CustomFieldValue" +--- + +# Type Alias: CustomFieldValue + +> **CustomFieldValue** = `components`\[`"schemas"`\]\[`"custom_field_value"`\] + +Value accepted when setting a custom field; its shape depends on the field's data type. diff --git a/sdks/typescript-sdk/src/client.ts b/sdks/typescript-sdk/src/client.ts index c4684c56..fc0b12f7 100644 --- a/sdks/typescript-sdk/src/client.ts +++ b/sdks/typescript-sdk/src/client.ts @@ -71,20 +71,21 @@ export { type WebhookEvent = NonNullable< paths['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/webhook_notifications/examples']['get']['parameters']['query'] >['event']; +type WebhookNotificationListQuery = NonNullable< + paths['/webhook_notifications']['get']['parameters']['query'] +>; // The API ignores page[*] on these routes, but accepts it, and the CLI forwards --page. type CustomFieldDefinitionListQuery = NonNullable< paths['/custom_field_definitions']['get']['parameters']['query'] > & PaginatedQuery; -type WebhookNotificationListQuery = NonNullable< - paths['/webhook_notifications']['get']['parameters']['query'] ->; type CustomFieldListQuery = NonNullable< paths['/custom_fields']['get']['parameters']['query'] > & PaginatedQuery; type TriggerWebhookBody = JsonBody; -type PartyAttributes = NonNullable< +/** Party attributes for `parties.create` and `parties.update`. */ +export type PartyAttributes = NonNullable< JsonBody['data'] >['attributes']; type CustomFieldDefinitionAttributes = NonNullable< diff --git a/sdks/typescript-sdk/src/client.write-endpoints.test.ts b/sdks/typescript-sdk/src/client.write-endpoints.test.ts index 007746e9..1ec49639 100644 --- a/sdks/typescript-sdk/src/client.write-endpoints.test.ts +++ b/sdks/typescript-sdk/src/client.write-endpoints.test.ts @@ -124,7 +124,14 @@ describe('party roles', () => { describe('containers', () => { it('updates a container by id', async () => { const { client, calls } = buildClient(); - await client.containers.update('c-1', { ref_numbers: ['REF-1'] }); + await client.containers.update('c-1', { + ref_numbers: ['REF-1'], + seal_number: 'SEAL-1', + equipment_type: 'reefer', + equipment_length: 40, + equipment_height: 'high_cube', + weight_in_lbs: 1000, + }); expect(calls[0]).toMatchObject({ method: 'PATCH', path: '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/containers/c-1', @@ -132,7 +139,14 @@ describe('containers', () => { data: { type: 'container', id: 'c-1', - attributes: { ref_numbers: ['REF-1'] }, + attributes: { + ref_numbers: ['REF-1'], + seal_number: 'SEAL-1', + equipment_type: 'reefer', + equipment_length: 40, + equipment_height: 'high_cube', + weight_in_lbs: 1000, + }, }, }, }); diff --git a/sdks/typescript-sdk/src/client/managers/containers.ts b/sdks/typescript-sdk/src/client/managers/containers.ts index 3200f84b..02706fe8 100644 --- a/sdks/typescript-sdk/src/client/managers/containers.ts +++ b/sdks/typescript-sdk/src/client/managers/containers.ts @@ -1,8 +1,8 @@ import { UpstreamError } from '../errors.js'; import type { ContainerListFilters } from '../../generated/list-filters.js'; import { serializeListQuery } from '../filter-validation.js'; -import type { components, paths } from '../../generated/terminal49.js'; -import type { Container } from '../../types/models.js'; +import type { paths } from '../../generated/terminal49.js'; +import type { Container, CustomFieldValue } from '../../types/models.js'; import type { CallOptions, ContainerInclude, @@ -25,16 +25,16 @@ import { import { callerPayload, type JsonBody } from '../spec.js'; import { BaseManager } from './base.js'; -type ContainerUpdateAttributes = NonNullable< +/** Writable container attributes for `update`. */ +export type ContainerUpdateAttributes = NonNullable< JsonBody['data'] >['attributes']; -type CustomFieldValue = components['schemas']['custom_field_value']; type PartyRoleData = JsonBody< paths['/containers/{container_id}/party_roles']['post'] >['data']; /** Parameters for `addPartyRole`; `role` is limited to what the spec accepts on this route. */ -interface AddPartyRoleParams { +export interface ContainerAddPartyRoleParams { role: PartyRoleData['attributes']['role']; partyId: PartyRoleData['relationships']['party']['data']['id']; } @@ -118,7 +118,7 @@ export class ContainerManager extends BaseManager { return this.formatResult(raw, options?.format); } - /** Update container attributes such as `ref_numbers`. */ + /** Update a container's `ref_numbers`, `seal_number`, equipment type, length, and height, or `weight_in_lbs`. */ async update( id: string, attrs: ContainerUpdateAttributes, @@ -310,7 +310,7 @@ export class ContainerManager extends BaseManager { /** Assign a party to a container in the given role. */ async addPartyRole( id: string, - { role, partyId }: AddPartyRoleParams, + { role, partyId }: ContainerAddPartyRoleParams, options?: CallOptions, ): Promise { const raw = await this.transport.execute(() => diff --git a/sdks/typescript-sdk/src/client/managers/shipments.ts b/sdks/typescript-sdk/src/client/managers/shipments.ts index 9c649684..936d1105 100644 --- a/sdks/typescript-sdk/src/client/managers/shipments.ts +++ b/sdks/typescript-sdk/src/client/managers/shipments.ts @@ -1,7 +1,7 @@ import type { ShipmentListFilters } from '../../generated/list-filters.js'; import { serializeListQuery } from '../filter-validation.js'; -import type { components, paths } from '../../generated/terminal49.js'; -import type { Shipment } from '../../types/models.js'; +import type { paths } from '../../generated/terminal49.js'; +import type { CustomFieldValue, Shipment } from '../../types/models.js'; import type { CallOptions, IncludeParam, @@ -17,13 +17,12 @@ import { import { callerPayload, type JsonBody } from '../spec.js'; import { BaseManager } from './base.js'; -type CustomFieldValue = components['schemas']['custom_field_value']; type PartyRoleData = JsonBody< paths['/shipments/{shipment_id}/party_roles']['post'] >['data']; /** Parameters for `addPartyRole`; `role` is limited to what the spec accepts on this route. */ -interface AddPartyRoleParams { +export interface ShipmentAddPartyRoleParams { role: PartyRoleData['attributes']['role']; partyId: PartyRoleData['relationships']['party']['data']['id']; } @@ -232,7 +231,7 @@ export class ShipmentManager extends BaseManager { /** Assign a party to a shipment in the given role. */ async addPartyRole( id: string, - { role, partyId }: AddPartyRoleParams, + { role, partyId }: ShipmentAddPartyRoleParams, options?: CallOptions, ): Promise { const raw = await this.transport.execute(() => diff --git a/sdks/typescript-sdk/src/client/managers/tracking-requests.ts b/sdks/typescript-sdk/src/client/managers/tracking-requests.ts index f27330b1..e6662863 100644 --- a/sdks/typescript-sdk/src/client/managers/tracking-requests.ts +++ b/sdks/typescript-sdk/src/client/managers/tracking-requests.ts @@ -1,5 +1,4 @@ -import type { components } from '../../generated/terminal49.js'; -import type { TrackingRequest } from '../../types/models.js'; +import type { CustomFieldValue, TrackingRequest } from '../../types/models.js'; import type { CallOptions, IncludeParam, @@ -15,8 +14,6 @@ import { import { copyStringParams, normalizeInclude } from '../query.js'; import { BaseManager } from './base.js'; -type CustomFieldValue = components['schemas']['custom_field_value']; - export type TrackingRequestType = | 'container' | 'bill_of_lading' diff --git a/sdks/typescript-sdk/src/exports.test-d.ts b/sdks/typescript-sdk/src/exports.test-d.ts new file mode 100644 index 00000000..838e6da4 --- /dev/null +++ b/sdks/typescript-sdk/src/exports.test-d.ts @@ -0,0 +1,21 @@ +import type { + ContainerAddPartyRoleParams, + ContainerUpdateAttributes, + CustomFieldValue, + PartyAttributes, + ShipmentAddPartyRoleParams, +} from './index.js'; + +export const containerRole: ContainerAddPartyRoleParams = { + role: 'pickup_dray_carrier', + partyId: 'party-1', +}; +export const shipmentRole: ShipmentAddPartyRoleParams = { + role: 'customer', + partyId: 'party-1', +}; +export const containerAttributes: ContainerUpdateAttributes = { + ref_numbers: ['PO-1'], +}; +export const customFieldValue: CustomFieldValue = ['a', 'b']; +export const partyAttributes: PartyAttributes = { company_name: 'Acme' }; diff --git a/sdks/typescript-sdk/src/types/models.ts b/sdks/typescript-sdk/src/types/models.ts index 505d38d2..01e1017d 100644 --- a/sdks/typescript-sdk/src/types/models.ts +++ b/sdks/typescript-sdk/src/types/models.ts @@ -1,3 +1,5 @@ +import type { components } from '../generated/terminal49.js'; + /** Simplified shipping line returned by mapped SDK responses. */ export interface ShippingLine { scac: string; @@ -201,6 +203,9 @@ export interface TrackingRequest { [key: string]: any; } +/** Value accepted when setting a custom field; its shape depends on the field's data type. */ +export type CustomFieldValue = components['schemas']['custom_field_value']; + /** Account-defined custom field value on a container, shipment, or tracking request. */ export interface CustomField { id: string; From cc35597a6e520150bd3661ed2d1a3a798e11c2de Mon Sep 17 00:00:00 2001 From: Akshay Dodeja Date: Fri, 16 Oct 2026 15:59:19 -0700 Subject: [PATCH 02/27] fix(sdk)!: update documents with documentType and classificationNotes PATCH /documents/{id} accepts document_type, classification_notes, and extracted_data_manual. documents.update took documentTypeManual, which named a field the API never read. It now takes documentType, which sends document_type, and classificationNotes, which sends classification_notes and accepts null to clear the notes. BREAKING CHANGE: documents.update no longer accepts documentTypeManual. Pass documentType instead. Co-Authored-By: Claude Opus 5.5 --- .../managers/classes/DocumentManager.mdx | 2 +- .../interfaces/UpdateDocumentParams.mdx | 3 ++- .../src/client.write-endpoints.test.ts | 26 +++++++++++++++---- .../src/client/managers/documents.ts | 15 +++++++---- 4 files changed, 34 insertions(+), 12 deletions(-) diff --git a/docs/sdk/reference/client/managers/classes/DocumentManager.mdx b/docs/sdk/reference/client/managers/classes/DocumentManager.mdx index b69c33c1..e6d69d84 100644 --- a/docs/sdk/reference/client/managers/classes/DocumentManager.mdx +++ b/docs/sdk/reference/client/managers/classes/DocumentManager.mdx @@ -225,7 +225,7 @@ List the document types Terminal49 can classify. > **update**(`id`, `params`, `options?`): `Promise`\<`any`\> -Override a document's type or extracted data. +Override a document's type, classification notes, or extracted data. #### Parameters diff --git a/docs/sdk/reference/client/managers/interfaces/UpdateDocumentParams.mdx b/docs/sdk/reference/client/managers/interfaces/UpdateDocumentParams.mdx index bda5494c..67c32341 100644 --- a/docs/sdk/reference/client/managers/interfaces/UpdateDocumentParams.mdx +++ b/docs/sdk/reference/client/managers/interfaces/UpdateDocumentParams.mdx @@ -10,5 +10,6 @@ Attributes accepted by [DocumentManager.update](/sdk/reference/client/managers/c | Property | Type | Description | | ------ | ------ | ------ | -| `documentTypeManual?` | `string` | Manually override the classified document type. | +| `classificationNotes?` | `string` \| `null` | Notes about how the document was classified. Pass `null` to clear them. | +| `documentType?` | `string` | Override the classified document type with a code from `documents.types()`. | | `extractedDataManual?` | \{\[`key`: `string`\]: `unknown`; \} \| `null` | Manually provide extracted key/value data. Pass `null` to clear manual values. | diff --git a/sdks/typescript-sdk/src/client.write-endpoints.test.ts b/sdks/typescript-sdk/src/client.write-endpoints.test.ts index 1ec49639..57574ef3 100644 --- a/sdks/typescript-sdk/src/client.write-endpoints.test.ts +++ b/sdks/typescript-sdk/src/client.write-endpoints.test.ts @@ -199,7 +199,12 @@ describe('documents', () => { await docs.create({ name: 'BOL.pdf', attachedDocument: 'blob-1' }); await docs.get('d-1', { include: 'shipments' }); await docs.update('d-1', { - documentTypeManual: 'bill_of_lading', + documentType: 'bill_of_lading', + classificationNotes: 'Reviewed by ops', + extractedDataManual: { bill_of_lading_number: 'BL-1' }, + }); + await docs.update('d-1', { + classificationNotes: null, extractedDataManual: null, }); await docs.delete('d-1'); @@ -208,12 +213,13 @@ describe('documents', () => { await docs.reextract('d-1'); await docs.reclassify('d-1'); await docs.relink('d-1'); - await docs.rotate('d-1', 90); + await docs.rotate('d-1', 270); expect(calls.map((c) => [c.method, c.path])).toEqual([ ['POST', '/documents'], ['GET', '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/documents/d-1'], ['PATCH', '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/documents/d-1'], + ['PATCH', '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/documents/d-1'], ['DELETE', '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/documents/d-1'], ['GET', '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/documents/types'], ['GET', '/documents/d-1/download_url'], @@ -234,11 +240,18 @@ describe('documents', () => { type: 'document', attributes: { document_type: 'bill_of_lading', - extracted_data_manual: null, + classification_notes: 'Reviewed by ops', + extracted_data_manual: { bill_of_lading_number: 'BL-1' }, }, }, }); - expect(calls[9].body).toEqual({ degrees: 90 }); + expect(calls[3].body).toEqual({ + data: { + type: 'document', + attributes: { classification_notes: null, extracted_data_manual: null }, + }, + }); + expect(calls[10].body).toEqual({ degrees: 270 }); }); it('rejects create without required attributes', async () => { @@ -246,6 +259,9 @@ describe('documents', () => { await expect( client.documents.create({ name: '', attachedDocument: 'blob-1' }), ).rejects.toThrow('name is required'); + await expect( + client.documents.create({ name: 'BOL.pdf', attachedDocument: '' }), + ).rejects.toThrow('attached_document is required'); expect(calls).toHaveLength(0); }); }); @@ -623,7 +639,7 @@ describe('return values', () => { 'PATCH', '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/documents/d-1', (c: Terminal49Client) => - c.documents.update('d-1', { documentTypeManual: 'bill_of_lading' }), + c.documents.update('d-1', { documentType: 'bill_of_lading' }), ], ['GET', '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/documents/types', (c: Terminal49Client) => c.documents.types()], [ diff --git a/sdks/typescript-sdk/src/client/managers/documents.ts b/sdks/typescript-sdk/src/client/managers/documents.ts index 88f635d1..46659d2f 100644 --- a/sdks/typescript-sdk/src/client/managers/documents.ts +++ b/sdks/typescript-sdk/src/client/managers/documents.ts @@ -38,8 +38,10 @@ export interface CreateDocumentParams { /** Attributes accepted by {@link DocumentManager.update}. */ export interface UpdateDocumentParams { - /** Manually override the classified document type. */ - documentTypeManual?: string; + /** Override the classified document type with a code from `documents.types()`. */ + documentType?: string; + /** Notes about how the document was classified. Pass `null` to clear them. */ + classificationNotes?: DocumentUpdateAttributes['classification_notes']; /** Manually provide extracted key/value data. Pass `null` to clear manual values. */ extractedDataManual?: DocumentUpdateAttributes['extracted_data_manual']; } @@ -113,15 +115,18 @@ export class DocumentManager extends BaseManager { return this.formatResult(raw, options?.format); } - /** Override a document's type or extracted data. */ + /** Override a document's type, classification notes, or extracted data. */ async update( id: string, params: UpdateDocumentParams, options?: CallOptions, ): Promise { const attributes: DocumentUpdateAttributes = {}; - if (params.documentTypeManual !== undefined) { - attributes.document_type = params.documentTypeManual; + if (params.documentType !== undefined) { + attributes.document_type = params.documentType; + } + if (params.classificationNotes !== undefined) { + attributes.classification_notes = params.classificationNotes; } if (params.extractedDataManual !== undefined) { attributes.extracted_data_manual = params.extractedDataManual; From ee81b8fa801704cd73a0cc0975b64589c6e167e7 Mon Sep 17 00:00:00 2001 From: Akshay Dodeja Date: Thu, 15 Oct 2026 17:26:10 -0700 Subject: [PATCH 03/27] fix(sdk)!: map a tracking request's shipment from tracked_object The API serializes a tracking request's shipment as the polymorphic `tracked_object` relationship. The mapper read `shipment` and `container` relationships that the serializer never sends, so `mapped.shipment` was always null. It now resolves `tracked_object`: the included shipment gives the id, bill of lading, and SCAC, and a shipment that is not included still yields its id. BREAKING CHANGE: mapped tracking requests no longer have a `container` key, and `TrackingRequest` no longer declares it. The API never links a container to a tracking request, so the value was always null. Co-Authored-By: Claude Opus 5.5 --- .../models/interfaces/TrackingRequest.mdx | 19 ++- .../typescript-sdk/src/client.mapping.test.ts | 149 +++++++++--------- sdks/typescript-sdk/src/client.test.ts | 50 ------ sdks/typescript-sdk/src/client/mappers.ts | 39 ++--- sdks/typescript-sdk/src/types/models.ts | 2 +- 5 files changed, 104 insertions(+), 155 deletions(-) diff --git a/docs/sdk/reference/types/models/interfaces/TrackingRequest.mdx b/docs/sdk/reference/types/models/interfaces/TrackingRequest.mdx index 8bbd864c..086725e9 100644 --- a/docs/sdk/reference/types/models/interfaces/TrackingRequest.mdx +++ b/docs/sdk/reference/types/models/interfaces/TrackingRequest.mdx @@ -13,13 +13,12 @@ Simplified tracking request model returned by mapped SDK responses. ## Properties -| Property | Type | -| ------ | ------ | -| `container?` | [`Container`](/sdk/reference/types/models/interfaces/Container) \| `null` | -| `id` | `string` | -| `refNumbers?` | `string`[] | -| `requestNumber?` | `string` | -| `requestType?` | `string` | -| `scac?` | `string` | -| `shipment?` | [`Shipment`](/sdk/reference/types/models/interfaces/Shipment) \| `null` | -| `status?` | `string` | +| Property | Type | Description | +| ------ | ------ | ------ | +| `id` | `string` | - | +| `refNumbers?` | `string`[] | - | +| `requestNumber?` | `string` | - | +| `requestType?` | `string` | - | +| `scac?` | `string` | - | +| `shipment?` | [`Shipment`](/sdk/reference/types/models/interfaces/Shipment) \| `null` | The tracked shipment, from the `tracked_object` relationship. | +| `status?` | `string` | - | diff --git a/sdks/typescript-sdk/src/client.mapping.test.ts b/sdks/typescript-sdk/src/client.mapping.test.ts index c673a444..e50c9466 100644 --- a/sdks/typescript-sdk/src/client.mapping.test.ts +++ b/sdks/typescript-sdk/src/client.mapping.test.ts @@ -11,16 +11,10 @@ const __filename = fileURLToPath(import.meta.url); const __dirname = path.dirname(__filename); const fixturesDir = path.resolve(__dirname, 'fixtures'); -const itIf = (condition: boolean) => (condition ? it : it.skip); - function fixturePath(name: string) { return path.resolve(fixturesDir, `${name}.json`); } -function hasFixture(name: string) { - return fs.existsSync(fixturePath(name)); -} - function loadFixture(name: string): T { const raw = fs.readFileSync(fixturePath(name), 'utf-8'); return JSON.parse(raw) as T; @@ -114,89 +108,100 @@ describe('Terminal49Client mapping helpers', () => { } }); - it('maps tracking request fields from base response', async () => { + it('maps the tracked_object shipment on a tracking request', async () => { const fixture = loadFixture('tracking-requests.get.base'); - const trackingId = fixture?.data?.id || 'tr-1'; const { fetchImpl } = createMockFetch({ - [`/tracking_requests/${trackingId}`]: () => jsonResponse(fixture), + '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/tracking_requests/tracking_request-1': () => jsonResponse(fixture), }); - const client = new Terminal49Client({ apiToken: 'token-123', apiBaseUrl: baseUrl, fetchImpl, }); - const result = (await client.getTrackingRequest(trackingId, { + const result = (await client.getTrackingRequest('tracking_request-1', { format: 'mapped', })) as any; - const attrs = fixture?.data?.attributes || {}; - expectIfDefined(result.requestType, attrs.request_type); - expectIfDefined(result.requestNumber, attrs.request_number); - expectIfDefined(result.status, attrs.status); - expectIfDefined(result.scac, attrs.scac); + expect(result).toMatchObject({ + id: 'tracking_request-1', + requestType: 'bill_of_lading', + requestNumber: 'HLCUSEL251063157', + status: 'created', + scac: 'HLCU', + refNumbers: [], + }); + expect(result.shipment).toEqual({ + id: 'shipment-1', + billOfLading: 'HLCUSEL251063ad5', + shippingLineScac: 'HLCU', + }); + }); - if (Array.isArray(attrs.ref_numbers)) { - expect(result.refNumbers).toEqual(attrs.ref_numbers); - } + it('maps tracked_object shipments on each listed tracking request', async () => { + const fixture = loadFixture('tracking-requests.list'); + const { fetchImpl } = createMockFetch({ + '/tracking_requests': () => jsonResponse(fixture), + }); + const client = new Terminal49Client({ + apiToken: 'token-123', + apiBaseUrl: baseUrl, + fetchImpl, + }); - if (!fixture?.included || fixture.included.length === 0) { - expect(result.shipment).toBeNull(); - expect(result.container).toBeNull(); - } + const result = (await client.listTrackingRequests( + {}, + { format: 'mapped' }, + )) as any; + + expect(result.items.map((item: any) => item.shipment)).toEqual([ + { + id: 'shipment-1', + billOfLading: 'HLCUSEL251063ad5', + shippingLineScac: 'HLCU', + }, + ]); }); - itIf(hasFixture('tracking-requests.get.include'))( - 'maps tracking request with shipment and container', - async () => { - const fixture = loadFixture('tracking-requests.get.include'); - const trackingId = fixture?.data?.id || 'tr-1'; - const { fetchImpl } = createMockFetch({ - [`/tracking_requests/${trackingId}`]: () => jsonResponse(fixture), - }); - - const client = new Terminal49Client({ - apiToken: 'token-123', - apiBaseUrl: baseUrl, - fetchImpl, - }); - - const result = (await client.getTrackingRequest(trackingId, { - format: 'mapped', - })) as any; - - const shipmentRef = fixture?.data?.relationships?.shipment?.data; - const containerRef = fixture?.data?.relationships?.container?.data; - const shipment = shipmentRef - ? findIncluded(fixture, 'shipment', shipmentRef.id) - : null; - const container = containerRef - ? findIncluded(fixture, 'container', containerRef.id) - : null; - - if (shipment) { - const expectedBill = - shipment.attributes?.bill_of_lading_number || - shipment.attributes?.bill_of_lading || - shipment.attributes?.bl_number; - expectIfDefined(result.shipment?.billOfLading, expectedBill); - expectIfDefined( - result.shipment?.shippingLineScac, - shipment.attributes?.shipping_line_scac, - ); - } + it('keeps the tracked shipment id when the shipment is not included', async () => { + const { fetchImpl } = createMockFetch({ + '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/tracking_requests/tr-1': () => + jsonResponse({ + data: { + id: 'tr-1', + type: 'tracking_request', + attributes: { request_number: 'MSCU1234567' }, + relationships: { + tracked_object: { data: { type: 'shipment', id: 'ship-1' } }, + }, + }, + }), + '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/tracking_requests/tr-2': () => + jsonResponse({ + data: { + id: 'tr-2', + type: 'tracking_request', + attributes: { request_number: 'MSCU7654321', status: 'pending' }, + relationships: { tracked_object: { data: null } }, + }, + }), + }); + const client = new Terminal49Client({ + apiToken: 'token-123', + apiBaseUrl: baseUrl, + fetchImpl, + }); - if (container) { - expectIfDefined( - result.container?.number, - container.attributes?.number || - container.attributes?.container_number, - ); - expectIfDefined(result.container?.status, container.attributes?.status); - } - }, - ); + const tracked = (await client.getTrackingRequest('tr-1', { + format: 'mapped', + })) as any; + const pending = (await client.getTrackingRequest('tr-2', { + format: 'mapped', + })) as any; + + expect(tracked.shipment).toEqual({ id: 'ship-1' }); + expect(pending.shipment).toBeNull(); + }); it('maps shipment ports, terminals, tracking, and container references', async () => { const fixture = loadFixture('shipments.get.include'); diff --git a/sdks/typescript-sdk/src/client.test.ts b/sdks/typescript-sdk/src/client.test.ts index 9164e196..143b9328 100644 --- a/sdks/typescript-sdk/src/client.test.ts +++ b/sdks/typescript-sdk/src/client.test.ts @@ -287,56 +287,6 @@ describe('Terminal49Client', () => { expect(simplified.shipment?.bill_of_lading_number).toBe('BL123'); }); - it('maps tracking request with linked shipment/container', async () => { - const doc = { - data: { - id: 'tr-1', - type: 'tracking_request', - attributes: { - request_type: 'container', - request_number: 'MSCU1234567', - status: 'created', - scac: 'MSCU', - }, - relationships: { - shipment: { data: { type: 'shipment', id: 'ship-1' } }, - container: { data: { type: 'container', id: 'cont-1' } }, - }, - }, - included: [ - { - id: 'ship-1', - type: 'shipment', - attributes: { - bill_of_lading_number: 'BL123', - shipping_line_scac: 'MSCU', - }, - }, - { - id: 'cont-1', - type: 'container', - attributes: { number: 'MSCU1234567', status: 'in_transit' }, - }, - ], - }; - - const { fetchImpl } = createMockFetch({ - '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/tracking_requests/tr-1': () => jsonResponse(doc), - }); - - const client = new Terminal49Client({ - apiToken: 'token-123', - apiBaseUrl: baseUrl, - fetchImpl, - }); - - const result = await client.getTrackingRequest('tr-1', { - format: 'mapped', - }); - expect((result as any).shipment?.id).toBe('ship-1'); - expect((result as any).container?.number).toBe('MSCU1234567'); - }); - it('maps container list with equipment and terminals when included', async () => { const doc = { data: [ diff --git a/sdks/typescript-sdk/src/client/mappers.ts b/sdks/typescript-sdk/src/client/mappers.ts index 2c42c975..f55b5158 100644 --- a/sdks/typescript-sdk/src/client/mappers.ts +++ b/sdks/typescript-sdk/src/client/mappers.ts @@ -443,9 +443,6 @@ export function mapTrackingRequest(doc: any): TrackingRequest { const data = apiDoc.data; const attrs = data?.attributes || {}; - const shipment = apiDoc.getRelationship(data, 'shipment'); - const container = apiDoc.getRelationship(data, 'container'); - return { id: data?.id, requestType: attrs.request_type, @@ -453,29 +450,27 @@ export function mapTrackingRequest(doc: any): TrackingRequest { status: attrs.status, scac: attrs.scac, refNumbers: attrs.ref_numbers, - shipment: shipment - ? { - id: shipment.id, - billOfLading: - shipment.attributes?.bill_of_lading_number || - shipment.attributes?.bill_of_lading || - shipment.attributes?.bl_number, - shippingLineScac: shipment.attributes?.shipping_line_scac, - } - : null, - container: container - ? { - id: container.id, - number: - container.attributes?.number || - container.attributes?.container_number, - status: container.attributes?.status, - } - : null, + shipment: mapTrackedShipment(apiDoc, data), ...apiDoc.getAttributes(data), }; } +/** The API serializes a tracking request's shipment as the polymorphic `tracked_object`. */ +function mapTrackedShipment(apiDoc: JsonApiDocument, data: any) { + const ref = data?.relationships?.tracked_object?.data; + if (ref?.type !== 'shipment') return null; + const shipment = apiDoc.getIncluded(ref.type, ref.id); + if (!shipment) return { id: ref.id }; + return { + id: shipment.id, + billOfLading: + shipment.attributes?.bill_of_lading_number || + shipment.attributes?.bill_of_lading || + shipment.attributes?.bl_number, + shippingLineScac: shipment.attributes?.shipping_line_scac, + }; +} + export function mapTrackingRequestList(doc: any): TrackingRequest[] { if (!Array.isArray(doc?.data)) return []; return doc.data.map((item: any) => diff --git a/sdks/typescript-sdk/src/types/models.ts b/sdks/typescript-sdk/src/types/models.ts index 01e1017d..8097b99a 100644 --- a/sdks/typescript-sdk/src/types/models.ts +++ b/sdks/typescript-sdk/src/types/models.ts @@ -198,8 +198,8 @@ export interface TrackingRequest { status?: string; scac?: string; refNumbers?: string[]; + /** The tracked shipment, from the `tracked_object` relationship. */ shipment?: Shipment | null; - container?: Container | null; [key: string]: any; } From c4a3d15f4a9fc7c451c83e084c9f27f3d297ac3d Mon Sep 17 00:00:00 2001 From: Akshay Dodeja Date: Thu, 15 Oct 2026 17:26:47 -0700 Subject: [PATCH 04/27] fix(sdk)!: limit tracking request includes to tracked_object, customer, user The tracking request serializer exposes only the tracked_object, customer, and user relationships. `TrackingRequestInclude` offered `shipment` and `container`, and the API rejects both with 400. BREAKING CHANGE: `TrackingRequestInclude` is now 'tracked_object' | 'customer' | 'user'. Replace `include: ['shipment']` with `include: ['tracked_object']`. Co-Authored-By: Claude Opus 5.5 --- .../interfaces/ShipmentAddPartyRoleParams.mdx | 2 +- .../interfaces/ContainerListFilters.mdx | 2 +- docs/sdk/reference/types/options/index.mdx | 2 +- .../type-aliases/TrackingRequestInclude.mdx | 4 ++- .../typescript-sdk/src/client.request.test.ts | 16 ++++++---- sdks/typescript-sdk/src/spec-types.test.ts | 30 +++++++++++++++++++ sdks/typescript-sdk/src/types/options.ts | 3 +- 7 files changed, 48 insertions(+), 11 deletions(-) diff --git a/docs/sdk/reference/client/managers/interfaces/ShipmentAddPartyRoleParams.mdx b/docs/sdk/reference/client/managers/interfaces/ShipmentAddPartyRoleParams.mdx index cbaf9ac8..7cce501b 100644 --- a/docs/sdk/reference/client/managers/interfaces/ShipmentAddPartyRoleParams.mdx +++ b/docs/sdk/reference/client/managers/interfaces/ShipmentAddPartyRoleParams.mdx @@ -11,4 +11,4 @@ Parameters for `addPartyRole`; `role` is limited to what the spec accepts on thi | Property | Type | | ------ | ------ | | `partyId` | `string` | -| `role` | `"shipper"` \| `"consignee"` \| `"notify_party"` \| `"customs_broker"` \| `"customer"` \| `"freight_forwarder"` \| `"pickup_dray_carrier"` | +| `role` | `"customer"` \| `"shipper"` \| `"consignee"` \| `"notify_party"` \| `"customs_broker"` \| `"freight_forwarder"` \| `"pickup_dray_carrier"` | diff --git a/docs/sdk/reference/types/filters/interfaces/ContainerListFilters.mdx b/docs/sdk/reference/types/filters/interfaces/ContainerListFilters.mdx index 6366adc6..b5e1c3be 100644 --- a/docs/sdk/reference/types/filters/interfaces/ContainerListFilters.mdx +++ b/docs/sdk/reference/types/filters/interfaces/ContainerListFilters.mdx @@ -36,7 +36,7 @@ Confirmed list filters; canonical names mirror API filter keys. | `inland_destination_rail_unloaded_at?` | [`DateFilter`](/sdk/reference/types/filters/type-aliases/DateFilter) | Inland rail unloading date. Use YYYY-MM-DD or today/N.days.ago/N.days.from_now; prefix with =, `<`, `<=`, `>`, or `>=`. Arrays combine bounds with AND. Comma-separated dates mean OR. Use `@exists` or `@not_exists` for presence. Compares the stored date component, not timestamp instants; no automatic conversion to the port timezone is applied. | | `last_free_day_on?` | readonly \[`string`, `string`\] | Inclusive two-date range, encoded as filter[last_free_day_on][]=FROM and filter[last_free_day_on][]=TO, without operators. Requires both dates. Also restricts to available/not_available/off_dock containers, tracking not stopped, and destination absent or the same as POD. Use pickup_lfd for general comparisons. | | `number?` | [`StringFilter`](/sdk/reference/types/filters/type-aliases/StringFilter) | Exact number match. Shipment arrays mean OR; container arrays of exact numbers mean AND. Use comma-separated container numbers for OR. Shipment scalar commas are literal. Exact match by default; optional =, `@exists`, or `@not_exists`. Comma-separated literals mean OR. Arrays mean AND unless the parameter description says otherwise. ~ is not supported. | -| `parties?` | `Partial`\<`Record`\<`"shipper"` \| `"consignee"` \| `"notify_party"` \| `"customs_broker"` \| `"customer"` \| `"freight_forwarder"` \| `"pickup_dray_carrier"`, [`StringFilter`](/sdk/reference/types/filters/type-aliases/StringFilter)\>\> | Filter by account-visible party IDs or presence, grouped by role. IDs within a role use OR; different roles use AND. pickup_dray_carrier checks only the container role; other roles check container or shipment roles. Unknown roles are ignored by the API and rejected by the SDK. | +| `parties?` | `Partial`\<`Record`\<`"customer"` \| `"shipper"` \| `"consignee"` \| `"notify_party"` \| `"customs_broker"` \| `"freight_forwarder"` \| `"pickup_dray_carrier"`, [`StringFilter`](/sdk/reference/types/filters/type-aliases/StringFilter)\>\> | Filter by account-visible party IDs or presence, grouped by role. IDs within a role use OR; different roles use AND. pickup_dray_carrier checks only the container role; other roles check container or shipment roles. Unknown roles are ignored by the API and rejected by the SDK. | | `picked_up_at?` | [`DateFilter`](/sdk/reference/types/filters/type-aliases/DateFilter) | Pickup date. Use YYYY-MM-DD or today/N.days.ago/N.days.from_now; prefix with =, `<`, `<=`, `>`, or `>=`. Arrays combine bounds with AND. Comma-separated dates mean OR. Use `@exists` or `@not_exists` for presence. Compares the stored date component, not timestamp instants; no automatic conversion to the port timezone is applied. | | `pickup_lfd?` | [`DateFilter`](/sdk/reference/types/filters/type-aliases/DateFilter) | Pickup last free day (LFD) date. Use YYYY-MM-DD or today/N.days.ago/N.days.from_now; prefix with =, `<`, `<=`, `>`, or `>=`. Arrays combine bounds with AND. Comma-separated dates mean OR. Use `@exists` or `@not_exists` for presence. Compares the stored date component, not timestamp instants; no automatic conversion to the port timezone is applied. | | `pickup_lfd_line_effective_on?` | [`DateFilter`](/sdk/reference/types/filters/type-aliases/DateFilter) | Shipping-line pickup LFD. Calculated values are used only when enabled and visible for the account/carrier; otherwise reported values are used. Use YYYY-MM-DD or today/N.days.ago/N.days.from_now; prefix with =, `<`, `<=`, `>`, or `>=`. Arrays combine bounds with AND. Comma-separated dates mean OR. Use `@exists` or `@not_exists` for presence. Compares the stored date component, not timestamp instants; no automatic conversion to the port timezone is applied. | diff --git a/docs/sdk/reference/types/options/index.mdx b/docs/sdk/reference/types/options/index.mdx index 8e63d0e4..07851311 100644 --- a/docs/sdk/reference/types/options/index.mdx +++ b/docs/sdk/reference/types/options/index.mdx @@ -21,5 +21,5 @@ description: "Terminal49 TypeScript SDK option types: CallOptions, ListOptions, | [IncludeParam](/sdk/reference/types/options/type-aliases/IncludeParam) | - | | [ResponseFormat](/sdk/reference/types/options/type-aliases/ResponseFormat) | Controls how SDK methods return API responses. | | [ShipmentInclude](/sdk/reference/types/options/type-aliases/ShipmentInclude) | - | -| [TrackingRequestInclude](/sdk/reference/types/options/type-aliases/TrackingRequestInclude) | - | +| [TrackingRequestInclude](/sdk/reference/types/options/type-aliases/TrackingRequestInclude) | Relationships the API serializes on a tracking request. Any other include returns 400. | | [WebhookNotificationInclude](/sdk/reference/types/options/type-aliases/WebhookNotificationInclude) | - | diff --git a/docs/sdk/reference/types/options/type-aliases/TrackingRequestInclude.mdx b/docs/sdk/reference/types/options/type-aliases/TrackingRequestInclude.mdx index c16f7045..10d0b65c 100644 --- a/docs/sdk/reference/types/options/type-aliases/TrackingRequestInclude.mdx +++ b/docs/sdk/reference/types/options/type-aliases/TrackingRequestInclude.mdx @@ -5,4 +5,6 @@ description: "TrackingRequestInclude type alias in the Terminal49 TypeScript SDK # Type Alias: TrackingRequestInclude -> **TrackingRequestInclude** = `"shipment"` \| `"container"` +> **TrackingRequestInclude** = `"tracked_object"` \| `"customer"` \| `"user"` + +Relationships the API serializes on a tracking request. Any other include returns 400. diff --git a/sdks/typescript-sdk/src/client.request.test.ts b/sdks/typescript-sdk/src/client.request.test.ts index d6a7baa8..139f6b44 100644 --- a/sdks/typescript-sdk/src/client.request.test.ts +++ b/sdks/typescript-sdk/src/client.request.test.ts @@ -263,12 +263,12 @@ describe('Terminal49Client request building', () => { it('accepts comma-separated tracking request include strings', async () => { const search = buildSearchParams([ ['filter[status]', 'pending'], - ['include', 'shipment,container'], + ['include', 'tracked_object,customer'], ]); const { fetchImpl, calls } = createMockFetch({ [`/tracking_requests?${search}`]: () => jsonResponse({ data: [] }), - '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/tracking_requests/tr-1?include=shipment,container': () => + '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/tracking_requests/tr-1?include=tracked_object,customer': () => jsonResponse({ data: { id: 'tr-1' } }), }); @@ -280,14 +280,18 @@ describe('Terminal49Client request building', () => { await client.listTrackingRequests({ 'filter[status]': 'pending', - include: 'shipment,container', + include: 'tracked_object,customer', }); await client.getTrackingRequest('tr-1', { - include: 'shipment,container', + include: 'tracked_object,customer', }); - expect(calls[0].url.searchParams.get('include')).toBe('shipment,container'); - expect(calls[1].url.searchParams.get('include')).toBe('shipment,container'); + expect(calls[0].url.searchParams.get('include')).toBe( + 'tracked_object,customer', + ); + expect(calls[1].url.searchParams.get('include')).toBe( + 'tracked_object,customer', + ); }); it('sends explicit scac when creating tracking request', async () => { diff --git a/sdks/typescript-sdk/src/spec-types.test.ts b/sdks/typescript-sdk/src/spec-types.test.ts index 1a66db20..52b79d8c 100644 --- a/sdks/typescript-sdk/src/spec-types.test.ts +++ b/sdks/typescript-sdk/src/spec-types.test.ts @@ -3,6 +3,8 @@ import type { ContainerManager } from './client/managers/containers.js'; import type { ShipmentManager } from './client/managers/shipments.js'; import type { TrackingRequestManager } from './client/managers/tracking-requests.js'; import type { components } from './generated/terminal49.js'; +import type { Terminal49Client } from './client.js'; +import type { TrackingRequestInclude } from './types/options.js'; describe('generated spec types', () => { it('types a container resource as type "container"', () => { @@ -30,4 +32,32 @@ describe('generated spec types', () => { Parameters[2] >(); }); + + it('accepts only the tracking request relationships the API serializes as includes', () => { + type GetInclude = NonNullable< + NonNullable< + Parameters[1] + >['include'] + >; + type ListInclude = NonNullable< + Parameters[0] + >['include']; + + expectTypeOf< + ['tracked_object', 'customer', 'user'] + >().toExtend(); + expectTypeOf< + ['tracked_object', 'customer', 'user'] + >().toExtend(); + expectTypeOf<['shipment']>().not.toExtend(); + expectTypeOf<['container']>().not.toExtend(); + }); + + it('offers exactly the relationships the spec documents on a tracking request', () => { + type SpecRelationship = keyof NonNullable< + components['schemas']['tracking_request']['relationships'] + >; + + expectTypeOf().toEqualTypeOf(); + }); }); diff --git a/sdks/typescript-sdk/src/types/options.ts b/sdks/typescript-sdk/src/types/options.ts index 95bb6dcd..a9313784 100644 --- a/sdks/typescript-sdk/src/types/options.ts +++ b/sdks/typescript-sdk/src/types/options.ts @@ -56,6 +56,7 @@ export type ContainerInclude = | 'pickup_facility' | 'transport_events'; -export type TrackingRequestInclude = 'shipment' | 'container'; +/** Relationships the API serializes on a tracking request. Any other include returns 400. */ +export type TrackingRequestInclude = 'tracked_object' | 'customer' | 'user'; export type WebhookNotificationInclude = 'webhook' | 'reference_object'; From 30367f949ef349b0a7e2c1a07112db3c07e1e4c1 Mon Sep 17 00:00:00 2001 From: Akshay Dodeja Date: Thu, 15 Oct 2026 17:27:02 -0700 Subject: [PATCH 05/27] fix(sdk): keep the server's detail on 401 errors The API answers 401 both for a bad token and for a valid token that the action's policy denies, such as resume_tracking on a shipment that is not stopped. The SDK replaced every 401 message with "Invalid or missing API token", which hid the real reason. AuthenticationError now carries the server's detail and falls back to the generic message only when the response has none. Co-Authored-By: Claude Opus 5.5 --- .../client/classes/AuthenticationError.mdx | 2 +- docs/sdk/reference/client/index.mdx | 2 +- sdks/typescript-sdk/src/client.errors.test.ts | 22 ++++++++++++++----- sdks/typescript-sdk/src/client/errors.ts | 7 ++++-- 4 files changed, 24 insertions(+), 9 deletions(-) diff --git a/docs/sdk/reference/client/classes/AuthenticationError.mdx b/docs/sdk/reference/client/classes/AuthenticationError.mdx index 29b3d7d7..772e7765 100644 --- a/docs/sdk/reference/client/classes/AuthenticationError.mdx +++ b/docs/sdk/reference/client/classes/AuthenticationError.mdx @@ -5,7 +5,7 @@ description: "AuthenticationError class in the Terminal49 TypeScript SDK, thrown # Class: AuthenticationError -Thrown when the API token is invalid or missing (HTTP 401). +Thrown on HTTP 401: the API token is invalid or missing, or the API denied the action for this token. ## Extends diff --git a/docs/sdk/reference/client/index.mdx b/docs/sdk/reference/client/index.mdx index 1e0ce367..523ea7b6 100644 --- a/docs/sdk/reference/client/index.mdx +++ b/docs/sdk/reference/client/index.mdx @@ -9,7 +9,7 @@ description: "Reference index for the Terminal49 TypeScript SDK client module, l | Class | Description | | ------ | ------ | -| [AuthenticationError](/sdk/reference/client/classes/AuthenticationError) | Thrown when the API token is invalid or missing (HTTP 401). | +| [AuthenticationError](/sdk/reference/client/classes/AuthenticationError) | Thrown on HTTP 401: the API token is invalid or missing, or the API denied the action for this token. | | [AuthorizationError](/sdk/reference/client/classes/AuthorizationError) | Thrown when the API token is valid but lacks permission for the request (HTTP 403). | | [FeatureNotEnabledError](/sdk/reference/client/classes/FeatureNotEnabledError) | Thrown when the requested feature requires a plan upgrade (HTTP 403). | | [NetworkError](/sdk/reference/client/classes/NetworkError) | Thrown when a transport-level failure occurs before a response is received — a DNS failure, a refused/reset connection, or an otherwise failed `fetch`. Has no HTTP status because no response was produced. | diff --git a/sdks/typescript-sdk/src/client.errors.test.ts b/sdks/typescript-sdk/src/client.errors.test.ts index b15bc784..24b43b41 100644 --- a/sdks/typescript-sdk/src/client.errors.test.ts +++ b/sdks/typescript-sdk/src/client.errors.test.ts @@ -51,10 +51,17 @@ describe('Terminal49Client error handling', () => { ); }); - it('maps 401 to AuthenticationError', async () => { + it('maps 401 to AuthenticationError and keeps the server detail', async () => { const { fetchImpl } = createMockFetch({ + '/shipments/s-1/resume_tracking': () => + jsonResponse( + { + errors: [{ detail: 'You are not allowed to perform this action' }], + }, + 401, + ), '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/containers/abc?include=shipment,pod_terminal,pickup_facility': () => - jsonResponse({ errors: [{ detail: 'invalid token' }] }, 401), + new Response(null, { status: 401 }), }); const client = new Terminal49Client({ @@ -62,9 +69,14 @@ describe('Terminal49Client error handling', () => { apiBaseUrl: baseUrl, fetchImpl, }); - await expect(client.getContainer('abc')).rejects.toBeInstanceOf( - AuthenticationError, - ); + + const denied = await client.shipments.resumeTracking('s-1').catch((e) => e); + expect(denied).toBeInstanceOf(AuthenticationError); + expect(denied.message).toBe('You are not allowed to perform this action'); + + const unauthenticated = await client.getContainer('abc').catch((e) => e); + expect(unauthenticated).toBeInstanceOf(AuthenticationError); + expect(unauthenticated.message).toBe('Invalid or missing API token'); }); it('maps 403 with feature message to FeatureNotEnabledError', async () => { diff --git a/sdks/typescript-sdk/src/client/errors.ts b/sdks/typescript-sdk/src/client/errors.ts index 193bbd3a..5ebdfede 100644 --- a/sdks/typescript-sdk/src/client/errors.ts +++ b/sdks/typescript-sdk/src/client/errors.ts @@ -11,7 +11,7 @@ export class Terminal49Error extends Error { } } -/** Thrown when the API token is invalid or missing (HTTP 401). */ +/** Thrown on HTTP 401: the API token is invalid or missing, or the API denied the action for this token. */ export class AuthenticationError extends Terminal49Error { constructor(message: string, status = 401, details?: unknown) { super(message, status, details); @@ -149,8 +149,11 @@ export function toTerminal49Error( case 400: return new ValidationError(message, status, details); case 401: + // The API also answers 401 for a valid token that lacks permission, with a detail saying so. return new AuthenticationError( - 'Invalid or missing API token', + message && message !== 'Unknown error' + ? message + : 'Invalid or missing API token', status, details, ); From a33919e57a7ce848e4465587c361c858cc233489 Mon Sep 17 00:00:00 2001 From: Akshay Dodeja Date: Thu, 15 Oct 2026 17:27:17 -0700 Subject: [PATCH 06/27] fix(sdk)!: map containers.get and containers.update in mapped and both formats containers.get and containers.update passed no mapper, so `mapped` returned the raw JSON:API document and `both` returned it twice. With `defaultFormat: 'mapped'`, `id`, `number`, and `events` were undefined. Both now map through mapContainer, like containers.list. getDemurrage and getRailMilestones read raw attributes, so they now request the raw format and keep working under a mapped default. BREAKING CHANGE: containers.get, containers.update, and getContainer return a mapped `Container` for format `mapped`, and `{ raw, mapped }` with a mapped `Container` for format `both`. Request format `raw` to keep the JSON:API document. The CLI defaults to format `mapped`, so `t49 containers get` now prints the mapped `Container` instead of the JSON:API document. Pass `--format raw` to keep the old output. Co-Authored-By: Claude Opus 5.5 --- .../typescript-sdk/src/client.mapping.test.ts | 39 +++++++++++++++++++ .../typescript-sdk/src/client.request.test.ts | 6 ++- sdks/typescript-sdk/src/client.ts | 8 +++- .../src/client/managers/containers.ts | 5 ++- 4 files changed, 52 insertions(+), 6 deletions(-) diff --git a/sdks/typescript-sdk/src/client.mapping.test.ts b/sdks/typescript-sdk/src/client.mapping.test.ts index e50c9466..db2c5b9b 100644 --- a/sdks/typescript-sdk/src/client.mapping.test.ts +++ b/sdks/typescript-sdk/src/client.mapping.test.ts @@ -387,6 +387,45 @@ describe('Terminal49Client mapping helpers', () => { } }); + it('maps containers.get and containers.update in mapped and both formats', async () => { + const fixture = loadFixture('containers.get.include'); + const { fetchImpl } = createMockFetch({ + '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/containers/container-1?include=shipment,pod_terminal,pickup_facility': + () => jsonResponse(fixture), + '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/containers/container-1': () => jsonResponse(fixture), + }); + const mappedClient = new Terminal49Client({ + apiToken: 'token-123', + apiBaseUrl: baseUrl, + fetchImpl, + defaultFormat: 'mapped', + }); + + const mapped = await mappedClient.containers.get('container-1'); + const both = await mappedClient.containers.get('container-1', undefined, { + format: 'both', + }); + const updated = await mappedClient.containers.update('container-1', { + ref_numbers: ['REF-1'], + }); + + const expected = { + id: 'container-1', + number: 'RMCU74210c6', + currentStatus: 'picked_up', + equipment: expect.objectContaining({ type: 'tank' }), + shipment: expect.objectContaining({ id: 'shipment-1' }), + terminals: expect.objectContaining({ + podTerminal: expect.objectContaining({ id: 'terminal-1' }), + destinationTerminal: null, + }), + }; + expect(mapped).toMatchObject(expected); + expect(updated).toMatchObject(expected); + expect(both.raw).toEqual(fixture); + expect(both.mapped).toMatchObject(expected); + }); + it('maps container list items from base fixture', async () => { const fixture = loadFixture('containers.list'); const { fetchImpl } = createMockFetch({ diff --git a/sdks/typescript-sdk/src/client.request.test.ts b/sdks/typescript-sdk/src/client.request.test.ts index 139f6b44..c288c096 100644 --- a/sdks/typescript-sdk/src/client.request.test.ts +++ b/sdks/typescript-sdk/src/client.request.test.ts @@ -530,7 +530,7 @@ describe('Terminal49Client request building', () => { expect(calls[2].init?.method).toBe('PATCH'); }); - it('derives demurrage fields from container attributes', async () => { + it('derives demurrage fields from raw container attributes under a mapped default', async () => { const { fetchImpl } = createMockFetch({ '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/containers/cont-1?include=pod_terminal': () => jsonResponse({ @@ -553,6 +553,7 @@ describe('Terminal49Client request building', () => { apiToken: 'token-123', apiBaseUrl: baseUrl, fetchImpl, + defaultFormat: 'mapped', }); const demurrage = await client.getDemurrage('cont-1'); @@ -568,7 +569,7 @@ describe('Terminal49Client request building', () => { }); }); - it('filters rail milestones to rail events only', async () => { + it('filters rail milestones to rail events under a mapped default', async () => { const { fetchImpl } = createMockFetch({ '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/containers/cont-1?include=transport_events': () => jsonResponse({ @@ -610,6 +611,7 @@ describe('Terminal49Client request building', () => { apiToken: 'token-123', apiBaseUrl: baseUrl, fetchImpl, + defaultFormat: 'mapped', }); const result = await client.getRailMilestones('cont-1'); diff --git a/sdks/typescript-sdk/src/client.ts b/sdks/typescript-sdk/src/client.ts index fc0b12f7..b1ae932b 100644 --- a/sdks/typescript-sdk/src/client.ts +++ b/sdks/typescript-sdk/src/client.ts @@ -502,7 +502,9 @@ export class Terminal49Client { /** Return a demurrage-focused subset of container fields. */ async getDemurrage(containerId: string): Promise { - const data = await this.containers.get(containerId, ['pod_terminal']); + const data = await this.containers.get(containerId, ['pod_terminal'], { + format: 'raw', + }); const container = data.data?.attributes || {}; return { container_id: containerId, @@ -539,7 +541,9 @@ export class Terminal49Client { /** Return rail milestone fields and rail transport events for a container. */ async getRailMilestones(containerId: string): Promise { - const data = await this.containers.get(containerId, ['transport_events']); + const data = await this.containers.get(containerId, ['transport_events'], { + format: 'raw', + }); const container = data.data?.attributes || {}; const included = data.included || []; diff --git a/sdks/typescript-sdk/src/client/managers/containers.ts b/sdks/typescript-sdk/src/client/managers/containers.ts index 02706fe8..e59312bd 100644 --- a/sdks/typescript-sdk/src/client/managers/containers.ts +++ b/sdks/typescript-sdk/src/client/managers/containers.ts @@ -11,6 +11,7 @@ import type { ListOptions, } from '../../types/options.js'; import { + mapContainer, mapContainerList, mapContainerRoute, mapCustomFields, @@ -115,7 +116,7 @@ export class ContainerManager extends BaseManager { }, }), ); - return this.formatResult(raw, options?.format); + return this.formatResult(raw, options?.format, mapContainer); } /** Update a container's `ref_numbers`, `seal_number`, equipment type, length, and height, or `weight_in_lbs`. */ @@ -130,7 +131,7 @@ export class ContainerManager extends BaseManager { body: { data: { type: 'container', id, attributes: attrs } }, }), ); - return this.formatResult(raw, options?.format); + return this.formatResult(raw, options?.format, mapContainer); } async customFields(id: string, options?: CallOptions): Promise { From 6d750960222a0f108b3c97c40337df6277fa901b Mon Sep 17 00:00:00 2001 From: Akshay Dodeja Date: Thu, 15 Oct 2026 17:27:32 -0700 Subject: [PATCH 07/27] fix(sdk): keep shipment container ids that are not included mapShipment built `containers` from the included container resources only. A shipment fetched without `include=containers` still links its containers by id, but the mapped shipment showed none. The mapper now reads `relationships.containers.data`, emits `{ id }` for each linked container, and adds `number` when the container is included. Co-Authored-By: Claude Opus 5.5 --- .../typescript-sdk/src/client.mapping.test.ts | 29 +++++++++++++++++++ sdks/typescript-sdk/src/client/mappers.ts | 26 +++++++---------- 2 files changed, 39 insertions(+), 16 deletions(-) diff --git a/sdks/typescript-sdk/src/client.mapping.test.ts b/sdks/typescript-sdk/src/client.mapping.test.ts index db2c5b9b..ce225349 100644 --- a/sdks/typescript-sdk/src/client.mapping.test.ts +++ b/sdks/typescript-sdk/src/client.mapping.test.ts @@ -387,6 +387,35 @@ describe('Terminal49Client mapping helpers', () => { } }); + it('keeps shipment container ids whether or not the containers are included', async () => { + const included = loadFixture('shipments.get.include'); + const list = loadFixture('shipments.list'); + const { fetchImpl } = createMockFetch({ + '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/shipments/shipment-1?include=containers,pod_terminal,port_of_lading,port_of_discharge,destination,destination_terminal': + () => jsonResponse(included), + '/shipments?include=pod_terminal,port_of_lading,port_of_discharge,destination,destination_terminal': + () => jsonResponse(list), + }); + const client = new Terminal49Client({ + apiToken: 'token-123', + apiBaseUrl: baseUrl, + fetchImpl, + defaultFormat: 'mapped', + }); + + const withContainers = await client.getShipment('shipment-1'); + const withoutContainers = await client.listShipments({ + includeContainers: false, + }); + + expect(withContainers.containers).toEqual([ + { id: 'container-1', number: 'RMCU74210c6' }, + ]); + expect(withoutContainers.items[0].containers).toEqual([ + { id: 'container-1' }, + ]); + }); + it('maps containers.get and containers.update in mapped and both formats', async () => { const fixture = loadFixture('containers.get.include'); const { fetchImpl } = createMockFetch({ diff --git a/sdks/typescript-sdk/src/client/mappers.ts b/sdks/typescript-sdk/src/client/mappers.ts index f55b5158..fbf63d70 100644 --- a/sdks/typescript-sdk/src/client/mappers.ts +++ b/sdks/typescript-sdk/src/client/mappers.ts @@ -339,22 +339,16 @@ export function mapShipment(doc: any): Shipment { ...attrCamel, }; - const containerRelationships = apiDoc.getRelationship(data, 'containers'); - const containers = Array.isArray(containerRelationships) - ? containerRelationships - : containerRelationships - ? [containerRelationships] - : []; - - shipment.containers = containers - .map((c: any) => { - if (!c) return null; - return { - id: c.id, - number: c.attributes?.number || c.attributes?.container_number, - }; - }) - .filter(Boolean) as Array<{ id: string; number?: string }>; + const containerRefs = data?.relationships?.containers?.data; + shipment.containers = (Array.isArray(containerRefs) ? containerRefs : []).map( + (ref: { id: string; type: string }) => { + const container = apiDoc.getIncluded(ref.type, ref.id); + const number = + container?.attributes?.number || + container?.attributes?.container_number; + return number ? { id: ref.id, number } : { id: ref.id }; + }, + ); shipment.refNumbers = attrs.ref_numbers; shipment.tags = attrs.tags; From a2126d3b72dc0568570b112a98634cdfdb92fd23 Mon Sep 17 00:00:00 2001 From: Akshay Dodeja Date: Thu, 15 Oct 2026 17:27:47 -0700 Subject: [PATCH 08/27] fix(sdk)!: map vessels and vessel future positions vessels.get, getByImo, futurePositions, and futurePositionsWithCoords passed no mapper, so format `mapped` returned the raw JSON:API document and `both` returned it twice. They now map to a `Vessel` (name, IMO, MMSI, last position, speed, and heading). The future-position methods map to a `VesselWithFuturePositions`, which adds the estimated `positions` (latitude, longitude, heading, timestamp, estimated). BREAKING CHANGE: the vessel methods return `Vessel` or `VesselWithFuturePositions` for format `mapped`, and `{ raw, mapped }` with the mapped model for format `both`. Request format `raw` to keep the JSON:API document. The CLI defaults to format `mapped`, so `t49 vessels get`, `get-by-imo`, `future-positions`, and `future-positions-coords` now print the mapped model instead of the JSON:API document. Pass `--format raw` to keep the old output. Co-Authored-By: Claude Opus 5.5 --- docs/docs.json | 3 + docs/sdk/reference/types/models/index.mdx | 3 + .../types/models/interfaces/Vessel.mdx | 25 +++++ .../models/interfaces/VesselPosition.mdx | 17 ++++ .../interfaces/VesselWithFuturePositions.mdx | 26 +++++ .../typescript-sdk/src/client.mapping.test.ts | 98 +++++++++++++++++++ sdks/typescript-sdk/src/client.ts | 9 +- sdks/typescript-sdk/src/client/mappers.ts | 49 ++++++++++ sdks/typescript-sdk/src/types/models.ts | 32 ++++++ 9 files changed, 258 insertions(+), 4 deletions(-) create mode 100644 docs/sdk/reference/types/models/interfaces/Vessel.mdx create mode 100644 docs/sdk/reference/types/models/interfaces/VesselPosition.mdx create mode 100644 docs/sdk/reference/types/models/interfaces/VesselWithFuturePositions.mdx diff --git a/docs/docs.json b/docs/docs.json index 8a4bbb89..3e7fca32 100644 --- a/docs/docs.json +++ b/docs/docs.json @@ -502,6 +502,9 @@ "sdk/reference/types/models/interfaces/ShippingLine", "sdk/reference/types/models/interfaces/TrackingRequest", "sdk/reference/types/models/interfaces/TrackingSlots", + "sdk/reference/types/models/interfaces/Vessel", + "sdk/reference/types/models/interfaces/VesselPosition", + "sdk/reference/types/models/interfaces/VesselWithFuturePositions", "sdk/reference/types/models/type-aliases/CustomFieldValue" ] }, diff --git a/docs/sdk/reference/types/models/index.mdx b/docs/sdk/reference/types/models/index.mdx index 1c8a6c0c..c4cc97fe 100644 --- a/docs/sdk/reference/types/models/index.mdx +++ b/docs/sdk/reference/types/models/index.mdx @@ -26,6 +26,9 @@ description: "Mapped response models in the Terminal49 TypeScript SDK: Container | [ShippingLine](/sdk/reference/types/models/interfaces/ShippingLine) | Simplified shipping line returned by mapped SDK responses. | | [TrackingRequest](/sdk/reference/types/models/interfaces/TrackingRequest) | Simplified tracking request model returned by mapped SDK responses. | | [TrackingSlots](/sdk/reference/types/models/interfaces/TrackingSlots) | Tracking-slot usage on free and trial plans. | +| [Vessel](/sdk/reference/types/models/interfaces/Vessel) | Simplified vessel model returned by mapped vessel methods. | +| [VesselPosition](/sdk/reference/types/models/interfaces/VesselPosition) | One estimated future position of a vessel. | +| [VesselWithFuturePositions](/sdk/reference/types/models/interfaces/VesselWithFuturePositions) | A vessel with its estimated future positions, returned by the mapped future-position methods. | ## Type Aliases diff --git a/docs/sdk/reference/types/models/interfaces/Vessel.mdx b/docs/sdk/reference/types/models/interfaces/Vessel.mdx new file mode 100644 index 00000000..8c0421bf --- /dev/null +++ b/docs/sdk/reference/types/models/interfaces/Vessel.mdx @@ -0,0 +1,25 @@ +--- +title: "Interface: Vessel" +--- + +# Interface: Vessel + +Simplified vessel model returned by mapped vessel methods. + +## Extended by + +- [`VesselWithFuturePositions`](/sdk/reference/types/models/interfaces/VesselWithFuturePositions) + +## Properties + +| Property | Type | Description | +| ------ | ------ | ------ | +| `headingDegrees` | `number` \| `null` | Degrees clockwise from north. | +| `id` | `string` | - | +| `imo` | `string` \| `null` | - | +| `latitude` | `number` \| `null` | Last reported latitude. | +| `longitude` | `number` \| `null` | Last reported longitude. | +| `mmsi` | `string` \| `null` | - | +| `name` | `string` \| `null` | - | +| `positionAt` | `string` \| `null` | When the last position was reported. | +| `speedKnots` | `number` \| `null` | - | diff --git a/docs/sdk/reference/types/models/interfaces/VesselPosition.mdx b/docs/sdk/reference/types/models/interfaces/VesselPosition.mdx new file mode 100644 index 00000000..e5cf4592 --- /dev/null +++ b/docs/sdk/reference/types/models/interfaces/VesselPosition.mdx @@ -0,0 +1,17 @@ +--- +title: "Interface: VesselPosition" +--- + +# Interface: VesselPosition + +One estimated future position of a vessel. + +## Properties + +| Property | Type | Description | +| ------ | ------ | ------ | +| `estimated` | `boolean` | - | +| `heading` | `number` \| `null` | Degrees clockwise from north. | +| `latitude` | `number` | - | +| `longitude` | `number` | - | +| `timestamp` | `string` | - | diff --git a/docs/sdk/reference/types/models/interfaces/VesselWithFuturePositions.mdx b/docs/sdk/reference/types/models/interfaces/VesselWithFuturePositions.mdx new file mode 100644 index 00000000..170e97cb --- /dev/null +++ b/docs/sdk/reference/types/models/interfaces/VesselWithFuturePositions.mdx @@ -0,0 +1,26 @@ +--- +title: "Interface: VesselWithFuturePositions" +--- + +# Interface: VesselWithFuturePositions + +A vessel with its estimated future positions, returned by the mapped future-position methods. + +## Extends + +- [`Vessel`](/sdk/reference/types/models/interfaces/Vessel) + +## Properties + +| Property | Type | Description | Inherited from | +| ------ | ------ | ------ | ------ | +| `headingDegrees` | `number` \| `null` | Degrees clockwise from north. | [`Vessel`](/sdk/reference/types/models/interfaces/Vessel).[`headingDegrees`](/sdk/reference/types/models/interfaces/Vessel#property-headingdegrees) | +| `id` | `string` | - | [`Vessel`](/sdk/reference/types/models/interfaces/Vessel).[`id`](/sdk/reference/types/models/interfaces/Vessel#property-id) | +| `imo` | `string` \| `null` | - | [`Vessel`](/sdk/reference/types/models/interfaces/Vessel).[`imo`](/sdk/reference/types/models/interfaces/Vessel#property-imo) | +| `latitude` | `number` \| `null` | Last reported latitude. | [`Vessel`](/sdk/reference/types/models/interfaces/Vessel).[`latitude`](/sdk/reference/types/models/interfaces/Vessel#property-latitude) | +| `longitude` | `number` \| `null` | Last reported longitude. | [`Vessel`](/sdk/reference/types/models/interfaces/Vessel).[`longitude`](/sdk/reference/types/models/interfaces/Vessel#property-longitude) | +| `mmsi` | `string` \| `null` | - | [`Vessel`](/sdk/reference/types/models/interfaces/Vessel).[`mmsi`](/sdk/reference/types/models/interfaces/Vessel#property-mmsi) | +| `name` | `string` \| `null` | - | [`Vessel`](/sdk/reference/types/models/interfaces/Vessel).[`name`](/sdk/reference/types/models/interfaces/Vessel#property-name) | +| `positionAt` | `string` \| `null` | When the last position was reported. | [`Vessel`](/sdk/reference/types/models/interfaces/Vessel).[`positionAt`](/sdk/reference/types/models/interfaces/Vessel#property-positionat) | +| `positions` | [`VesselPosition`](/sdk/reference/types/models/interfaces/VesselPosition)[] | - | - | +| `speedKnots` | `number` \| `null` | - | [`Vessel`](/sdk/reference/types/models/interfaces/Vessel).[`speedKnots`](/sdk/reference/types/models/interfaces/Vessel#property-speedknots) | diff --git a/sdks/typescript-sdk/src/client.mapping.test.ts b/sdks/typescript-sdk/src/client.mapping.test.ts index ce225349..ba8316c8 100644 --- a/sdks/typescript-sdk/src/client.mapping.test.ts +++ b/sdks/typescript-sdk/src/client.mapping.test.ts @@ -416,6 +416,104 @@ describe('Terminal49Client mapping helpers', () => { ]); }); + it('maps vessels and their estimated future positions', async () => { + const vesselAttributes = { + name: 'EVER GIVEN', + imo: '9811000', + mmsi: '353136000', + latitude: 25.29845, + longitude: 121.217, + nautical_speed_knots: 14, + navigational_heading_degrees: 194, + position_timestamp: '2026-10-01T14:01:37Z', + }; + const vessel = { + data: { id: 'v-1', type: 'vessel', attributes: vesselAttributes }, + }; + const withPositions = { + data: { + id: 'v-1', + type: 'vessel', + attributes: { + ...vesselAttributes, + positions: [ + { + latitude: 1.5, + longitude: 104.5, + heading: 51, + timestamp: '2026-10-02T00:00:00Z', + estimated: true, + }, + { + latitude: 2.5, + longitude: 105.5, + timestamp: '2026-10-03T00:00:00Z', + estimated: false, + }, + ], + }, + }, + links: { self: '/v2/vessels/v-1/future_positions' }, + }; + const { fetchImpl } = createMockFetch({ + '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/vessels/v-1': () => jsonResponse(vessel), + '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/vessels/9811000': () => jsonResponse(vessel), + '/vessels/v-1/future_positions?port_id=p-2&previous_port_id=p-1': () => + jsonResponse(withPositions), + '/vessels/v-1/future_positions_with_coordinates?port_id=p-2&previous_port_id=p-1&latitude=1&longitude=2': + () => jsonResponse(withPositions), + }); + const client = new Terminal49Client({ + apiToken: 'token-123', + apiBaseUrl: baseUrl, + fetchImpl, + defaultFormat: 'mapped', + }); + + const current = { + id: 'v-1', + name: 'EVER GIVEN', + imo: '9811000', + mmsi: '353136000', + latitude: 25.29845, + longitude: 121.217, + speedKnots: 14, + headingDegrees: 194, + positionAt: '2026-10-01T14:01:37Z', + }; + const positions = [ + { + latitude: 1.5, + longitude: 104.5, + heading: 51, + timestamp: '2026-10-02T00:00:00Z', + estimated: true, + }, + { + latitude: 2.5, + longitude: 105.5, + heading: null, + timestamp: '2026-10-03T00:00:00Z', + estimated: false, + }, + ]; + const ports = { portId: 'p-2', previousPortId: 'p-1' }; + + expect(await client.vessels.get('v-1')).toEqual(current); + expect(await client.vessels.getByImo('9811000')).toEqual(current); + expect(await client.vessels.futurePositions('v-1', ports)).toEqual({ + ...current, + positions, + }); + expect( + await client.vessels.futurePositionsWithCoords( + 'v-1', + { ...ports, latitude: 1, longitude: 2 }, + { format: 'both' }, + ), + ).toEqual({ raw: withPositions, mapped: { ...current, positions } }); + }); + it('maps containers.get and containers.update in mapped and both formats', async () => { const fixture = loadFixture('containers.get.include'); const { fetchImpl } = createMockFetch({ diff --git a/sdks/typescript-sdk/src/client.ts b/sdks/typescript-sdk/src/client.ts index b1ae932b..2f63d150 100644 --- a/sdks/typescript-sdk/src/client.ts +++ b/sdks/typescript-sdk/src/client.ts @@ -34,6 +34,7 @@ import { normalizeInclude, type PaginatedQuery, } from './client/query.js'; +import { mapVessel, mapVesselFuturePositions } from './client/mappers.js'; import { callerPayload, type JsonBody } from './client/spec.js'; import { mapCurrentCredential } from './client/mappers.js'; import { Transport } from './client/transport.js'; @@ -744,7 +745,7 @@ export class Terminal49Client { params: { path: { id } }, }), ); - return this.formatResult(raw, options?.format); + return this.formatResult(raw, options?.format, mapVessel); } /** Fetch a vessel by IMO number. */ @@ -754,7 +755,7 @@ export class Terminal49Client { params: { path: { imo } }, }), ); - return this.formatResult(raw, options?.format); + return this.formatResult(raw, options?.format, mapVessel); } /** Fetch a vessel's estimated positions between two ports. Requires the Routing Data feature. */ @@ -774,7 +775,7 @@ export class Terminal49Client { }, }), ); - return this.formatResult(raw, options?.format); + return this.formatResult(raw, options?.format, mapVesselFuturePositions); } /** Fetch a vessel's estimated positions from a starting coordinate. Requires the Routing Data feature. */ @@ -799,7 +800,7 @@ export class Terminal49Client { }, ), ); - return this.formatResult(raw, options?.format); + return this.formatResult(raw, options?.format, mapVesselFuturePositions); } /** Fetch a port by ID. */ diff --git a/sdks/typescript-sdk/src/client/mappers.ts b/sdks/typescript-sdk/src/client/mappers.ts index fbf63d70..612f47e3 100644 --- a/sdks/typescript-sdk/src/client/mappers.ts +++ b/sdks/typescript-sdk/src/client/mappers.ts @@ -12,6 +12,9 @@ import type { CurrentAccount, CurrentCredential, CurrentUser, + Vessel, + VesselPosition, + VesselWithFuturePositions, } from '../types/models.js'; import { JsonApiDocument, omitKeys } from './jsonapi.js'; @@ -179,6 +182,52 @@ export function mapContainerRoute(doc: ContainerMapGeojson): ContainerRoute { return { ports, currentVessel, totalPorts: ports.length }; } +type VesselDocument = + paths['/vessels/{id}']['get']['responses'][200]['content']['application/json']; +type VesselFuturePositionsDocument = + paths['/vessels/{id}/future_positions']['get']['responses'][200]['content']['application/json']; +type VesselData = NonNullable< + VesselDocument['data'] | VesselFuturePositionsDocument['data'] +>; + +function mapVesselData(data: VesselData | undefined): Vessel { + const attrs = data?.attributes; + return { + id: data?.id ?? '', + name: attrs?.name ?? null, + imo: attrs?.imo ?? null, + mmsi: attrs?.mmsi ?? null, + latitude: attrs?.latitude ?? null, + longitude: attrs?.longitude ?? null, + speedKnots: attrs?.nautical_speed_knots ?? null, + headingDegrees: attrs?.navigational_heading_degrees ?? null, + positionAt: attrs?.position_timestamp ?? null, + }; +} + +/** Map `GET /vessels/{id}` or `GET /vessels/{imo}` to a `Vessel`. */ +export function mapVessel(doc: VesselDocument): Vessel { + return mapVesselData(doc.data); +} + +/** Map a vessel future-positions document to the vessel and its estimated positions. */ +export function mapVesselFuturePositions( + doc: VesselFuturePositionsDocument, +): VesselWithFuturePositions { + return { + ...mapVesselData(doc.data), + positions: (doc.data?.attributes.positions ?? []).map( + (position): VesselPosition => ({ + latitude: position.latitude, + longitude: position.longitude, + heading: position.heading ?? null, + timestamp: position.timestamp, + estimated: position.estimated, + }), + ), + }; +} + export function mapShippingLines(doc: any): ShippingLine[] { const data = Array.isArray(doc?.data) ? doc.data : []; return data diff --git a/sdks/typescript-sdk/src/types/models.ts b/sdks/typescript-sdk/src/types/models.ts index 8097b99a..744ce2e7 100644 --- a/sdks/typescript-sdk/src/types/models.ts +++ b/sdks/typescript-sdk/src/types/models.ts @@ -190,6 +190,38 @@ export interface ContainerRoute { totalPorts: number; } +/** One estimated future position of a vessel. */ +export interface VesselPosition { + latitude: number; + longitude: number; + /** Degrees clockwise from north. */ + heading: number | null; + timestamp: string; + estimated: boolean; +} + +/** Simplified vessel model returned by mapped vessel methods. */ +export interface Vessel { + id: string; + name: string | null; + imo: string | null; + mmsi: string | null; + /** Last reported latitude. */ + latitude: number | null; + /** Last reported longitude. */ + longitude: number | null; + speedKnots: number | null; + /** Degrees clockwise from north. */ + headingDegrees: number | null; + /** When the last position was reported. */ + positionAt: string | null; +} + +/** A vessel with its estimated future positions, returned by the mapped future-position methods. */ +export interface VesselWithFuturePositions extends Vessel { + positions: VesselPosition[]; +} + /** Simplified tracking request model returned by mapped SDK responses. */ export interface TrackingRequest { id: string; From 43d32007fc8f46b7e1757171f957a8b30cc3db9c Mon Sep 17 00:00:00 2001 From: Akshay Dodeja Date: Thu, 15 Oct 2026 17:28:09 -0700 Subject: [PATCH 09/27] fix(sdk): send stop_tracking and resume_tracking without a body The spec defines no request body for PATCH /shipments/{id}/stop_tracking or resume_tracking, and the backend reads only the path id. The SDK sent a JSON:API document through an `as any` cast. Both calls now send the path id only. Co-Authored-By: Claude Opus 5.5 --- sdks/typescript-sdk/src/client.request.test.ts | 18 +++++++----------- .../src/client/managers/shipments.ts | 4 ---- 2 files changed, 7 insertions(+), 15 deletions(-) diff --git a/sdks/typescript-sdk/src/client.request.test.ts b/sdks/typescript-sdk/src/client.request.test.ts index c288c096..8f7be2ab 100644 --- a/sdks/typescript-sdk/src/client.request.test.ts +++ b/sdks/typescript-sdk/src/client.request.test.ts @@ -481,10 +481,10 @@ describe('Terminal49Client request building', () => { ).rejects.toBeInstanceOf(ValidationError); }); - it('sends JSON:API payloads for shipment updates and tracking controls', async () => { + it('sends a JSON:API update body and bodiless tracking controls', async () => { let updatePayload: any = null; - let stopPayload: any = null; - let resumePayload: any = null; + let stopBody: unknown = null; + let resumeBody: unknown = null; const { fetchImpl, calls } = createMockFetch({ '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/shipments/ship-1': (init) => { @@ -492,11 +492,11 @@ describe('Terminal49Client request building', () => { return jsonResponse({ data: { id: 'ship-1' } }); }, '/shipments/ship-1/stop_tracking': (init) => { - stopPayload = JSON.parse(String(init?.body)); + stopBody = init?.body; return jsonResponse({ data: { id: 'ship-1' } }); }, '/shipments/ship-1/resume_tracking': (init) => { - resumePayload = JSON.parse(String(init?.body)); + resumeBody = init?.body; return jsonResponse({ data: { id: 'ship-1' } }); }, }); @@ -518,12 +518,8 @@ describe('Terminal49Client request building', () => { attributes: { status: 'paused' }, }, }); - expect(stopPayload).toEqual({ - data: { type: 'shipment', id: 'ship-1' }, - }); - expect(resumePayload).toEqual({ - data: { type: 'shipment', id: 'ship-1' }, - }); + expect(stopBody).toBe(''); + expect(resumeBody).toBe(''); expect(calls[0].init?.method).toBe('PATCH'); expect(calls[1].init?.method).toBe('PATCH'); diff --git a/sdks/typescript-sdk/src/client/managers/shipments.ts b/sdks/typescript-sdk/src/client/managers/shipments.ts index 936d1105..86217112 100644 --- a/sdks/typescript-sdk/src/client/managers/shipments.ts +++ b/sdks/typescript-sdk/src/client/managers/shipments.ts @@ -137,22 +137,18 @@ export class ShipmentManager extends BaseManager { } async stopTracking(id: string, options?: CallOptions): Promise { - const payload = { data: { type: 'shipment' as const, id } }; const raw = await this.transport.execute(() => this.transport.client.PATCH('/shipments/{id}/stop_tracking', { params: { path: { id } }, - body: payload as any, }), ); return this.formatResult(raw, options?.format, mapShipment); } async resumeTracking(id: string, options?: CallOptions): Promise { - const payload = { data: { type: 'shipment' as const, id } }; const raw = await this.transport.execute(() => this.transport.client.PATCH('/shipments/{id}/resume_tracking', { params: { path: { id } }, - body: payload as any, }), ); return this.formatResult(raw, options?.format, mapShipment); From 8f0bc0841e3871a153d012bf52b5b0447364fd37 Mon Sep 17 00:00:00 2001 From: Akshay Dodeja Date: Thu, 15 Oct 2026 17:28:24 -0700 Subject: [PATCH 10/27] fix(sdk): filter shipping lines by search on the client GET /shipping_lines has no search parameter. The SDK sent `search` through an `as any` cast, the server ignored it, and listShippingLines('hapag') returned every line. The SDK now requests the full list and keeps the lines whose SCAC, alternative SCACs, name, or short name contain the search text, ignoring case. The filter applies to the raw document too, so every format agrees. Co-Authored-By: Claude Opus 5.5 --- .../managers/classes/ShippingLineManager.mdx | 4 +++ .../typescript-sdk/src/client.mapping.test.ts | 34 +++++++++++++++++++ sdks/typescript-sdk/src/client.test.ts | 13 +------ .../src/client/managers/shipping-lines.ts | 31 ++++++++++++++--- 4 files changed, 65 insertions(+), 17 deletions(-) diff --git a/docs/sdk/reference/client/managers/classes/ShippingLineManager.mdx b/docs/sdk/reference/client/managers/classes/ShippingLineManager.mdx index c191bed5..1d03576f 100644 --- a/docs/sdk/reference/client/managers/classes/ShippingLineManager.mdx +++ b/docs/sdk/reference/client/managers/classes/ShippingLineManager.mdx @@ -55,6 +55,10 @@ Fetch a shipping line by ID. > **list**(`search?`, `options?`): `Promise`\<`any`\> +List the shipping lines the account can track. The API has no search +parameter, so `search` filters the full list here: a case-insensitive +substring match on SCAC, alternative SCACs, name, and short name. + #### Parameters | Parameter | Type | diff --git a/sdks/typescript-sdk/src/client.mapping.test.ts b/sdks/typescript-sdk/src/client.mapping.test.ts index ba8316c8..f17021e6 100644 --- a/sdks/typescript-sdk/src/client.mapping.test.ts +++ b/sdks/typescript-sdk/src/client.mapping.test.ts @@ -108,6 +108,40 @@ describe('Terminal49Client mapping helpers', () => { } }); + it('filters shipping lines on the client and sends no search param', async () => { + const fixture = loadFixture('shipping-lines.list'); + const { fetchImpl, calls } = createMockFetch({ + '/shipping_lines': () => jsonResponse(fixture), + }); + const client = new Terminal49Client({ + apiToken: 'token-123', + apiBaseUrl: baseUrl, + fetchImpl, + }); + + const byName = (await client.listShippingLines('Hapag', { + format: 'mapped', + })) as any[]; + const byAlternativeScac = (await client.shippingLines.list('medu', { + format: 'mapped', + })) as any[]; + const byScac = (await client.shippingLines.list('hlcu', { + format: 'mapped', + })) as any[]; + const byShortName = (await client.shippingLines.list('culines', { + format: 'mapped', + })) as any[]; + const raw = await client.listShippingLines('hapag'); + + expect(byName.map((line) => line.scac)).toEqual(['HLCU']); + expect(byAlternativeScac.map((line) => line.scac)).toEqual(['MSCU']); + expect(byScac.map((line) => line.scac)).toEqual(['HLCU']); + expect(byShortName.map((line) => line.scac)).toEqual(['CULU']); + expect(raw.data.map((line: any) => line.attributes.scac)).toEqual(['HLCU']); + expect(raw.links).toEqual(fixture.links); + expect(calls.map((call) => call.url.search)).toEqual(['', '', '', '', '']); + }); + it('maps the tracked_object shipment on a tracking request', async () => { const fixture = loadFixture('tracking-requests.get.base'); const { fetchImpl } = createMockFetch({ diff --git a/sdks/typescript-sdk/src/client.test.ts b/sdks/typescript-sdk/src/client.test.ts index 143b9328..92fdaee3 100644 --- a/sdks/typescript-sdk/src/client.test.ts +++ b/sdks/typescript-sdk/src/client.test.ts @@ -148,14 +148,10 @@ describe('Terminal49Client', () => { expect(headers.get('x-account-id')).toBe('account-123'); }); - it('sets include params on shipment and lists shipping lines with search', async () => { + it('sets include params on shipment', async () => { const { fetchImpl, calls } = createMockFetch({ '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/shipments/ship-1?include=containers,pod_terminal,port_of_lading,port_of_discharge,destination,destination_terminal': () => jsonResponse({ data: { id: 'ship-1' } }), - '/shipping_lines?search=MAEU': () => - jsonResponse({ - data: [{ attributes: { scac: 'MAEU', name: 'Maersk' } }], - }), }); const client = new Terminal49Client({ @@ -165,7 +161,6 @@ describe('Terminal49Client', () => { }); await client.getShipment('ship-1'); - await client.listShippingLines('MAEU'); const includeCall = calls.find((c) => c.url.pathname.endsWith('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/shipments/ship-1'), @@ -174,12 +169,6 @@ describe('Terminal49Client', () => { expect(includeCall?.url.searchParams.get('include')).toContain( 'containers', ); - - const shippingCall = calls.find((c) => - c.url.pathname.endsWith('/shipping_lines'), - ); - expect(shippingCall).toBeDefined(); - expect(shippingCall?.url.searchParams.get('search')).toBe('MAEU'); }); it('sends JSON:API payload when tracking container', async () => { diff --git a/sdks/typescript-sdk/src/client/managers/shipping-lines.ts b/sdks/typescript-sdk/src/client/managers/shipping-lines.ts index b85bcbd5..fa28e1e4 100644 --- a/sdks/typescript-sdk/src/client/managers/shipping-lines.ts +++ b/sdks/typescript-sdk/src/client/managers/shipping-lines.ts @@ -1,15 +1,36 @@ +import type { components } from '../../generated/terminal49.js'; import type { CallOptions } from '../../types/options.js'; import { mapShippingLines } from '../mappers.js'; import { BaseManager } from './base.js'; +type ShippingLineResource = components['schemas']['shipping_line']; + +function matchesSearch(line: ShippingLineResource, needle: string): boolean { + const { scac, name, short_name, alternative_scacs } = line.attributes; + return [scac, name, short_name, ...alternative_scacs].some((value) => + value.toLowerCase().includes(needle), + ); +} + export class ShippingLineManager extends BaseManager { + /** + * List the shipping lines the account can track. The API has no search + * parameter, so `search` filters the full list here: a case-insensitive + * substring match on SCAC, alternative SCACs, name, and short name. + */ async list(search?: string, options?: CallOptions): Promise { - const query = search ? { search } : undefined; - const raw = await this.transport.execute(() => - this.transport.client.GET('/shipping_lines', { - params: { query: query as any }, - }), + const doc = await this.transport.execute(() => + this.transport.client.GET('/shipping_lines'), ); + const needle = search?.trim().toLowerCase(); + const raw = needle + ? { + ...doc, + data: doc.data?.filter((line: ShippingLineResource) => + matchesSearch(line, needle), + ), + } + : doc; return this.formatResult(raw, options?.format, mapShippingLines); } From 2bb5a3fc991282e9ed026dd015bf810b8659af54 Mon Sep 17 00:00:00 2001 From: Akshay Dodeja Date: Thu, 15 Oct 2026 17:28:40 -0700 Subject: [PATCH 11/27] fix(sdk): search shipping lines whose name columns are null The spec marks a shipping line's name, short_name, and alternative_scacs as required strings, but the backing columns are nullable. The search filter called toLowerCase on each and spread alternative_scacs, so one line with a null column made listShippingLines(search) throw. The filter now skips null values. Co-Authored-By: Claude Opus 5.5 --- .../typescript-sdk/src/client.mapping.test.ts | 39 +++++++++++++++++++ .../src/client/managers/shipping-lines.ts | 11 ++++-- 2 files changed, 47 insertions(+), 3 deletions(-) diff --git a/sdks/typescript-sdk/src/client.mapping.test.ts b/sdks/typescript-sdk/src/client.mapping.test.ts index f17021e6..3dbdb2e7 100644 --- a/sdks/typescript-sdk/src/client.mapping.test.ts +++ b/sdks/typescript-sdk/src/client.mapping.test.ts @@ -142,6 +142,45 @@ describe('Terminal49Client mapping helpers', () => { expect(calls.map((call) => call.url.search)).toEqual(['', '', '', '', '']); }); + it('searches shipping lines whose nullable columns are null', async () => { + const { fetchImpl } = createMockFetch({ + '/shipping_lines': () => + jsonResponse({ + data: [ + { + id: 'sl-1', + type: 'shipping_line', + attributes: { + scac: 'ZZZU', + name: null, + short_name: null, + alternative_scacs: null, + }, + }, + { + id: 'sl-2', + type: 'shipping_line', + attributes: { + scac: 'MAEU', + name: 'Maersk', + short_name: null, + alternative_scacs: [], + }, + }, + ], + }), + }); + const client = new Terminal49Client({ + apiToken: 'token-123', + apiBaseUrl: baseUrl, + fetchImpl, + }); + + const result = await client.listShippingLines('maersk'); + + expect(result.data.map((line: any) => line.id)).toEqual(['sl-2']); + }); + it('maps the tracked_object shipment on a tracking request', async () => { const fixture = loadFixture('tracking-requests.get.base'); const { fetchImpl } = createMockFetch({ diff --git a/sdks/typescript-sdk/src/client/managers/shipping-lines.ts b/sdks/typescript-sdk/src/client/managers/shipping-lines.ts index fa28e1e4..88c9a59b 100644 --- a/sdks/typescript-sdk/src/client/managers/shipping-lines.ts +++ b/sdks/typescript-sdk/src/client/managers/shipping-lines.ts @@ -7,9 +7,14 @@ type ShippingLineResource = components['schemas']['shipping_line']; function matchesSearch(line: ShippingLineResource, needle: string): boolean { const { scac, name, short_name, alternative_scacs } = line.attributes; - return [scac, name, short_name, ...alternative_scacs].some((value) => - value.toLowerCase().includes(needle), - ); + // The backing columns for name, short_name, and alternative_scacs are nullable. + const values: Array = [ + scac, + name, + short_name, + ...(alternative_scacs ?? []), + ]; + return values.some((value) => value?.toLowerCase().includes(needle)); } export class ShippingLineManager extends BaseManager { From 0460ad68e3ed35608dc125b02add8342dc2c380a Mon Sep 17 00:00:00 2001 From: Akshay Dodeja Date: Thu, 15 Oct 2026 17:28:55 -0700 Subject: [PATCH 12/27] refactor(sdk): list entity custom fields through the typed client The spec now documents `include` on GET /containers/{id}/custom_fields, /shipments/{id}/custom_fields, and /tracking_requests/{id}/custom_fields. The three customFields() methods drop their hand-built executeManual URLs and call the typed client with `include: 'definition'`. The request is unchanged. Co-Authored-By: Claude Opus 5.5 --- .../src/client/managers/containers.ts | 10 +++++++--- .../typescript-sdk/src/client/managers/shipments.ts | 7 ++++--- .../src/client/managers/tracking-requests.ts | 13 ++++++++++--- 3 files changed, 21 insertions(+), 9 deletions(-) diff --git a/sdks/typescript-sdk/src/client/managers/containers.ts b/sdks/typescript-sdk/src/client/managers/containers.ts index e59312bd..32211c8b 100644 --- a/sdks/typescript-sdk/src/client/managers/containers.ts +++ b/sdks/typescript-sdk/src/client/managers/containers.ts @@ -135,9 +135,13 @@ export class ContainerManager extends BaseManager { } async customFields(id: string, options?: CallOptions): Promise { - // The spec omits include=definition, but mapCustomFields reads the included definitions. - const raw = await this.transport.executeManual( - `${this.transport.baseUrl}/containers/${encodeURIComponent(id)}/custom_fields?include=definition`, + const raw = await this.transport.execute(() => + this.transport.client.GET('/containers/{container_id}/custom_fields', { + params: { + path: { container_id: id }, + query: { include: 'definition' }, + }, + }), ); return this.formatResult(raw, options?.format, mapCustomFields); } diff --git a/sdks/typescript-sdk/src/client/managers/shipments.ts b/sdks/typescript-sdk/src/client/managers/shipments.ts index 86217112..5b845b1f 100644 --- a/sdks/typescript-sdk/src/client/managers/shipments.ts +++ b/sdks/typescript-sdk/src/client/managers/shipments.ts @@ -69,9 +69,10 @@ export class ShipmentManager extends BaseManager { } async customFields(id: string, options?: CallOptions): Promise { - // The spec omits include=definition, but mapCustomFields reads the included definitions. - const raw = await this.transport.executeManual( - `${this.transport.baseUrl}/shipments/${encodeURIComponent(id)}/custom_fields?include=definition`, + const raw = await this.transport.execute(() => + this.transport.client.GET('/shipments/{shipment_id}/custom_fields', { + params: { path: { shipment_id: id }, query: { include: 'definition' } }, + }), ); return this.formatResult(raw, options?.format, mapCustomFields); } diff --git a/sdks/typescript-sdk/src/client/managers/tracking-requests.ts b/sdks/typescript-sdk/src/client/managers/tracking-requests.ts index e6662863..80bee9df 100644 --- a/sdks/typescript-sdk/src/client/managers/tracking-requests.ts +++ b/sdks/typescript-sdk/src/client/managers/tracking-requests.ts @@ -107,9 +107,16 @@ export class TrackingRequestManager extends BaseManager { /** List custom field values set on a tracking request, with their definitions. */ async customFields(id: string, options?: CallOptions): Promise { - // The spec omits include=definition, but mapCustomFields reads the included definitions. - const raw = await this.transport.executeManual( - `${this.transport.baseUrl}/tracking_requests/${encodeURIComponent(id)}/custom_fields?include=definition`, + const raw = await this.transport.execute(() => + this.transport.client.GET( + '/tracking_requests/{tracking_request_id}/custom_fields', + { + params: { + path: { tracking_request_id: id }, + query: { include: 'definition' }, + }, + }, + ), ); return this.formatResult(raw, options?.format, mapCustomFields); } From ca587bf21c36041e35beaf329301ed65add36db9 Mon Sep 17 00:00:00 2001 From: Akshay Dodeja Date: Thu, 15 Oct 2026 17:29:10 -0700 Subject: [PATCH 13/27] fix(sdk)!: list custom field options through the typed client The spec now documents that GET /custom_field_definitions/{id}/options is not paginated: the API ignores page[number] and page[size] and returns every option. The SDK sent those params through a hand-built executeManual URL. It now calls the typed client without them. customFieldOptions.list and listCustomFieldOptions take CallOptions, so passing `page` or `pageSize` is a type error instead of a silently ignored option. `t49 custom-field-options list` drops --page, --page-size, and --all for the same reason. BREAKING CHANGE: customFieldOptions.list and listCustomFieldOptions take CallOptions; page and pageSize no longer compile. t49 custom-field-options list drops --page, --page-size, and --all. Co-Authored-By: Claude Opus 5.5 --- .../client/classes/Terminal49Client.mdx | 5 +++-- .../src/commands/custom-field-options.ts | 18 ++++------------ .../src/client.custom-fields.test-d.ts | 9 ++++++++ sdks/typescript-sdk/src/client.ts | 21 +++++++++---------- .../src/client.write-endpoints.test.ts | 9 ++------ 5 files changed, 28 insertions(+), 34 deletions(-) create mode 100644 sdks/typescript-sdk/src/client.custom-fields.test-d.ts diff --git a/docs/sdk/reference/client/classes/Terminal49Client.mdx b/docs/sdk/reference/client/classes/Terminal49Client.mdx index af0e8ab0..4e7f4bb3 100644 --- a/docs/sdk/reference/client/classes/Terminal49Client.mdx +++ b/docs/sdk/reference/client/classes/Terminal49Client.mdx @@ -833,14 +833,15 @@ List custom field definitions. > **listCustomFieldOptions**(`definitionId`, `options?`): `Promise`\<`any`\> -List options for a custom field definition. +List every option of a custom field definition. The API does not paginate +this list. #### Parameters | Parameter | Type | | ------ | ------ | | `definitionId` | `string` | -| `options?` | [`ListOptions`](/sdk/reference/types/options/interfaces/ListOptions) | +| `options?` | [`CallOptions`](/sdk/reference/types/options/interfaces/CallOptions) | #### Returns diff --git a/sdks/typescript-sdk-cli/src/commands/custom-field-options.ts b/sdks/typescript-sdk-cli/src/commands/custom-field-options.ts index 09126518..71ba64df 100644 --- a/sdks/typescript-sdk-cli/src/commands/custom-field-options.ts +++ b/sdks/typescript-sdk-cli/src/commands/custom-field-options.ts @@ -4,17 +4,12 @@ import type { Command } from 'commander'; import { parseJsonObjectPayload } from '../util/input.js'; -import { action, addListOptions, cliEnvelope, listAction } from './action.js'; +import { action, cliEnvelope, listAction } from './action.js'; type PayloadOptions = { payload: Record; }; -type CustomFieldOptionListOptions = { - page?: number; - pageSize?: number; -}; - type PaginationEnvelope = { pagination?: { links?: unknown; @@ -59,18 +54,13 @@ export function registerCustomFieldOptionsCommand(program: Command): void { .command('custom-field-options') .description('Manage options for a custom field definition'); - const listCommand = addListOptions( - cmd - .command('list ') - .description('List options for a custom field definition'), - ); + const listCommand = cmd + .command('list ') + .description('List options for a custom field definition'); listCommand.action( listAction('custom-field-options.list', async ({ client, globals }) => { - const options = listCommand.opts() as CustomFieldOptionListOptions; const [definitionId] = listCommand.processedArgs as [string]; const result = await client.customFieldOptions.list(definitionId, { - page: options.page, - pageSize: options.pageSize, format: globals.format, }); return cliEnvelope(listDataFrom(result), paginationFrom(result)); diff --git a/sdks/typescript-sdk/src/client.custom-fields.test-d.ts b/sdks/typescript-sdk/src/client.custom-fields.test-d.ts new file mode 100644 index 00000000..a08db1c4 --- /dev/null +++ b/sdks/typescript-sdk/src/client.custom-fields.test-d.ts @@ -0,0 +1,9 @@ +import type { Terminal49Client } from './client.js'; + +export function customFieldListCalls(client: Terminal49Client): void { + void client.customFieldOptions.list('def-1', { format: 'raw' }); + // @ts-expect-error the API does not paginate custom field options + void client.customFieldOptions.list('def-1', { page: 2 }); + // @ts-expect-error the API does not paginate custom field options + void client.listCustomFieldOptions('def-1', { pageSize: 5 }); +} diff --git a/sdks/typescript-sdk/src/client.ts b/sdks/typescript-sdk/src/client.ts index 2f63d150..b351ff16 100644 --- a/sdks/typescript-sdk/src/client.ts +++ b/sdks/typescript-sdk/src/client.ts @@ -297,7 +297,7 @@ export class Terminal49Client { }; public customFieldOptions = { - list: (definitionId: string, options?: ListOptions) => + list: (definitionId: string, options?: CallOptions) => this.listCustomFieldOptions(definitionId, options), get: (definitionId: string, optionId: string, options?: CallOptions) => this.getCustomFieldOption(definitionId, optionId, options), @@ -956,21 +956,20 @@ export class Terminal49Client { return this.formatResult(raw, options?.format); } - /** List options for a custom field definition. */ + /** + * List every option of a custom field definition. The API does not paginate + * this list. + */ async listCustomFieldOptions( definitionId: string, - options?: ListOptions, + options?: CallOptions, ): Promise { - // The spec omits page[*] on this route, but the response is paginated and the CLI forwards --page. - const query = new URLSearchParams( - Object.entries(applyTypedPagination({}, options)).map( - ([key, value]): [string, string] => [key, String(value)], + const raw = await this.transport.execute(() => + this.transport.client.GET( + '/custom_field_definitions/{definition_id}/options', + { params: { path: { definition_id: definitionId } } }, ), ); - const suffix = query.size > 0 ? `?${query}` : ''; - const raw = await this.transport.executeManual( - `${this.transport.baseUrl}/custom_field_definitions/${encodeURIComponent(definitionId)}/options${suffix}`, - ); return this.formatResult(raw, options?.format); } diff --git a/sdks/typescript-sdk/src/client.write-endpoints.test.ts b/sdks/typescript-sdk/src/client.write-endpoints.test.ts index 57574ef3..4b362e9e 100644 --- a/sdks/typescript-sdk/src/client.write-endpoints.test.ts +++ b/sdks/typescript-sdk/src/client.write-endpoints.test.ts @@ -419,7 +419,7 @@ describe('resource methods on the client', () => { await client.customFieldDefinitions.create(body); await client.customFieldDefinitions.update('d-1', body); await client.customFieldDefinitions.delete('d-1'); - await client.customFieldOptions.list('d-1', { page: 1, pageSize: 20 }); + await client.customFieldOptions.list('d-1'); await client.customFieldOptions.get('d-1', 'o-1'); await client.customFieldOptions.create('d-1', body); await client.customFieldOptions.update('d-1', 'o-1', body); @@ -478,12 +478,7 @@ describe('resource methods on the client', () => { ['POST', '/custom_field_definitions', {}, body], ['PATCH', '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/custom_field_definitions/d-1', {}, body], ['DELETE', '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/custom_field_definitions/d-1', {}, undefined], - [ - 'GET', - '/custom_field_definitions/d-1/options', - { 'page[number]': '1', 'page[size]': '20' }, - undefined, - ], + ['GET', '/custom_field_definitions/d-1/options', {}, undefined], ['GET', '/custom_field_definitions/d-1/options/o-1', {}, undefined], ['POST', '/custom_field_definitions/d-1/options', {}, body], ['PATCH', '/custom_field_definitions/d-1/options/o-1', {}, body], From c3d63b46412c1039b0db97b61f61762b24a47ed7 Mon Sep 17 00:00:00 2001 From: Akshay Dodeja Date: Thu, 15 Oct 2026 17:29:25 -0700 Subject: [PATCH 14/27] fix(sdk)!: use the account routes for custom field definitions GET and POST /custom_field_definitions are the Terminal49 template routes. For a customer account, list returned the templates (often an empty list) instead of the account's definitions, and create answered 401. customFieldDefinitions.list and create now call /accounts/{account_id}/custom_field_definitions. The API scopes that route to the authenticated account, so the SDK fills account_id from the client's `accountId` or sends the placeholder `current`. `list({ scope: 'templates' })` still lists the templates. BREAKING CHANGE: customFieldDefinitions.list() returns the account's definitions instead of the Terminal49 templates. Pass `scope: 'templates'` for the templates. Co-Authored-By: Claude Opus 5.5 --- docs/docs.json | 1 + .../client/classes/Terminal49Client.mdx | 6 +- docs/sdk/reference/client/index.mdx | 1 + .../CustomFieldDefinitionListOptions.mdx | 23 ++++++++ .../interfaces/Terminal49ClientConfig.mdx | 2 +- .../types/options/interfaces/ListOptions.mdx | 1 + sdks/typescript-sdk/src/client.ts | 59 ++++++++++++++----- .../src/client.write-endpoints.test.ts | 53 +++++++++++++++-- 8 files changed, 122 insertions(+), 24 deletions(-) create mode 100644 docs/sdk/reference/client/interfaces/CustomFieldDefinitionListOptions.mdx diff --git a/docs/docs.json b/docs/docs.json index 3e7fca32..33df90fc 100644 --- a/docs/docs.json +++ b/docs/docs.json @@ -417,6 +417,7 @@ "sdk/reference/client/classes/Terminal49Client", "sdk/reference/client/interfaces/Terminal49ClientConfig", "sdk/reference/client/interfaces/CustomFieldDefinitionListFilters", + "sdk/reference/client/interfaces/CustomFieldDefinitionListOptions", "sdk/reference/client/interfaces/CustomFieldListFilters", "sdk/reference/client/interfaces/TriggerWebhookParams", "sdk/reference/client/interfaces/VesselFuturePositionsParams", diff --git a/docs/sdk/reference/client/classes/Terminal49Client.mdx b/docs/sdk/reference/client/classes/Terminal49Client.mdx index 4e7f4bb3..e4fade80 100644 --- a/docs/sdk/reference/client/classes/Terminal49Client.mdx +++ b/docs/sdk/reference/client/classes/Terminal49Client.mdx @@ -111,7 +111,7 @@ Create a custom field assignment. > **createCustomFieldDefinition**(`payload`, `options?`): `Promise`\<`any`\> -Create a custom field definition. +Create a custom field definition for your account. Set `data.attributes.template_id` to copy a Terminal49 template. #### Parameters @@ -815,13 +815,13 @@ List containers with optional filters and pagination. > **listCustomFieldDefinitions**(`options?`): `Promise`\<`any`\> -List custom field definitions. +List your account's custom field definitions, or the Terminal49 templates. #### Parameters | Parameter | Type | | ------ | ------ | -| `options?` | [`ListOptions`](/sdk/reference/types/options/interfaces/ListOptions) & `object` | +| `options?` | [`CustomFieldDefinitionListOptions`](/sdk/reference/client/interfaces/CustomFieldDefinitionListOptions) | #### Returns diff --git a/docs/sdk/reference/client/index.mdx b/docs/sdk/reference/client/index.mdx index 523ea7b6..0b401259 100644 --- a/docs/sdk/reference/client/index.mdx +++ b/docs/sdk/reference/client/index.mdx @@ -26,6 +26,7 @@ description: "Reference index for the Terminal49 TypeScript SDK client module, l | Interface | Description | | ------ | ------ | | [CustomFieldDefinitionListFilters](/sdk/reference/client/interfaces/CustomFieldDefinitionListFilters) | Filters accepted by `customFieldDefinitions.list`. | +| [CustomFieldDefinitionListOptions](/sdk/reference/client/interfaces/CustomFieldDefinitionListOptions) | Options for `customFieldDefinitions.list`. | | [CustomFieldListFilters](/sdk/reference/client/interfaces/CustomFieldListFilters) | Filters accepted by `customFields.list`. | | [Terminal49ClientConfig](/sdk/reference/client/interfaces/Terminal49ClientConfig) | Configuration for [Terminal49Client](/sdk/reference/client/classes/Terminal49Client). | | [TriggerWebhookParams](/sdk/reference/client/interfaces/TriggerWebhookParams) | Parameters for [Terminal49Client.triggerWebhook](/sdk/reference/client/classes/Terminal49Client#triggerwebhook). | diff --git a/docs/sdk/reference/client/interfaces/CustomFieldDefinitionListOptions.mdx b/docs/sdk/reference/client/interfaces/CustomFieldDefinitionListOptions.mdx new file mode 100644 index 00000000..5d82c8d9 --- /dev/null +++ b/docs/sdk/reference/client/interfaces/CustomFieldDefinitionListOptions.mdx @@ -0,0 +1,23 @@ +--- +title: "Interface: CustomFieldDefinitionListOptions" +--- + +# Interface: CustomFieldDefinitionListOptions + +Options for `customFieldDefinitions.list`. + +## Extends + +- [`ListOptions`](/sdk/reference/types/options/interfaces/ListOptions) + +## Properties + +| Property | Type | Description | Inherited from | +| ------ | ------ | ------ | ------ | +| `filters?` | [`CustomFieldDefinitionListFilters`](/sdk/reference/client/interfaces/CustomFieldDefinitionListFilters) | - | - | +| `format?` | [`ResponseFormat`](/sdk/reference/types/options/type-aliases/ResponseFormat) | Override the client's default response format for this call. | [`ListOptions`](/sdk/reference/types/options/interfaces/ListOptions).[`format`](/sdk/reference/types/options/interfaces/ListOptions#property-format) | +| `maxPages?` | `number` | Maximum number of pages `iterate()` will fetch before stopping. Defaults to the manager's safety cap; raise it to walk past the default bound. | [`ListOptions`](/sdk/reference/types/options/interfaces/ListOptions).[`maxPages`](/sdk/reference/types/options/interfaces/ListOptions#property-maxpages) | +| `maxRows?` | `number` | Maximum number of rows `iterate()` will yield before stopping. Defaults to the manager's safety cap; raise it to walk past the default bound. | [`ListOptions`](/sdk/reference/types/options/interfaces/ListOptions).[`maxRows`](/sdk/reference/types/options/interfaces/ListOptions#property-maxrows) | +| `page?` | `number` | 1-based page number. | [`ListOptions`](/sdk/reference/types/options/interfaces/ListOptions).[`page`](/sdk/reference/types/options/interfaces/ListOptions#property-page) | +| `pageSize?` | `number` | Number of records per page. | [`ListOptions`](/sdk/reference/types/options/interfaces/ListOptions).[`pageSize`](/sdk/reference/types/options/interfaces/ListOptions#property-pagesize) | +| `scope?` | `"account"` \| `"templates"` | `account`, the default, lists the definitions configured for your account. `templates` lists the Terminal49 templates you can copy with `template_id`. | - | diff --git a/docs/sdk/reference/client/interfaces/Terminal49ClientConfig.mdx b/docs/sdk/reference/client/interfaces/Terminal49ClientConfig.mdx index 9de68a4c..3c31f06b 100644 --- a/docs/sdk/reference/client/interfaces/Terminal49ClientConfig.mdx +++ b/docs/sdk/reference/client/interfaces/Terminal49ClientConfig.mdx @@ -11,7 +11,7 @@ Configuration for [Terminal49Client](/sdk/reference/client/classes/Terminal49Cli | Property | Type | Description | | ------ | ------ | ------ | -| `accountId?` | `string` | Account id to send as `x-account-id` for user-scoped bearer tokens. | +| `accountId?` | `string` | Account id to send as `x-account-id` for user-scoped bearer tokens. Also fills `{account_id}` in the account custom field definition routes. | | `apiBaseUrl?` | `string` | API base URL. Defaults to `https://api.terminal49.com/v2`. | | `apiToken` | `string` | Terminal49 API token. Pass either the raw token or a value prefixed with `Token ` or `Bearer `. | | `defaultFormat?` | [`ResponseFormat`](/sdk/reference/types/options/type-aliases/ResponseFormat) | Default response format for methods that support mapped responses. Defaults to `raw`. | diff --git a/docs/sdk/reference/types/options/interfaces/ListOptions.mdx b/docs/sdk/reference/types/options/interfaces/ListOptions.mdx index 534f32b7..15285cba 100644 --- a/docs/sdk/reference/types/options/interfaces/ListOptions.mdx +++ b/docs/sdk/reference/types/options/interfaces/ListOptions.mdx @@ -13,6 +13,7 @@ Per-call options accepted by list methods. ## Extended by +- [`CustomFieldDefinitionListOptions`](/sdk/reference/client/interfaces/CustomFieldDefinitionListOptions) - [`WebhookNotificationListOptions`](/sdk/reference/client/interfaces/WebhookNotificationListOptions) ## Properties diff --git a/sdks/typescript-sdk/src/client.ts b/sdks/typescript-sdk/src/client.ts index b351ff16..ab0e02a7 100644 --- a/sdks/typescript-sdk/src/client.ts +++ b/sdks/typescript-sdk/src/client.ts @@ -77,7 +77,7 @@ type WebhookNotificationListQuery = NonNullable< >; // The API ignores page[*] on these routes, but accepts it, and the CLI forwards --page. type CustomFieldDefinitionListQuery = NonNullable< - paths['/custom_field_definitions']['get']['parameters']['query'] + paths['/accounts/{account_id}/custom_field_definitions']['get']['parameters']['query'] > & PaginatedQuery; type CustomFieldListQuery = NonNullable< @@ -146,6 +146,21 @@ export interface CustomFieldDefinitionListFilters { displayName?: string; } +/** Options for `customFieldDefinitions.list`. */ +export interface CustomFieldDefinitionListOptions extends ListOptions { + filters?: CustomFieldDefinitionListFilters; + /** + * `account`, the default, lists the definitions configured for your account. + * `templates` lists the Terminal49 templates you can copy with `template_id`. + */ + scope?: 'account' | 'templates'; +} + +// The API scopes the account definition routes to the authenticated account +// and ignores the account_id path value, so a client without an accountId +// sends this placeholder. +const CURRENT_ACCOUNT_ID = 'current'; + /** Options for {@link Terminal49Client.getWebhookNotification}. */ export interface WebhookNotificationGetOptions extends CallOptions { /** Related resources to sideload. */ @@ -162,7 +177,7 @@ export interface WebhookNotificationListOptions extends ListOptions { export interface Terminal49ClientConfig { /** Terminal49 API token. Pass either the raw token or a value prefixed with `Token ` or `Bearer `. */ apiToken: string; - /** Account id to send as `x-account-id` for user-scoped bearer tokens. */ + /** Account id to send as `x-account-id` for user-scoped bearer tokens. Also fills `{account_id}` in the account custom field definition routes. */ accountId?: string; /** API base URL. Defaults to `https://api.terminal49.com/v2`. */ apiBaseUrl?: string; @@ -205,6 +220,7 @@ function normalizeBaseUrl(input?: string): string { export class Terminal49Client { private transport: Transport; private jsona: Jsona; + private accountId: string; private defaultFormat: ResponseFormat; public shipments: ShipmentManager; @@ -280,9 +296,8 @@ export class Terminal49Client { }; public customFieldDefinitions = { - list: ( - options?: ListOptions & { filters?: CustomFieldDefinitionListFilters }, - ) => this.listCustomFieldDefinitions(options), + list: (options?: CustomFieldDefinitionListOptions) => + this.listCustomFieldDefinitions(options), get: (id: string, options?: CallOptions) => this.getCustomFieldDefinition(id, options), create: (payload: Record, options?: CallOptions) => @@ -340,6 +355,7 @@ export class Terminal49Client { const baseUrl = normalizeBaseUrl(config.apiBaseUrl); const defaultFormat = config.defaultFormat ?? 'raw'; this.defaultFormat = defaultFormat; + this.accountId = config.accountId ?? CURRENT_ACCOUNT_ID; this.transport = new Transport({ apiToken: config.apiToken, @@ -877,9 +893,9 @@ export class Terminal49Client { return this.formatResult(raw, options?.format); } - /** List custom field definitions. */ + /** List your account's custom field definitions, or the Terminal49 templates. */ async listCustomFieldDefinitions( - options?: ListOptions & { filters?: CustomFieldDefinitionListFilters }, + options?: CustomFieldDefinitionListOptions, ): Promise { const filters = options?.filters; const query = applyTypedPagination( @@ -891,9 +907,14 @@ export class Terminal49Client { options, ); const raw = await this.transport.execute(() => - this.transport.client.GET('/custom_field_definitions', { - params: { query }, - }), + options?.scope === 'templates' + ? this.transport.client.GET('/custom_field_definitions', { + params: { query }, + }) + : this.transport.client.GET( + '/accounts/{account_id}/custom_field_definitions', + { params: { path: { account_id: this.accountId }, query } }, + ), ); return this.formatResult(raw, options?.format); } @@ -911,17 +932,23 @@ export class Terminal49Client { return this.formatResult(raw, options?.format); } - /** Create a custom field definition. */ + /** Create a custom field definition for your account. Set `data.attributes.template_id` to copy a Terminal49 template. */ async createCustomFieldDefinition( payload: Record, options?: CallOptions, ): Promise { const raw = await this.transport.execute(() => - this.transport.client.POST('/custom_field_definitions', { - body: callerPayload< - JsonBody - >(payload), - }), + this.transport.client.POST( + '/accounts/{account_id}/custom_field_definitions', + { + params: { path: { account_id: this.accountId } }, + body: callerPayload< + JsonBody< + paths['/accounts/{account_id}/custom_field_definitions']['post'] + > + >(payload), + }, + ), ); return this.formatResult(raw, options?.format); } diff --git a/sdks/typescript-sdk/src/client.write-endpoints.test.ts b/sdks/typescript-sdk/src/client.write-endpoints.test.ts index 4b362e9e..e0f16a0b 100644 --- a/sdks/typescript-sdk/src/client.write-endpoints.test.ts +++ b/sdks/typescript-sdk/src/client.write-endpoints.test.ts @@ -15,7 +15,7 @@ function servedBody(method: string, pathname: string) { }; } -function buildClient() { +function buildClient(config: { accountId?: string } = {}) { const calls: RecordedCall[] = []; const fetchImpl: typeof fetch = async (input, init) => { const request = input instanceof Request ? input : new Request(input, init); @@ -35,6 +35,7 @@ function buildClient() { apiBaseUrl: 'https://api.test/v2', fetchImpl, maxRetries: 0, + ...config, }); return { client, calls }; } @@ -371,6 +372,50 @@ describe('custom field list filters', () => { }); }); +describe('account custom field definitions', () => { + it('lists and creates account definitions on the account route', async () => { + const { client, calls } = buildClient(); + const { client: scoped, calls: scopedCalls } = buildClient({ + accountId: 'acct-1', + }); + const body = { data: { type: 'custom_field_definition', attributes: {} } }; + + await client.customFieldDefinitions.list({ + filters: { entityType: 'Cargo' }, + }); + await client.customFieldDefinitions.create(body); + await scoped.customFieldDefinitions.list(); + await scoped.customFieldDefinitions.create(body); + + expect(calls.map((c) => [c.method, c.path, c.query, c.body])).toEqual([ + [ + 'GET', + '/accounts/current/custom_field_definitions', + { 'filter[entity_type]': 'Cargo' }, + undefined, + ], + ['POST', '/accounts/current/custom_field_definitions', {}, body], + ]); + expect(scopedCalls.map((c) => [c.method, c.path])).toEqual([ + ['GET', '/accounts/acct-1/custom_field_definitions'], + ['POST', '/accounts/acct-1/custom_field_definitions'], + ]); + }); + + it('lists Terminal49 templates on the top-level route', async () => { + const { client, calls } = buildClient({ accountId: 'acct-1' }); + + await client.customFieldDefinitions.list({ + scope: 'templates', + filters: { dataType: 'enum' }, + }); + + expect(calls.map((c) => [c.method, c.path, c.query])).toEqual([ + ['GET', '/custom_field_definitions', { 'filter[data_type]': 'enum' }], + ]); + }); +}); + describe('search', () => { it('runs through the typed client', async () => { const { client, calls } = buildClient(); @@ -475,7 +520,7 @@ describe('resource methods on the client', () => { ['GET', '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/parties/pa-1', {}, undefined], ['GET', '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/metro_areas/m-1', {}, undefined], ['GET', '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/custom_field_definitions/d-1', {}, undefined], - ['POST', '/custom_field_definitions', {}, body], + ['POST', '/accounts/current/custom_field_definitions', {}, body], ['PATCH', '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/custom_field_definitions/d-1', {}, body], ['DELETE', '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/custom_field_definitions/d-1', {}, undefined], ['GET', '/custom_field_definitions/d-1/options', {}, undefined], @@ -680,7 +725,7 @@ describe('return values', () => { ['GET', '/custom_fields', (c: Terminal49Client) => c.customFields.list()], [ 'GET', - '/custom_field_definitions', + '/accounts/current/custom_field_definitions', (c: Terminal49Client) => c.customFieldDefinitions.list(), ], ['GET', '/webhooks', (c: Terminal49Client) => c.webhooks.list()], @@ -742,7 +787,7 @@ describe('return values', () => { ], [ 'POST', - '/custom_field_definitions', + '/accounts/current/custom_field_definitions', (c: Terminal49Client) => c.customFieldDefinitions.create({ data: {} }), ], [ From 4707b71eae35a0b03bb32dacf37be8dd52450b58 Mon Sep 17 00:00:00 2001 From: Akshay Dodeja Date: Thu, 15 Oct 2026 17:29:40 -0700 Subject: [PATCH 15/27] feat(sdk): cancel tracking requests The spec now documents PATCH /tracking_requests/{id}/cancel, the one operation the SDK did not cover. trackingRequests.cancel(id) cancels a request that is still pending or awaiting a manifest. The API returns an empty object, and 422 for any other status. Co-Authored-By: Claude Opus 5.5 --- .../classes/TrackingRequestManager.mdx | 19 ++++++++++++++++++ .../src/client.write-endpoints.test.ts | 20 +++++++++++++++++++ .../src/client/managers/tracking-requests.ts | 12 +++++++++++ 3 files changed, 51 insertions(+) diff --git a/docs/sdk/reference/client/managers/classes/TrackingRequestManager.mdx b/docs/sdk/reference/client/managers/classes/TrackingRequestManager.mdx index bd43da64..6b8f1fa5 100644 --- a/docs/sdk/reference/client/managers/classes/TrackingRequestManager.mdx +++ b/docs/sdk/reference/client/managers/classes/TrackingRequestManager.mdx @@ -32,6 +32,25 @@ description: "TrackingRequestManager in the Terminal49 TypeScript SDK, used to c ## Methods +### cancel() + +> **cancel**(`id`): `Promise`\<`any`\> + +Cancel a tracking request that is still `pending` or `awaiting_manifest`. +It moves to status `cancelled`. Any other status returns 422. + +#### Parameters + +| Parameter | Type | +| ------ | ------ | +| `id` | `string` | + +#### Returns + +`Promise`\<`any`\> + +*** + ### create() > **create**(`params`): `Promise`\<`any`\> diff --git a/sdks/typescript-sdk/src/client.write-endpoints.test.ts b/sdks/typescript-sdk/src/client.write-endpoints.test.ts index e0f16a0b..ca1c779a 100644 --- a/sdks/typescript-sdk/src/client.write-endpoints.test.ts +++ b/sdks/typescript-sdk/src/client.write-endpoints.test.ts @@ -154,6 +154,26 @@ describe('containers', () => { }); }); +describe('tracking requests', () => { + it('cancels a tracking request without a body', async () => { + const { client, calls } = buildClient(); + + const result = await client.trackingRequests.cancel('tr 1'); + + expect(calls).toEqual([ + { + method: 'PATCH', + path: '/tracking_requests/tr%201/cancel', + query: {}, + body: undefined, + }, + ]); + expect(result).toEqual({ + data: { id: 'PATCH /tracking_requests/tr%201/cancel', type: 'stub' }, + }); + }); +}); + describe('shipping lines', () => { it('fetches a shipping line by id', async () => { const { client, calls } = buildClient(); diff --git a/sdks/typescript-sdk/src/client/managers/tracking-requests.ts b/sdks/typescript-sdk/src/client/managers/tracking-requests.ts index 80bee9df..8ac87038 100644 --- a/sdks/typescript-sdk/src/client/managers/tracking-requests.ts +++ b/sdks/typescript-sdk/src/client/managers/tracking-requests.ts @@ -105,6 +105,18 @@ export class TrackingRequestManager extends BaseManager { return this.formatResult(raw, options?.format, mapTrackingRequest); } + /** + * Cancel a tracking request that is still `pending` or `awaiting_manifest`. + * It moves to status `cancelled`. Any other status returns 422. + */ + async cancel(id: string): Promise { + return this.transport.execute(() => + this.transport.client.PATCH('/tracking_requests/{id}/cancel', { + params: { path: { id } }, + }), + ); + } + /** List custom field values set on a tracking request, with their definitions. */ async customFields(id: string, options?: CallOptions): Promise { const raw = await this.transport.execute(() => From dca00a35edfbc63cb4c9a0634cc6a9fccae2bfd3 Mon Sep 17 00:00:00 2001 From: Akshay Dodeja Date: Thu, 15 Oct 2026 17:29:55 -0700 Subject: [PATCH 16/27] fix(sdk)!: stop sending page params to unpaginated custom field lists The spec now documents that GET /custom_fields and the custom field definition lists are not paginated: the API ignores page[number] and page[size] and returns every row. customFields.list and customFieldDefinitions.list no longer send them, matching customFieldOptions.list. The PaginatedQuery intersections that let the SDK send undeclared params are gone. Both methods now take CallOptions instead of ListOptions, so passing `page` or `pageSize` is a type error instead of a silently ignored option. CustomFieldDefinitionListOptions extends CallOptions. `t49 custom-fields list` and `t49 custom-field-definitions list` drop --page, --page-size, and --all, and the live fixture capture script stops passing --page-size to them. BREAKING CHANGE: customFields.list, listCustomFields, customFieldDefinitions.list, and listCustomFieldDefinitions take CallOptions; page and pageSize no longer compile. t49 custom-fields list and t49 custom-field-definitions list drop --page, --page-size, and --all. Co-Authored-By: Claude Opus 5.5 --- .../client/classes/Terminal49Client.mdx | 5 +- .../CustomFieldDefinitionListOptions.mdx | 8 +-- .../types/options/interfaces/CallOptions.mdx | 1 + .../types/options/interfaces/ListOptions.mdx | 1 - .../scripts/capture-live-fixtures.sh | 6 +-- .../src/commands/custom-field-definitions.ts | 35 ++++++------ .../src/commands/custom-fields.ts | 32 +++++------ .../src/client.custom-fields.test-d.ts | 12 +++++ sdks/typescript-sdk/src/client.ts | 54 ++++++++----------- .../src/client.write-endpoints.test.ts | 2 - 10 files changed, 71 insertions(+), 85 deletions(-) diff --git a/docs/sdk/reference/client/classes/Terminal49Client.mdx b/docs/sdk/reference/client/classes/Terminal49Client.mdx index e4fade80..4462268f 100644 --- a/docs/sdk/reference/client/classes/Terminal49Client.mdx +++ b/docs/sdk/reference/client/classes/Terminal49Client.mdx @@ -816,6 +816,7 @@ List containers with optional filters and pagination. > **listCustomFieldDefinitions**(`options?`): `Promise`\<`any`\> List your account's custom field definitions, or the Terminal49 templates. +The API does not paginate this list. #### Parameters @@ -853,13 +854,13 @@ this list. > **listCustomFields**(`options?`): `Promise`\<`any`\> -List custom field assignments. +List custom field assignments. The API does not paginate this list. #### Parameters | Parameter | Type | | ------ | ------ | -| `options?` | [`ListOptions`](/sdk/reference/types/options/interfaces/ListOptions) & `object` | +| `options?` | [`CallOptions`](/sdk/reference/types/options/interfaces/CallOptions) & `object` | #### Returns diff --git a/docs/sdk/reference/client/interfaces/CustomFieldDefinitionListOptions.mdx b/docs/sdk/reference/client/interfaces/CustomFieldDefinitionListOptions.mdx index 5d82c8d9..679bec2d 100644 --- a/docs/sdk/reference/client/interfaces/CustomFieldDefinitionListOptions.mdx +++ b/docs/sdk/reference/client/interfaces/CustomFieldDefinitionListOptions.mdx @@ -8,16 +8,12 @@ Options for `customFieldDefinitions.list`. ## Extends -- [`ListOptions`](/sdk/reference/types/options/interfaces/ListOptions) +- [`CallOptions`](/sdk/reference/types/options/interfaces/CallOptions) ## Properties | Property | Type | Description | Inherited from | | ------ | ------ | ------ | ------ | | `filters?` | [`CustomFieldDefinitionListFilters`](/sdk/reference/client/interfaces/CustomFieldDefinitionListFilters) | - | - | -| `format?` | [`ResponseFormat`](/sdk/reference/types/options/type-aliases/ResponseFormat) | Override the client's default response format for this call. | [`ListOptions`](/sdk/reference/types/options/interfaces/ListOptions).[`format`](/sdk/reference/types/options/interfaces/ListOptions#property-format) | -| `maxPages?` | `number` | Maximum number of pages `iterate()` will fetch before stopping. Defaults to the manager's safety cap; raise it to walk past the default bound. | [`ListOptions`](/sdk/reference/types/options/interfaces/ListOptions).[`maxPages`](/sdk/reference/types/options/interfaces/ListOptions#property-maxpages) | -| `maxRows?` | `number` | Maximum number of rows `iterate()` will yield before stopping. Defaults to the manager's safety cap; raise it to walk past the default bound. | [`ListOptions`](/sdk/reference/types/options/interfaces/ListOptions).[`maxRows`](/sdk/reference/types/options/interfaces/ListOptions#property-maxrows) | -| `page?` | `number` | 1-based page number. | [`ListOptions`](/sdk/reference/types/options/interfaces/ListOptions).[`page`](/sdk/reference/types/options/interfaces/ListOptions#property-page) | -| `pageSize?` | `number` | Number of records per page. | [`ListOptions`](/sdk/reference/types/options/interfaces/ListOptions).[`pageSize`](/sdk/reference/types/options/interfaces/ListOptions#property-pagesize) | +| `format?` | [`ResponseFormat`](/sdk/reference/types/options/type-aliases/ResponseFormat) | Override the client's default response format for this call. | [`CallOptions`](/sdk/reference/types/options/interfaces/CallOptions).[`format`](/sdk/reference/types/options/interfaces/CallOptions#property-format) | | `scope?` | `"account"` \| `"templates"` | `account`, the default, lists the definitions configured for your account. `templates` lists the Terminal49 templates you can copy with `template_id`. | - | diff --git a/docs/sdk/reference/types/options/interfaces/CallOptions.mdx b/docs/sdk/reference/types/options/interfaces/CallOptions.mdx index 9f09a32f..f8d0076a 100644 --- a/docs/sdk/reference/types/options/interfaces/CallOptions.mdx +++ b/docs/sdk/reference/types/options/interfaces/CallOptions.mdx @@ -9,6 +9,7 @@ Per-call options accepted by single-resource methods. ## Extended by +- [`CustomFieldDefinitionListOptions`](/sdk/reference/client/interfaces/CustomFieldDefinitionListOptions) - [`WebhookNotificationGetOptions`](/sdk/reference/client/interfaces/WebhookNotificationGetOptions) - [`ListOptions`](/sdk/reference/types/options/interfaces/ListOptions) diff --git a/docs/sdk/reference/types/options/interfaces/ListOptions.mdx b/docs/sdk/reference/types/options/interfaces/ListOptions.mdx index 15285cba..534f32b7 100644 --- a/docs/sdk/reference/types/options/interfaces/ListOptions.mdx +++ b/docs/sdk/reference/types/options/interfaces/ListOptions.mdx @@ -13,7 +13,6 @@ Per-call options accepted by list methods. ## Extended by -- [`CustomFieldDefinitionListOptions`](/sdk/reference/client/interfaces/CustomFieldDefinitionListOptions) - [`WebhookNotificationListOptions`](/sdk/reference/client/interfaces/WebhookNotificationListOptions) ## Properties diff --git a/sdks/typescript-sdk-cli/scripts/capture-live-fixtures.sh b/sdks/typescript-sdk-cli/scripts/capture-live-fixtures.sh index 4fac18fc..964e73fd 100755 --- a/sdks/typescript-sdk-cli/scripts/capture-live-fixtures.sh +++ b/sdks/typescript-sdk-cli/scripts/capture-live-fixtures.sh @@ -70,7 +70,7 @@ run_json "webhooks.list.json" webhooks list --page-size 2 run_json "webhooks.ips.json" webhooks ips run_json "webhook-notifications.list.json" webhook-notifications list --page-size 2 run_json "parties.list.json" parties list --page-size 2 -run_json "custom-field-definitions.list.json" custom-field-definitions list --page-size 2 +run_json "custom-field-definitions.list.json" custom-field-definitions list if [[ -n "$terminal_id" ]]; then run_json "terminals.get.json" terminals get "$terminal_id" @@ -85,7 +85,7 @@ fi set +e run_dev containers route "$container_id" --json > "$API_FIXTURES/containers.route.json" 2> /tmp/t49.route.err run_dev containers map "$container_id" --json > /tmp/t49.map.out 2> "$API_FIXTURES/containers.map.error.json" -run_dev custom-fields list --page-size 2 --json > /tmp/t49.custom-fields.out 2> "$API_FIXTURES/custom-fields.list.error.json" +run_dev custom-fields list --json > /tmp/t49.custom-fields.out 2> "$API_FIXTURES/custom-fields.list.error.json" run_dev webhook-notifications examples --json > /tmp/t49.webhook-examples.out 2> "$API_FIXTURES/webhook-notifications.examples.error.json" set -e @@ -94,7 +94,7 @@ run_table "containers.list.txt" containers list --page-size 2 run_table "tracking-requests.list.txt" tracking-requests list --page-size 2 run_table "shipping-lines.list.txt" shipping-lines list --search HLCU run_table "search.container-number.txt" search "$search_number" -run_table "custom-field-definitions.list.txt" custom-field-definitions list --page-size 2 +run_table "custom-field-definitions.list.txt" custom-field-definitions list run_table "parties.list.txt" parties list --page-size 2 if [[ -n "$terminal_id" ]]; then run_table "terminals.get.txt" terminals get "$terminal_id" diff --git a/sdks/typescript-sdk-cli/src/commands/custom-field-definitions.ts b/sdks/typescript-sdk-cli/src/commands/custom-field-definitions.ts index af4e35f0..57adba1f 100644 --- a/sdks/typescript-sdk-cli/src/commands/custom-field-definitions.ts +++ b/sdks/typescript-sdk-cli/src/commands/custom-field-definitions.ts @@ -4,17 +4,12 @@ import type { Command } from 'commander'; import { parseJsonObjectPayload } from '../util/input.js'; -import { action, addListOptions, cliEnvelope, listAction } from './action.js'; +import { action, cliEnvelope, listAction } from './action.js'; type PayloadOptions = { payload: Record; }; -type CustomFieldDefinitionListOptions = { - page?: number; - pageSize?: number; -}; - type PaginationEnvelope = { pagination?: { links?: unknown; @@ -59,20 +54,20 @@ export function registerCustomFieldDefinitionsCommand(program: Command): void { .command('custom-field-definitions') .description('Manage custom field definitions'); - const listCommand = addListOptions( - cmd.command('list').description('List custom field definitions'), - ); - listCommand.action( - listAction('custom-field-definitions.list', async ({ client, globals }) => { - const options = listCommand.opts() as CustomFieldDefinitionListOptions; - const result = await client.customFieldDefinitions.list({ - page: options.page, - pageSize: options.pageSize, - format: globals.format, - }); - return cliEnvelope(listDataFrom(result), paginationFrom(result)); - }), - ); + cmd + .command('list') + .description('List custom field definitions') + .action( + listAction( + 'custom-field-definitions.list', + async ({ client, globals }) => { + const result = await client.customFieldDefinitions.list({ + format: globals.format, + }); + return cliEnvelope(listDataFrom(result), paginationFrom(result)); + }, + ), + ); cmd .command('get ') diff --git a/sdks/typescript-sdk-cli/src/commands/custom-fields.ts b/sdks/typescript-sdk-cli/src/commands/custom-fields.ts index f6e096e6..faa500c6 100644 --- a/sdks/typescript-sdk-cli/src/commands/custom-fields.ts +++ b/sdks/typescript-sdk-cli/src/commands/custom-fields.ts @@ -4,17 +4,12 @@ import type { Command } from 'commander'; import { parseJsonObjectPayload } from '../util/input.js'; -import { action, addListOptions, cliEnvelope, listAction } from './action.js'; +import { action, cliEnvelope, listAction } from './action.js'; type PayloadOptions = { payload: Record; }; -type CustomFieldListOptions = { - page?: number; - pageSize?: number; -}; - type PaginationEnvelope = { pagination?: { links?: unknown; @@ -59,20 +54,17 @@ export function registerCustomFieldsCommand(program: Command): void { .command('custom-fields') .description('Manage custom fields'); - const listCommand = addListOptions( - cmd.command('list').description('List custom field assignments'), - ); - listCommand.action( - listAction('custom-fields.list', async ({ client, globals }) => { - const options = listCommand.opts() as CustomFieldListOptions; - const result = await client.customFields.list({ - page: options.page, - pageSize: options.pageSize, - format: globals.format, - }); - return cliEnvelope(listDataFrom(result), paginationFrom(result)); - }), - ); + cmd + .command('list') + .description('List custom field assignments') + .action( + listAction('custom-fields.list', async ({ client, globals }) => { + const result = await client.customFields.list({ + format: globals.format, + }); + return cliEnvelope(listDataFrom(result), paginationFrom(result)); + }), + ); cmd .command('get ') diff --git a/sdks/typescript-sdk/src/client.custom-fields.test-d.ts b/sdks/typescript-sdk/src/client.custom-fields.test-d.ts index a08db1c4..92ca2580 100644 --- a/sdks/typescript-sdk/src/client.custom-fields.test-d.ts +++ b/sdks/typescript-sdk/src/client.custom-fields.test-d.ts @@ -6,4 +6,16 @@ export function customFieldListCalls(client: Terminal49Client): void { void client.customFieldOptions.list('def-1', { page: 2 }); // @ts-expect-error the API does not paginate custom field options void client.listCustomFieldOptions('def-1', { pageSize: 5 }); + + void client.customFields.list({ filters: { entityType: 'Shipment' } }); + // @ts-expect-error the API does not paginate custom fields + void client.customFields.list({ page: 2 }); + // @ts-expect-error the API does not paginate custom fields + void client.listCustomFields({ pageSize: 5 }); + + void client.customFieldDefinitions.list({ scope: 'templates' }); + // @ts-expect-error the API does not paginate custom field definitions + void client.customFieldDefinitions.list({ page: 2 }); + // @ts-expect-error the API does not paginate custom field definitions + void client.listCustomFieldDefinitions({ pageSize: 5 }); } diff --git a/sdks/typescript-sdk/src/client.ts b/sdks/typescript-sdk/src/client.ts index ab0e02a7..f10e77d3 100644 --- a/sdks/typescript-sdk/src/client.ts +++ b/sdks/typescript-sdk/src/client.ts @@ -29,11 +29,7 @@ import type { TrackingRequestListFilters, TrackingRequestType, } from './client/managers/tracking-requests.js'; -import { - applyTypedPagination, - normalizeInclude, - type PaginatedQuery, -} from './client/query.js'; +import { applyTypedPagination, normalizeInclude } from './client/query.js'; import { mapVessel, mapVesselFuturePositions } from './client/mappers.js'; import { callerPayload, type JsonBody } from './client/spec.js'; import { mapCurrentCredential } from './client/mappers.js'; @@ -75,15 +71,12 @@ type WebhookEvent = NonNullable< type WebhookNotificationListQuery = NonNullable< paths['/webhook_notifications']['get']['parameters']['query'] >; -// The API ignores page[*] on these routes, but accepts it, and the CLI forwards --page. type CustomFieldDefinitionListQuery = NonNullable< paths['/accounts/{account_id}/custom_field_definitions']['get']['parameters']['query'] -> & - PaginatedQuery; +>; type CustomFieldListQuery = NonNullable< paths['/custom_fields']['get']['parameters']['query'] -> & - PaginatedQuery; +>; type TriggerWebhookBody = JsonBody; /** Party attributes for `parties.create` and `parties.update`. */ export type PartyAttributes = NonNullable< @@ -147,7 +140,7 @@ export interface CustomFieldDefinitionListFilters { } /** Options for `customFieldDefinitions.list`. */ -export interface CustomFieldDefinitionListOptions extends ListOptions { +export interface CustomFieldDefinitionListOptions extends CallOptions { filters?: CustomFieldDefinitionListFilters; /** * `account`, the default, lists the definitions configured for your account. @@ -332,7 +325,7 @@ export class Terminal49Client { }; public customFields = { - list: (options?: ListOptions & { filters?: CustomFieldListFilters }) => + list: (options?: CallOptions & { filters?: CustomFieldListFilters }) => this.listCustomFields(options), get: (id: string, options?: CallOptions) => this.getCustomField(id, options), @@ -893,19 +886,19 @@ export class Terminal49Client { return this.formatResult(raw, options?.format); } - /** List your account's custom field definitions, or the Terminal49 templates. */ + /** + * List your account's custom field definitions, or the Terminal49 templates. + * The API does not paginate this list. + */ async listCustomFieldDefinitions( options?: CustomFieldDefinitionListOptions, ): Promise { const filters = options?.filters; - const query = applyTypedPagination( - { - 'filter[entity_type]': filters?.entityType, - 'filter[data_type]': filters?.dataType, - 'filter[display_name]': filters?.displayName, - }, - options, - ); + const query: CustomFieldDefinitionListQuery = { + 'filter[entity_type]': filters?.entityType, + 'filter[data_type]': filters?.dataType, + 'filter[display_name]': filters?.displayName, + }; const raw = await this.transport.execute(() => options?.scope === 'templates' ? this.transport.client.GET('/custom_field_definitions', { @@ -1085,19 +1078,18 @@ export class Terminal49Client { return this.formatResult(raw, options?.format); } - /** List custom field assignments. */ + /** + * List custom field assignments. The API does not paginate this list. + */ async listCustomFields( - options?: ListOptions & { filters?: CustomFieldListFilters }, + options?: CallOptions & { filters?: CustomFieldListFilters }, ): Promise { const filters = options?.filters; - const query = applyTypedPagination( - { - 'filter[entity_type]': filters?.entityType, - 'filter[entity_id]': filters?.entityId, - 'filter[definition_id]': filters?.definitionId, - }, - options, - ); + const query: CustomFieldListQuery = { + 'filter[entity_type]': filters?.entityType, + 'filter[entity_id]': filters?.entityId, + 'filter[definition_id]': filters?.definitionId, + }; const raw = await this.transport.execute(() => this.transport.client.GET('/custom_fields', { params: { query } }), ); diff --git a/sdks/typescript-sdk/src/client.write-endpoints.test.ts b/sdks/typescript-sdk/src/client.write-endpoints.test.ts index ca1c779a..d8704aa7 100644 --- a/sdks/typescript-sdk/src/client.write-endpoints.test.ts +++ b/sdks/typescript-sdk/src/client.write-endpoints.test.ts @@ -363,7 +363,6 @@ describe('custom field list filters', () => { }, }); await client.customFieldDefinitions.list({ - pageSize: 5, filters: { entityType: 'Shipment', dataType: 'enum', displayName: 'PO' }, }); @@ -373,7 +372,6 @@ describe('custom field list filters', () => { 'filter[definition_id]': 'def-1', }); expect(calls[1].query).toEqual({ - 'page[size]': '5', 'filter[entity_type]': 'Shipment', 'filter[data_type]': 'enum', 'filter[display_name]': 'PO', From a5df71c5a4a49b753874f8b0fd54827617e8b454 Mon Sep 17 00:00:00 2001 From: Akshay Dodeja Date: Thu, 15 Oct 2026 17:30:58 -0700 Subject: [PATCH 17/27] fix(sdk,cli)!: require the event for webhook notification examples GET /webhook_notifications/examples answers 400 without an event, and the spec marks the parameter required. The SDK typed it optional and cast any string past the generated enum, so examples() with no event always threw ValidationError: Bad Request. webhookNotifications.examples and getWebhookNotificationExamples now take a required WebhookEvent, exported from the generated paths, and pass it through without a cast. The CLI calls examples(), so webhook-notifications examples makes --event a required option typed as WebhookEvent. The CLI README documents it, and the live fixture capture script gets its 400 envelope from an unknown event instead of a missing one, which the CLI now rejects before calling the API. BREAKING CHANGE: webhookNotifications.examples(event, options?) and getWebhookNotificationExamples(event, options?) require event, typed as the exported WebhookEvent union. Calls without an event, or with a string outside the documented events, no longer compile. The CLI command webhook-notifications examples now requires --event. Co-Authored-By: Claude Opus 5.5 --- docs/docs.json | 3 ++- .../reference/client/classes/Terminal49Client.mdx | 8 ++++---- docs/sdk/reference/client/index.mdx | 1 + .../reference/client/type-aliases/WebhookEvent.mdx | 9 +++++++++ sdks/typescript-sdk-cli/README.md | 2 +- .../scripts/capture-live-fixtures.sh | 2 +- .../src/commands/webhook-notifications.ts | 11 ++++++++--- sdks/typescript-sdk/README.md | 2 +- sdks/typescript-sdk/src/client.ts | 14 +++++++------- .../src/client.webhook-examples.test-d.ts | 10 ++++++++++ .../src/client.write-endpoints.test.ts | 5 ++--- 11 files changed, 46 insertions(+), 21 deletions(-) create mode 100644 docs/sdk/reference/client/type-aliases/WebhookEvent.mdx create mode 100644 sdks/typescript-sdk/src/client.webhook-examples.test-d.ts diff --git a/docs/docs.json b/docs/docs.json index 33df90fc..809f78dc 100644 --- a/docs/docs.json +++ b/docs/docs.json @@ -424,7 +424,8 @@ "sdk/reference/client/interfaces/VesselFuturePositionsWithCoordsParams", "sdk/reference/client/interfaces/WebhookNotificationGetOptions", "sdk/reference/client/interfaces/WebhookNotificationListOptions", - "sdk/reference/client/type-aliases/PartyAttributes" + "sdk/reference/client/type-aliases/PartyAttributes", + "sdk/reference/client/type-aliases/WebhookEvent" ] }, { diff --git a/docs/sdk/reference/client/classes/Terminal49Client.mdx b/docs/sdk/reference/client/classes/Terminal49Client.mdx index 4462268f..6ae057cd 100644 --- a/docs/sdk/reference/client/classes/Terminal49Client.mdx +++ b/docs/sdk/reference/client/classes/Terminal49Client.mdx @@ -73,7 +73,7 @@ data from Node.js applications. | `vessels.get` | `public` | (`id`, `options?`) => `Promise`\<`any`\> | | `vessels.getByImo` | `public` | (`imo`, `options?`) => `Promise`\<`any`\> | | `webhookNotifications` | `public` | `object` | -| `webhookNotifications.examples` | `public` | (`event?`, `options?`) => `Promise`\<`any`\> | +| `webhookNotifications.examples` | `public` | (`event`, `options?`) => `Promise`\<`any`\> | | `webhookNotifications.get` | `public` | (`id`, `options?`) => `Promise`\<`any`\> | | `webhookNotifications.list` | `public` | (`options?`) => `Promise`\<`any`\> | | `webhooks` | `public` | `object` | @@ -757,15 +757,15 @@ Fetch a webhook notification by ID. ### getWebhookNotificationExamples() -> **getWebhookNotificationExamples**(`event?`, `options?`): `Promise`\<`any`\> +> **getWebhookNotificationExamples**(`event`, `options?`): `Promise`\<`any`\> -Fetch example webhook notification payloads. +Fetch the example webhook notification payload for `event`. The API answers 400 without one. #### Parameters | Parameter | Type | | ------ | ------ | -| `event?` | `string` | +| `event` | `"container.transport.vessel_arrived"` \| `"container.transport.estimated.vessel_arrived"` \| `"container.transport.vessel_discharged"` \| `"container.transport.vessel_loaded"` \| `"container.transport.vessel_departed"` \| `"container.transport.estimated.vessel_departed"` \| `"container.transport.rail_departed"` \| `"container.transport.rail_arrived"` \| `"container.transport.rail_loaded"` \| `"container.transport.rail_unloaded"` \| `"container.transport.transshipment_arrived"` \| `"container.transport.transshipment_discharged"` \| `"container.transport.transshipment_loaded"` \| `"container.transport.transshipment_departed"` \| `"container.transport.feeder_arrived"` \| `"container.transport.feeder_discharged"` \| `"container.transport.feeder_loaded"` \| `"container.transport.feeder_departed"` \| `"container.transport.empty_out"` \| `"container.transport.full_in"` \| `"container.transport.full_out"` \| `"container.transport.empty_in"` \| `"container.transport.vessel_berthed"` \| `"shipment.estimated.arrival"` \| `"tracking_request.succeeded"` \| `"tracking_request.failed"` \| `"tracking_request.awaiting_manifest"` \| `"tracking_request.tracking_stopped"` \| `"container.created"` \| `"container.updated"` \| `"container.pod_terminal_changed"` \| `"container.transport.arrived_at_inland_destination"` \| `"container.transport.estimated.arrived_at_inland_destination"` \| `"container.pickup_lfd.changed"` \| `"container.pickup_lfd_line.changed"` \| `"container.pickup_lfd_terminal.changed"` \| `"container.pickup_lfd_rail.changed"` \| `"container.pickup_appointment.changed"` \| `"container.transport.available"` \| `"container.transport.not_available"` \| `"container.transport.delivered"` \| `"document_representation.created"` \| `"document_representation.failed"` \| `"container.detention_lfd_line.changed"` \| `"container.delivery_appointment.changed"` \| `"shipment.routing.filled"` \| `"link.created"` | | `options?` | [`CallOptions`](/sdk/reference/types/options/interfaces/CallOptions) | #### Returns diff --git a/docs/sdk/reference/client/index.mdx b/docs/sdk/reference/client/index.mdx index 0b401259..33ed50a9 100644 --- a/docs/sdk/reference/client/index.mdx +++ b/docs/sdk/reference/client/index.mdx @@ -40,3 +40,4 @@ description: "Reference index for the Terminal49 TypeScript SDK client module, l | Type Alias | Description | | ------ | ------ | | [PartyAttributes](/sdk/reference/client/type-aliases/PartyAttributes) | Party attributes for `parties.create` and `parties.update`. | +| [WebhookEvent](/sdk/reference/client/type-aliases/WebhookEvent) | A webhook event name accepted by `webhookNotifications.examples`. | diff --git a/docs/sdk/reference/client/type-aliases/WebhookEvent.mdx b/docs/sdk/reference/client/type-aliases/WebhookEvent.mdx new file mode 100644 index 00000000..673c5280 --- /dev/null +++ b/docs/sdk/reference/client/type-aliases/WebhookEvent.mdx @@ -0,0 +1,9 @@ +--- +title: "Type Alias: WebhookEvent" +--- + +# Type Alias: WebhookEvent + +> **WebhookEvent** = `paths`\[`"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/webhook_notifications/examples"`\]\[`"get"`\]\[`"parameters"`\]\[`"query"`\]\[`"event"`\] + +A webhook event name accepted by `webhookNotifications.examples`. diff --git a/sdks/typescript-sdk-cli/README.md b/sdks/typescript-sdk-cli/README.md index 29ecd2a9..5252f3b3 100644 --- a/sdks/typescript-sdk-cli/README.md +++ b/sdks/typescript-sdk-cli/README.md @@ -149,7 +149,7 @@ Stable error codes include `USAGE_ERROR`, `NETWORK_ERROR`, `AUTH_ERROR`, `RATE_L - `t49 track ` - `t49 shipping-lines list` - `t49 webhooks list|get|create|update|delete|ips` -- `t49 webhook-notifications list|get|examples` +- `t49 webhook-notifications list|get|examples`. `examples` requires `--event `, a webhook event name such as `container.transport.vessel_arrived`. - `t49 vessels get|get-by-imo|future-positions|future-positions-coords`. `future-positions` requires `--port-id` and `--previous-port-id`. `future-positions-coords` also requires `--latitude` and `--longitude`. - `t49 ports get` - `t49 terminals get` diff --git a/sdks/typescript-sdk-cli/scripts/capture-live-fixtures.sh b/sdks/typescript-sdk-cli/scripts/capture-live-fixtures.sh index 964e73fd..d3071b27 100755 --- a/sdks/typescript-sdk-cli/scripts/capture-live-fixtures.sh +++ b/sdks/typescript-sdk-cli/scripts/capture-live-fixtures.sh @@ -86,7 +86,7 @@ set +e run_dev containers route "$container_id" --json > "$API_FIXTURES/containers.route.json" 2> /tmp/t49.route.err run_dev containers map "$container_id" --json > /tmp/t49.map.out 2> "$API_FIXTURES/containers.map.error.json" run_dev custom-fields list --json > /tmp/t49.custom-fields.out 2> "$API_FIXTURES/custom-fields.list.error.json" -run_dev webhook-notifications examples --json > /tmp/t49.webhook-examples.out 2> "$API_FIXTURES/webhook-notifications.examples.error.json" +run_dev webhook-notifications examples --event not_a_webhook_event --json > /tmp/t49.webhook-examples.out 2> "$API_FIXTURES/webhook-notifications.examples.error.json" set -e run_table "shipments.list.txt" shipments list --page-size 2 diff --git a/sdks/typescript-sdk-cli/src/commands/webhook-notifications.ts b/sdks/typescript-sdk-cli/src/commands/webhook-notifications.ts index c137247f..eaa8ab46 100644 --- a/sdks/typescript-sdk-cli/src/commands/webhook-notifications.ts +++ b/sdks/typescript-sdk-cli/src/commands/webhook-notifications.ts @@ -2,6 +2,7 @@ * t49 webhook-notifications */ +import type { WebhookEvent } from '@terminal49/sdk'; import type { Command } from 'commander'; import { positiveInt } from '../util/input.js'; import { action } from './action.js'; @@ -12,7 +13,8 @@ type ListOptions = { }; type ExamplesOptions = { - event?: string; + /** Validated by the API, which answers 400 for an unknown event. */ + event: WebhookEvent; }; function localOptions(command: Command): T { @@ -54,8 +56,11 @@ export function registerWebhookNotificationsCommand(program: Command): void { const examplesCommand = cmd .command('examples') - .description('Get webhook payload examples') - .option('--event ', 'Filter by event type'); + .description('Get the example webhook payload for an event') + .requiredOption( + '--event ', + 'Webhook event name, for example container.created', + ); examplesCommand.action( action('webhook-notifications.examples', async ({ client, globals }) => { const options = localOptions(examplesCommand); diff --git a/sdks/typescript-sdk/README.md b/sdks/typescript-sdk/README.md index 3e3f5c69..3690a629 100644 --- a/sdks/typescript-sdk/README.md +++ b/sdks/typescript-sdk/README.md @@ -50,7 +50,7 @@ see the SDK quickstart in the docs site: `docs/api-docs/getting-started/sdk-quic - `listWebhooks(options?)`, `getWebhook(id)`, `createWebhook(payload)`, `updateWebhook(id, payload)`, `deleteWebhook(id)`, `getWebhookIps()` - `listWebhookEvents()`: the event names a webhook can subscribe to - `triggerWebhook({ url, event, secret?, documentType? })`: sends a test delivery with an example payload -- `listWebhookNotifications(options?)`, `getWebhookNotification(id, options?)`, `getWebhookNotificationExamples(event?)` +- `listWebhookNotifications(options?)`, `getWebhookNotification(id, options?)`, `getWebhookNotificationExamples(event)` - `getVessel(id)`, `getVesselByImo(imo)`, `getPort(id)`, `getTerminal(id)`, `getMetroArea(id)` - `listParties(options?)`, `getParty(id)`, `createParty(attributes)`, `updateParty(id, attributes)` - `listCustomFieldDefinitions(options?)`, `getCustomFieldDefinition(id)`, `createCustomFieldDefinition(payload)`, `updateCustomFieldDefinition(id, payload)`, `deleteCustomFieldDefinition(id)` diff --git a/sdks/typescript-sdk/src/client.ts b/sdks/typescript-sdk/src/client.ts index f10e77d3..bc630527 100644 --- a/sdks/typescript-sdk/src/client.ts +++ b/sdks/typescript-sdk/src/client.ts @@ -65,9 +65,9 @@ export { ValidationError, }; -type WebhookEvent = NonNullable< - paths['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/webhook_notifications/examples']['get']['parameters']['query'] ->['event']; +/** A webhook event name accepted by `webhookNotifications.examples`. */ +export type WebhookEvent = + paths['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/webhook_notifications/examples']['get']['parameters']['query']['event']; type WebhookNotificationListQuery = NonNullable< paths['/webhook_notifications']['get']['parameters']['query'] >; @@ -247,7 +247,7 @@ export class Terminal49Client { this.listWebhookNotifications(options), get: (id: string, options?: WebhookNotificationGetOptions) => this.getWebhookNotification(id, options), - examples: (event?: string, options?: CallOptions) => + examples: (event: WebhookEvent, options?: CallOptions) => this.getWebhookNotificationExamples(event, options), }; @@ -734,14 +734,14 @@ export class Terminal49Client { return this.formatResult(raw, options?.format); } - /** Fetch example webhook notification payloads. */ + /** Fetch the example webhook notification payload for `event`. The API answers 400 without one. */ async getWebhookNotificationExamples( - event?: string, + event: WebhookEvent, options?: CallOptions, ): Promise { const raw = await this.transport.execute(() => this.transport.client.GET('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/webhook_notifications/examples', { - params: { query: { event: callerPayload(event) } }, + params: { query: { event } }, }), ); return this.formatResult(raw, options?.format); diff --git a/sdks/typescript-sdk/src/client.webhook-examples.test-d.ts b/sdks/typescript-sdk/src/client.webhook-examples.test-d.ts new file mode 100644 index 00000000..005a0d6d --- /dev/null +++ b/sdks/typescript-sdk/src/client.webhook-examples.test-d.ts @@ -0,0 +1,10 @@ +import type { Terminal49Client } from './client.js'; + +export function webhookExampleCalls(client: Terminal49Client): void { + void client.webhookNotifications.examples('container.created'); + void client.getWebhookNotificationExamples('tracking_request.succeeded'); + // @ts-expect-error the API answers 400 without an event + void client.webhookNotifications.examples(); + // @ts-expect-error only documented webhook events are accepted + void client.webhookNotifications.examples('container.nope'); +} diff --git a/sdks/typescript-sdk/src/client.write-endpoints.test.ts b/sdks/typescript-sdk/src/client.write-endpoints.test.ts index d8704aa7..8e334e2c 100644 --- a/sdks/typescript-sdk/src/client.write-endpoints.test.ts +++ b/sdks/typescript-sdk/src/client.write-endpoints.test.ts @@ -460,7 +460,6 @@ describe('resource methods on the client', () => { await client.webhookNotifications.list({ page: 3 }); await client.webhookNotifications.get('n-1'); await client.webhookNotifications.examples('container.created'); - await client.webhookNotifications.examples(); await client.vessels.get('v-1'); await client.vessels.getByImo('9876543'); await client.vessels.futurePositions('v-1', { @@ -512,7 +511,6 @@ describe('resource methods on the client', () => { { event: 'container.created' }, undefined, ], - ['GET', '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/webhook_notifications/examples', {}, undefined], ['GET', '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/vessels/v-1', {}, undefined], ['GET', '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/vessels/9876543', {}, undefined], [ @@ -761,7 +759,8 @@ describe('return values', () => { [ 'GET', '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/webhook_notifications/examples', - (c: Terminal49Client) => c.webhookNotifications.examples(), + (c: Terminal49Client) => + c.webhookNotifications.examples('container.created'), ], ['GET', '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/vessels/v-1', (c: Terminal49Client) => c.vessels.get('v-1')], [ From 6323944ba54d06b2c0d22db9cf6936e933da14b8 Mon Sep 17 00:00:00 2001 From: Akshay Dodeja Date: Thu, 15 Oct 2026 17:31:18 -0700 Subject: [PATCH 18/27] test(sdk): cover a container with no POD terminal The generated container type accepts relationships.pod_terminal with data: null, and containers.get maps such a container with null podTerminal and destinationTerminal. Co-Authored-By: Claude Opus 5.5 --- .../typescript-sdk/src/client.mapping.test.ts | 31 +++++++++++++++++++ sdks/typescript-sdk/src/spec-types.test.ts | 8 +++++ 2 files changed, 39 insertions(+) diff --git a/sdks/typescript-sdk/src/client.mapping.test.ts b/sdks/typescript-sdk/src/client.mapping.test.ts index 3dbdb2e7..3ccad9cc 100644 --- a/sdks/typescript-sdk/src/client.mapping.test.ts +++ b/sdks/typescript-sdk/src/client.mapping.test.ts @@ -4,6 +4,7 @@ import { fileURLToPath } from 'node:url'; import { describe, expect, it } from 'vite-plus/test'; import { Terminal49Client } from './client.js'; import { mapContainerRoute } from './client/mappers.js'; +import type { components } from './generated/terminal49.js'; import { createMockFetch, jsonResponse } from './test/mock-fetch.js'; const baseUrl = 'https://api.test/v2'; @@ -626,6 +627,36 @@ describe('Terminal49Client mapping helpers', () => { expect(both.mapped).toMatchObject(expected); }); + it('maps a container without a POD terminal', async () => { + const container: components['schemas']['container'] = { + id: 'container-2', + type: 'container', + attributes: { number: 'MSKU4330011' }, + relationships: { + pod_terminal: { data: null }, + pickup_facility: { data: null }, + }, + }; + const { fetchImpl } = createMockFetch({ + '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/containers/container-2?include=shipment,pod_terminal,pickup_facility': + () => jsonResponse({ data: container }), + }); + const client = new Terminal49Client({ + apiToken: 'token-123', + apiBaseUrl: baseUrl, + fetchImpl, + defaultFormat: 'mapped', + }); + + const mapped = await client.containers.get('container-2'); + + expect(mapped).toMatchObject({ + id: 'container-2', + number: 'MSKU4330011', + terminals: { podTerminal: null, destinationTerminal: null }, + }); + }); + it('maps container list items from base fixture', async () => { const fixture = loadFixture('containers.list'); const { fetchImpl } = createMockFetch({ diff --git a/sdks/typescript-sdk/src/spec-types.test.ts b/sdks/typescript-sdk/src/spec-types.test.ts index 52b79d8c..878abf9e 100644 --- a/sdks/typescript-sdk/src/spec-types.test.ts +++ b/sdks/typescript-sdk/src/spec-types.test.ts @@ -13,6 +13,14 @@ describe('generated spec types', () => { >().toEqualTypeOf<'container'>(); }); + it('lets a container have no POD terminal', () => { + type PodTerminal = NonNullable< + components['schemas']['container']['relationships'] + >['pod_terminal']; + + expectTypeOf<{ data: null }>().toExtend>(); + }); + it('accepts a non-empty object as a custom field value in every setter', () => { type ObjectValue = { id: string; type: string }; From b2b088aa1bf2ad44689497884e38571a2217fba5 Mon Sep 17 00:00:00 2001 From: Akshay Dodeja Date: Thu, 15 Oct 2026 18:46:45 -0700 Subject: [PATCH 19/27] fix(sdk)!: type tracking request writes from the spec trackingRequests.update and updateTrackingRequest took any attributes and cast the body to any, so `{ ref_number: 'X' }` compiled and the API answered 200 without changing anything. Both now take TrackingRequestUpdateAttributes, derived from PATCH /tracking_requests/{id} (`ref_numbers` only). create and inferNumber also send bodies typed from their operations instead of casting to any. The wire payloads are unchanged. BREAKING CHANGE: trackingRequests.update and updateTrackingRequest accept only `{ ref_numbers?: string[] }`. Co-Authored-By: Claude Opus 5.5 --- docs/docs.json | 3 ++- .../client/classes/Terminal49Client.mdx | 11 ++++---- .../classes/TrackingRequestManager.mdx | 11 ++++---- docs/sdk/reference/client/managers/index.mdx | 1 + .../TrackingRequestUpdateAttributes.mdx | 9 +++++++ .../typescript-sdk/src/client.request.test.ts | 6 +++-- .../src/client.tracking-requests.test-d.ts | 12 +++++++++ sdks/typescript-sdk/src/client.ts | 3 ++- .../src/client/managers/tracking-requests.ts | 26 ++++++++++++++----- 9 files changed, 62 insertions(+), 20 deletions(-) create mode 100644 docs/sdk/reference/client/managers/type-aliases/TrackingRequestUpdateAttributes.mdx create mode 100644 sdks/typescript-sdk/src/client.tracking-requests.test-d.ts diff --git a/docs/docs.json b/docs/docs.json index 809f78dc..e26efcb9 100644 --- a/docs/docs.json +++ b/docs/docs.json @@ -449,7 +449,8 @@ "sdk/reference/client/managers/interfaces/UpdateDocumentParams", "sdk/reference/client/managers/type-aliases/ContainerUpdateAttributes", "sdk/reference/client/managers/type-aliases/DocumentRotation", - "sdk/reference/client/managers/type-aliases/TrackingRequestType" + "sdk/reference/client/managers/type-aliases/TrackingRequestType", + "sdk/reference/client/managers/type-aliases/TrackingRequestUpdateAttributes" ] }, { diff --git a/docs/sdk/reference/client/classes/Terminal49Client.mdx b/docs/sdk/reference/client/classes/Terminal49Client.mdx index 6ae057cd..981e3299 100644 --- a/docs/sdk/reference/client/classes/Terminal49Client.mdx +++ b/docs/sdk/reference/client/classes/Terminal49Client.mdx @@ -1263,11 +1263,12 @@ Update tracking request attributes. #### Parameters -| Parameter | Type | -| ------ | ------ | -| `id` | `string` | -| `attrs` | `Record`\<`string`, `any`\> | -| `options?` | [`CallOptions`](/sdk/reference/types/options/interfaces/CallOptions) | +| Parameter | Type | Description | +| ------ | ------ | ------ | +| `id` | `string` | - | +| `attrs` | \{ `ref_numbers?`: `string`[]; \} | - | +| `attrs.ref_numbers?` | `string`[] | **Description** Customer reference numbers. The list you send replaces the existing list. **Example** `[ "REFNUMBER11" ]` | +| `options?` | [`CallOptions`](/sdk/reference/types/options/interfaces/CallOptions) | - | #### Returns diff --git a/docs/sdk/reference/client/managers/classes/TrackingRequestManager.mdx b/docs/sdk/reference/client/managers/classes/TrackingRequestManager.mdx index 6b8f1fa5..195d02de 100644 --- a/docs/sdk/reference/client/managers/classes/TrackingRequestManager.mdx +++ b/docs/sdk/reference/client/managers/classes/TrackingRequestManager.mdx @@ -223,11 +223,12 @@ Create a custom field value on a tracking request. #### Parameters -| Parameter | Type | -| ------ | ------ | -| `id` | `string` | -| `attrs` | `Record`\<`string`, `any`\> | -| `options?` | [`CallOptions`](/sdk/reference/types/options/interfaces/CallOptions) | +| Parameter | Type | Description | +| ------ | ------ | ------ | +| `id` | `string` | - | +| `attrs` | \{ `ref_numbers?`: `string`[]; \} | - | +| `attrs.ref_numbers?` | `string`[] | **Description** Customer reference numbers. The list you send replaces the existing list. **Example** `[ "REFNUMBER11" ]` | +| `options?` | [`CallOptions`](/sdk/reference/types/options/interfaces/CallOptions) | - | #### Returns diff --git a/docs/sdk/reference/client/managers/index.mdx b/docs/sdk/reference/client/managers/index.mdx index c7a7db81..2b218d49 100644 --- a/docs/sdk/reference/client/managers/index.mdx +++ b/docs/sdk/reference/client/managers/index.mdx @@ -38,6 +38,7 @@ description: "Reference for the Terminal49 TypeScript SDK managers module: conta | [ContainerUpdateAttributes](/sdk/reference/client/managers/type-aliases/ContainerUpdateAttributes) | Writable container attributes for `update`. | | [DocumentRotation](/sdk/reference/client/managers/type-aliases/DocumentRotation) | - | | [TrackingRequestType](/sdk/reference/client/managers/type-aliases/TrackingRequestType) | - | +| [TrackingRequestUpdateAttributes](/sdk/reference/client/managers/type-aliases/TrackingRequestUpdateAttributes) | Writable tracking request attributes. `ref_numbers` replaces the existing list. | ## Variables diff --git a/docs/sdk/reference/client/managers/type-aliases/TrackingRequestUpdateAttributes.mdx b/docs/sdk/reference/client/managers/type-aliases/TrackingRequestUpdateAttributes.mdx new file mode 100644 index 00000000..6cb0f7c2 --- /dev/null +++ b/docs/sdk/reference/client/managers/type-aliases/TrackingRequestUpdateAttributes.mdx @@ -0,0 +1,9 @@ +--- +title: "Type Alias: TrackingRequestUpdateAttributes" +--- + +# Type Alias: TrackingRequestUpdateAttributes + +> **TrackingRequestUpdateAttributes** = `NonNullable`\<`TrackingRequestUpdateBody`\[`"data"`\]\>\[`"attributes"`\] + +Writable tracking request attributes. `ref_numbers` replaces the existing list. diff --git a/sdks/typescript-sdk/src/client.request.test.ts b/sdks/typescript-sdk/src/client.request.test.ts index 8f7be2ab..f3ab218d 100644 --- a/sdks/typescript-sdk/src/client.request.test.ts +++ b/sdks/typescript-sdk/src/client.request.test.ts @@ -367,13 +367,15 @@ describe('Terminal49Client request building', () => { fetchImpl, }); - await client.updateTrackingRequest('tr-1', { status: 'paused' }); + await client.updateTrackingRequest('tr-1', { + ref_numbers: ['PO-1', 'PO-2'], + }); expect(captured).toEqual({ data: { type: 'tracking_request', id: 'tr-1', - attributes: { status: 'paused' }, + attributes: { ref_numbers: ['PO-1', 'PO-2'] }, }, }); }); diff --git a/sdks/typescript-sdk/src/client.tracking-requests.test-d.ts b/sdks/typescript-sdk/src/client.tracking-requests.test-d.ts new file mode 100644 index 00000000..1bebe3cb --- /dev/null +++ b/sdks/typescript-sdk/src/client.tracking-requests.test-d.ts @@ -0,0 +1,12 @@ +import type { Terminal49Client } from './client.js'; + +export function trackingRequestUpdateCalls(client: Terminal49Client): void { + void client.trackingRequests.update('tr-1', { ref_numbers: ['PO-1'] }); + void client.updateTrackingRequest('tr-1', { ref_numbers: [] }); + // @ts-expect-error the API ignores ref_number; send ref_numbers + void client.trackingRequests.update('tr-1', { ref_number: 'PO-1' }); + // @ts-expect-error the API ignores ref_number; send ref_numbers + void client.updateTrackingRequest('tr-1', { ref_number: 'PO-1' }); + // @ts-expect-error ref_numbers is a list + void client.trackingRequests.update('tr-1', { ref_numbers: 'PO-1' }); +} diff --git a/sdks/typescript-sdk/src/client.ts b/sdks/typescript-sdk/src/client.ts index bc630527..e1cd3fbc 100644 --- a/sdks/typescript-sdk/src/client.ts +++ b/sdks/typescript-sdk/src/client.ts @@ -28,6 +28,7 @@ import type { CreateTrackingRequestFromInferOptions, TrackingRequestListFilters, TrackingRequestType, + TrackingRequestUpdateAttributes, } from './client/managers/tracking-requests.js'; import { applyTypedPagination, normalizeInclude } from './client/query.js'; import { mapVessel, mapVesselFuturePositions } from './client/mappers.js'; @@ -1173,7 +1174,7 @@ export class Terminal49Client { /** Update tracking request attributes. */ async updateTrackingRequest( id: string, - attrs: Record, + attrs: TrackingRequestUpdateAttributes, options?: CallOptions, ): Promise { return this.trackingRequests.update(id, attrs, options); diff --git a/sdks/typescript-sdk/src/client/managers/tracking-requests.ts b/sdks/typescript-sdk/src/client/managers/tracking-requests.ts index 8ac87038..20555116 100644 --- a/sdks/typescript-sdk/src/client/managers/tracking-requests.ts +++ b/sdks/typescript-sdk/src/client/managers/tracking-requests.ts @@ -1,3 +1,4 @@ +import type { paths } from '../../generated/terminal49.js'; import type { CustomFieldValue, TrackingRequest } from '../../types/models.js'; import type { CallOptions, @@ -12,8 +13,21 @@ import { mapTrackingRequestList, } from '../mappers.js'; import { copyStringParams, normalizeInclude } from '../query.js'; +import type { JsonBody } from '../spec.js'; import { BaseManager } from './base.js'; +type TrackingRequestCreateBody = JsonBody; +type TrackingRequestCreateAttributes = NonNullable< + NonNullable['attributes'] +>; +type TrackingRequestUpdateBody = JsonBody< + paths['/tracking_requests/{id}']['patch'] +>; +/** Writable tracking request attributes. `ref_numbers` replaces the existing list. */ +export type TrackingRequestUpdateAttributes = NonNullable< + TrackingRequestUpdateBody['data'] +>['attributes']; + export type TrackingRequestType = | 'container' | 'bill_of_lading' @@ -84,7 +98,7 @@ export class TrackingRequestManager extends BaseManager { async update( id: string, - attrs: Record, + attrs: TrackingRequestUpdateAttributes, options?: CallOptions, ): Promise { const payload = { @@ -98,7 +112,7 @@ export class TrackingRequestManager extends BaseManager { const raw = await this.transport.execute(() => this.transport.client.PATCH('/tracking_requests/{id}', { params: { path: { id } }, - body: payload as any, + body: payload, }), ); @@ -212,7 +226,7 @@ export class TrackingRequestManager extends BaseManager { ); } - const attributes: Record = { + const attributes: TrackingRequestCreateAttributes = { request_type: params.requestType, request_number: params.requestNumber, scac: params.scac ?? '', @@ -230,11 +244,11 @@ export class TrackingRequestManager extends BaseManager { type: 'tracking_request' as const, attributes, }, - }; + } satisfies TrackingRequestCreateBody; return this.transport.execute(() => this.transport.client.POST('/tracking_requests', { - body: payload as any, + body: payload, }), ); } @@ -246,7 +260,7 @@ export class TrackingRequestManager extends BaseManager { return this.transport.execute(() => this.transport.client.POST('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/tracking_requests/infer_number', { - body: { number } as any, + body: { number }, }), ); } From 6e5b1b5de0b14aaeabe1c603ab3a68d955a44cdd Mon Sep 17 00:00:00 2001 From: Akshay Dodeja Date: Thu, 15 Oct 2026 19:04:57 -0700 Subject: [PATCH 20/27] fix(sdk)!: infer Transport.execute's result from the openapi-fetch call execute returned `any` by default, so the typed mappers (mapContainerRoute, and mapVessel and mapVesselFuturePositions from earlier in this series) were never checked against their endpoint: handing containers.route() the vessel mapper still compiled. execute now returns the data type of the call's success branch, so each mapper is checked against its route's 200 response, and a bodyless success such as a 204 DELETE resolves to undefined. The redundant `ShippingLineResource` annotation in shippingLines.list() goes away for the same reason. BREAKING CHANGE: Transport.execute no longer takes a result type argument; it infers the result from the request it runs. Co-Authored-By: Claude Opus 5.5 --- .../client/transport/classes/Transport.mdx | 12 ++++++------ .../src/client/managers/shipping-lines.ts | 4 +--- sdks/typescript-sdk/src/client/transport.ts | 16 ++++++++-------- sdks/typescript-sdk/src/spec-types.test.ts | 18 ++++++++++++++++++ 4 files changed, 33 insertions(+), 17 deletions(-) diff --git a/docs/sdk/reference/client/transport/classes/Transport.mdx b/docs/sdk/reference/client/transport/classes/Transport.mdx index 3cbcb6db..0c6f08c2 100644 --- a/docs/sdk/reference/client/transport/classes/Transport.mdx +++ b/docs/sdk/reference/client/transport/classes/Transport.mdx @@ -32,23 +32,23 @@ description: "Transport class in the Terminal49 TypeScript SDK, the low-level HT ### execute() -> **execute**\<`T`\>(`fn`): `Promise`\<`T`\> +> **execute**\<`R`\>(`fn`): `Promise`\<`Extract`\<`R`, \{ `data`: `unknown`; \}\>\[`"data"`\]\> #### Type Parameters -| Type Parameter | Default type | -| ------ | ------ | -| `T` | `any` | +| Type Parameter | +| ------ | +| `R` *extends* `object` | #### Parameters | Parameter | Type | | ------ | ------ | -| `fn` | () => `Promise`\<`FetchResponse`\<`any`, `any`, `any`\>\> | +| `fn` | () => `Promise`\<`R`\> | #### Returns -`Promise`\<`T`\> +`Promise`\<`Extract`\<`R`, \{ `data`: `unknown`; \}\>\[`"data"`\]\> *** diff --git a/sdks/typescript-sdk/src/client/managers/shipping-lines.ts b/sdks/typescript-sdk/src/client/managers/shipping-lines.ts index 88c9a59b..1878809c 100644 --- a/sdks/typescript-sdk/src/client/managers/shipping-lines.ts +++ b/sdks/typescript-sdk/src/client/managers/shipping-lines.ts @@ -31,9 +31,7 @@ export class ShippingLineManager extends BaseManager { const raw = needle ? { ...doc, - data: doc.data?.filter((line: ShippingLineResource) => - matchesSearch(line, needle), - ), + data: doc.data?.filter((line) => matchesSearch(line, needle)), } : doc; return this.formatResult(raw, options?.format, mapShippingLines); diff --git a/sdks/typescript-sdk/src/client/transport.ts b/sdks/typescript-sdk/src/client/transport.ts index e29c78aa..7653bc5e 100644 --- a/sdks/typescript-sdk/src/client/transport.ts +++ b/sdks/typescript-sdk/src/client/transport.ts @@ -1,8 +1,5 @@ import { randomUUID } from 'node:crypto'; -import createClient, { - type FetchResponse, - type MiddlewareCallbackParams, -} from 'openapi-fetch'; +import createClient, { type MiddlewareCallbackParams } from 'openapi-fetch'; import type { paths } from '../generated/terminal49.js'; import { readSuccessBody } from './body.js'; import { toNetworkError } from './errors.js'; @@ -73,11 +70,14 @@ export class Transport { this.client.use(interceptor); } - public async execute( - fn: () => Promise>, - ): Promise { + public async execute( + fn: () => Promise, + ): Promise['data']> { const { data } = await fn(); - return data as T; + // SAFETY: ErrorMappingInterceptor throws on every non-2xx response, so a + // call that returns here is openapi-fetch's success branch, whose data is + // undefined for an operation the spec gives no response body. + return data as Extract['data']; } /** diff --git a/sdks/typescript-sdk/src/spec-types.test.ts b/sdks/typescript-sdk/src/spec-types.test.ts index 878abf9e..93cf40c3 100644 --- a/sdks/typescript-sdk/src/spec-types.test.ts +++ b/sdks/typescript-sdk/src/spec-types.test.ts @@ -4,6 +4,7 @@ import type { ShipmentManager } from './client/managers/shipments.js'; import type { TrackingRequestManager } from './client/managers/tracking-requests.js'; import type { components } from './generated/terminal49.js'; import type { Terminal49Client } from './client.js'; +import type { Transport } from './client/transport.js'; import type { TrackingRequestInclude } from './types/options.js'; describe('generated spec types', () => { @@ -68,4 +69,21 @@ describe('generated spec types', () => { expectTypeOf().toEqualTypeOf(); }); + + it('types execute as the success body, or undefined for a bodyless success', () => { + const run = (transport: Transport) => ({ + deleted: transport.execute(() => + transport.client.DELETE('/webhooks/{id}', { + params: { path: { id: 'webhook-id' } }, + }), + ), + me: transport.execute(() => transport.client.GET('/me')), + }); + type Results = ReturnType; + + expectTypeOf>().toEqualTypeOf(); + expectTypeOf< + Awaited['data']['type'] + >().toEqualTypeOf<'credential'>(); + }); }); From 67283271355716dae9f0b00f42e4d3615d520b5a Mon Sep 17 00:00:00 2001 From: Akshay Dodeja Date: Thu, 15 Oct 2026 19:06:09 -0700 Subject: [PATCH 21/27] fix(sdk)!: type shipment updates from the spec shipments.update and updateShipment took any attributes and cast the body to any, so `{ tags: 'a,b' }` or `{ ref_number: 'X' }` compiled and went out unchecked. Both now take ShipmentUpdateAttributes, derived from PATCH /shipments/{id} (`ref_numbers` and `tags`, each a string list), the same way tracking request updates are typed. The wire payload is unchanged. BREAKING CHANGE: shipments.update and updateShipment accept only `{ ref_numbers?: string[]; tags?: string[] }`. Co-Authored-By: Claude Opus 5.5 --- docs/docs.json | 1 + .../client/classes/Terminal49Client.mdx | 14 +++++++++----- .../managers/classes/ShipmentManager.mdx | 14 +++++++++----- docs/sdk/reference/client/managers/index.mdx | 1 + .../type-aliases/ShipmentUpdateAttributes.mdx | 9 +++++++++ .../typescript-sdk/src/client.request.test.ts | 7 +++++-- .../src/client.shipments.test-d.ts | 19 +++++++++++++++++++ sdks/typescript-sdk/src/client.ts | 3 ++- .../src/client/managers/shipments.ts | 8 ++++++-- 9 files changed, 61 insertions(+), 15 deletions(-) create mode 100644 docs/sdk/reference/client/managers/type-aliases/ShipmentUpdateAttributes.mdx create mode 100644 sdks/typescript-sdk/src/client.shipments.test-d.ts diff --git a/docs/docs.json b/docs/docs.json index e26efcb9..87864e67 100644 --- a/docs/docs.json +++ b/docs/docs.json @@ -449,6 +449,7 @@ "sdk/reference/client/managers/interfaces/UpdateDocumentParams", "sdk/reference/client/managers/type-aliases/ContainerUpdateAttributes", "sdk/reference/client/managers/type-aliases/DocumentRotation", + "sdk/reference/client/managers/type-aliases/ShipmentUpdateAttributes", "sdk/reference/client/managers/type-aliases/TrackingRequestType", "sdk/reference/client/managers/type-aliases/TrackingRequestUpdateAttributes" ] diff --git a/docs/sdk/reference/client/classes/Terminal49Client.mdx b/docs/sdk/reference/client/classes/Terminal49Client.mdx index 981e3299..6421e6ef 100644 --- a/docs/sdk/reference/client/classes/Terminal49Client.mdx +++ b/docs/sdk/reference/client/classes/Terminal49Client.mdx @@ -1243,11 +1243,15 @@ Update shipment attributes such as reference numbers or tags. #### Parameters -| Parameter | Type | -| ------ | ------ | -| `id` | `string` | -| `attrs` | `Record`\<`string`, `any`\> | -| `options?` | [`CallOptions`](/sdk/reference/types/options/interfaces/CallOptions) | +| Parameter | Type | Description | +| ------ | ------ | ------ | +| `id` | `string` | - | +| `attrs` | \{ `ref_numbers?`: `string`[]; `tags?`: `string`[]; `user_provided_booking_number?`: `string`; `user_provided_mbl_number?`: `string`; \} | - | +| `attrs.ref_numbers?` | `string`[] | **Description** Shipment ref numbers. **Example** `[ "REFNUMBER10" ]` | +| `attrs.tags?` | `string`[] | **Description** Tags related to a shipment | +| `attrs.user_provided_booking_number?` | `string` | **Description** Booking number you provide for the shipment. **Example** `BK123456` | +| `attrs.user_provided_mbl_number?` | `string` | **Description** Master bill of lading number you provide for the shipment. **Example** `MEDUFR030802` | +| `options?` | [`CallOptions`](/sdk/reference/types/options/interfaces/CallOptions) | - | #### Returns diff --git a/docs/sdk/reference/client/managers/classes/ShipmentManager.mdx b/docs/sdk/reference/client/managers/classes/ShipmentManager.mdx index 9d4d9089..0d1b2e87 100644 --- a/docs/sdk/reference/client/managers/classes/ShipmentManager.mdx +++ b/docs/sdk/reference/client/managers/classes/ShipmentManager.mdx @@ -241,11 +241,15 @@ Create a custom field value on a shipment. #### Parameters -| Parameter | Type | -| ------ | ------ | -| `id` | `string` | -| `attrs` | `Record`\<`string`, `any`\> | -| `options?` | [`CallOptions`](/sdk/reference/types/options/interfaces/CallOptions) | +| Parameter | Type | Description | +| ------ | ------ | ------ | +| `id` | `string` | - | +| `attrs` | \{ `ref_numbers?`: `string`[]; `tags?`: `string`[]; `user_provided_booking_number?`: `string`; `user_provided_mbl_number?`: `string`; \} | - | +| `attrs.ref_numbers?` | `string`[] | **Description** Shipment ref numbers. **Example** `[ "REFNUMBER10" ]` | +| `attrs.tags?` | `string`[] | **Description** Tags related to a shipment | +| `attrs.user_provided_booking_number?` | `string` | **Description** Booking number you provide for the shipment. **Example** `BK123456` | +| `attrs.user_provided_mbl_number?` | `string` | **Description** Master bill of lading number you provide for the shipment. **Example** `MEDUFR030802` | +| `options?` | [`CallOptions`](/sdk/reference/types/options/interfaces/CallOptions) | - | #### Returns diff --git a/docs/sdk/reference/client/managers/index.mdx b/docs/sdk/reference/client/managers/index.mdx index 2b218d49..092c2b48 100644 --- a/docs/sdk/reference/client/managers/index.mdx +++ b/docs/sdk/reference/client/managers/index.mdx @@ -37,6 +37,7 @@ description: "Reference for the Terminal49 TypeScript SDK managers module: conta | ------ | ------ | | [ContainerUpdateAttributes](/sdk/reference/client/managers/type-aliases/ContainerUpdateAttributes) | Writable container attributes for `update`. | | [DocumentRotation](/sdk/reference/client/managers/type-aliases/DocumentRotation) | - | +| [ShipmentUpdateAttributes](/sdk/reference/client/managers/type-aliases/ShipmentUpdateAttributes) | Writable shipment attributes. Each list replaces the existing one. | | [TrackingRequestType](/sdk/reference/client/managers/type-aliases/TrackingRequestType) | - | | [TrackingRequestUpdateAttributes](/sdk/reference/client/managers/type-aliases/TrackingRequestUpdateAttributes) | Writable tracking request attributes. `ref_numbers` replaces the existing list. | diff --git a/docs/sdk/reference/client/managers/type-aliases/ShipmentUpdateAttributes.mdx b/docs/sdk/reference/client/managers/type-aliases/ShipmentUpdateAttributes.mdx new file mode 100644 index 00000000..a244ab75 --- /dev/null +++ b/docs/sdk/reference/client/managers/type-aliases/ShipmentUpdateAttributes.mdx @@ -0,0 +1,9 @@ +--- +title: "Type Alias: ShipmentUpdateAttributes" +--- + +# Type Alias: ShipmentUpdateAttributes + +> **ShipmentUpdateAttributes** = `NonNullable`\<`JsonBody`\<`paths`\[`"/shipments/{id}"`\]\[`"patch"`\]\>\[`"data"`\]\>\[`"attributes"`\] + +Writable shipment attributes. Each list replaces the existing one. diff --git a/sdks/typescript-sdk/src/client.request.test.ts b/sdks/typescript-sdk/src/client.request.test.ts index f3ab218d..79d35fb1 100644 --- a/sdks/typescript-sdk/src/client.request.test.ts +++ b/sdks/typescript-sdk/src/client.request.test.ts @@ -509,7 +509,10 @@ describe('Terminal49Client request building', () => { fetchImpl, }); - await client.updateShipment('ship-1', { status: 'paused' }); + await client.updateShipment('ship-1', { + ref_numbers: ['PO-1'], + tags: ['hot', 'priority'], + }); await client.stopTrackingShipment('ship-1'); await client.resumeTrackingShipment('ship-1'); @@ -517,7 +520,7 @@ describe('Terminal49Client request building', () => { data: { type: 'shipment', id: 'ship-1', - attributes: { status: 'paused' }, + attributes: { ref_numbers: ['PO-1'], tags: ['hot', 'priority'] }, }, }); expect(stopBody).toBe(''); diff --git a/sdks/typescript-sdk/src/client.shipments.test-d.ts b/sdks/typescript-sdk/src/client.shipments.test-d.ts new file mode 100644 index 00000000..73f4ba52 --- /dev/null +++ b/sdks/typescript-sdk/src/client.shipments.test-d.ts @@ -0,0 +1,19 @@ +import type { Terminal49Client } from './client.js'; + +export function shipmentUpdateCalls(client: Terminal49Client): void { + void client.shipments.update('s-1', { ref_numbers: ['PO-1'], tags: ['hot'] }); + void client.updateShipment('s-1', { tags: [] }); + void client.shipments.update('s-1', { + user_provided_mbl_number: 'MEDUFR030802', + user_provided_booking_number: 'BK123456', + }); + void client.updateShipment('s-1', { + user_provided_booking_number: 'BK123456', + }); + // @ts-expect-error tags is a list, not a comma-separated string + void client.shipments.update('s-1', { tags: 'a,b' }); + // @ts-expect-error tags is a list, not a comma-separated string + void client.updateShipment('s-1', { tags: 'a,b' }); + // @ts-expect-error the API ignores ref_number; send ref_numbers + void client.shipments.update('s-1', { ref_number: 'PO-1' }); +} diff --git a/sdks/typescript-sdk/src/client.ts b/sdks/typescript-sdk/src/client.ts index e1cd3fbc..4bd6b04e 100644 --- a/sdks/typescript-sdk/src/client.ts +++ b/sdks/typescript-sdk/src/client.ts @@ -30,6 +30,7 @@ import type { TrackingRequestType, TrackingRequestUpdateAttributes, } from './client/managers/tracking-requests.js'; +import type { ShipmentUpdateAttributes } from './client/managers/shipments.js'; import { applyTypedPagination, normalizeInclude } from './client/query.js'; import { mapVessel, mapVesselFuturePositions } from './client/mappers.js'; import { callerPayload, type JsonBody } from './client/spec.js'; @@ -492,7 +493,7 @@ export class Terminal49Client { /** Update shipment attributes such as reference numbers or tags. */ async updateShipment( id: string, - attrs: Record, + attrs: ShipmentUpdateAttributes, options?: CallOptions, ): Promise { return this.shipments.update(id, attrs, options); diff --git a/sdks/typescript-sdk/src/client/managers/shipments.ts b/sdks/typescript-sdk/src/client/managers/shipments.ts index 5b845b1f..4b020ac8 100644 --- a/sdks/typescript-sdk/src/client/managers/shipments.ts +++ b/sdks/typescript-sdk/src/client/managers/shipments.ts @@ -17,6 +17,10 @@ import { import { callerPayload, type JsonBody } from '../spec.js'; import { BaseManager } from './base.js'; +/** Writable shipment attributes. Each list replaces the existing one. */ +export type ShipmentUpdateAttributes = NonNullable< + JsonBody['data'] +>['attributes']; type PartyRoleData = JsonBody< paths['/shipments/{shipment_id}/party_roles']['post'] >['data']; @@ -116,7 +120,7 @@ export class ShipmentManager extends BaseManager { async update( id: string, - attrs: Record, + attrs: ShipmentUpdateAttributes, options?: CallOptions, ): Promise { const payload = { @@ -130,7 +134,7 @@ export class ShipmentManager extends BaseManager { const raw = await this.transport.execute(() => this.transport.client.PATCH('/shipments/{id}', { params: { path: { id } }, - body: payload as any, + body: payload, }), ); From 39589de9e5e5c581348ce21e8581048c3562f104 Mon Sep 17 00:00:00 2001 From: Akshay Dodeja Date: Fri, 16 Oct 2026 16:01:23 -0700 Subject: [PATCH 22/27] docs: update the SDK method list for mapped results and corrected routes methods.mdx now says what `mapped` returns for containers.get and the vessel methods, lists the includes a tracking request accepts and where its mapped shipment comes from, and adds trackingRequests.cancel. It names the account routes that customFieldDefinitions.list and create call, notes that the custom field lists are not paginated, describes the client-side shippingLines search, marks the webhook notification examples event as required, and documents documents.update with documentType and classificationNotes. Methods without mapping return the JSON:API response unchanged in `mapped` format. Co-Authored-By: Claude Opus 5.5 --- docs/sdk/methods.mdx | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/docs/sdk/methods.mdx b/docs/sdk/methods.mdx index c525cbe5..da0b524c 100644 --- a/docs/sdk/methods.mdx +++ b/docs/sdk/methods.mdx @@ -41,7 +41,7 @@ The SDK exposes a `Terminal49Client` with methods grouped by resource type. Each | Method | Description | |--------|-------------| -| `client.containers.get(id, include?, options?)` | Fetch a container by ID. `include` is an array of related resources. | +| `client.containers.get(id, include?, options?)` | Fetch a container by ID. `include` is an array of related resources. `mapped` returns a `Container`. | | `client.containers.list(filters?, options?)` | List containers matching filter criteria. | | `client.containers.events(id, options?)` | Get transport events for a container. | | `client.containers.route(id, options?)` | Get the container's route from `GET /containers/{id}/map_geojson`. `raw` returns the GeoJSON FeatureCollection. `mapped` returns `{ ports, currentVessel, totalPorts }`, with ports in route order and their arrival and departure times. Requires the Routing Data feature. `client.containers.map` is deprecated. It returns the GeoJSON FeatureCollection without mapping, so `both` returns `{ raw, mapped }` with the FeatureCollection in each half. | @@ -61,8 +61,9 @@ The SDK exposes a `Terminal49Client` with methods grouped by resource type. Each | Method | Description | |--------|-------------| | `client.trackingRequests.list(filters?, options?)` | List tracking requests. | -| `client.trackingRequests.get(id, options?)` | Fetch a single tracking request. | +| `client.trackingRequests.get(id, options?)` | Fetch a single tracking request. `options.include` accepts `tracked_object`, `customer`, and `user`. In `mapped` format, `shipment` comes from `tracked_object`. | | `client.trackingRequests.update(id, attrs, options?)` | Update tracking request attributes. | +| `client.trackingRequests.cancel(id)` | Cancel a tracking request that is still `pending` or `awaiting_manifest`. Other statuses return 422. | | `client.trackingRequests.create(params)` | Create a tracking request with an explicit request type and SCAC. | | `client.trackingRequests.inferNumber(number)` | Detect whether a number is a container, booking, or bill of lading. | | `client.trackingRequests.createFromInfer(number, options?)` | Create a tracking request with automatic number type detection. | @@ -75,16 +76,16 @@ The SDK exposes a `Terminal49Client` with methods grouped by resource type. Each | Method | Description | |--------|-------------| -| `client.vessels.get(id, options?)` | Fetch a vessel by ID. | -| `client.vessels.getByImo(imo, options?)` | Fetch a vessel by IMO number. | -| `client.vessels.futurePositions(id, { portId, previousPortId }, options?)` | Get the vessel's estimated positions between the previous port and the destination port. Requires the Routing Data feature. | -| `client.vessels.futurePositionsWithCoords(id, { portId, previousPortId, latitude, longitude }, options?)` | Get the vessel's estimated positions from a starting coordinate to the destination port. Requires the Routing Data feature. | +| `client.vessels.get(id, options?)` | Fetch a vessel by ID. `mapped` returns a `Vessel`. | +| `client.vessels.getByImo(imo, options?)` | Fetch a vessel by IMO number. `mapped` returns a `Vessel`. | +| `client.vessels.futurePositions(id, { portId, previousPortId }, options?)` | Get the vessel's estimated positions between the previous port and the destination port. `mapped` returns a `VesselWithFuturePositions`. Requires the Routing Data feature. | +| `client.vessels.futurePositionsWithCoords(id, { portId, previousPortId, latitude, longitude }, options?)` | Get the vessel's estimated positions from a starting coordinate to the destination port. `mapped` returns a `VesselWithFuturePositions`. Requires the Routing Data feature. | ### Shipping lines | Method | Description | |--------|-------------| -| `client.shippingLines.list(search?, options?)` | List carriers. Use `search` to filter by name or SCAC. | +| `client.shippingLines.list(search?, options?)` | List carriers. `search` keeps the carriers whose SCAC, alternative SCACs, name, or short name contain the text, ignoring case. The SDK filters the full list because the API has no search parameter. | | `client.shippingLines.get(id, options?)` | Fetch a carrier by ID. | ### Webhooks @@ -106,7 +107,7 @@ The SDK exposes a `Terminal49Client` with methods grouped by resource type. Each |--------|----------|-------------| | `client.webhookNotifications.list(options?)` | `GET /webhook_notifications` | List webhook notifications. Supports pagination and `options.include`. | | `client.webhookNotifications.get(id, options?)` | `GET /webhook_notifications/{id}` | Fetch a webhook notification. Pass `options.include` to sideload relationships. | -| `client.webhookNotifications.examples(event?, options?)` | `GET /webhook_notifications/examples` | Get example notification payloads. Set `event` to get the examples for one event. | +| `client.webhookNotifications.examples(event, options?)` | `GET /webhook_notifications/examples` | Get the example notification payload for `event`. `event` is required. | ### Ports, terminals, and metro areas @@ -129,9 +130,9 @@ The SDK exposes a `Terminal49Client` with methods grouped by resource type. Each | Method | Endpoint | Description | |--------|----------|-------------| -| `client.customFieldDefinitions.list(options?)` | `GET /custom_field_definitions` | List definitions. Filter with `options.filters` by `entityType`, `dataType`, or `displayName`. | +| `client.customFieldDefinitions.list(options?)` | `GET /accounts/{account_id}/custom_field_definitions` | List your account's definitions. Filter with `options.filters` by `entityType`, `dataType`, or `displayName`. Set `scope: 'templates'` to list the Terminal49 templates from `GET /custom_field_definitions`. The list is not paginated. | | `client.customFieldDefinitions.get(id, options?)` | `GET /custom_field_definitions/{id}` | Fetch a definition. | -| `client.customFieldDefinitions.create(payload, options?)` | `POST /custom_field_definitions` | Create a definition. `payload` is the JSON:API request body. | +| `client.customFieldDefinitions.create(payload, options?)` | `POST /accounts/{account_id}/custom_field_definitions` | Create a definition for your account. `payload` is the JSON:API request body. Set `data.attributes.template_id` to copy a template. | | `client.customFieldDefinitions.update(id, payload, options?)` | `PATCH /custom_field_definitions/{id}` | Update a definition. `payload` is the JSON:API request body. | | `client.customFieldDefinitions.delete(id, options?)` | `DELETE /custom_field_definitions/{id}` | Delete a definition. | @@ -139,7 +140,7 @@ The SDK exposes a `Terminal49Client` with methods grouped by resource type. Each | Method | Endpoint | Description | |--------|----------|-------------| -| `client.customFieldOptions.list(definitionId, options?)` | `GET /custom_field_definitions/{id}/options` | List the options of a definition. Supports pagination. | +| `client.customFieldOptions.list(definitionId, options?)` | `GET /custom_field_definitions/{id}/options` | List every option of a definition. The list is not paginated. | | `client.customFieldOptions.get(definitionId, optionId, options?)` | `GET /custom_field_definitions/{id}/options/{option_id}` | Fetch an option. | | `client.customFieldOptions.create(definitionId, payload, options?)` | `POST /custom_field_definitions/{id}/options` | Create an option. `payload` is the JSON:API request body. | | `client.customFieldOptions.update(definitionId, optionId, payload, options?)` | `PATCH /custom_field_definitions/{id}/options/{option_id}` | Update an option. `payload` is the JSON:API request body. | @@ -149,7 +150,7 @@ The SDK exposes a `Terminal49Client` with methods grouped by resource type. Each | Method | Endpoint | Description | |--------|----------|-------------| -| `client.customFields.list(options?)` | `GET /custom_fields` | List custom field values. Filter with `options.filters` by `entityType`, `entityId`, or `definitionId`. | +| `client.customFields.list(options?)` | `GET /custom_fields` | List custom field values. Filter with `options.filters` by `entityType`, `entityId`, or `definitionId`. The list is not paginated. | | `client.customFields.get(id, options?)` | `GET /custom_fields/{id}` | Fetch a custom field value. | | `client.customFields.create(payload, options?)` | `POST /custom_fields` | Create a custom field value. `payload` is the JSON:API request body. | | `client.customFields.update(id, payload, options?)` | `PATCH /custom_fields/{id}` | Update a custom field value. `payload` is the JSON:API request body. | @@ -162,7 +163,7 @@ The SDK exposes a `Terminal49Client` with methods grouped by resource type. Each | `client.documents.list(filters?, options?)` | `GET /documents` | List documents. Filter by `filename`, `reference`, or `documentTypes`, and set `sort` and `include`. | | `client.documents.get(id, options?)` | `GET /documents/{id}` | Fetch a document. Pass `options.include` to sideload relationships. | | `client.documents.create({ name, attachedDocument }, options?)` | `POST /documents` | Create a document from a direct-uploaded blob. `attachedDocument` is the signed blob ID. | -| `client.documents.update(id, { documentTypeManual?, extractedDataManual? }, options?)` | `PATCH /documents/{id}` | Override the document type or the extracted data. Pass `extractedDataManual: null` to clear manually provided extracted data. | +| `client.documents.update(id, { documentType?, classificationNotes?, extractedDataManual? }, options?)` | `PATCH /documents/{id}` | Override the document type with a code from `documents.types()`, the classification notes, or the extracted data. Pass `null` for `classificationNotes` or `extractedDataManual` to clear it. | | `client.documents.delete(id, options?)` | `DELETE /documents/{id}` | Delete a document. | | `client.documents.types(options?)` | `GET /documents/types` | List the document types Terminal49 can classify. | | `client.documents.downloadUrl(id, options?)` | `GET /documents/{id}/download_url` | Get a short-lived download URL for the document's file. | @@ -269,7 +270,7 @@ const shipment = await client.shipments.get('shipment-id', true, { Supported formats: - `raw` (default) returns the JSON:API response -- `mapped` returns simplified objects for methods that support mapping +- `mapped` returns simplified objects for methods that support mapping. Other methods return the JSON:API response unchanged. - `both` returns `{ raw, mapped }` You can set a default format when initializing the client: From cf6e0e32019302405b59f92af5873e18a06bc733 Mon Sep 17 00:00:00 2001 From: Akshay Dodeja Date: Fri, 16 Oct 2026 16:01:23 -0700 Subject: [PATCH 23/27] docs: describe the 401 AuthenticationError the SDK now throws AuthenticationError covers every HTTP 401, including an action the API refuses for the key, and its message carries the API's detail. AuthorizationError is the HTTP 403 case. The example logs the message instead of assuming the key is invalid. Co-Authored-By: Claude Opus 5.5 --- docs/sdk/error-handling.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/sdk/error-handling.mdx b/docs/sdk/error-handling.mdx index c3d92d92..89954d3b 100644 --- a/docs/sdk/error-handling.mdx +++ b/docs/sdk/error-handling.mdx @@ -16,8 +16,8 @@ The SDK throws typed errors you can catch and handle based on the error type. | Error | Cause | |-------|-------| -| `AuthenticationError` | Invalid or missing API key | -| `AuthorizationError` | Valid API key but insufficient permissions | +| `AuthenticationError` | HTTP 401. The API key is invalid or missing, or the API refused the action for this key. `error.message` carries the API's detail. | +| `AuthorizationError` | HTTP 403. The API key is valid but lacks permission for the request. | | `NotFoundError` | Resource doesn't exist or isn't accessible | | `ValidationError` | Invalid request parameters | | `RateLimitError` | Too many requests | @@ -43,7 +43,7 @@ try { await client.containers.get('container-uuid'); } catch (error) { if (error instanceof AuthenticationError) { - console.error('Invalid API key'); + console.error(`Authentication failed: ${error.message}`); } else if (error instanceof NotFoundError) { console.error('Container not found'); } else if (error instanceof RateLimitError) { From f3e1b2a04dc402f3c28b38f33f745493d3610da0 Mon Sep 17 00:00:00 2001 From: Akshay Dodeja Date: Fri, 16 Oct 2026 16:47:35 -0700 Subject: [PATCH 24/27] fix(sdk): send the caller's numberType from createTrackingRequestFromInfer createFromInfer resolved the type as the inferred number_type first and the caller's numberType second. infer_number always returns a number_type, so the option was never used. A booking number that infer classified as bill_of_lading was submitted as bill_of_lading, and a retry with numberType after an unrecognized inferred type failed the same way. The caller's numberType now wins over the inferred value. A numberType that is not container, bill_of_lading, booking_number, or booking throws a ValidationError that names it, before any request is sent. Co-Authored-By: Claude Opus 5.5 --- .../CreateTrackingRequestFromInferOptions.mdx | 12 +-- .../typescript-sdk/src/client.request.test.ts | 98 +++++++++++++++++++ .../src/client/managers/tracking-requests.ts | 17 +++- 3 files changed, 118 insertions(+), 9 deletions(-) diff --git a/docs/sdk/reference/client/managers/interfaces/CreateTrackingRequestFromInferOptions.mdx b/docs/sdk/reference/client/managers/interfaces/CreateTrackingRequestFromInferOptions.mdx index 07ba7d99..92f2dc87 100644 --- a/docs/sdk/reference/client/managers/interfaces/CreateTrackingRequestFromInferOptions.mdx +++ b/docs/sdk/reference/client/managers/interfaces/CreateTrackingRequestFromInferOptions.mdx @@ -7,9 +7,9 @@ description: "CreateTrackingRequestFromInferOptions interface in the Terminal49 ## Properties -| Property | Type | -| ------ | ------ | -| `numberType?` | `string` | -| `refNumbers?` | `string`[] | -| `scac?` | `string` | -| `shipmentTags?` | `string`[] | +| Property | Type | Description | +| ------ | ------ | ------ | +| `numberType?` | `string` | Number type to send instead of the inferred one: `container`, `bill_of_lading`, or `booking_number` (`booking` is also accepted). Any other value throws a ValidationError before a request is sent. | +| `refNumbers?` | `string`[] | - | +| `scac?` | `string` | - | +| `shipmentTags?` | `string`[] | - | diff --git a/sdks/typescript-sdk/src/client.request.test.ts b/sdks/typescript-sdk/src/client.request.test.ts index 79d35fb1..53cae0ee 100644 --- a/sdks/typescript-sdk/src/client.request.test.ts +++ b/sdks/typescript-sdk/src/client.request.test.ts @@ -436,6 +436,104 @@ describe('Terminal49Client request building', () => { expect(captured.data.attributes.scac).toBe('CAND'); }); + it('sends the caller numberType instead of the inferred one', async () => { + let captured: any = null; + const { fetchImpl } = createMockFetch({ + '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/tracking_requests/infer_number': () => + jsonResponse({ + data: { + attributes: { + number_type: 'bill_of_lading', + shipping_line: { selected: { scac: 'MAEU' }, candidates: [] }, + }, + }, + }), + '/tracking_requests': (init) => { + captured = JSON.parse(String(init?.body)); + return jsonResponse({ data: { id: 'tr-3' } }, 201); + }, + }); + + const client = new Terminal49Client({ + apiToken: 'token-123', + apiBaseUrl: baseUrl, + fetchImpl, + }); + + await client.createTrackingRequestFromInfer('255123456', { + numberType: 'booking_number', + }); + expect(captured.data.attributes).toMatchObject({ + request_type: 'booking_number', + request_number: '255123456', + scac: 'MAEU', + }); + }); + + it('uses the caller numberType when infer reports an unknown type', async () => { + let captured: any = null; + const { fetchImpl } = createMockFetch({ + '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/tracking_requests/infer_number': () => + jsonResponse({ + data: { + attributes: { + number_type: 'unknown', + shipping_line: { selected: { scac: 'MAEU' }, candidates: [] }, + }, + }, + }), + '/tracking_requests': (init) => { + captured = JSON.parse(String(init?.body)); + return jsonResponse({ data: { id: 'tr-4' } }, 201); + }, + }); + + const client = new Terminal49Client({ + apiToken: 'token-123', + apiBaseUrl: baseUrl, + fetchImpl, + }); + + await client.createTrackingRequestFromInfer('MAEU123456789', { + numberType: 'bill_of_lading', + }); + expect(captured.data.attributes.request_type).toBe('bill_of_lading'); + }); + + it('rejects an unrecognized numberType override by name', async () => { + let created = false; + const { fetchImpl } = createMockFetch({ + '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/tracking_requests/infer_number': () => + jsonResponse({ + data: { + attributes: { + number_type: 'bill_of_lading', + shipping_line: { selected: { scac: 'MAEU' }, candidates: [] }, + }, + }, + }), + '/tracking_requests': () => { + created = true; + return jsonResponse({ data: { id: 'tr-5' } }, 201); + }, + }); + + const client = new Terminal49Client({ + apiToken: 'token-123', + apiBaseUrl: baseUrl, + fetchImpl, + }); + + await expect( + client.createTrackingRequestFromInfer('MAEU123456789', { + numberType: 'BOL', + }), + ).rejects.toThrow( + 'Invalid numberType "BOL". Use container, bill_of_lading, or booking_number.', + ); + expect(created).toBe(false); + }); + it('throws when infer does not provide number type', async () => { const { fetchImpl } = createMockFetch({ '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/tracking_requests/infer_number': () => diff --git a/sdks/typescript-sdk/src/client/managers/tracking-requests.ts b/sdks/typescript-sdk/src/client/managers/tracking-requests.ts index 20555116..36ff9805 100644 --- a/sdks/typescript-sdk/src/client/managers/tracking-requests.ts +++ b/sdks/typescript-sdk/src/client/managers/tracking-requests.ts @@ -35,6 +35,11 @@ export type TrackingRequestType = export interface CreateTrackingRequestFromInferOptions { scac?: string; + /** + * Number type to send instead of the inferred one: `container`, + * `bill_of_lading`, or `booking_number` (`booking` is also accepted). + * Any other value throws a ValidationError before a request is sent. + */ numberType?: string; refNumbers?: string[]; shipmentTags?: string[]; @@ -269,11 +274,17 @@ export class TrackingRequestManager extends BaseManager { number: string, options: CreateTrackingRequestFromInferOptions = {}, ): Promise<{ infer: any; trackingRequest: any }> { + const overrideType = this.normalizeInferNumberType(options.numberType); + if (options.numberType && !overrideType) { + throw new ValidationError( + `Invalid numberType "${options.numberType}". Use container, bill_of_lading, or booking_number.`, + ); + } + const infer = await this.inferNumber(number); const attrs = infer?.data?.attributes || {}; - const numberType = this.normalizeInferNumberType( - attrs.number_type || options.numberType, - ); + const numberType = + overrideType ?? this.normalizeInferNumberType(attrs.number_type); const shippingLine = attrs.shipping_line || {}; const selected = shippingLine.selected || null; const candidates = Array.isArray(shippingLine.candidates) From b189f133e3143a185db57d24ef680fd5ea3e4810 Mon Sep 17 00:00:00 2001 From: Akshay Dodeja Date: Fri, 16 Oct 2026 22:45:52 -0700 Subject: [PATCH 25/27] feat(cli): list custom field definition templates with --templates customFieldDefinitions.list() now reads the account definitions route by default and takes scope: 'templates' for the top-level template route, but custom-field-definitions list had no way to pass the scope. That left the CLI unable to list the templates whose ids custom-field-definitions create needs as template_id. list --templates reads the templates, and list without it still reads the account definitions. Co-Authored-By: Claude Opus 5.5 --- sdks/typescript-sdk-cli/README.md | 2 +- .../src/commands/custom-field-definitions.ts | 25 ++++++++------- .../test/regression.test.ts | 32 +++++++++++++++++++ 3 files changed, 47 insertions(+), 12 deletions(-) diff --git a/sdks/typescript-sdk-cli/README.md b/sdks/typescript-sdk-cli/README.md index 5252f3b3..317a1ffb 100644 --- a/sdks/typescript-sdk-cli/README.md +++ b/sdks/typescript-sdk-cli/README.md @@ -156,7 +156,7 @@ Stable error codes include `USAGE_ERROR`, `NETWORK_ERROR`, `AUTH_ERROR`, `RATE_L - `t49 parties list|get` - `t49 metro-areas get` - `t49 custom-fields list|get|create|update|delete` -- `t49 custom-field-definitions list|get|create|update|delete` +- `t49 custom-field-definitions list|get|create|update|delete`. `list` prints your account definitions, and `list --templates` prints the Terminal49 templates you can copy with `template_id`. - `t49 custom-field-options list|get|create|update|delete` - `t49 search ` - `t49 config path|get|set|list|clear|auth-status|client-check` diff --git a/sdks/typescript-sdk-cli/src/commands/custom-field-definitions.ts b/sdks/typescript-sdk-cli/src/commands/custom-field-definitions.ts index 57adba1f..13060894 100644 --- a/sdks/typescript-sdk-cli/src/commands/custom-field-definitions.ts +++ b/sdks/typescript-sdk-cli/src/commands/custom-field-definitions.ts @@ -54,20 +54,23 @@ export function registerCustomFieldDefinitionsCommand(program: Command): void { .command('custom-field-definitions') .description('Manage custom field definitions'); - cmd + const listCommand = cmd .command('list') .description('List custom field definitions') - .action( - listAction( - 'custom-field-definitions.list', - async ({ client, globals }) => { - const result = await client.customFieldDefinitions.list({ - format: globals.format, - }); - return cliEnvelope(listDataFrom(result), paginationFrom(result)); - }, - ), + .option( + '--templates', + 'List the Terminal49 templates you can copy with template_id instead of your account definitions', ); + listCommand.action( + listAction('custom-field-definitions.list', async ({ client, globals }) => { + const { templates } = listCommand.opts() as { templates?: boolean }; + const result = await client.customFieldDefinitions.list({ + format: globals.format, + scope: templates ? 'templates' : 'account', + }); + return cliEnvelope(listDataFrom(result), paginationFrom(result)); + }), + ); cmd .command('get ') diff --git a/sdks/typescript-sdk-cli/test/regression.test.ts b/sdks/typescript-sdk-cli/test/regression.test.ts index 33a440fa..9a93e678 100644 --- a/sdks/typescript-sdk-cli/test/regression.test.ts +++ b/sdks/typescript-sdk-cli/test/regression.test.ts @@ -214,6 +214,38 @@ describe('CLI regressions', () => { expect(result.stderr).toContain('--latitude must be a number'); }); + it('custom-field-definitions list reads the account definitions, or the templates with --templates', async () => { + const urls: string[] = []; + vi.stubGlobal('fetch', async (input: Request | URL | string) => { + urls.push(input instanceof Request ? input.url : String(input)); + return new Response(JSON.stringify({ data: [] }), { + status: 200, + headers: { 'Content-Type': 'application/json' }, + }); + }); + process.env.T49_API_TOKEN = 'token-123'; + process.env.T49_API_BASE_URL = 'https://api.test/v2'; + process.env.XDG_CONFIG_HOME = mkdtempSync(join(tmpdir(), 't49-cli-')); + + const account = await runProgram([ + '--json', + 'custom-field-definitions', + 'list', + ]); + const templates = await runProgram([ + '--json', + 'custom-field-definitions', + 'list', + '--templates', + ]); + + expect([account.status, templates.status]).toEqual([0, 0]); + expect(urls).toEqual([ + 'https://api.test/v2/accounts/current/custom_field_definitions', + 'https://api.test/v2/custom_field_definitions', + ]); + }); + it('vessels future-positions-coords sends the spec query params', async () => { const urls: string[] = []; vi.stubGlobal('fetch', async (input: Request | URL | string) => { From f0bba87ab8f11edf68e0083effdbafffd8f77d4f Mon Sep 17 00:00:00 2001 From: Akshay Dodeja Date: Fri, 16 Oct 2026 22:47:27 -0700 Subject: [PATCH 26/27] docs: list client.me() in the SDK method reference The method reference says it lists every SDK method, but it left out client.me(), which describes the credential, its account, and the gated features it can use. Co-Authored-By: Claude Opus 5.5 --- docs/sdk/methods.mdx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/sdk/methods.mdx b/docs/sdk/methods.mdx index da0b524c..7dae6d7c 100644 --- a/docs/sdk/methods.mdx +++ b/docs/sdk/methods.mdx @@ -20,6 +20,12 @@ The SDK exposes a `Terminal49Client` with methods grouped by resource type. Each |--------|-------------| | `client.search(query)` | Search across shipments and containers by number, reference, or keyword | +### Credential + +| Method | Endpoint | Description | +|--------|----------|-------------| +| `client.me(options?)` | `GET /me` | Describe the credential behind the client: whether it is an API key or a signed-in user, the account it is scoped to, and which gated features it can use there. Works for free-plan API keys too. | + ### Shipments | Method | Description | From 2276aa49ea6c796866541675e781f4e806b41b06 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 17 Oct 2026 06:22:56 +0000 Subject: [PATCH 27/27] chore: Auto-generate Postman collection from openapi.json [skip ci] --- Terminal49-API.postman_collection.json | 1294 ++++++++++++------------ 1 file changed, 647 insertions(+), 647 deletions(-) diff --git a/Terminal49-API.postman_collection.json b/Terminal49-API.postman_collection.json index ec0a136f..2e669b9a 100644 --- a/Terminal49-API.postman_collection.json +++ b/Terminal49-API.postman_collection.json @@ -5,7 +5,7 @@ "description": "", "item": [ { - "id": "b4c5c270-6c48-4cdb-b802-4af0b06f4f49", + "id": "94469172-909d-4449-8605-6452b3898c46", "name": "List containers", "request": { "name": "List containers", @@ -289,7 +289,7 @@ "type": "text/plain" }, "key": "filter[current_status][]", - "value": "picked_up" + "value": "new" }, { "disabled": true, @@ -1062,7 +1062,7 @@ }, "response": [ { - "id": "f1274620-1774-4a0e-8ec1-fa1afe2297c7", + "id": "2c77178b-36fb-45d7-abba-6ff9d48cba08", "name": "OK", "originalRequest": { "url": { @@ -1341,7 +1341,7 @@ "type": "text/plain" }, "key": "filter[current_status][]", - "value": "picked_up" + "value": "new" }, { "disabled": true, @@ -2109,12 +2109,12 @@ "value": "application/json" } ], - "body": "{\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"container\",\n \"attributes\": {\n \"number\": \"\",\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"equipment_type\": null,\n \"equipment_length\": 40,\n \"equipment_height\": \"high_cube\",\n \"weight_in_lbs\": \"\",\n \"created_at\": \"\",\n \"seal_number\": \"\",\n \"pickup_lfd\": \"\",\n \"pickup_appointment_at\": \"\",\n \"availability_known\": \"\",\n \"available_for_pickup\": \"\",\n \"pod_arrived_at\": \"\",\n \"pod_discharged_at\": \"\",\n \"pod_full_out_at\": \"\",\n \"terminal_checked_at\": \"\",\n \"pod_full_out_chassis_number\": \"\",\n \"location_at_pod_terminal\": \"\",\n \"final_destination_full_out_at\": \"\",\n \"empty_terminated_at\": \"\",\n \"holds_at_pod_terminal\": [\n {\n \"name\": \"\",\n \"status\": \"hold\",\n \"description\": \"\"\n },\n {\n \"name\": \"\",\n \"status\": \"hold\",\n \"description\": \"\"\n }\n ],\n \"fees_at_pod_terminal\": [\n {\n \"type\": \"exam\",\n \"amount\": \"\",\n \"currency_code\": \"\"\n },\n {\n \"type\": \"demurrage\",\n \"amount\": \"\",\n \"currency_code\": \"\"\n }\n ],\n \"pod_timezone\": \"\",\n \"final_destination_timezone\": \"\",\n \"empty_terminated_timezone\": \"\",\n \"pod_rail_carrier_scac\": \"\",\n \"ind_rail_carrier_scac\": \"\",\n \"pod_last_tracking_request_at\": \"\",\n \"shipment_last_tracking_request_at\": \"\",\n \"pod_rail_loaded_at\": \"\",\n \"pod_rail_departed_at\": \"\",\n \"ind_eta_at\": \"\",\n \"ind_ata_at\": \"\",\n \"ind_rail_unloaded_at\": \"\",\n \"ind_facility_lfd_on\": \"\",\n \"import_deadlines\": {\n \"pickup_lfd_terminal\": \"\",\n \"pickup_lfd_rail\": \"\",\n \"pickup_lfd_line\": \"\"\n },\n \"current_status\": \"not_available\"\n },\n \"relationships\": {\n \"shipment\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"shipment\"\n }\n },\n \"pickup_facility\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"terminal\"\n }\n },\n \"pod_terminal\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"terminal\"\n }\n },\n \"transport_events\": {\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"transport_event\"\n },\n {\n \"id\": \"\",\n \"type\": \"transport_event\"\n }\n ]\n },\n \"raw_events\": {\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"raw_event\"\n },\n {\n \"id\": \"\",\n \"type\": \"raw_event\"\n }\n ]\n }\n }\n },\n {\n \"id\": \"\",\n \"type\": \"container\",\n \"attributes\": {\n \"number\": \"\",\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"equipment_type\": \"tank\",\n \"equipment_length\": 20,\n \"equipment_height\": null,\n \"weight_in_lbs\": \"\",\n \"created_at\": \"\",\n \"seal_number\": \"\",\n \"pickup_lfd\": \"\",\n \"pickup_appointment_at\": \"\",\n \"availability_known\": \"\",\n \"available_for_pickup\": \"\",\n \"pod_arrived_at\": \"\",\n \"pod_discharged_at\": \"\",\n \"pod_full_out_at\": \"\",\n \"terminal_checked_at\": \"\",\n \"pod_full_out_chassis_number\": \"\",\n \"location_at_pod_terminal\": \"\",\n \"final_destination_full_out_at\": \"\",\n \"empty_terminated_at\": \"\",\n \"holds_at_pod_terminal\": [\n {\n \"name\": \"\",\n \"status\": \"hold\",\n \"description\": \"\"\n },\n {\n \"name\": \"\",\n \"status\": \"hold\",\n \"description\": \"\"\n }\n ],\n \"fees_at_pod_terminal\": [\n {\n \"type\": \"extended_dwell_time\",\n \"amount\": \"\",\n \"currency_code\": \"\"\n },\n {\n \"type\": \"extended_dwell_time\",\n \"amount\": \"\",\n \"currency_code\": \"\"\n }\n ],\n \"pod_timezone\": \"\",\n \"final_destination_timezone\": \"\",\n \"empty_terminated_timezone\": \"\",\n \"pod_rail_carrier_scac\": \"\",\n \"ind_rail_carrier_scac\": \"\",\n \"pod_last_tracking_request_at\": \"\",\n \"shipment_last_tracking_request_at\": \"\",\n \"pod_rail_loaded_at\": \"\",\n \"pod_rail_departed_at\": \"\",\n \"ind_eta_at\": \"\",\n \"ind_ata_at\": \"\",\n \"ind_rail_unloaded_at\": \"\",\n \"ind_facility_lfd_on\": \"\",\n \"import_deadlines\": {\n \"pickup_lfd_terminal\": \"\",\n \"pickup_lfd_rail\": \"\",\n \"pickup_lfd_line\": \"\"\n },\n \"current_status\": \"new\"\n },\n \"relationships\": {\n \"shipment\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"shipment\"\n }\n },\n \"pickup_facility\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"terminal\"\n }\n },\n \"pod_terminal\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"terminal\"\n }\n },\n \"transport_events\": {\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"transport_event\"\n },\n {\n \"id\": \"\",\n \"type\": \"transport_event\"\n }\n ]\n },\n \"raw_events\": {\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"raw_event\"\n },\n {\n \"id\": \"\",\n \"type\": \"raw_event\"\n }\n ]\n }\n }\n }\n ],\n \"included\": [\n {\n \"id\": \"\",\n \"type\": \"shipment\",\n \"attributes\": {\n \"bill_of_lading_number\": \"\",\n \"normalized_number\": \"\",\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"created_at\": \"\",\n \"tags\": [\n \"\",\n \"\"\n ],\n \"port_of_lading_locode\": \"\",\n \"port_of_lading_name\": \"\",\n \"port_of_discharge_locode\": \"\",\n \"port_of_discharge_name\": \"\",\n \"destination_locode\": \"\",\n \"destination_name\": \"\",\n \"shipping_line_scac\": \"\",\n \"shipping_line_name\": \"\",\n \"shipping_line_short_name\": \"\",\n \"customer_name\": \"\",\n \"pod_vessel_name\": \"\",\n \"pod_vessel_imo\": \"\",\n \"pod_voyage_number\": \"\",\n \"pol_etd_at\": \"\",\n \"pol_atd_at\": \"\",\n \"pod_eta_at\": \"\",\n \"pod_original_eta_at\": \"\",\n \"pod_ata_at\": \"\",\n \"destination_eta_at\": \"\",\n \"destination_ata_at\": \"\",\n \"pol_timezone\": \"\",\n \"pod_timezone\": \"\",\n \"destination_timezone\": \"\",\n \"line_tracking_last_attempted_at\": \"\",\n \"line_tracking_last_succeeded_at\": \"\",\n \"line_tracking_stopped_at\": \"\",\n \"line_tracking_stopped_reason\": \"past_full_out_window\"\n },\n \"relationships\": {\n \"destination\": {\n \"data\": {\n \"type\": \"metro_area\",\n \"id\": \"\"\n }\n },\n \"port_of_lading\": {\n \"data\": {\n \"type\": \"port\",\n \"id\": \"\"\n }\n },\n \"containers\": {\n \"data\": [\n {\n \"type\": \"container\",\n \"id\": \"\"\n },\n {\n \"type\": \"container\",\n \"id\": \"\"\n }\n ]\n },\n \"port_of_discharge\": {\n \"data\": {\n \"type\": \"port\",\n \"id\": \"\"\n }\n },\n \"pod_terminal\": {\n \"data\": {\n \"type\": \"terminal\",\n \"id\": \"\"\n }\n },\n \"destination_terminal\": {\n \"data\": {\n \"type\": \"terminal\",\n \"id\": \"\"\n }\n },\n \"line_tracking_stopped_by_user\": {\n \"data\": {\n \"type\": \"user\",\n \"id\": \"\"\n }\n }\n },\n \"links\": {\n \"self\": \"\"\n }\n },\n {\n \"id\": \"\",\n \"type\": \"shipment\",\n \"attributes\": {\n \"bill_of_lading_number\": \"\",\n \"normalized_number\": \"\",\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"created_at\": \"\",\n \"tags\": [\n \"\",\n \"\"\n ],\n \"port_of_lading_locode\": \"\",\n \"port_of_lading_name\": \"\",\n \"port_of_discharge_locode\": \"\",\n \"port_of_discharge_name\": \"\",\n \"destination_locode\": \"\",\n \"destination_name\": \"\",\n \"shipping_line_scac\": \"\",\n \"shipping_line_name\": \"\",\n \"shipping_line_short_name\": \"\",\n \"customer_name\": \"\",\n \"pod_vessel_name\": \"\",\n \"pod_vessel_imo\": \"\",\n \"pod_voyage_number\": \"\",\n \"pol_etd_at\": \"\",\n \"pol_atd_at\": \"\",\n \"pod_eta_at\": \"\",\n \"pod_original_eta_at\": \"\",\n \"pod_ata_at\": \"\",\n \"destination_eta_at\": \"\",\n \"destination_ata_at\": \"\",\n \"pol_timezone\": \"\",\n \"pod_timezone\": \"\",\n \"destination_timezone\": \"\",\n \"line_tracking_last_attempted_at\": \"\",\n \"line_tracking_last_succeeded_at\": \"\",\n \"line_tracking_stopped_at\": \"\",\n \"line_tracking_stopped_reason\": \"cancelled_by_user\"\n },\n \"relationships\": {\n \"destination\": {\n \"data\": {\n \"type\": \"metro_area\",\n \"id\": \"\"\n }\n },\n \"port_of_lading\": {\n \"data\": {\n \"type\": \"port\",\n \"id\": \"\"\n }\n },\n \"containers\": {\n \"data\": [\n {\n \"type\": \"container\",\n \"id\": \"\"\n },\n {\n \"type\": \"container\",\n \"id\": \"\"\n }\n ]\n },\n \"port_of_discharge\": {\n \"data\": {\n \"type\": \"port\",\n \"id\": \"\"\n }\n },\n \"pod_terminal\": {\n \"data\": {\n \"type\": \"terminal\",\n \"id\": \"\"\n }\n },\n \"destination_terminal\": {\n \"data\": {\n \"type\": \"terminal\",\n \"id\": \"\"\n }\n },\n \"line_tracking_stopped_by_user\": {\n \"data\": {\n \"type\": \"user\",\n \"id\": \"\"\n }\n }\n },\n \"links\": {\n \"self\": \"\"\n }\n }\n ],\n \"links\": {\n \"self\": \"\",\n \"current\": \"\",\n \"first\": \"\",\n \"prev\": \"\",\n \"next\": \"\",\n \"last\": \"\"\n },\n \"meta\": {\n \"size\": \"\",\n \"total\": \"\"\n }\n}", + "body": "{\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"container\",\n \"attributes\": {\n \"number\": \"\",\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"equipment_type\": \"bulk\",\n \"equipment_length\": 20,\n \"equipment_height\": \"high_cube\",\n \"weight_in_lbs\": \"\",\n \"created_at\": \"\",\n \"seal_number\": \"\",\n \"pickup_lfd\": \"\",\n \"pickup_appointment_at\": \"\",\n \"availability_known\": \"\",\n \"available_for_pickup\": \"\",\n \"pod_arrived_at\": \"\",\n \"pod_discharged_at\": \"\",\n \"pod_full_out_at\": \"\",\n \"terminal_checked_at\": \"\",\n \"pod_full_out_chassis_number\": \"\",\n \"location_at_pod_terminal\": \"\",\n \"final_destination_full_out_at\": \"\",\n \"empty_terminated_at\": \"\",\n \"holds_at_pod_terminal\": [\n {\n \"name\": \"\",\n \"status\": \"hold\",\n \"description\": \"\"\n },\n {\n \"name\": \"\",\n \"status\": \"hold\",\n \"description\": \"\"\n }\n ],\n \"fees_at_pod_terminal\": [\n {\n \"type\": \"exam\",\n \"amount\": \"\",\n \"currency_code\": \"\"\n },\n {\n \"type\": \"extended_dwell_time\",\n \"amount\": \"\",\n \"currency_code\": \"\"\n }\n ],\n \"pod_timezone\": \"\",\n \"final_destination_timezone\": \"\",\n \"empty_terminated_timezone\": \"\",\n \"pod_rail_carrier_scac\": \"\",\n \"ind_rail_carrier_scac\": \"\",\n \"pod_last_tracking_request_at\": \"\",\n \"shipment_last_tracking_request_at\": \"\",\n \"pod_rail_loaded_at\": \"\",\n \"pod_rail_departed_at\": \"\",\n \"ind_eta_at\": \"\",\n \"ind_ata_at\": \"\",\n \"ind_rail_unloaded_at\": \"\",\n \"ind_facility_lfd_on\": \"\",\n \"import_deadlines\": {\n \"pickup_lfd_terminal\": \"\",\n \"pickup_lfd_rail\": \"\",\n \"pickup_lfd_line\": \"\"\n },\n \"current_status\": \"not_available\"\n },\n \"relationships\": {\n \"shipment\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"shipment\"\n }\n },\n \"pickup_facility\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"terminal\"\n }\n },\n \"pod_terminal\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"terminal\"\n }\n },\n \"transport_events\": {\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"transport_event\"\n },\n {\n \"id\": \"\",\n \"type\": \"transport_event\"\n }\n ]\n },\n \"raw_events\": {\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"raw_event\"\n },\n {\n \"id\": \"\",\n \"type\": \"raw_event\"\n }\n ]\n }\n }\n },\n {\n \"id\": \"\",\n \"type\": \"container\",\n \"attributes\": {\n \"number\": \"\",\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"equipment_type\": \"reefer\",\n \"equipment_length\": null,\n \"equipment_height\": \"high_cube\",\n \"weight_in_lbs\": \"\",\n \"created_at\": \"\",\n \"seal_number\": \"\",\n \"pickup_lfd\": \"\",\n \"pickup_appointment_at\": \"\",\n \"availability_known\": \"\",\n \"available_for_pickup\": \"\",\n \"pod_arrived_at\": \"\",\n \"pod_discharged_at\": \"\",\n \"pod_full_out_at\": \"\",\n \"terminal_checked_at\": \"\",\n \"pod_full_out_chassis_number\": \"\",\n \"location_at_pod_terminal\": \"\",\n \"final_destination_full_out_at\": \"\",\n \"empty_terminated_at\": \"\",\n \"holds_at_pod_terminal\": [\n {\n \"name\": \"\",\n \"status\": \"hold\",\n \"description\": \"\"\n },\n {\n \"name\": \"\",\n \"status\": \"pending\",\n \"description\": \"\"\n }\n ],\n \"fees_at_pod_terminal\": [\n {\n \"type\": \"other\",\n \"amount\": \"\",\n \"currency_code\": \"\"\n },\n {\n \"type\": \"exam\",\n \"amount\": \"\",\n \"currency_code\": \"\"\n }\n ],\n \"pod_timezone\": \"\",\n \"final_destination_timezone\": \"\",\n \"empty_terminated_timezone\": \"\",\n \"pod_rail_carrier_scac\": \"\",\n \"ind_rail_carrier_scac\": \"\",\n \"pod_last_tracking_request_at\": \"\",\n \"shipment_last_tracking_request_at\": \"\",\n \"pod_rail_loaded_at\": \"\",\n \"pod_rail_departed_at\": \"\",\n \"ind_eta_at\": \"\",\n \"ind_ata_at\": \"\",\n \"ind_rail_unloaded_at\": \"\",\n \"ind_facility_lfd_on\": \"\",\n \"import_deadlines\": {\n \"pickup_lfd_terminal\": \"\",\n \"pickup_lfd_rail\": \"\",\n \"pickup_lfd_line\": \"\"\n },\n \"current_status\": \"new\"\n },\n \"relationships\": {\n \"shipment\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"shipment\"\n }\n },\n \"pickup_facility\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"terminal\"\n }\n },\n \"pod_terminal\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"terminal\"\n }\n },\n \"transport_events\": {\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"transport_event\"\n },\n {\n \"id\": \"\",\n \"type\": \"transport_event\"\n }\n ]\n },\n \"raw_events\": {\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"raw_event\"\n },\n {\n \"id\": \"\",\n \"type\": \"raw_event\"\n }\n ]\n }\n }\n }\n ],\n \"included\": [\n {\n \"id\": \"\",\n \"type\": \"shipment\",\n \"attributes\": {\n \"bill_of_lading_number\": \"\",\n \"normalized_number\": \"\",\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"created_at\": \"\",\n \"tags\": [\n \"\",\n \"\"\n ],\n \"port_of_lading_locode\": \"\",\n \"port_of_lading_name\": \"\",\n \"port_of_discharge_locode\": \"\",\n \"port_of_discharge_name\": \"\",\n \"destination_locode\": \"\",\n \"destination_name\": \"\",\n \"shipping_line_scac\": \"\",\n \"shipping_line_name\": \"\",\n \"shipping_line_short_name\": \"\",\n \"customer_name\": \"\",\n \"pod_vessel_name\": \"\",\n \"pod_vessel_imo\": \"\",\n \"pod_voyage_number\": \"\",\n \"pol_etd_at\": \"\",\n \"pol_atd_at\": \"\",\n \"pod_eta_at\": \"\",\n \"pod_original_eta_at\": \"\",\n \"pod_ata_at\": \"\",\n \"destination_eta_at\": \"\",\n \"destination_ata_at\": \"\",\n \"pol_timezone\": \"\",\n \"pod_timezone\": \"\",\n \"destination_timezone\": \"\",\n \"line_tracking_last_attempted_at\": \"\",\n \"line_tracking_last_succeeded_at\": \"\",\n \"line_tracking_stopped_at\": \"\",\n \"line_tracking_stopped_reason\": \"all_containers_terminated\"\n },\n \"relationships\": {\n \"destination\": {\n \"data\": {\n \"type\": \"port\",\n \"id\": \"\"\n }\n },\n \"port_of_lading\": {\n \"data\": {\n \"type\": \"port\",\n \"id\": \"\"\n }\n },\n \"containers\": {\n \"data\": [\n {\n \"type\": \"container\",\n \"id\": \"\"\n },\n {\n \"type\": \"container\",\n \"id\": \"\"\n }\n ]\n },\n \"port_of_discharge\": {\n \"data\": {\n \"type\": \"port\",\n \"id\": \"\"\n }\n },\n \"pod_terminal\": {\n \"data\": {\n \"type\": \"terminal\",\n \"id\": \"\"\n }\n },\n \"destination_terminal\": {\n \"data\": {\n \"type\": \"rail_terminal\",\n \"id\": \"\"\n }\n },\n \"line_tracking_stopped_by_user\": {\n \"data\": {\n \"type\": \"user\",\n \"id\": \"\"\n }\n }\n },\n \"links\": {\n \"self\": \"\"\n }\n },\n {\n \"id\": \"\",\n \"type\": \"shipment\",\n \"attributes\": {\n \"bill_of_lading_number\": \"\",\n \"normalized_number\": \"\",\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"created_at\": \"\",\n \"tags\": [\n \"\",\n \"\"\n ],\n \"port_of_lading_locode\": \"\",\n \"port_of_lading_name\": \"\",\n \"port_of_discharge_locode\": \"\",\n \"port_of_discharge_name\": \"\",\n \"destination_locode\": \"\",\n \"destination_name\": \"\",\n \"shipping_line_scac\": \"\",\n \"shipping_line_name\": \"\",\n \"shipping_line_short_name\": \"\",\n \"customer_name\": \"\",\n \"pod_vessel_name\": \"\",\n \"pod_vessel_imo\": \"\",\n \"pod_voyage_number\": \"\",\n \"pol_etd_at\": \"\",\n \"pol_atd_at\": \"\",\n \"pod_eta_at\": \"\",\n \"pod_original_eta_at\": \"\",\n \"pod_ata_at\": \"\",\n \"destination_eta_at\": \"\",\n \"destination_ata_at\": \"\",\n \"pol_timezone\": \"\",\n \"pod_timezone\": \"\",\n \"destination_timezone\": \"\",\n \"line_tracking_last_attempted_at\": \"\",\n \"line_tracking_last_succeeded_at\": \"\",\n \"line_tracking_stopped_at\": \"\",\n \"line_tracking_stopped_reason\": null\n },\n \"relationships\": {\n \"destination\": {\n \"data\": {\n \"type\": \"port\",\n \"id\": \"\"\n }\n },\n \"port_of_lading\": {\n \"data\": {\n \"type\": \"port\",\n \"id\": \"\"\n }\n },\n \"containers\": {\n \"data\": [\n {\n \"type\": \"container\",\n \"id\": \"\"\n },\n {\n \"type\": \"container\",\n \"id\": \"\"\n }\n ]\n },\n \"port_of_discharge\": {\n \"data\": {\n \"type\": \"port\",\n \"id\": \"\"\n }\n },\n \"pod_terminal\": {\n \"data\": {\n \"type\": \"terminal\",\n \"id\": \"\"\n }\n },\n \"destination_terminal\": {\n \"data\": {\n \"type\": \"rail_terminal\",\n \"id\": \"\"\n }\n },\n \"line_tracking_stopped_by_user\": {\n \"data\": {\n \"type\": \"user\",\n \"id\": \"\"\n }\n }\n },\n \"links\": {\n \"self\": \"\"\n }\n }\n ],\n \"links\": {\n \"self\": \"\",\n \"current\": \"\",\n \"first\": \"\",\n \"prev\": \"\",\n \"next\": \"\",\n \"last\": \"\"\n },\n \"meta\": {\n \"size\": \"\",\n \"total\": \"\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "35a5bc18-00d4-4b4b-9934-1c56fd4c1388", + "id": "79407741-40c2-45cc-b705-846b00a30f99", "name": "Malformed supported filter value, operator, range, or strict boolean. The error identifies the invalid parameter where available.", "originalRequest": { "url": { @@ -2393,7 +2393,7 @@ "type": "text/plain" }, "key": "filter[current_status][]", - "value": "picked_up" + "value": "new" }, { "disabled": true, @@ -3161,7 +3161,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -3172,7 +3172,7 @@ } }, { - "id": "3785d85f-2d51-46a6-b1dd-431fa15ea167", + "id": "cce4a77c-7c65-4272-a4d0-9591c092d22d", "name": "Summarize containers", "request": { "name": "Summarize containers", @@ -3196,7 +3196,7 @@ "type": "text/plain" }, "key": "group_by", - "value": "port_of_discharge" + "value": "pickup_lfd_date" }, { "disabled": true, @@ -3780,7 +3780,7 @@ }, "response": [ { - "id": "9c4919a0-6b30-4071-bc7e-0d291b33053e", + "id": "b65046d2-4886-413c-8839-adeceb4f70f5", "name": "OK", "originalRequest": { "url": { @@ -3799,7 +3799,7 @@ "type": "text/plain" }, "key": "group_by", - "value": "port_of_discharge" + "value": "pickup_lfd_date" }, { "disabled": true, @@ -4387,12 +4387,12 @@ "value": "application/json" } ], - "body": "{\n \"data\": [\n {\n \"key\": \"\",\n \"label\": \"\",\n \"count\": \"\"\n },\n {\n \"key\": \"\",\n \"label\": \"\",\n \"count\": \"\"\n }\n ],\n \"meta\": {\n \"total\": \"\",\n \"group_by\": \"hold_type\",\n \"truncated\": \"\"\n }\n}", + "body": "{\n \"data\": [\n {\n \"key\": \"\",\n \"label\": \"\",\n \"count\": \"\"\n },\n {\n \"key\": \"\",\n \"label\": \"\",\n \"count\": \"\"\n }\n ],\n \"meta\": {\n \"total\": \"\",\n \"group_by\": \"current_status\",\n \"truncated\": \"\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "9404ae72-3517-408f-af10-37639b198ea9", + "id": "12f28c10-7898-47b2-95c7-f3c9fd3714f0", "name": "Unknown group_by, or an invalid filter.", "originalRequest": { "url": { @@ -4411,7 +4411,7 @@ "type": "text/plain" }, "key": "group_by", - "value": "port_of_discharge" + "value": "pickup_lfd_date" }, { "disabled": true, @@ -5000,7 +5000,7 @@ } }, { - "id": "428efa0e-ea70-4186-b757-248f5ea5fbaa", + "id": "5b71b70f-cefb-424c-a285-bd146d6a63f7", "name": "Get a container", "request": { "name": "Get a container", @@ -5052,7 +5052,7 @@ }, "response": [ { - "id": "c0d805ca-c731-4051-8a89-00c390bf6f3d", + "id": "6734f097-a600-42ae-874a-fabfca026c41", "name": "OK", "originalRequest": { "url": { @@ -5112,12 +5112,12 @@ "value": "application/json" } ], - "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"container\",\n \"attributes\": {\n \"number\": \"\",\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"equipment_type\": \"reefer\",\n \"equipment_length\": 45,\n \"equipment_height\": \"standard\",\n \"weight_in_lbs\": \"\",\n \"created_at\": \"\",\n \"seal_number\": \"\",\n \"pickup_lfd\": \"\",\n \"pickup_appointment_at\": \"\",\n \"availability_known\": \"\",\n \"available_for_pickup\": \"\",\n \"pod_arrived_at\": \"\",\n \"pod_discharged_at\": \"\",\n \"pod_full_out_at\": \"\",\n \"terminal_checked_at\": \"\",\n \"pod_full_out_chassis_number\": \"\",\n \"location_at_pod_terminal\": \"\",\n \"final_destination_full_out_at\": \"\",\n \"empty_terminated_at\": \"\",\n \"holds_at_pod_terminal\": [\n {\n \"name\": \"\",\n \"status\": \"hold\",\n \"description\": \"\"\n },\n {\n \"name\": \"\",\n \"status\": \"hold\",\n \"description\": \"\"\n }\n ],\n \"fees_at_pod_terminal\": [\n {\n \"type\": \"exam\",\n \"amount\": \"\",\n \"currency_code\": \"\"\n },\n {\n \"type\": \"extended_dwell_time\",\n \"amount\": \"\",\n \"currency_code\": \"\"\n }\n ],\n \"pod_timezone\": \"\",\n \"final_destination_timezone\": \"\",\n \"empty_terminated_timezone\": \"\",\n \"pod_rail_carrier_scac\": \"\",\n \"ind_rail_carrier_scac\": \"\",\n \"pod_last_tracking_request_at\": \"\",\n \"shipment_last_tracking_request_at\": \"\",\n \"pod_rail_loaded_at\": \"\",\n \"pod_rail_departed_at\": \"\",\n \"ind_eta_at\": \"\",\n \"ind_ata_at\": \"\",\n \"ind_rail_unloaded_at\": \"\",\n \"ind_facility_lfd_on\": \"\",\n \"import_deadlines\": {\n \"pickup_lfd_terminal\": \"\",\n \"pickup_lfd_rail\": \"\",\n \"pickup_lfd_line\": \"\"\n },\n \"current_status\": \"new\"\n },\n \"relationships\": {\n \"shipment\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"shipment\"\n }\n },\n \"pickup_facility\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"terminal\"\n }\n },\n \"pod_terminal\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"terminal\"\n }\n },\n \"transport_events\": {\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"transport_event\"\n },\n {\n \"id\": \"\",\n \"type\": \"transport_event\"\n }\n ]\n },\n \"raw_events\": {\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"raw_event\"\n },\n {\n \"id\": \"\",\n \"type\": \"raw_event\"\n }\n ]\n }\n }\n },\n \"included\": [\n {\n \"id\": \"\",\n \"type\": \"shipment\",\n \"attributes\": {\n \"bill_of_lading_number\": \"\",\n \"normalized_number\": \"\",\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"created_at\": \"\",\n \"tags\": [\n \"\",\n \"\"\n ],\n \"port_of_lading_locode\": \"\",\n \"port_of_lading_name\": \"\",\n \"port_of_discharge_locode\": \"\",\n \"port_of_discharge_name\": \"\",\n \"destination_locode\": \"\",\n \"destination_name\": \"\",\n \"shipping_line_scac\": \"\",\n \"shipping_line_name\": \"\",\n \"shipping_line_short_name\": \"\",\n \"customer_name\": \"\",\n \"pod_vessel_name\": \"\",\n \"pod_vessel_imo\": \"\",\n \"pod_voyage_number\": \"\",\n \"pol_etd_at\": \"\",\n \"pol_atd_at\": \"\",\n \"pod_eta_at\": \"\",\n \"pod_original_eta_at\": \"\",\n \"pod_ata_at\": \"\",\n \"destination_eta_at\": \"\",\n \"destination_ata_at\": \"\",\n \"pol_timezone\": \"\",\n \"pod_timezone\": \"\",\n \"destination_timezone\": \"\",\n \"line_tracking_last_attempted_at\": \"\",\n \"line_tracking_last_succeeded_at\": \"\",\n \"line_tracking_stopped_at\": \"\",\n \"line_tracking_stopped_reason\": \"past_arrival_window\"\n },\n \"relationships\": {\n \"destination\": {\n \"data\": {\n \"type\": \"metro_area\",\n \"id\": \"\"\n }\n },\n \"port_of_lading\": {\n \"data\": {\n \"type\": \"port\",\n \"id\": \"\"\n }\n },\n \"containers\": {\n \"data\": [\n {\n \"type\": \"container\",\n \"id\": \"\"\n },\n {\n \"type\": \"container\",\n \"id\": \"\"\n }\n ]\n },\n \"port_of_discharge\": {\n \"data\": {\n \"type\": \"port\",\n \"id\": \"\"\n }\n },\n \"pod_terminal\": {\n \"data\": {\n \"type\": \"terminal\",\n \"id\": \"\"\n }\n },\n \"destination_terminal\": {\n \"data\": {\n \"type\": \"rail_terminal\",\n \"id\": \"\"\n }\n },\n \"line_tracking_stopped_by_user\": {\n \"data\": {\n \"type\": \"user\",\n \"id\": \"\"\n }\n }\n },\n \"links\": {\n \"self\": \"\"\n }\n },\n {\n \"id\": \"\",\n \"type\": \"shipment\",\n \"attributes\": {\n \"bill_of_lading_number\": \"\",\n \"normalized_number\": \"\",\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"created_at\": \"\",\n \"tags\": [\n \"\",\n \"\"\n ],\n \"port_of_lading_locode\": \"\",\n \"port_of_lading_name\": \"\",\n \"port_of_discharge_locode\": \"\",\n \"port_of_discharge_name\": \"\",\n \"destination_locode\": \"\",\n \"destination_name\": \"\",\n \"shipping_line_scac\": \"\",\n \"shipping_line_name\": \"\",\n \"shipping_line_short_name\": \"\",\n \"customer_name\": \"\",\n \"pod_vessel_name\": \"\",\n \"pod_vessel_imo\": \"\",\n \"pod_voyage_number\": \"\",\n \"pol_etd_at\": \"\",\n \"pol_atd_at\": \"\",\n \"pod_eta_at\": \"\",\n \"pod_original_eta_at\": \"\",\n \"pod_ata_at\": \"\",\n \"destination_eta_at\": \"\",\n \"destination_ata_at\": \"\",\n \"pol_timezone\": \"\",\n \"pod_timezone\": \"\",\n \"destination_timezone\": \"\",\n \"line_tracking_last_attempted_at\": \"\",\n \"line_tracking_last_succeeded_at\": \"\",\n \"line_tracking_stopped_at\": \"\",\n \"line_tracking_stopped_reason\": \"past_arrival_window\"\n },\n \"relationships\": {\n \"destination\": {\n \"data\": {\n \"type\": \"port\",\n \"id\": \"\"\n }\n },\n \"port_of_lading\": {\n \"data\": {\n \"type\": \"port\",\n \"id\": \"\"\n }\n },\n \"containers\": {\n \"data\": [\n {\n \"type\": \"container\",\n \"id\": \"\"\n },\n {\n \"type\": \"container\",\n \"id\": \"\"\n }\n ]\n },\n \"port_of_discharge\": {\n \"data\": {\n \"type\": \"port\",\n \"id\": \"\"\n }\n },\n \"pod_terminal\": {\n \"data\": {\n \"type\": \"terminal\",\n \"id\": \"\"\n }\n },\n \"destination_terminal\": {\n \"data\": {\n \"type\": \"rail_terminal\",\n \"id\": \"\"\n }\n },\n \"line_tracking_stopped_by_user\": {\n \"data\": {\n \"type\": \"user\",\n \"id\": \"\"\n }\n }\n },\n \"links\": {\n \"self\": \"\"\n }\n }\n ]\n}", + "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"container\",\n \"attributes\": {\n \"number\": \"\",\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"equipment_type\": \"open top\",\n \"equipment_length\": null,\n \"equipment_height\": \"high_cube\",\n \"weight_in_lbs\": \"\",\n \"created_at\": \"\",\n \"seal_number\": \"\",\n \"pickup_lfd\": \"\",\n \"pickup_appointment_at\": \"\",\n \"availability_known\": \"\",\n \"available_for_pickup\": \"\",\n \"pod_arrived_at\": \"\",\n \"pod_discharged_at\": \"\",\n \"pod_full_out_at\": \"\",\n \"terminal_checked_at\": \"\",\n \"pod_full_out_chassis_number\": \"\",\n \"location_at_pod_terminal\": \"\",\n \"final_destination_full_out_at\": \"\",\n \"empty_terminated_at\": \"\",\n \"holds_at_pod_terminal\": [\n {\n \"name\": \"\",\n \"status\": \"pending\",\n \"description\": \"\"\n },\n {\n \"name\": \"\",\n \"status\": \"hold\",\n \"description\": \"\"\n }\n ],\n \"fees_at_pod_terminal\": [\n {\n \"type\": \"exam\",\n \"amount\": \"\",\n \"currency_code\": \"\"\n },\n {\n \"type\": \"extended_dwell_time\",\n \"amount\": \"\",\n \"currency_code\": \"\"\n }\n ],\n \"pod_timezone\": \"\",\n \"final_destination_timezone\": \"\",\n \"empty_terminated_timezone\": \"\",\n \"pod_rail_carrier_scac\": \"\",\n \"ind_rail_carrier_scac\": \"\",\n \"pod_last_tracking_request_at\": \"\",\n \"shipment_last_tracking_request_at\": \"\",\n \"pod_rail_loaded_at\": \"\",\n \"pod_rail_departed_at\": \"\",\n \"ind_eta_at\": \"\",\n \"ind_ata_at\": \"\",\n \"ind_rail_unloaded_at\": \"\",\n \"ind_facility_lfd_on\": \"\",\n \"import_deadlines\": {\n \"pickup_lfd_terminal\": \"\",\n \"pickup_lfd_rail\": \"\",\n \"pickup_lfd_line\": \"\"\n },\n \"current_status\": \"new\"\n },\n \"relationships\": {\n \"shipment\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"shipment\"\n }\n },\n \"pickup_facility\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"terminal\"\n }\n },\n \"pod_terminal\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"terminal\"\n }\n },\n \"transport_events\": {\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"transport_event\"\n },\n {\n \"id\": \"\",\n \"type\": \"transport_event\"\n }\n ]\n },\n \"raw_events\": {\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"raw_event\"\n },\n {\n \"id\": \"\",\n \"type\": \"raw_event\"\n }\n ]\n }\n }\n },\n \"included\": [\n {\n \"id\": \"\",\n \"type\": \"shipment\",\n \"attributes\": {\n \"bill_of_lading_number\": \"\",\n \"normalized_number\": \"\",\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"created_at\": \"\",\n \"tags\": [\n \"\",\n \"\"\n ],\n \"port_of_lading_locode\": \"\",\n \"port_of_lading_name\": \"\",\n \"port_of_discharge_locode\": \"\",\n \"port_of_discharge_name\": \"\",\n \"destination_locode\": \"\",\n \"destination_name\": \"\",\n \"shipping_line_scac\": \"\",\n \"shipping_line_name\": \"\",\n \"shipping_line_short_name\": \"\",\n \"customer_name\": \"\",\n \"pod_vessel_name\": \"\",\n \"pod_vessel_imo\": \"\",\n \"pod_voyage_number\": \"\",\n \"pol_etd_at\": \"\",\n \"pol_atd_at\": \"\",\n \"pod_eta_at\": \"\",\n \"pod_original_eta_at\": \"\",\n \"pod_ata_at\": \"\",\n \"destination_eta_at\": \"\",\n \"destination_ata_at\": \"\",\n \"pol_timezone\": \"\",\n \"pod_timezone\": \"\",\n \"destination_timezone\": \"\",\n \"line_tracking_last_attempted_at\": \"\",\n \"line_tracking_last_succeeded_at\": \"\",\n \"line_tracking_stopped_at\": \"\",\n \"line_tracking_stopped_reason\": \"cancelled_by_user\"\n },\n \"relationships\": {\n \"destination\": {\n \"data\": {\n \"type\": \"port\",\n \"id\": \"\"\n }\n },\n \"port_of_lading\": {\n \"data\": {\n \"type\": \"port\",\n \"id\": \"\"\n }\n },\n \"containers\": {\n \"data\": [\n {\n \"type\": \"container\",\n \"id\": \"\"\n },\n {\n \"type\": \"container\",\n \"id\": \"\"\n }\n ]\n },\n \"port_of_discharge\": {\n \"data\": {\n \"type\": \"port\",\n \"id\": \"\"\n }\n },\n \"pod_terminal\": {\n \"data\": {\n \"type\": \"terminal\",\n \"id\": \"\"\n }\n },\n \"destination_terminal\": {\n \"data\": {\n \"type\": \"rail_terminal\",\n \"id\": \"\"\n }\n },\n \"line_tracking_stopped_by_user\": {\n \"data\": {\n \"type\": \"user\",\n \"id\": \"\"\n }\n }\n },\n \"links\": {\n \"self\": \"\"\n }\n },\n {\n \"id\": \"\",\n \"type\": \"shipment\",\n \"attributes\": {\n \"bill_of_lading_number\": \"\",\n \"normalized_number\": \"\",\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"created_at\": \"\",\n \"tags\": [\n \"\",\n \"\"\n ],\n \"port_of_lading_locode\": \"\",\n \"port_of_lading_name\": \"\",\n \"port_of_discharge_locode\": \"\",\n \"port_of_discharge_name\": \"\",\n \"destination_locode\": \"\",\n \"destination_name\": \"\",\n \"shipping_line_scac\": \"\",\n \"shipping_line_name\": \"\",\n \"shipping_line_short_name\": \"\",\n \"customer_name\": \"\",\n \"pod_vessel_name\": \"\",\n \"pod_vessel_imo\": \"\",\n \"pod_voyage_number\": \"\",\n \"pol_etd_at\": \"\",\n \"pol_atd_at\": \"\",\n \"pod_eta_at\": \"\",\n \"pod_original_eta_at\": \"\",\n \"pod_ata_at\": \"\",\n \"destination_eta_at\": \"\",\n \"destination_ata_at\": \"\",\n \"pol_timezone\": \"\",\n \"pod_timezone\": \"\",\n \"destination_timezone\": \"\",\n \"line_tracking_last_attempted_at\": \"\",\n \"line_tracking_last_succeeded_at\": \"\",\n \"line_tracking_stopped_at\": \"\",\n \"line_tracking_stopped_reason\": \"booking_cancelled\"\n },\n \"relationships\": {\n \"destination\": {\n \"data\": {\n \"type\": \"port\",\n \"id\": \"\"\n }\n },\n \"port_of_lading\": {\n \"data\": {\n \"type\": \"port\",\n \"id\": \"\"\n }\n },\n \"containers\": {\n \"data\": [\n {\n \"type\": \"container\",\n \"id\": \"\"\n },\n {\n \"type\": \"container\",\n \"id\": \"\"\n }\n ]\n },\n \"port_of_discharge\": {\n \"data\": {\n \"type\": \"port\",\n \"id\": \"\"\n }\n },\n \"pod_terminal\": {\n \"data\": {\n \"type\": \"terminal\",\n \"id\": \"\"\n }\n },\n \"destination_terminal\": {\n \"data\": {\n \"type\": \"rail_terminal\",\n \"id\": \"\"\n }\n },\n \"line_tracking_stopped_by_user\": {\n \"data\": {\n \"type\": \"user\",\n \"id\": \"\"\n }\n }\n },\n \"links\": {\n \"self\": \"\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "efa0b8da-1afa-4a63-a965-5a4c95218456", + "id": "5fbefa6f-50d2-4bf7-9ee3-7cad591cc648", "name": "Unauthorized. The API token is missing or invalid, or the account may not perform this action.", "originalRequest": { "url": { @@ -5177,12 +5177,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "1cec794d-a165-4e6b-bce8-5b34d79e6fee", + "id": "0b9c8699-836e-4b34-b2c6-731076676cbc", "name": "Not Found", "originalRequest": { "url": { @@ -5242,7 +5242,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -5253,7 +5253,7 @@ } }, { - "id": "7027311c-2cd8-4697-9d71-a62e37f13e36", + "id": "cc59a597-9c3c-4b4e-ba8d-05345282a9db", "name": "Edit a container", "request": { "name": "Edit a container", @@ -5296,7 +5296,7 @@ "method": "PATCH", "body": { "mode": "raw", - "raw": "{\n \"data\": {\n \"attributes\": {\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"seal_number\": \"\",\n \"equipment_type\": \"hard_top\",\n \"equipment_length\": 53,\n \"equipment_height\": \"high_cube\",\n \"weight_in_lbs\": \"\"\n },\n \"type\": \"container\",\n \"id\": \"\"\n }\n}", + "raw": "{\n \"data\": {\n \"attributes\": {\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"seal_number\": \"\",\n \"equipment_type\": \"flat_rack\",\n \"equipment_length\": 40,\n \"equipment_height\": \"flexible\",\n \"weight_in_lbs\": \"\"\n },\n \"type\": \"container\",\n \"id\": \"\"\n }\n}", "options": { "raw": { "headerFamily": "json", @@ -5308,7 +5308,7 @@ }, "response": [ { - "id": "44f2ec33-94b7-4a62-b3d4-32ded4591067", + "id": "8332918c-58c6-404a-9036-4617e2a17f78", "name": "OK", "originalRequest": { "url": { @@ -5354,7 +5354,7 @@ "method": "PATCH", "body": { "mode": "raw", - "raw": "{\n \"data\": {\n \"attributes\": {\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"seal_number\": \"\",\n \"equipment_type\": \"hard_top\",\n \"equipment_length\": 53,\n \"equipment_height\": \"high_cube\",\n \"weight_in_lbs\": \"\"\n },\n \"type\": \"container\",\n \"id\": \"\"\n }\n}", + "raw": "{\n \"data\": {\n \"attributes\": {\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"seal_number\": \"\",\n \"equipment_type\": \"flat_rack\",\n \"equipment_length\": 40,\n \"equipment_height\": \"flexible\",\n \"weight_in_lbs\": \"\"\n },\n \"type\": \"container\",\n \"id\": \"\"\n }\n}", "options": { "raw": { "headerFamily": "json", @@ -5371,12 +5371,12 @@ "value": "application/json" } ], - "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"container\",\n \"attributes\": {\n \"number\": \"\",\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"equipment_type\": null,\n \"equipment_length\": 10,\n \"equipment_height\": null,\n \"weight_in_lbs\": \"\",\n \"created_at\": \"\",\n \"seal_number\": \"\",\n \"pickup_lfd\": \"\",\n \"pickup_appointment_at\": \"\",\n \"availability_known\": \"\",\n \"available_for_pickup\": \"\",\n \"pod_arrived_at\": \"\",\n \"pod_discharged_at\": \"\",\n \"pod_full_out_at\": \"\",\n \"terminal_checked_at\": \"\",\n \"pod_full_out_chassis_number\": \"\",\n \"location_at_pod_terminal\": \"\",\n \"final_destination_full_out_at\": \"\",\n \"empty_terminated_at\": \"\",\n \"holds_at_pod_terminal\": [\n {\n \"name\": \"\",\n \"status\": \"hold\",\n \"description\": \"\"\n },\n {\n \"name\": \"\",\n \"status\": \"pending\",\n \"description\": \"\"\n }\n ],\n \"fees_at_pod_terminal\": [\n {\n \"type\": \"total\",\n \"amount\": \"\",\n \"currency_code\": \"\"\n },\n {\n \"type\": \"other\",\n \"amount\": \"\",\n \"currency_code\": \"\"\n }\n ],\n \"pod_timezone\": \"\",\n \"final_destination_timezone\": \"\",\n \"empty_terminated_timezone\": \"\",\n \"pod_rail_carrier_scac\": \"\",\n \"ind_rail_carrier_scac\": \"\",\n \"pod_last_tracking_request_at\": \"\",\n \"shipment_last_tracking_request_at\": \"\",\n \"pod_rail_loaded_at\": \"\",\n \"pod_rail_departed_at\": \"\",\n \"ind_eta_at\": \"\",\n \"ind_ata_at\": \"\",\n \"ind_rail_unloaded_at\": \"\",\n \"ind_facility_lfd_on\": \"\",\n \"import_deadlines\": {\n \"pickup_lfd_terminal\": \"\",\n \"pickup_lfd_rail\": \"\",\n \"pickup_lfd_line\": \"\"\n },\n \"current_status\": \"on_ship\"\n },\n \"relationships\": {\n \"shipment\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"shipment\"\n }\n },\n \"pickup_facility\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"terminal\"\n }\n },\n \"pod_terminal\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"terminal\"\n }\n },\n \"transport_events\": {\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"transport_event\"\n },\n {\n \"id\": \"\",\n \"type\": \"transport_event\"\n }\n ]\n },\n \"raw_events\": {\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"raw_event\"\n },\n {\n \"id\": \"\",\n \"type\": \"raw_event\"\n }\n ]\n }\n }\n }\n}", + "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"container\",\n \"attributes\": {\n \"number\": \"\",\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"equipment_type\": \"bulk\",\n \"equipment_length\": 45,\n \"equipment_height\": null,\n \"weight_in_lbs\": \"\",\n \"created_at\": \"\",\n \"seal_number\": \"\",\n \"pickup_lfd\": \"\",\n \"pickup_appointment_at\": \"\",\n \"availability_known\": \"\",\n \"available_for_pickup\": \"\",\n \"pod_arrived_at\": \"\",\n \"pod_discharged_at\": \"\",\n \"pod_full_out_at\": \"\",\n \"terminal_checked_at\": \"\",\n \"pod_full_out_chassis_number\": \"\",\n \"location_at_pod_terminal\": \"\",\n \"final_destination_full_out_at\": \"\",\n \"empty_terminated_at\": \"\",\n \"holds_at_pod_terminal\": [\n {\n \"name\": \"\",\n \"status\": \"pending\",\n \"description\": \"\"\n },\n {\n \"name\": \"\",\n \"status\": \"hold\",\n \"description\": \"\"\n }\n ],\n \"fees_at_pod_terminal\": [\n {\n \"type\": \"extended_dwell_time\",\n \"amount\": \"\",\n \"currency_code\": \"\"\n },\n {\n \"type\": \"extended_dwell_time\",\n \"amount\": \"\",\n \"currency_code\": \"\"\n }\n ],\n \"pod_timezone\": \"\",\n \"final_destination_timezone\": \"\",\n \"empty_terminated_timezone\": \"\",\n \"pod_rail_carrier_scac\": \"\",\n \"ind_rail_carrier_scac\": \"\",\n \"pod_last_tracking_request_at\": \"\",\n \"shipment_last_tracking_request_at\": \"\",\n \"pod_rail_loaded_at\": \"\",\n \"pod_rail_departed_at\": \"\",\n \"ind_eta_at\": \"\",\n \"ind_ata_at\": \"\",\n \"ind_rail_unloaded_at\": \"\",\n \"ind_facility_lfd_on\": \"\",\n \"import_deadlines\": {\n \"pickup_lfd_terminal\": \"\",\n \"pickup_lfd_rail\": \"\",\n \"pickup_lfd_line\": \"\"\n },\n \"current_status\": \"dropped\"\n },\n \"relationships\": {\n \"shipment\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"shipment\"\n }\n },\n \"pickup_facility\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"terminal\"\n }\n },\n \"pod_terminal\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"terminal\"\n }\n },\n \"transport_events\": {\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"transport_event\"\n },\n {\n \"id\": \"\",\n \"type\": \"transport_event\"\n }\n ]\n },\n \"raw_events\": {\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"raw_event\"\n },\n {\n \"id\": \"\",\n \"type\": \"raw_event\"\n }\n ]\n }\n }\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "710c053d-f936-4f5c-be4e-5aca3db4a4a4", + "id": "9149d95a-3470-4ffc-9736-7a5a15442c3a", "name": "Unauthorized. The API token is missing or invalid, or the account may not perform this action.", "originalRequest": { "url": { @@ -5422,7 +5422,7 @@ "method": "PATCH", "body": { "mode": "raw", - "raw": "{\n \"data\": {\n \"attributes\": {\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"seal_number\": \"\",\n \"equipment_type\": \"hard_top\",\n \"equipment_length\": 53,\n \"equipment_height\": \"high_cube\",\n \"weight_in_lbs\": \"\"\n },\n \"type\": \"container\",\n \"id\": \"\"\n }\n}", + "raw": "{\n \"data\": {\n \"attributes\": {\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"seal_number\": \"\",\n \"equipment_type\": \"flat_rack\",\n \"equipment_length\": 40,\n \"equipment_height\": \"flexible\",\n \"weight_in_lbs\": \"\"\n },\n \"type\": \"container\",\n \"id\": \"\"\n }\n}", "options": { "raw": { "headerFamily": "json", @@ -5439,12 +5439,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "b3b454e9-d711-433c-b3d7-04012fc374a1", + "id": "b0962a7b-4a63-494d-9f68-6cdd004a81ad", "name": "Not Found", "originalRequest": { "url": { @@ -5490,7 +5490,7 @@ "method": "PATCH", "body": { "mode": "raw", - "raw": "{\n \"data\": {\n \"attributes\": {\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"seal_number\": \"\",\n \"equipment_type\": \"hard_top\",\n \"equipment_length\": 53,\n \"equipment_height\": \"high_cube\",\n \"weight_in_lbs\": \"\"\n },\n \"type\": \"container\",\n \"id\": \"\"\n }\n}", + "raw": "{\n \"data\": {\n \"attributes\": {\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"seal_number\": \"\",\n \"equipment_type\": \"flat_rack\",\n \"equipment_length\": 40,\n \"equipment_height\": \"flexible\",\n \"weight_in_lbs\": \"\"\n },\n \"type\": \"container\",\n \"id\": \"\"\n }\n}", "options": { "raw": { "headerFamily": "json", @@ -5507,12 +5507,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "326bfb7f-a337-4265-a8dd-2c3158081b0a", + "id": "8c7623d4-8a14-4db8-aa38-ed82b1e6647b", "name": "Unprocessable Entity", "originalRequest": { "url": { @@ -5558,7 +5558,7 @@ "method": "PATCH", "body": { "mode": "raw", - "raw": "{\n \"data\": {\n \"attributes\": {\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"seal_number\": \"\",\n \"equipment_type\": \"hard_top\",\n \"equipment_length\": 53,\n \"equipment_height\": \"high_cube\",\n \"weight_in_lbs\": \"\"\n },\n \"type\": \"container\",\n \"id\": \"\"\n }\n}", + "raw": "{\n \"data\": {\n \"attributes\": {\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"seal_number\": \"\",\n \"equipment_type\": \"flat_rack\",\n \"equipment_length\": 40,\n \"equipment_height\": \"flexible\",\n \"weight_in_lbs\": \"\"\n },\n \"type\": \"container\",\n \"id\": \"\"\n }\n}", "options": { "raw": { "headerFamily": "json", @@ -5575,7 +5575,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -5586,7 +5586,7 @@ } }, { - "id": "b23a3eec-9fa4-46c9-a72f-358e0fa5de51", + "id": "5227bd0a-3d8f-40e8-97d1-566cfd7d650a", "name": "Get a container's raw events", "request": { "name": "Get a container's raw events", @@ -5629,7 +5629,7 @@ }, "response": [ { - "id": "7b2e2f46-baa3-425e-bcb9-8bf0e1440919", + "id": "c809f401-9ca8-43cd-b397-88976dae88a9", "name": "OK", "originalRequest": { "url": { @@ -5680,12 +5680,12 @@ "value": "application/json" } ], - "body": "{\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"raw_event\",\n \"attributes\": {\n \"event\": \"arrived_at_destination\",\n \"original_event\": \"\",\n \"timestamp\": \"\",\n \"estimated\": \"\",\n \"actual_on\": \"\",\n \"estimated_on\": \"\",\n \"actual_at\": \"\",\n \"estimated_at\": \"\",\n \"timezone\": \"\",\n \"created_at\": \"\",\n \"location_name\": \"\",\n \"location_locode\": \"\",\n \"vessel_name\": \"\",\n \"vessel_imo\": \"\",\n \"index\": \"\",\n \"voyage_number\": \"\"\n },\n \"relationships\": {\n \"location\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"metro_area\"\n }\n },\n \"vessel\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"vessel\"\n }\n },\n \"container\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"container\"\n }\n },\n \"terminal\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"terminal\"\n }\n }\n }\n },\n {\n \"id\": \"\",\n \"type\": \"raw_event\",\n \"attributes\": {\n \"event\": \"rail_departed\",\n \"original_event\": \"\",\n \"timestamp\": \"\",\n \"estimated\": \"\",\n \"actual_on\": \"\",\n \"estimated_on\": \"\",\n \"actual_at\": \"\",\n \"estimated_at\": \"\",\n \"timezone\": \"\",\n \"created_at\": \"\",\n \"location_name\": \"\",\n \"location_locode\": \"\",\n \"vessel_name\": \"\",\n \"vessel_imo\": \"\",\n \"index\": \"\",\n \"voyage_number\": \"\"\n },\n \"relationships\": {\n \"location\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"metro_area\"\n }\n },\n \"vessel\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"vessel\"\n }\n },\n \"container\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"container\"\n }\n },\n \"terminal\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"terminal\"\n }\n }\n }\n }\n ]\n}", + "body": "{\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"raw_event\",\n \"attributes\": {\n \"event\": \"full_out\",\n \"original_event\": \"\",\n \"timestamp\": \"\",\n \"estimated\": \"\",\n \"actual_on\": \"\",\n \"estimated_on\": \"\",\n \"actual_at\": \"\",\n \"estimated_at\": \"\",\n \"timezone\": \"\",\n \"created_at\": \"\",\n \"location_name\": \"\",\n \"location_locode\": \"\",\n \"vessel_name\": \"\",\n \"vessel_imo\": \"\",\n \"index\": \"\",\n \"voyage_number\": \"\"\n },\n \"relationships\": {\n \"location\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"port\"\n }\n },\n \"vessel\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"vessel\"\n }\n },\n \"container\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"container\"\n }\n },\n \"terminal\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"terminal\"\n }\n }\n }\n },\n {\n \"id\": \"\",\n \"type\": \"raw_event\",\n \"attributes\": {\n \"event\": \"rail_arrived\",\n \"original_event\": \"\",\n \"timestamp\": \"\",\n \"estimated\": \"\",\n \"actual_on\": \"\",\n \"estimated_on\": \"\",\n \"actual_at\": \"\",\n \"estimated_at\": \"\",\n \"timezone\": \"\",\n \"created_at\": \"\",\n \"location_name\": \"\",\n \"location_locode\": \"\",\n \"vessel_name\": \"\",\n \"vessel_imo\": \"\",\n \"index\": \"\",\n \"voyage_number\": \"\"\n },\n \"relationships\": {\n \"location\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"metro_area\"\n }\n },\n \"vessel\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"vessel\"\n }\n },\n \"container\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"container\"\n }\n },\n \"terminal\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"terminal\"\n }\n }\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "f2f33f9f-4ac2-41d3-ae9e-8fb7aa312ba8", + "id": "1f09d582-ef29-447d-8868-b91aff3d24c3", "name": "Not Found", "originalRequest": { "url": { @@ -5736,7 +5736,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -5747,7 +5747,7 @@ } }, { - "id": "0cdcafab-3260-4649-8bd8-02b3e07d91bd", + "id": "b82dbbe4-d5ef-417d-b507-74265c21dfea", "name": "Get a container's transport events", "request": { "name": "Get a container's transport events", @@ -5800,7 +5800,7 @@ }, "response": [ { - "id": "f9df8c5b-0a3d-4925-906a-57bb6b46f0bf", + "id": "45ee83cb-1a2c-46d3-ad03-ead7e9636258", "name": "OK", "originalRequest": { "url": { @@ -5861,12 +5861,12 @@ "value": "application/json" } ], - "body": "{\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"transport_event\",\n \"attributes\": {\n \"event\": \"container.transport.vessel_arrived\",\n \"voyage_number\": \"\",\n \"timestamp\": \"\",\n \"timezone\": \"\",\n \"location_locode\": \"\",\n \"created_at\": \"\",\n \"data_source\": \"shipping_line\"\n },\n \"relationships\": {\n \"shipment\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"shipment\"\n }\n },\n \"location\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"port\"\n }\n },\n \"vessel\": {\n \"data\": {\n \"id\": \"\",\n \"name\": \"vessel\"\n }\n },\n \"terminal\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"rail_terminal\"\n }\n },\n \"container\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"container\"\n }\n }\n }\n },\n {\n \"id\": \"\",\n \"type\": \"transport_event\",\n \"attributes\": {\n \"event\": \"container.detention_lfd_line.changed\",\n \"voyage_number\": \"\",\n \"timestamp\": \"\",\n \"timezone\": \"\",\n \"location_locode\": \"\",\n \"created_at\": \"\",\n \"data_source\": \"ais\"\n },\n \"relationships\": {\n \"shipment\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"shipment\"\n }\n },\n \"location\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"port\"\n }\n },\n \"vessel\": {\n \"data\": {\n \"id\": \"\",\n \"name\": \"vessel\"\n }\n },\n \"terminal\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"terminal\"\n }\n },\n \"container\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"container\"\n }\n }\n }\n }\n ],\n \"included\": [\n {\n \"id\": \"\",\n \"type\": \"shipment\",\n \"attributes\": {\n \"bill_of_lading_number\": \"\",\n \"normalized_number\": \"\",\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"created_at\": \"\",\n \"tags\": [\n \"\",\n \"\"\n ],\n \"port_of_lading_locode\": \"\",\n \"port_of_lading_name\": \"\",\n \"port_of_discharge_locode\": \"\",\n \"port_of_discharge_name\": \"\",\n \"destination_locode\": \"\",\n \"destination_name\": \"\",\n \"shipping_line_scac\": \"\",\n \"shipping_line_name\": \"\",\n \"shipping_line_short_name\": \"\",\n \"customer_name\": \"\",\n \"pod_vessel_name\": \"\",\n \"pod_vessel_imo\": \"\",\n \"pod_voyage_number\": \"\",\n \"pol_etd_at\": \"\",\n \"pol_atd_at\": \"\",\n \"pod_eta_at\": \"\",\n \"pod_original_eta_at\": \"\",\n \"pod_ata_at\": \"\",\n \"destination_eta_at\": \"\",\n \"destination_ata_at\": \"\",\n \"pol_timezone\": \"\",\n \"pod_timezone\": \"\",\n \"destination_timezone\": \"\",\n \"line_tracking_last_attempted_at\": \"\",\n \"line_tracking_last_succeeded_at\": \"\",\n \"line_tracking_stopped_at\": \"\",\n \"line_tracking_stopped_reason\": \"no_updates_at_line\"\n },\n \"relationships\": {\n \"destination\": {\n \"data\": {\n \"type\": \"port\",\n \"id\": \"\"\n }\n },\n \"port_of_lading\": {\n \"data\": {\n \"type\": \"port\",\n \"id\": \"\"\n }\n },\n \"containers\": {\n \"data\": [\n {\n \"type\": \"container\",\n \"id\": \"\"\n },\n {\n \"type\": \"container\",\n \"id\": \"\"\n }\n ]\n },\n \"port_of_discharge\": {\n \"data\": {\n \"type\": \"port\",\n \"id\": \"\"\n }\n },\n \"pod_terminal\": {\n \"data\": {\n \"type\": \"terminal\",\n \"id\": \"\"\n }\n },\n \"destination_terminal\": {\n \"data\": {\n \"type\": \"terminal\",\n \"id\": \"\"\n }\n },\n \"line_tracking_stopped_by_user\": {\n \"data\": {\n \"type\": \"user\",\n \"id\": \"\"\n }\n }\n },\n \"links\": {\n \"self\": \"\"\n }\n },\n {\n \"id\": \"\",\n \"type\": \"shipment\",\n \"attributes\": {\n \"bill_of_lading_number\": \"\",\n \"normalized_number\": \"\",\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"created_at\": \"\",\n \"tags\": [\n \"\",\n \"\"\n ],\n \"port_of_lading_locode\": \"\",\n \"port_of_lading_name\": \"\",\n \"port_of_discharge_locode\": \"\",\n \"port_of_discharge_name\": \"\",\n \"destination_locode\": \"\",\n \"destination_name\": \"\",\n \"shipping_line_scac\": \"\",\n \"shipping_line_name\": \"\",\n \"shipping_line_short_name\": \"\",\n \"customer_name\": \"\",\n \"pod_vessel_name\": \"\",\n \"pod_vessel_imo\": \"\",\n \"pod_voyage_number\": \"\",\n \"pol_etd_at\": \"\",\n \"pol_atd_at\": \"\",\n \"pod_eta_at\": \"\",\n \"pod_original_eta_at\": \"\",\n \"pod_ata_at\": \"\",\n \"destination_eta_at\": \"\",\n \"destination_ata_at\": \"\",\n \"pol_timezone\": \"\",\n \"pod_timezone\": \"\",\n \"destination_timezone\": \"\",\n \"line_tracking_last_attempted_at\": \"\",\n \"line_tracking_last_succeeded_at\": \"\",\n \"line_tracking_stopped_at\": \"\",\n \"line_tracking_stopped_reason\": \"booking_cancelled\"\n },\n \"relationships\": {\n \"destination\": {\n \"data\": {\n \"type\": \"port\",\n \"id\": \"\"\n }\n },\n \"port_of_lading\": {\n \"data\": {\n \"type\": \"port\",\n \"id\": \"\"\n }\n },\n \"containers\": {\n \"data\": [\n {\n \"type\": \"container\",\n \"id\": \"\"\n },\n {\n \"type\": \"container\",\n \"id\": \"\"\n }\n ]\n },\n \"port_of_discharge\": {\n \"data\": {\n \"type\": \"port\",\n \"id\": \"\"\n }\n },\n \"pod_terminal\": {\n \"data\": {\n \"type\": \"terminal\",\n \"id\": \"\"\n }\n },\n \"destination_terminal\": {\n \"data\": {\n \"type\": \"terminal\",\n \"id\": \"\"\n }\n },\n \"line_tracking_stopped_by_user\": {\n \"data\": {\n \"type\": \"user\",\n \"id\": \"\"\n }\n }\n },\n \"links\": {\n \"self\": \"\"\n }\n }\n ],\n \"links\": {\n \"self\": \"\",\n \"current\": \"\",\n \"first\": \"\",\n \"prev\": \"\",\n \"next\": \"\",\n \"last\": \"\"\n },\n \"meta\": {\n \"size\": \"\",\n \"total\": \"\"\n }\n}", + "body": "{\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"transport_event\",\n \"attributes\": {\n \"event\": \"container.transport.full_out\",\n \"voyage_number\": \"\",\n \"timestamp\": \"\",\n \"timezone\": \"\",\n \"location_locode\": \"\",\n \"created_at\": \"\",\n \"data_source\": \"ais\"\n },\n \"relationships\": {\n \"shipment\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"shipment\"\n }\n },\n \"location\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"port\"\n }\n },\n \"vessel\": {\n \"data\": {\n \"id\": \"\",\n \"name\": \"vessel\"\n }\n },\n \"terminal\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"terminal\"\n }\n },\n \"container\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"container\"\n }\n }\n }\n },\n {\n \"id\": \"\",\n \"type\": \"transport_event\",\n \"attributes\": {\n \"event\": \"container.transport.transshipment_departed\",\n \"voyage_number\": \"\",\n \"timestamp\": \"\",\n \"timezone\": \"\",\n \"location_locode\": \"\",\n \"created_at\": \"\",\n \"data_source\": \"shipping_line\"\n },\n \"relationships\": {\n \"shipment\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"shipment\"\n }\n },\n \"location\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"metro_area\"\n }\n },\n \"vessel\": {\n \"data\": {\n \"id\": \"\",\n \"name\": \"vessel\"\n }\n },\n \"terminal\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"terminal\"\n }\n },\n \"container\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"container\"\n }\n }\n }\n }\n ],\n \"included\": [\n {\n \"id\": \"\",\n \"type\": \"shipment\",\n \"attributes\": {\n \"bill_of_lading_number\": \"\",\n \"normalized_number\": \"\",\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"created_at\": \"\",\n \"tags\": [\n \"\",\n \"\"\n ],\n \"port_of_lading_locode\": \"\",\n \"port_of_lading_name\": \"\",\n \"port_of_discharge_locode\": \"\",\n \"port_of_discharge_name\": \"\",\n \"destination_locode\": \"\",\n \"destination_name\": \"\",\n \"shipping_line_scac\": \"\",\n \"shipping_line_name\": \"\",\n \"shipping_line_short_name\": \"\",\n \"customer_name\": \"\",\n \"pod_vessel_name\": \"\",\n \"pod_vessel_imo\": \"\",\n \"pod_voyage_number\": \"\",\n \"pol_etd_at\": \"\",\n \"pol_atd_at\": \"\",\n \"pod_eta_at\": \"\",\n \"pod_original_eta_at\": \"\",\n \"pod_ata_at\": \"\",\n \"destination_eta_at\": \"\",\n \"destination_ata_at\": \"\",\n \"pol_timezone\": \"\",\n \"pod_timezone\": \"\",\n \"destination_timezone\": \"\",\n \"line_tracking_last_attempted_at\": \"\",\n \"line_tracking_last_succeeded_at\": \"\",\n \"line_tracking_stopped_at\": \"\",\n \"line_tracking_stopped_reason\": \"past_arrival_window\"\n },\n \"relationships\": {\n \"destination\": {\n \"data\": {\n \"type\": \"port\",\n \"id\": \"\"\n }\n },\n \"port_of_lading\": {\n \"data\": {\n \"type\": \"port\",\n \"id\": \"\"\n }\n },\n \"containers\": {\n \"data\": [\n {\n \"type\": \"container\",\n \"id\": \"\"\n },\n {\n \"type\": \"container\",\n \"id\": \"\"\n }\n ]\n },\n \"port_of_discharge\": {\n \"data\": {\n \"type\": \"port\",\n \"id\": \"\"\n }\n },\n \"pod_terminal\": {\n \"data\": {\n \"type\": \"terminal\",\n \"id\": \"\"\n }\n },\n \"destination_terminal\": {\n \"data\": {\n \"type\": \"rail_terminal\",\n \"id\": \"\"\n }\n },\n \"line_tracking_stopped_by_user\": {\n \"data\": {\n \"type\": \"user\",\n \"id\": \"\"\n }\n }\n },\n \"links\": {\n \"self\": \"\"\n }\n },\n {\n \"id\": \"\",\n \"type\": \"shipment\",\n \"attributes\": {\n \"bill_of_lading_number\": \"\",\n \"normalized_number\": \"\",\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"created_at\": \"\",\n \"tags\": [\n \"\",\n \"\"\n ],\n \"port_of_lading_locode\": \"\",\n \"port_of_lading_name\": \"\",\n \"port_of_discharge_locode\": \"\",\n \"port_of_discharge_name\": \"\",\n \"destination_locode\": \"\",\n \"destination_name\": \"\",\n \"shipping_line_scac\": \"\",\n \"shipping_line_name\": \"\",\n \"shipping_line_short_name\": \"\",\n \"customer_name\": \"\",\n \"pod_vessel_name\": \"\",\n \"pod_vessel_imo\": \"\",\n \"pod_voyage_number\": \"\",\n \"pol_etd_at\": \"\",\n \"pol_atd_at\": \"\",\n \"pod_eta_at\": \"\",\n \"pod_original_eta_at\": \"\",\n \"pod_ata_at\": \"\",\n \"destination_eta_at\": \"\",\n \"destination_ata_at\": \"\",\n \"pol_timezone\": \"\",\n \"pod_timezone\": \"\",\n \"destination_timezone\": \"\",\n \"line_tracking_last_attempted_at\": \"\",\n \"line_tracking_last_succeeded_at\": \"\",\n \"line_tracking_stopped_at\": \"\",\n \"line_tracking_stopped_reason\": \"all_containers_terminated\"\n },\n \"relationships\": {\n \"destination\": {\n \"data\": {\n \"type\": \"port\",\n \"id\": \"\"\n }\n },\n \"port_of_lading\": {\n \"data\": {\n \"type\": \"port\",\n \"id\": \"\"\n }\n },\n \"containers\": {\n \"data\": [\n {\n \"type\": \"container\",\n \"id\": \"\"\n },\n {\n \"type\": \"container\",\n \"id\": \"\"\n }\n ]\n },\n \"port_of_discharge\": {\n \"data\": {\n \"type\": \"port\",\n \"id\": \"\"\n }\n },\n \"pod_terminal\": {\n \"data\": {\n \"type\": \"terminal\",\n \"id\": \"\"\n }\n },\n \"destination_terminal\": {\n \"data\": {\n \"type\": \"terminal\",\n \"id\": \"\"\n }\n },\n \"line_tracking_stopped_by_user\": {\n \"data\": {\n \"type\": \"user\",\n \"id\": \"\"\n }\n }\n },\n \"links\": {\n \"self\": \"\"\n }\n }\n ],\n \"links\": {\n \"self\": \"\",\n \"current\": \"\",\n \"first\": \"\",\n \"prev\": \"\",\n \"next\": \"\",\n \"last\": \"\"\n },\n \"meta\": {\n \"size\": \"\",\n \"total\": \"\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "59666b92-f0cc-4814-a891-a912bed2c015", + "id": "b0068972-cdee-4062-9b52-24ac98dfec68", "name": "Not Found", "originalRequest": { "url": { @@ -5927,7 +5927,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -5938,7 +5938,7 @@ } }, { - "id": "e2a1a532-1fc8-4b00-bda5-244849d24ee7", + "id": "0c1af933-6f6d-4366-ba63-beb072baad82", "name": "Get container map GeoJSON", "request": { "name": "Get container map GeoJSON", @@ -5981,7 +5981,7 @@ }, "response": [ { - "id": "180473fb-bd44-4ec2-8f9b-4508fc260fec", + "id": "4ea11989-d4f5-4cde-8442-6303634a04df", "name": "OK", "originalRequest": { "url": { @@ -6037,7 +6037,7 @@ "_postman_previewlanguage": "json" }, { - "id": "7cb880e6-0c36-4fcc-a71c-47385740bf32", + "id": "bd07e3f3-baca-4b09-8b69-010bdf478d60", "name": "Forbidden - Routing data feature is not enabled for this account", "originalRequest": { "url": { @@ -6093,7 +6093,7 @@ "_postman_previewlanguage": "json" }, { - "id": "f7cc92ba-70b4-4f6b-9774-b9d80594d3cd", + "id": "b9585c02-22d6-4178-b0b4-c073a3e738e1", "name": "Not Found", "originalRequest": { "url": { @@ -6144,7 +6144,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -6155,7 +6155,7 @@ } }, { - "id": "034139d1-d567-4b9a-b3e5-177e63c0cfe2", + "id": "8a2d89be-5a05-4956-95c5-2954ea2d8e16", "name": "Refresh container", "request": { "name": "Refresh container", @@ -6198,7 +6198,7 @@ }, "response": [ { - "id": "8492a1ef-0bfd-43d8-af3c-c37808bf64e8", + "id": "e13681f2-a177-4d94-8d90-e8bad8e89f48", "name": "OK", "originalRequest": { "url": { @@ -6254,7 +6254,7 @@ "_postman_previewlanguage": "json" }, { - "id": "31af05ee-2774-4626-bc1c-a83bc6c28ecd", + "id": "26a91ef3-cea4-44c6-ae39-07859193de01", "name": "Unauthorized. The API token is missing or invalid, or the account may not perform this action.", "originalRequest": { "url": { @@ -6305,12 +6305,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "64628aa3-1199-4f4f-a9fc-de11668be9f0", + "id": "772d8706-3679-4274-8635-17a6fbcb6b8a", "name": "Forbidden - This API endpoint is not enabled for your account. Please contact support@terminal49.com", "originalRequest": { "url": { @@ -6366,7 +6366,7 @@ "_postman_previewlanguage": "json" }, { - "id": "5d02a551-32ac-4887-a723-7f02bcd66552", + "id": "2d93e4c7-6533-4904-8ab3-b97e5c42385d", "name": "Not Found", "originalRequest": { "url": { @@ -6417,12 +6417,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "27fe82ce-0f51-4821-9ae3-14b2613c4ef3", + "id": "d9694735-3008-4593-aeb9-944e9be79ea9", "name": "Too Many Requests - You've hit the refresh limit. Please try again in a minute.", "originalRequest": { "url": { @@ -6493,7 +6493,7 @@ } }, { - "id": "23759010-0d81-469d-83d8-11a4da485992", + "id": "87627913-75ca-4d8d-a1ec-fb090ea76df6", "name": "List container custom fields", "request": { "name": "List container custom fields", @@ -6543,7 +6543,7 @@ }, "response": [ { - "id": "d6380e48-a1ab-4bbd-84d9-e14316310e64", + "id": "59ae19a8-da73-47d8-a5a6-70753610991d", "name": "OK", "originalRequest": { "url": { @@ -6604,12 +6604,12 @@ "value": "application/json" } ], - "body": "{\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"custom_field\",\n \"attributes\": {\n \"api_slug\": \"\",\n \"value\": \"\",\n \"display_value\": \"\"\n },\n \"relationships\": {\n \"entity\": {\n \"data\": {\n \"type\": \"container\",\n \"id\": \"\"\n }\n },\n \"definition\": {\n \"data\": {\n \"type\": \"custom_field_definition\",\n \"id\": \"\"\n }\n }\n }\n },\n {\n \"id\": \"\",\n \"type\": \"custom_field\",\n \"attributes\": {\n \"api_slug\": \"\",\n \"value\": \"\",\n \"display_value\": \"\"\n },\n \"relationships\": {\n \"entity\": {\n \"data\": {\n \"type\": \"tracking_request\",\n \"id\": \"\"\n }\n },\n \"definition\": {\n \"data\": {\n \"type\": \"custom_field_definition\",\n \"id\": \"\"\n }\n }\n }\n }\n ],\n \"links\": {\n \"self\": \"\",\n \"current\": \"\",\n \"first\": \"\",\n \"prev\": \"\",\n \"next\": \"\",\n \"last\": \"\"\n },\n \"meta\": {\n \"size\": \"\",\n \"total\": \"\"\n },\n \"included\": [\n {\n \"id\": \"\",\n \"type\": \"custom_field_definition\",\n \"attributes\": {\n \"entity_type\": \"Shipment\",\n \"api_slug\": \"\",\n \"display_name\": \"\",\n \"data_type\": \"short_text\",\n \"description\": \"\",\n \"reference_type\": \"\",\n \"validation\": {\n \"key_0\": 2303.261307062433,\n \"key_1\": \"string\"\n },\n \"default_format\": \"\",\n \"default_value\": \"\",\n \"reference_number\": \"\",\n \"sensitive\": \"\",\n \"inline_option_creation\": \"\",\n \"template_id\": \"\",\n \"has_data\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\",\n \"discarded_at\": \"\"\n },\n \"relationships\": {\n \"account\": {\n \"data\": {\n \"type\": \"account\",\n \"id\": \"\"\n }\n },\n \"created_by\": {\n \"data\": {\n \"type\": \"user\",\n \"id\": \"\"\n }\n },\n \"options\": {\n \"data\": [\n {\n \"type\": \"custom_field_option\",\n \"id\": \"\"\n },\n {\n \"type\": \"custom_field_option\",\n \"id\": \"\"\n }\n ]\n }\n }\n },\n {\n \"id\": \"\",\n \"type\": \"custom_field_definition\",\n \"attributes\": {\n \"entity_type\": \"Shipment\",\n \"api_slug\": \"\",\n \"display_name\": \"\",\n \"data_type\": \"date\",\n \"description\": \"\",\n \"reference_type\": \"\",\n \"validation\": {\n \"key_0\": 8102,\n \"key_1\": 9506.218278937042\n },\n \"default_format\": \"\",\n \"default_value\": \"\",\n \"reference_number\": \"\",\n \"sensitive\": \"\",\n \"inline_option_creation\": \"\",\n \"template_id\": \"\",\n \"has_data\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\",\n \"discarded_at\": \"\"\n },\n \"relationships\": {\n \"account\": {\n \"data\": {\n \"type\": \"account\",\n \"id\": \"\"\n }\n },\n \"created_by\": {\n \"data\": {\n \"type\": \"user\",\n \"id\": \"\"\n }\n },\n \"options\": {\n \"data\": [\n {\n \"type\": \"custom_field_option\",\n \"id\": \"\"\n },\n {\n \"type\": \"custom_field_option\",\n \"id\": \"\"\n }\n ]\n }\n }\n }\n ]\n}", + "body": "{\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"custom_field\",\n \"attributes\": {\n \"api_slug\": \"\",\n \"value\": \"\",\n \"display_value\": \"\"\n },\n \"relationships\": {\n \"entity\": {\n \"data\": {\n \"type\": \"tracking_request\",\n \"id\": \"\"\n }\n },\n \"definition\": {\n \"data\": {\n \"type\": \"custom_field_definition\",\n \"id\": \"\"\n }\n }\n }\n },\n {\n \"id\": \"\",\n \"type\": \"custom_field\",\n \"attributes\": {\n \"api_slug\": \"\",\n \"value\": \"\",\n \"display_value\": \"\"\n },\n \"relationships\": {\n \"entity\": {\n \"data\": {\n \"type\": \"shipment\",\n \"id\": \"\"\n }\n },\n \"definition\": {\n \"data\": {\n \"type\": \"custom_field_definition\",\n \"id\": \"\"\n }\n }\n }\n }\n ],\n \"links\": {\n \"self\": \"\",\n \"current\": \"\",\n \"first\": \"\",\n \"prev\": \"\",\n \"next\": \"\",\n \"last\": \"\"\n },\n \"meta\": {\n \"size\": \"\",\n \"total\": \"\"\n },\n \"included\": [\n {\n \"id\": \"\",\n \"type\": \"custom_field_definition\",\n \"attributes\": {\n \"entity_type\": \"Shipment\",\n \"api_slug\": \"\",\n \"display_name\": \"\",\n \"data_type\": \"number\",\n \"description\": \"\",\n \"reference_type\": \"\",\n \"validation\": {\n \"key_0\": \"string\",\n \"key_1\": false\n },\n \"default_format\": \"\",\n \"default_value\": \"\",\n \"reference_number\": \"\",\n \"sensitive\": \"\",\n \"inline_option_creation\": \"\",\n \"template_id\": \"\",\n \"has_data\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\",\n \"discarded_at\": \"\"\n },\n \"relationships\": {\n \"account\": {\n \"data\": {\n \"type\": \"account\",\n \"id\": \"\"\n }\n },\n \"created_by\": {\n \"data\": {\n \"type\": \"user\",\n \"id\": \"\"\n }\n },\n \"options\": {\n \"data\": [\n {\n \"type\": \"custom_field_option\",\n \"id\": \"\"\n },\n {\n \"type\": \"custom_field_option\",\n \"id\": \"\"\n }\n ]\n }\n }\n },\n {\n \"id\": \"\",\n \"type\": \"custom_field_definition\",\n \"attributes\": {\n \"entity_type\": \"Shipment\",\n \"api_slug\": \"\",\n \"display_name\": \"\",\n \"data_type\": \"datetime\",\n \"description\": \"\",\n \"reference_type\": \"\",\n \"validation\": {\n \"key_0\": 7530.449066703217,\n \"key_1\": \"string\"\n },\n \"default_format\": \"\",\n \"default_value\": \"\",\n \"reference_number\": \"\",\n \"sensitive\": \"\",\n \"inline_option_creation\": \"\",\n \"template_id\": \"\",\n \"has_data\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\",\n \"discarded_at\": \"\"\n },\n \"relationships\": {\n \"account\": {\n \"data\": {\n \"type\": \"account\",\n \"id\": \"\"\n }\n },\n \"created_by\": {\n \"data\": {\n \"type\": \"user\",\n \"id\": \"\"\n }\n },\n \"options\": {\n \"data\": [\n {\n \"type\": \"custom_field_option\",\n \"id\": \"\"\n },\n {\n \"type\": \"custom_field_option\",\n \"id\": \"\"\n }\n ]\n }\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "a2bb437c-8799-4592-b0fa-c15031e51f14", + "id": "6e60aa74-6266-4180-9e8f-ea9ff8929552", "name": "Unauthorized. The API token is missing or invalid, or the account may not perform this action.", "originalRequest": { "url": { @@ -6670,12 +6670,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "57b11293-f19c-4fac-92d2-24c8bad2b95b", + "id": "216ca109-606f-4785-9c3f-7e1e03b3d1ec", "name": "Not Found", "originalRequest": { "url": { @@ -6736,7 +6736,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -6747,7 +6747,7 @@ } }, { - "id": "d632b8e6-95ac-4d3d-ae11-db299fab00d8", + "id": "7c5f4829-4625-4ea3-bc49-3cb389b59323", "name": "Create a container custom field", "request": { "name": "Create a container custom field", @@ -6800,7 +6800,7 @@ }, "response": [ { - "id": "eaaa310a-ed41-45ae-b777-44973c10c841", + "id": "354a3dd7-445c-4cc2-ac33-0157838465ac", "name": "Created", "originalRequest": { "url": { @@ -6864,12 +6864,12 @@ "value": "application/json" } ], - "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"custom_field\",\n \"attributes\": {\n \"api_slug\": \"\",\n \"value\": \"\",\n \"display_value\": \"\"\n },\n \"relationships\": {\n \"entity\": {\n \"data\": {\n \"type\": \"container\",\n \"id\": \"\"\n }\n },\n \"definition\": {\n \"data\": {\n \"type\": \"custom_field_definition\",\n \"id\": \"\"\n }\n }\n }\n },\n \"links\": {\n \"self\": \"\"\n }\n}", + "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"custom_field\",\n \"attributes\": {\n \"api_slug\": \"\",\n \"value\": \"\",\n \"display_value\": \"\"\n },\n \"relationships\": {\n \"entity\": {\n \"data\": {\n \"type\": \"shipment\",\n \"id\": \"\"\n }\n },\n \"definition\": {\n \"data\": {\n \"type\": \"custom_field_definition\",\n \"id\": \"\"\n }\n }\n }\n },\n \"links\": {\n \"self\": \"\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "adb40b0a-18ea-4cb4-a9dd-40ef3d23854a", + "id": "ed743ad0-3a0d-41e9-b810-3009b4ea09b6", "name": "Unauthorized. The API token is missing or invalid, or the account may not perform this action.", "originalRequest": { "url": { @@ -6933,12 +6933,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "5d02e903-c792-473c-92e9-d49067289bb4", + "id": "e0ef00e1-1f62-436b-a51f-0a19ab636c20", "name": "Not Found", "originalRequest": { "url": { @@ -7002,12 +7002,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "7baf0494-e720-4afa-9e6c-72398fb1873a", + "id": "4706cece-fb16-4fa0-828f-3530d6d90547", "name": "Unprocessable Entity", "originalRequest": { "url": { @@ -7071,7 +7071,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -7082,7 +7082,7 @@ } }, { - "id": "c037f10b-b95e-4d00-b42f-ce2569f83ebd", + "id": "5d4831b3-909b-4d7c-97ab-1f3807cfdb07", "name": "Update a container custom field", "request": { "name": "Update a container custom field", @@ -7146,7 +7146,7 @@ }, "response": [ { - "id": "33b555c1-1233-4c9f-8d25-908342114af2", + "id": "eb0506f5-6476-42a6-941a-eaa6fd75822d", "name": "OK", "originalRequest": { "url": { @@ -7221,12 +7221,12 @@ "value": "application/json" } ], - "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"custom_field\",\n \"attributes\": {\n \"api_slug\": \"\",\n \"value\": \"\",\n \"display_value\": \"\"\n },\n \"relationships\": {\n \"entity\": {\n \"data\": {\n \"type\": \"container\",\n \"id\": \"\"\n }\n },\n \"definition\": {\n \"data\": {\n \"type\": \"custom_field_definition\",\n \"id\": \"\"\n }\n }\n }\n },\n \"links\": {\n \"self\": \"\"\n }\n}", + "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"custom_field\",\n \"attributes\": {\n \"api_slug\": \"\",\n \"value\": \"\",\n \"display_value\": \"\"\n },\n \"relationships\": {\n \"entity\": {\n \"data\": {\n \"type\": \"shipment\",\n \"id\": \"\"\n }\n },\n \"definition\": {\n \"data\": {\n \"type\": \"custom_field_definition\",\n \"id\": \"\"\n }\n }\n }\n },\n \"links\": {\n \"self\": \"\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "851fbe98-7856-4dbc-a4fd-dee8712d826f", + "id": "f47274ae-d2c7-4f67-98ed-8131254e1066", "name": "Unauthorized. The API token is missing or invalid, or the account may not perform this action.", "originalRequest": { "url": { @@ -7301,12 +7301,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "5727e238-6f87-480e-9b30-44e11bc98b4b", + "id": "5d387df9-4723-439b-a26e-035f088a9ccc", "name": "Not Found", "originalRequest": { "url": { @@ -7381,12 +7381,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "6ecc7703-4c9a-4408-b70e-be5541757d1a", + "id": "de2c070d-e3ee-438e-b748-f301db4c6dac", "name": "Unprocessable Entity", "originalRequest": { "url": { @@ -7461,7 +7461,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -7472,7 +7472,7 @@ } }, { - "id": "f23642ea-0ce2-4aca-8e5e-82b016501917", + "id": "5118e707-5e83-4547-8c1f-968950d7c628", "name": "Delete a container custom field", "request": { "name": "Delete a container custom field", @@ -7523,7 +7523,7 @@ }, "response": [ { - "id": "55138ffe-aa0b-4d9f-aa49-042ba327a2c8", + "id": "a7035926-e8a3-4641-bf7b-14829bbb10f7", "name": "No Content", "originalRequest": { "url": { @@ -7580,7 +7580,7 @@ "_postman_previewlanguage": "text" }, { - "id": "5ff0d153-2e62-4f7c-b279-de2645ec31e9", + "id": "b4c36729-424e-4cab-b713-5057d24db587", "name": "Unauthorized. The API token is missing or invalid, or the account may not perform this action.", "originalRequest": { "url": { @@ -7642,12 +7642,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "07a6f8f6-8394-469e-83ad-aca6230633dc", + "id": "6fa904f0-007f-48c8-a213-2ce58f194480", "name": "Not Found", "originalRequest": { "url": { @@ -7709,7 +7709,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -7726,7 +7726,7 @@ "description": "", "item": [ { - "id": "dceef161-dc98-41dc-a4c8-74cd0d4f28c7", + "id": "aacbd857-183e-4b21-ba33-7d195bd0d4ca", "name": "List custom field definition templates", "request": { "name": "List custom field definition templates", @@ -7749,7 +7749,7 @@ "type": "text/plain" }, "key": "filter[entity_type]", - "value": "Cargo" + "value": "Shipment" }, { "disabled": true, @@ -7784,7 +7784,7 @@ }, "response": [ { - "id": "a5c3245d-2698-4827-b2e0-98cdb4354a42", + "id": "35197397-163a-4685-ae8e-f02305fcf4bd", "name": "OK", "originalRequest": { "url": { @@ -7802,7 +7802,7 @@ "type": "text/plain" }, "key": "filter[entity_type]", - "value": "Cargo" + "value": "Shipment" }, { "disabled": true, @@ -7850,7 +7850,7 @@ "value": "application/json" } ], - "body": "{\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"custom_field_definition\",\n \"attributes\": {\n \"entity_type\": \"Cargo\",\n \"api_slug\": \"\",\n \"display_name\": \"\",\n \"data_type\": \"boolean\",\n \"description\": \"\",\n \"reference_type\": \"\",\n \"validation\": {\n \"key_0\": 2672\n },\n \"default_format\": \"\",\n \"default_value\": \"\",\n \"reference_number\": \"\",\n \"sensitive\": \"\",\n \"inline_option_creation\": \"\",\n \"template_id\": \"\",\n \"has_data\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\",\n \"discarded_at\": \"\"\n },\n \"relationships\": {\n \"account\": {\n \"data\": {\n \"type\": \"account\",\n \"id\": \"\"\n }\n },\n \"created_by\": {\n \"data\": {\n \"type\": \"user\",\n \"id\": \"\"\n }\n },\n \"options\": {\n \"data\": [\n {\n \"type\": \"custom_field_option\",\n \"id\": \"\"\n },\n {\n \"type\": \"custom_field_option\",\n \"id\": \"\"\n }\n ]\n }\n }\n },\n {\n \"id\": \"\",\n \"type\": \"custom_field_definition\",\n \"attributes\": {\n \"entity_type\": \"Cargo\",\n \"api_slug\": \"\",\n \"display_name\": \"\",\n \"data_type\": \"reference\",\n \"description\": \"\",\n \"reference_type\": \"\",\n \"validation\": {\n \"key_0\": 4741.240242605084,\n \"key_1\": 6009,\n \"key_2\": \"string\",\n \"key_3\": \"string\"\n },\n \"default_format\": \"\",\n \"default_value\": \"\",\n \"reference_number\": \"\",\n \"sensitive\": \"\",\n \"inline_option_creation\": \"\",\n \"template_id\": \"\",\n \"has_data\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\",\n \"discarded_at\": \"\"\n },\n \"relationships\": {\n \"account\": {\n \"data\": {\n \"type\": \"account\",\n \"id\": \"\"\n }\n },\n \"created_by\": {\n \"data\": {\n \"type\": \"user\",\n \"id\": \"\"\n }\n },\n \"options\": {\n \"data\": [\n {\n \"type\": \"custom_field_option\",\n \"id\": \"\"\n },\n {\n \"type\": \"custom_field_option\",\n \"id\": \"\"\n }\n ]\n }\n }\n }\n ],\n \"links\": {\n \"self\": \"\",\n \"current\": \"\",\n \"first\": \"\",\n \"prev\": \"\",\n \"next\": \"\",\n \"last\": \"\"\n }\n}", + "body": "{\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"custom_field_definition\",\n \"attributes\": {\n \"entity_type\": \"Cargo\",\n \"api_slug\": \"\",\n \"display_name\": \"\",\n \"data_type\": \"date\",\n \"description\": \"\",\n \"reference_type\": \"\",\n \"validation\": {\n \"key_0\": true,\n \"key_1\": 8027,\n \"key_2\": true,\n \"key_3\": true\n },\n \"default_format\": \"\",\n \"default_value\": \"\",\n \"reference_number\": \"\",\n \"sensitive\": \"\",\n \"inline_option_creation\": \"\",\n \"template_id\": \"\",\n \"has_data\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\",\n \"discarded_at\": \"\"\n },\n \"relationships\": {\n \"account\": {\n \"data\": {\n \"type\": \"account\",\n \"id\": \"\"\n }\n },\n \"created_by\": {\n \"data\": {\n \"type\": \"user\",\n \"id\": \"\"\n }\n },\n \"options\": {\n \"data\": [\n {\n \"type\": \"custom_field_option\",\n \"id\": \"\"\n },\n {\n \"type\": \"custom_field_option\",\n \"id\": \"\"\n }\n ]\n }\n }\n },\n {\n \"id\": \"\",\n \"type\": \"custom_field_definition\",\n \"attributes\": {\n \"entity_type\": \"Cargo\",\n \"api_slug\": \"\",\n \"display_name\": \"\",\n \"data_type\": \"boolean\",\n \"description\": \"\",\n \"reference_type\": \"\",\n \"validation\": {\n \"key_0\": 9675.79997148788,\n \"key_1\": 1138.605349330969,\n \"key_2\": false\n },\n \"default_format\": \"\",\n \"default_value\": \"\",\n \"reference_number\": \"\",\n \"sensitive\": \"\",\n \"inline_option_creation\": \"\",\n \"template_id\": \"\",\n \"has_data\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\",\n \"discarded_at\": \"\"\n },\n \"relationships\": {\n \"account\": {\n \"data\": {\n \"type\": \"account\",\n \"id\": \"\"\n }\n },\n \"created_by\": {\n \"data\": {\n \"type\": \"user\",\n \"id\": \"\"\n }\n },\n \"options\": {\n \"data\": [\n {\n \"type\": \"custom_field_option\",\n \"id\": \"\"\n },\n {\n \"type\": \"custom_field_option\",\n \"id\": \"\"\n }\n ]\n }\n }\n }\n ],\n \"links\": {\n \"self\": \"\",\n \"current\": \"\",\n \"first\": \"\",\n \"prev\": \"\",\n \"next\": \"\",\n \"last\": \"\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -7861,7 +7861,7 @@ } }, { - "id": "0d4c93a8-834d-4afc-a0aa-a0b858b4e4ed", + "id": "5dbe1683-a1ba-4e66-a9ce-2212088f87ae", "name": "Create a custom field definition template", "request": { "name": "Create a custom field definition template", @@ -7892,7 +7892,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"data\": {\n \"type\": \"custom_field_definition\",\n \"attributes\": {\n \"entity_type\": \"Cargo\",\n \"api_slug\": \"\",\n \"display_name\": \"\",\n \"data_type\": \"number\",\n \"description\": \"\",\n \"reference_type\": \"\",\n \"validation\": {\n \"key_0\": true\n },\n \"default_format\": \"\",\n \"default_value\": \"\",\n \"reference_number\": false,\n \"sensitive\": false,\n \"inline_option_creation\": false\n }\n }\n}", + "raw": "{\n \"data\": {\n \"type\": \"custom_field_definition\",\n \"attributes\": {\n \"entity_type\": \"Cargo\",\n \"api_slug\": \"\",\n \"display_name\": \"\",\n \"data_type\": \"short_text\",\n \"description\": \"\",\n \"reference_type\": \"\",\n \"validation\": {\n \"key_0\": \"string\"\n },\n \"default_format\": \"\",\n \"default_value\": \"\",\n \"reference_number\": false,\n \"sensitive\": false,\n \"inline_option_creation\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", @@ -7904,7 +7904,7 @@ }, "response": [ { - "id": "1d4af4b1-d8ae-49c0-b466-be56ff49b30a", + "id": "ef53da39-402a-4f71-b07c-deafde87985b", "name": "Created", "originalRequest": { "url": { @@ -7938,7 +7938,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"data\": {\n \"type\": \"custom_field_definition\",\n \"attributes\": {\n \"entity_type\": \"Cargo\",\n \"api_slug\": \"\",\n \"display_name\": \"\",\n \"data_type\": \"number\",\n \"description\": \"\",\n \"reference_type\": \"\",\n \"validation\": {\n \"key_0\": true\n },\n \"default_format\": \"\",\n \"default_value\": \"\",\n \"reference_number\": false,\n \"sensitive\": false,\n \"inline_option_creation\": false\n }\n }\n}", + "raw": "{\n \"data\": {\n \"type\": \"custom_field_definition\",\n \"attributes\": {\n \"entity_type\": \"Cargo\",\n \"api_slug\": \"\",\n \"display_name\": \"\",\n \"data_type\": \"short_text\",\n \"description\": \"\",\n \"reference_type\": \"\",\n \"validation\": {\n \"key_0\": \"string\"\n },\n \"default_format\": \"\",\n \"default_value\": \"\",\n \"reference_number\": false,\n \"sensitive\": false,\n \"inline_option_creation\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", @@ -7955,12 +7955,12 @@ "value": "application/json" } ], - "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"custom_field_definition\",\n \"attributes\": {\n \"entity_type\": \"Cargo\",\n \"api_slug\": \"\",\n \"display_name\": \"\",\n \"data_type\": \"enum\",\n \"description\": \"\",\n \"reference_type\": \"\",\n \"validation\": {\n \"key_0\": 9681\n },\n \"default_format\": \"\",\n \"default_value\": \"\",\n \"reference_number\": \"\",\n \"sensitive\": \"\",\n \"inline_option_creation\": \"\",\n \"template_id\": \"\",\n \"has_data\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\",\n \"discarded_at\": \"\"\n },\n \"relationships\": {\n \"account\": {\n \"data\": {\n \"type\": \"account\",\n \"id\": \"\"\n }\n },\n \"created_by\": {\n \"data\": {\n \"type\": \"user\",\n \"id\": \"\"\n }\n },\n \"options\": {\n \"data\": [\n {\n \"type\": \"custom_field_option\",\n \"id\": \"\"\n },\n {\n \"type\": \"custom_field_option\",\n \"id\": \"\"\n }\n ]\n }\n }\n },\n \"links\": {\n \"self\": \"\"\n }\n}", + "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"custom_field_definition\",\n \"attributes\": {\n \"entity_type\": \"Shipment\",\n \"api_slug\": \"\",\n \"display_name\": \"\",\n \"data_type\": \"enum_multi\",\n \"description\": \"\",\n \"reference_type\": \"\",\n \"validation\": {\n \"key_0\": true,\n \"key_1\": 2702.2754249795134\n },\n \"default_format\": \"\",\n \"default_value\": \"\",\n \"reference_number\": \"\",\n \"sensitive\": \"\",\n \"inline_option_creation\": \"\",\n \"template_id\": \"\",\n \"has_data\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\",\n \"discarded_at\": \"\"\n },\n \"relationships\": {\n \"account\": {\n \"data\": {\n \"type\": \"account\",\n \"id\": \"\"\n }\n },\n \"created_by\": {\n \"data\": {\n \"type\": \"user\",\n \"id\": \"\"\n }\n },\n \"options\": {\n \"data\": [\n {\n \"type\": \"custom_field_option\",\n \"id\": \"\"\n },\n {\n \"type\": \"custom_field_option\",\n \"id\": \"\"\n }\n ]\n }\n }\n },\n \"links\": {\n \"self\": \"\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "fc55647b-8750-4a64-87a6-c73064233b00", + "id": "d3193d9e-22d4-4720-bac2-1ea983342a14", "name": "Unauthorized. The API token is missing or invalid, or the account may not perform this action.", "originalRequest": { "url": { @@ -7994,7 +7994,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"data\": {\n \"type\": \"custom_field_definition\",\n \"attributes\": {\n \"entity_type\": \"Cargo\",\n \"api_slug\": \"\",\n \"display_name\": \"\",\n \"data_type\": \"number\",\n \"description\": \"\",\n \"reference_type\": \"\",\n \"validation\": {\n \"key_0\": true\n },\n \"default_format\": \"\",\n \"default_value\": \"\",\n \"reference_number\": false,\n \"sensitive\": false,\n \"inline_option_creation\": false\n }\n }\n}", + "raw": "{\n \"data\": {\n \"type\": \"custom_field_definition\",\n \"attributes\": {\n \"entity_type\": \"Cargo\",\n \"api_slug\": \"\",\n \"display_name\": \"\",\n \"data_type\": \"short_text\",\n \"description\": \"\",\n \"reference_type\": \"\",\n \"validation\": {\n \"key_0\": \"string\"\n },\n \"default_format\": \"\",\n \"default_value\": \"\",\n \"reference_number\": false,\n \"sensitive\": false,\n \"inline_option_creation\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", @@ -8011,12 +8011,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "d61a887d-bd54-48a0-abf8-45e63c150450", + "id": "19eb3006-2801-4044-b41e-f3aeaab82260", "name": "Unprocessable Entity", "originalRequest": { "url": { @@ -8050,7 +8050,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"data\": {\n \"type\": \"custom_field_definition\",\n \"attributes\": {\n \"entity_type\": \"Cargo\",\n \"api_slug\": \"\",\n \"display_name\": \"\",\n \"data_type\": \"number\",\n \"description\": \"\",\n \"reference_type\": \"\",\n \"validation\": {\n \"key_0\": true\n },\n \"default_format\": \"\",\n \"default_value\": \"\",\n \"reference_number\": false,\n \"sensitive\": false,\n \"inline_option_creation\": false\n }\n }\n}", + "raw": "{\n \"data\": {\n \"type\": \"custom_field_definition\",\n \"attributes\": {\n \"entity_type\": \"Cargo\",\n \"api_slug\": \"\",\n \"display_name\": \"\",\n \"data_type\": \"short_text\",\n \"description\": \"\",\n \"reference_type\": \"\",\n \"validation\": {\n \"key_0\": \"string\"\n },\n \"default_format\": \"\",\n \"default_value\": \"\",\n \"reference_number\": false,\n \"sensitive\": false,\n \"inline_option_creation\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", @@ -8067,7 +8067,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -8078,7 +8078,7 @@ } }, { - "id": "ee011549-ad54-4465-8dd9-96d9705ac5f6", + "id": "2fbe96ab-b93b-4646-91b1-e15c9a3776d8", "name": "Get a custom field definition", "request": { "name": "Get a custom field definition", @@ -8117,7 +8117,7 @@ }, "response": [ { - "id": "a0d24a3f-ba46-445d-85d4-da31ec1823b5", + "id": "49ad8c52-b493-41de-b46f-b88827a2b700", "name": "OK", "originalRequest": { "url": { @@ -8167,12 +8167,12 @@ "value": "application/json" } ], - "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"custom_field_definition\",\n \"attributes\": {\n \"entity_type\": \"Cargo\",\n \"api_slug\": \"\",\n \"display_name\": \"\",\n \"data_type\": \"enum\",\n \"description\": \"\",\n \"reference_type\": \"\",\n \"validation\": {\n \"key_0\": 9681\n },\n \"default_format\": \"\",\n \"default_value\": \"\",\n \"reference_number\": \"\",\n \"sensitive\": \"\",\n \"inline_option_creation\": \"\",\n \"template_id\": \"\",\n \"has_data\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\",\n \"discarded_at\": \"\"\n },\n \"relationships\": {\n \"account\": {\n \"data\": {\n \"type\": \"account\",\n \"id\": \"\"\n }\n },\n \"created_by\": {\n \"data\": {\n \"type\": \"user\",\n \"id\": \"\"\n }\n },\n \"options\": {\n \"data\": [\n {\n \"type\": \"custom_field_option\",\n \"id\": \"\"\n },\n {\n \"type\": \"custom_field_option\",\n \"id\": \"\"\n }\n ]\n }\n }\n },\n \"links\": {\n \"self\": \"\"\n }\n}", + "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"custom_field_definition\",\n \"attributes\": {\n \"entity_type\": \"Shipment\",\n \"api_slug\": \"\",\n \"display_name\": \"\",\n \"data_type\": \"enum_multi\",\n \"description\": \"\",\n \"reference_type\": \"\",\n \"validation\": {\n \"key_0\": true,\n \"key_1\": 2702.2754249795134\n },\n \"default_format\": \"\",\n \"default_value\": \"\",\n \"reference_number\": \"\",\n \"sensitive\": \"\",\n \"inline_option_creation\": \"\",\n \"template_id\": \"\",\n \"has_data\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\",\n \"discarded_at\": \"\"\n },\n \"relationships\": {\n \"account\": {\n \"data\": {\n \"type\": \"account\",\n \"id\": \"\"\n }\n },\n \"created_by\": {\n \"data\": {\n \"type\": \"user\",\n \"id\": \"\"\n }\n },\n \"options\": {\n \"data\": [\n {\n \"type\": \"custom_field_option\",\n \"id\": \"\"\n },\n {\n \"type\": \"custom_field_option\",\n \"id\": \"\"\n }\n ]\n }\n }\n },\n \"links\": {\n \"self\": \"\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "36f788c1-0210-49fb-a9ba-d0c756157467", + "id": "3765055d-9448-4807-91b0-a7b93d7bf07f", "name": "Not Found", "originalRequest": { "url": { @@ -8222,7 +8222,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -8233,7 +8233,7 @@ } }, { - "id": "0955b9dc-cc23-451c-be22-a6a4c13e4375", + "id": "b9efd200-ee59-4b85-ab56-8c06a20d52b4", "name": "Update a custom field definition", "request": { "name": "Update a custom field definition", @@ -8285,7 +8285,7 @@ }, "response": [ { - "id": "5bc590eb-a03d-4dfc-bfda-c582ef23c441", + "id": "cb6d63a8-83e5-48e5-900e-c3edda571553", "name": "OK", "originalRequest": { "url": { @@ -8348,12 +8348,12 @@ "value": "application/json" } ], - "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"custom_field_definition\",\n \"attributes\": {\n \"entity_type\": \"Cargo\",\n \"api_slug\": \"\",\n \"display_name\": \"\",\n \"data_type\": \"enum\",\n \"description\": \"\",\n \"reference_type\": \"\",\n \"validation\": {\n \"key_0\": 9681\n },\n \"default_format\": \"\",\n \"default_value\": \"\",\n \"reference_number\": \"\",\n \"sensitive\": \"\",\n \"inline_option_creation\": \"\",\n \"template_id\": \"\",\n \"has_data\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\",\n \"discarded_at\": \"\"\n },\n \"relationships\": {\n \"account\": {\n \"data\": {\n \"type\": \"account\",\n \"id\": \"\"\n }\n },\n \"created_by\": {\n \"data\": {\n \"type\": \"user\",\n \"id\": \"\"\n }\n },\n \"options\": {\n \"data\": [\n {\n \"type\": \"custom_field_option\",\n \"id\": \"\"\n },\n {\n \"type\": \"custom_field_option\",\n \"id\": \"\"\n }\n ]\n }\n }\n },\n \"links\": {\n \"self\": \"\"\n }\n}", + "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"custom_field_definition\",\n \"attributes\": {\n \"entity_type\": \"Shipment\",\n \"api_slug\": \"\",\n \"display_name\": \"\",\n \"data_type\": \"enum_multi\",\n \"description\": \"\",\n \"reference_type\": \"\",\n \"validation\": {\n \"key_0\": true,\n \"key_1\": 2702.2754249795134\n },\n \"default_format\": \"\",\n \"default_value\": \"\",\n \"reference_number\": \"\",\n \"sensitive\": \"\",\n \"inline_option_creation\": \"\",\n \"template_id\": \"\",\n \"has_data\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\",\n \"discarded_at\": \"\"\n },\n \"relationships\": {\n \"account\": {\n \"data\": {\n \"type\": \"account\",\n \"id\": \"\"\n }\n },\n \"created_by\": {\n \"data\": {\n \"type\": \"user\",\n \"id\": \"\"\n }\n },\n \"options\": {\n \"data\": [\n {\n \"type\": \"custom_field_option\",\n \"id\": \"\"\n },\n {\n \"type\": \"custom_field_option\",\n \"id\": \"\"\n }\n ]\n }\n }\n },\n \"links\": {\n \"self\": \"\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "a493670f-b958-49fa-a740-3cd1a28469ef", + "id": "7ee7764e-9617-44c6-a441-dec43d92fa5a", "name": "Unauthorized. The API token is missing or invalid, or the account may not perform this action.", "originalRequest": { "url": { @@ -8416,12 +8416,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "78d836d2-c17e-4559-91ae-fbd743cb29a8", + "id": "815775c5-dbd7-4200-9b53-185ed17b91f3", "name": "Not Found", "originalRequest": { "url": { @@ -8484,12 +8484,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "135a3ae0-1363-4105-869d-1a61d8c4991c", + "id": "d5f508fb-8b96-4e6c-b0d5-44872aeebc17", "name": "Unprocessable Entity", "originalRequest": { "url": { @@ -8552,7 +8552,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -8563,7 +8563,7 @@ } }, { - "id": "b8f10703-0b18-4b44-9c64-890a502fa89b", + "id": "d222aadd-15e9-497f-9df2-71e3b157a385", "name": "Delete a custom field definition", "request": { "name": "Delete a custom field definition", @@ -8605,7 +8605,7 @@ }, "response": [ { - "id": "97156411-2d85-4442-84e4-ddf715f1e2b3", + "id": "0c4e1be4-5858-48e9-867e-36f57493b9ae", "name": "No Content", "originalRequest": { "url": { @@ -8650,7 +8650,7 @@ "_postman_previewlanguage": "text" }, { - "id": "8438dded-4c8a-47e0-a16d-926e9b8bd155", + "id": "1fefa600-33b4-47a1-9747-f1c5d90e526f", "name": "Unauthorized. The API token is missing or invalid, or the account may not perform this action.", "originalRequest": { "url": { @@ -8700,12 +8700,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "e5fc5fd1-2e86-4c8c-bf8f-a763b0f1634b", + "id": "60d863f1-f70d-4b74-b08e-fc19a018100c", "name": "Not Found", "originalRequest": { "url": { @@ -8755,12 +8755,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "2d753296-9e71-4c89-bfa9-5549ff109e6c", + "id": "324df5c9-2d35-4a2f-b07c-548ebae49b47", "name": "Unprocessable Entity", "originalRequest": { "url": { @@ -8810,7 +8810,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -8821,7 +8821,7 @@ } }, { - "id": "aca05d98-8c7a-4267-9f8a-2255e7582823", + "id": "3fa952a0-6014-4fc1-972d-6452ff564ec1", "name": "List custom field definitions", "request": { "name": "List custom field definitions", @@ -8846,7 +8846,7 @@ "type": "text/plain" }, "key": "filter[entity_type]", - "value": "Cargo" + "value": "Shipment" }, { "disabled": true, @@ -8892,7 +8892,7 @@ }, "response": [ { - "id": "af7e0648-595c-4d89-bcb3-5868011f892e", + "id": "ca94428b-ad6a-4a4c-9e12-c4b87681262f", "name": "OK", "originalRequest": { "url": { @@ -8912,7 +8912,7 @@ "type": "text/plain" }, "key": "filter[entity_type]", - "value": "Cargo" + "value": "Shipment" }, { "disabled": true, @@ -8971,7 +8971,7 @@ "value": "application/json" } ], - "body": "{\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"custom_field_definition\",\n \"attributes\": {\n \"entity_type\": \"Cargo\",\n \"api_slug\": \"\",\n \"display_name\": \"\",\n \"data_type\": \"boolean\",\n \"description\": \"\",\n \"reference_type\": \"\",\n \"validation\": {\n \"key_0\": 2672\n },\n \"default_format\": \"\",\n \"default_value\": \"\",\n \"reference_number\": \"\",\n \"sensitive\": \"\",\n \"inline_option_creation\": \"\",\n \"template_id\": \"\",\n \"has_data\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\",\n \"discarded_at\": \"\"\n },\n \"relationships\": {\n \"account\": {\n \"data\": {\n \"type\": \"account\",\n \"id\": \"\"\n }\n },\n \"created_by\": {\n \"data\": {\n \"type\": \"user\",\n \"id\": \"\"\n }\n },\n \"options\": {\n \"data\": [\n {\n \"type\": \"custom_field_option\",\n \"id\": \"\"\n },\n {\n \"type\": \"custom_field_option\",\n \"id\": \"\"\n }\n ]\n }\n }\n },\n {\n \"id\": \"\",\n \"type\": \"custom_field_definition\",\n \"attributes\": {\n \"entity_type\": \"Cargo\",\n \"api_slug\": \"\",\n \"display_name\": \"\",\n \"data_type\": \"reference\",\n \"description\": \"\",\n \"reference_type\": \"\",\n \"validation\": {\n \"key_0\": 4741.240242605084,\n \"key_1\": 6009,\n \"key_2\": \"string\",\n \"key_3\": \"string\"\n },\n \"default_format\": \"\",\n \"default_value\": \"\",\n \"reference_number\": \"\",\n \"sensitive\": \"\",\n \"inline_option_creation\": \"\",\n \"template_id\": \"\",\n \"has_data\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\",\n \"discarded_at\": \"\"\n },\n \"relationships\": {\n \"account\": {\n \"data\": {\n \"type\": \"account\",\n \"id\": \"\"\n }\n },\n \"created_by\": {\n \"data\": {\n \"type\": \"user\",\n \"id\": \"\"\n }\n },\n \"options\": {\n \"data\": [\n {\n \"type\": \"custom_field_option\",\n \"id\": \"\"\n },\n {\n \"type\": \"custom_field_option\",\n \"id\": \"\"\n }\n ]\n }\n }\n }\n ],\n \"links\": {\n \"self\": \"\",\n \"current\": \"\",\n \"first\": \"\",\n \"prev\": \"\",\n \"next\": \"\",\n \"last\": \"\"\n }\n}", + "body": "{\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"custom_field_definition\",\n \"attributes\": {\n \"entity_type\": \"Cargo\",\n \"api_slug\": \"\",\n \"display_name\": \"\",\n \"data_type\": \"date\",\n \"description\": \"\",\n \"reference_type\": \"\",\n \"validation\": {\n \"key_0\": true,\n \"key_1\": 8027,\n \"key_2\": true,\n \"key_3\": true\n },\n \"default_format\": \"\",\n \"default_value\": \"\",\n \"reference_number\": \"\",\n \"sensitive\": \"\",\n \"inline_option_creation\": \"\",\n \"template_id\": \"\",\n \"has_data\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\",\n \"discarded_at\": \"\"\n },\n \"relationships\": {\n \"account\": {\n \"data\": {\n \"type\": \"account\",\n \"id\": \"\"\n }\n },\n \"created_by\": {\n \"data\": {\n \"type\": \"user\",\n \"id\": \"\"\n }\n },\n \"options\": {\n \"data\": [\n {\n \"type\": \"custom_field_option\",\n \"id\": \"\"\n },\n {\n \"type\": \"custom_field_option\",\n \"id\": \"\"\n }\n ]\n }\n }\n },\n {\n \"id\": \"\",\n \"type\": \"custom_field_definition\",\n \"attributes\": {\n \"entity_type\": \"Cargo\",\n \"api_slug\": \"\",\n \"display_name\": \"\",\n \"data_type\": \"boolean\",\n \"description\": \"\",\n \"reference_type\": \"\",\n \"validation\": {\n \"key_0\": 9675.79997148788,\n \"key_1\": 1138.605349330969,\n \"key_2\": false\n },\n \"default_format\": \"\",\n \"default_value\": \"\",\n \"reference_number\": \"\",\n \"sensitive\": \"\",\n \"inline_option_creation\": \"\",\n \"template_id\": \"\",\n \"has_data\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\",\n \"discarded_at\": \"\"\n },\n \"relationships\": {\n \"account\": {\n \"data\": {\n \"type\": \"account\",\n \"id\": \"\"\n }\n },\n \"created_by\": {\n \"data\": {\n \"type\": \"user\",\n \"id\": \"\"\n }\n },\n \"options\": {\n \"data\": [\n {\n \"type\": \"custom_field_option\",\n \"id\": \"\"\n },\n {\n \"type\": \"custom_field_option\",\n \"id\": \"\"\n }\n ]\n }\n }\n }\n ],\n \"links\": {\n \"self\": \"\",\n \"current\": \"\",\n \"first\": \"\",\n \"prev\": \"\",\n \"next\": \"\",\n \"last\": \"\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -8982,7 +8982,7 @@ } }, { - "id": "f04ec1f2-a4cb-485b-a22e-9f08bd73c69c", + "id": "aa26008f-5df3-4e0b-aca7-6e502a4e8c50", "name": "Create a custom field definition", "request": { "name": "Create a custom field definition", @@ -9026,7 +9026,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"data\": {\n \"type\": \"custom_field_definition\",\n \"attributes\": {\n \"entity_type\": \"Cargo\",\n \"api_slug\": \"\",\n \"display_name\": \"\",\n \"description\": \"\",\n \"data_type\": \"datetime\",\n \"reference_type\": \"\",\n \"validation\": {\n \"key_0\": \"string\",\n \"key_1\": \"string\"\n },\n \"default_format\": \"\",\n \"default_value\": \"\",\n \"template_id\": \"\",\n \"reference_number\": false,\n \"sensitive\": false,\n \"inline_option_creation\": false\n }\n }\n}", + "raw": "{\n \"data\": {\n \"type\": \"custom_field_definition\",\n \"attributes\": {\n \"entity_type\": \"Shipment\",\n \"api_slug\": \"\",\n \"display_name\": \"\",\n \"description\": \"\",\n \"data_type\": \"boolean\",\n \"reference_type\": \"\",\n \"validation\": {\n \"key_0\": 7026.456907739109,\n \"key_1\": \"string\"\n },\n \"default_format\": \"\",\n \"default_value\": \"\",\n \"template_id\": \"\",\n \"reference_number\": false,\n \"sensitive\": false,\n \"inline_option_creation\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", @@ -9038,7 +9038,7 @@ }, "response": [ { - "id": "d29c1aed-e88a-49bb-b289-53c65241ceb9", + "id": "ab459403-c818-4c65-aa50-8a8f3659750d", "name": "Created", "originalRequest": { "url": { @@ -9085,7 +9085,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"data\": {\n \"type\": \"custom_field_definition\",\n \"attributes\": {\n \"entity_type\": \"Cargo\",\n \"api_slug\": \"\",\n \"display_name\": \"\",\n \"description\": \"\",\n \"data_type\": \"datetime\",\n \"reference_type\": \"\",\n \"validation\": {\n \"key_0\": \"string\",\n \"key_1\": \"string\"\n },\n \"default_format\": \"\",\n \"default_value\": \"\",\n \"template_id\": \"\",\n \"reference_number\": false,\n \"sensitive\": false,\n \"inline_option_creation\": false\n }\n }\n}", + "raw": "{\n \"data\": {\n \"type\": \"custom_field_definition\",\n \"attributes\": {\n \"entity_type\": \"Shipment\",\n \"api_slug\": \"\",\n \"display_name\": \"\",\n \"description\": \"\",\n \"data_type\": \"boolean\",\n \"reference_type\": \"\",\n \"validation\": {\n \"key_0\": 7026.456907739109,\n \"key_1\": \"string\"\n },\n \"default_format\": \"\",\n \"default_value\": \"\",\n \"template_id\": \"\",\n \"reference_number\": false,\n \"sensitive\": false,\n \"inline_option_creation\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", @@ -9102,12 +9102,12 @@ "value": "application/json" } ], - "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"custom_field_definition\",\n \"attributes\": {\n \"entity_type\": \"Cargo\",\n \"api_slug\": \"\",\n \"display_name\": \"\",\n \"data_type\": \"enum\",\n \"description\": \"\",\n \"reference_type\": \"\",\n \"validation\": {\n \"key_0\": 9681\n },\n \"default_format\": \"\",\n \"default_value\": \"\",\n \"reference_number\": \"\",\n \"sensitive\": \"\",\n \"inline_option_creation\": \"\",\n \"template_id\": \"\",\n \"has_data\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\",\n \"discarded_at\": \"\"\n },\n \"relationships\": {\n \"account\": {\n \"data\": {\n \"type\": \"account\",\n \"id\": \"\"\n }\n },\n \"created_by\": {\n \"data\": {\n \"type\": \"user\",\n \"id\": \"\"\n }\n },\n \"options\": {\n \"data\": [\n {\n \"type\": \"custom_field_option\",\n \"id\": \"\"\n },\n {\n \"type\": \"custom_field_option\",\n \"id\": \"\"\n }\n ]\n }\n }\n },\n \"links\": {\n \"self\": \"\"\n }\n}", + "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"custom_field_definition\",\n \"attributes\": {\n \"entity_type\": \"Shipment\",\n \"api_slug\": \"\",\n \"display_name\": \"\",\n \"data_type\": \"enum_multi\",\n \"description\": \"\",\n \"reference_type\": \"\",\n \"validation\": {\n \"key_0\": true,\n \"key_1\": 2702.2754249795134\n },\n \"default_format\": \"\",\n \"default_value\": \"\",\n \"reference_number\": \"\",\n \"sensitive\": \"\",\n \"inline_option_creation\": \"\",\n \"template_id\": \"\",\n \"has_data\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\",\n \"discarded_at\": \"\"\n },\n \"relationships\": {\n \"account\": {\n \"data\": {\n \"type\": \"account\",\n \"id\": \"\"\n }\n },\n \"created_by\": {\n \"data\": {\n \"type\": \"user\",\n \"id\": \"\"\n }\n },\n \"options\": {\n \"data\": [\n {\n \"type\": \"custom_field_option\",\n \"id\": \"\"\n },\n {\n \"type\": \"custom_field_option\",\n \"id\": \"\"\n }\n ]\n }\n }\n },\n \"links\": {\n \"self\": \"\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "1764740a-3651-40e2-8da8-613604c135a6", + "id": "023c9388-4663-4d32-9acd-9dcac1abea68", "name": "`template_id` does not match a Terminal49 template.", "originalRequest": { "url": { @@ -9154,7 +9154,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"data\": {\n \"type\": \"custom_field_definition\",\n \"attributes\": {\n \"entity_type\": \"Cargo\",\n \"api_slug\": \"\",\n \"display_name\": \"\",\n \"description\": \"\",\n \"data_type\": \"datetime\",\n \"reference_type\": \"\",\n \"validation\": {\n \"key_0\": \"string\",\n \"key_1\": \"string\"\n },\n \"default_format\": \"\",\n \"default_value\": \"\",\n \"template_id\": \"\",\n \"reference_number\": false,\n \"sensitive\": false,\n \"inline_option_creation\": false\n }\n }\n}", + "raw": "{\n \"data\": {\n \"type\": \"custom_field_definition\",\n \"attributes\": {\n \"entity_type\": \"Shipment\",\n \"api_slug\": \"\",\n \"display_name\": \"\",\n \"description\": \"\",\n \"data_type\": \"boolean\",\n \"reference_type\": \"\",\n \"validation\": {\n \"key_0\": 7026.456907739109,\n \"key_1\": \"string\"\n },\n \"default_format\": \"\",\n \"default_value\": \"\",\n \"template_id\": \"\",\n \"reference_number\": false,\n \"sensitive\": false,\n \"inline_option_creation\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", @@ -9171,12 +9171,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "db41c9df-cb80-47e1-a1cf-7dca97c8b026", + "id": "f7f60c03-cb2d-4495-b4b6-4a92b7f4538b", "name": "Unprocessable Entity", "originalRequest": { "url": { @@ -9223,7 +9223,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"data\": {\n \"type\": \"custom_field_definition\",\n \"attributes\": {\n \"entity_type\": \"Cargo\",\n \"api_slug\": \"\",\n \"display_name\": \"\",\n \"description\": \"\",\n \"data_type\": \"datetime\",\n \"reference_type\": \"\",\n \"validation\": {\n \"key_0\": \"string\",\n \"key_1\": \"string\"\n },\n \"default_format\": \"\",\n \"default_value\": \"\",\n \"template_id\": \"\",\n \"reference_number\": false,\n \"sensitive\": false,\n \"inline_option_creation\": false\n }\n }\n}", + "raw": "{\n \"data\": {\n \"type\": \"custom_field_definition\",\n \"attributes\": {\n \"entity_type\": \"Shipment\",\n \"api_slug\": \"\",\n \"display_name\": \"\",\n \"description\": \"\",\n \"data_type\": \"boolean\",\n \"reference_type\": \"\",\n \"validation\": {\n \"key_0\": 7026.456907739109,\n \"key_1\": \"string\"\n },\n \"default_format\": \"\",\n \"default_value\": \"\",\n \"template_id\": \"\",\n \"reference_number\": false,\n \"sensitive\": false,\n \"inline_option_creation\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", @@ -9240,7 +9240,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -9257,7 +9257,7 @@ "description": "", "item": [ { - "id": "9955faa8-95c5-44f6-b410-0195cd0b16d0", + "id": "f9bf7ab5-bb09-47a9-9759-5d9df52406d4", "name": "List custom field options", "request": { "name": "List custom field options", @@ -9300,7 +9300,7 @@ }, "response": [ { - "id": "bf3fc26e-b04d-4067-8e2a-b2eb3fd7bea7", + "id": "826290de-6391-4418-a0d6-7adc4524d6c5", "name": "OK", "originalRequest": { "url": { @@ -9356,7 +9356,7 @@ "_postman_previewlanguage": "json" }, { - "id": "1c9107ce-6083-4a49-8dfb-aab75d86ba65", + "id": "66d8d516-be14-46c3-bb52-acb8ab051e01", "name": "Not Found", "originalRequest": { "url": { @@ -9407,7 +9407,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -9418,7 +9418,7 @@ } }, { - "id": "263f905f-ada0-4bfe-b3ef-d7631d2bfcbc", + "id": "24fe65c0-64a4-4450-be02-3f6141972f71", "name": "Create a custom field option", "request": { "name": "Create a custom field option", @@ -9471,7 +9471,7 @@ }, "response": [ { - "id": "40dba53d-02cc-409b-98bf-c43d4e0a81ee", + "id": "0047f122-92ef-4dd0-b823-dd1cdc886053", "name": "Created", "originalRequest": { "url": { @@ -9540,7 +9540,7 @@ "_postman_previewlanguage": "json" }, { - "id": "ebea85fd-9748-404f-952f-52d24a3bd96a", + "id": "6d7ac1a2-b4a7-4e7e-adc4-f28d660c88ab", "name": "Unauthorized. The API token is missing or invalid, or the account may not perform this action.", "originalRequest": { "url": { @@ -9604,12 +9604,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "198bb57c-5f11-4c3a-a1ef-cfd06bcb2504", + "id": "285d6b13-5398-480e-892e-e522dcf4d1d1", "name": "Not Found", "originalRequest": { "url": { @@ -9673,12 +9673,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "ca7848ba-3a3b-4364-aacb-c242aae13678", + "id": "5eeba909-3f39-4e34-9350-5a1b9c359507", "name": "Unprocessable Entity", "originalRequest": { "url": { @@ -9742,7 +9742,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -9753,7 +9753,7 @@ } }, { - "id": "0faed222-95be-4d35-9130-cf17fc16d866", + "id": "ed13b8ad-ade6-4312-9dbc-120880605387", "name": "Get a custom field option", "request": { "name": "Get a custom field option", @@ -9804,7 +9804,7 @@ }, "response": [ { - "id": "9c923aaa-c5c4-4d20-a516-0073da8b55a5", + "id": "f0f4b181-3d65-423e-89e3-a31a21e2f0af", "name": "OK", "originalRequest": { "url": { @@ -9871,7 +9871,7 @@ "_postman_previewlanguage": "json" }, { - "id": "d5065b5e-b8c5-44a0-ba5d-45979bb50727", + "id": "85e04193-2984-4062-ba7d-d7cd0ff858f5", "name": "Unauthorized. The API token is missing or invalid, or the account may not perform this action.", "originalRequest": { "url": { @@ -9933,12 +9933,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "89cebbf9-0641-45aa-ba82-aca0bc877479", + "id": "b7fcabc8-13b5-430d-ad71-ed6d27ae0bf5", "name": "Not Found", "originalRequest": { "url": { @@ -10000,7 +10000,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -10011,7 +10011,7 @@ } }, { - "id": "a844ce53-ab38-49c3-b1a9-b6cdebb20975", + "id": "7855c059-e7d1-4782-bc72-bd9fde757acb", "name": "Update a custom field option", "request": { "name": "Update a custom field option", @@ -10075,7 +10075,7 @@ }, "response": [ { - "id": "c6e5f754-9cb5-4bde-b53b-95398880df85", + "id": "8822eca3-1384-4ce1-a55d-e2e09572a317", "name": "OK", "originalRequest": { "url": { @@ -10155,7 +10155,7 @@ "_postman_previewlanguage": "json" }, { - "id": "824592a4-9ef9-4c28-9d57-2f97cbca3694", + "id": "d085ad77-3beb-4f04-89c8-237b8fcef017", "name": "Unauthorized. The API token is missing or invalid, or the account may not perform this action.", "originalRequest": { "url": { @@ -10230,12 +10230,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "b3ef2a54-f082-4988-8c1a-1ea4fbee4763", + "id": "f893c3c8-0ae3-4c83-b873-0a85d9ad3d59", "name": "Not Found", "originalRequest": { "url": { @@ -10310,12 +10310,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "58d89541-97b2-437c-b974-31dcabe891e9", + "id": "6a837338-8e13-48d5-910c-dd2bd470995b", "name": "Unprocessable Entity", "originalRequest": { "url": { @@ -10390,7 +10390,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -10401,7 +10401,7 @@ } }, { - "id": "79524fd1-ca27-43c1-9c3a-febb227ab17b", + "id": "3bb3de2f-414c-48a9-a77b-d3670d85b147", "name": "Delete a custom field option", "request": { "name": "Delete a custom field option", @@ -10452,7 +10452,7 @@ }, "response": [ { - "id": "81242387-3370-492f-a1ee-9b6dd7f357f8", + "id": "eae22d10-06ea-46c2-97ec-ea2869909f3f", "name": "No Content", "originalRequest": { "url": { @@ -10509,7 +10509,7 @@ "_postman_previewlanguage": "text" }, { - "id": "ac9149c5-7e6b-4ed1-8ec3-8c587e228956", + "id": "30010634-6908-4788-896f-ea3e05d13c8d", "name": "Unauthorized. The API token is missing or invalid, or the account may not perform this action.", "originalRequest": { "url": { @@ -10571,12 +10571,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "b9e15d56-a459-47d2-8dd2-60694cfd0b6b", + "id": "60930337-f53a-4541-86e3-98397528c140", "name": "Not Found", "originalRequest": { "url": { @@ -10638,7 +10638,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -10655,7 +10655,7 @@ "description": "", "item": [ { - "id": "ccab2af6-f66e-401e-8e61-6f335973c063", + "id": "a2a77516-8722-4a1f-b103-2603cc543d5d", "name": "List custom fields", "request": { "name": "List custom fields", @@ -10678,7 +10678,7 @@ "type": "text/plain" }, "key": "filter[entity_type]", - "value": "Cargo" + "value": "Shipment" }, { "disabled": true, @@ -10713,7 +10713,7 @@ }, "response": [ { - "id": "26504af5-0563-4e63-bbf3-ce60a9dd7411", + "id": "dfd1cfe0-e5ea-4481-8731-20fbea1783f9", "name": "OK", "originalRequest": { "url": { @@ -10731,7 +10731,7 @@ "type": "text/plain" }, "key": "filter[entity_type]", - "value": "Cargo" + "value": "Shipment" }, { "disabled": true, @@ -10779,7 +10779,7 @@ "value": "application/json" } ], - "body": "{\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"custom_field\",\n \"attributes\": {\n \"api_slug\": \"\",\n \"value\": \"\",\n \"display_value\": \"\"\n },\n \"relationships\": {\n \"entity\": {\n \"data\": {\n \"type\": \"tracking_request\",\n \"id\": \"\"\n }\n },\n \"definition\": {\n \"data\": {\n \"type\": \"custom_field_definition\",\n \"id\": \"\"\n }\n }\n }\n },\n {\n \"id\": \"\",\n \"type\": \"custom_field\",\n \"attributes\": {\n \"api_slug\": \"\",\n \"value\": \"\",\n \"display_value\": \"\"\n },\n \"relationships\": {\n \"entity\": {\n \"data\": {\n \"type\": \"shipment\",\n \"id\": \"\"\n }\n },\n \"definition\": {\n \"data\": {\n \"type\": \"custom_field_definition\",\n \"id\": \"\"\n }\n }\n }\n }\n ],\n \"links\": {\n \"self\": \"\",\n \"current\": \"\",\n \"first\": \"\",\n \"prev\": \"\",\n \"next\": \"\",\n \"last\": \"\"\n }\n}", + "body": "{\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"custom_field\",\n \"attributes\": {\n \"api_slug\": \"\",\n \"value\": \"\",\n \"display_value\": \"\"\n },\n \"relationships\": {\n \"entity\": {\n \"data\": {\n \"type\": \"tracking_request\",\n \"id\": \"\"\n }\n },\n \"definition\": {\n \"data\": {\n \"type\": \"custom_field_definition\",\n \"id\": \"\"\n }\n }\n }\n },\n {\n \"id\": \"\",\n \"type\": \"custom_field\",\n \"attributes\": {\n \"api_slug\": \"\",\n \"value\": \"\",\n \"display_value\": \"\"\n },\n \"relationships\": {\n \"entity\": {\n \"data\": {\n \"type\": \"container\",\n \"id\": \"\"\n }\n },\n \"definition\": {\n \"data\": {\n \"type\": \"custom_field_definition\",\n \"id\": \"\"\n }\n }\n }\n }\n ],\n \"links\": {\n \"self\": \"\",\n \"current\": \"\",\n \"first\": \"\",\n \"prev\": \"\",\n \"next\": \"\",\n \"last\": \"\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -10790,7 +10790,7 @@ } }, { - "id": "ab60ac1c-05b6-4754-9957-c8bf98d36798", + "id": "8e17f9f0-2d7f-4897-a674-1d5df7610274", "name": "Create a custom field", "request": { "name": "Create a custom field", @@ -10818,7 +10818,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"data\": {\n \"type\": \"custom_field\",\n \"attributes\": {\n \"api_slug\": \"\",\n \"value\": \"\"\n },\n \"relationships\": {\n \"entity\": {\n \"data\": {\n \"type\": \"container\",\n \"id\": \"\"\n }\n }\n }\n }\n}", + "raw": "{\n \"data\": {\n \"type\": \"custom_field\",\n \"attributes\": {\n \"api_slug\": \"\",\n \"value\": \"\"\n },\n \"relationships\": {\n \"entity\": {\n \"data\": {\n \"type\": \"shipment\",\n \"id\": \"\"\n }\n }\n }\n }\n}", "options": { "raw": { "headerFamily": "json", @@ -10830,7 +10830,7 @@ }, "response": [ { - "id": "0c6725a3-6132-4f78-9eef-88a988125541", + "id": "bb9a82a2-1702-4a07-b854-93b2372a676b", "name": "Created", "originalRequest": { "url": { @@ -10864,7 +10864,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"data\": {\n \"type\": \"custom_field\",\n \"attributes\": {\n \"api_slug\": \"\",\n \"value\": \"\"\n },\n \"relationships\": {\n \"entity\": {\n \"data\": {\n \"type\": \"container\",\n \"id\": \"\"\n }\n }\n }\n }\n}", + "raw": "{\n \"data\": {\n \"type\": \"custom_field\",\n \"attributes\": {\n \"api_slug\": \"\",\n \"value\": \"\"\n },\n \"relationships\": {\n \"entity\": {\n \"data\": {\n \"type\": \"shipment\",\n \"id\": \"\"\n }\n }\n }\n }\n}", "options": { "raw": { "headerFamily": "json", @@ -10881,12 +10881,12 @@ "value": "application/json" } ], - "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"custom_field\",\n \"attributes\": {\n \"api_slug\": \"\",\n \"value\": \"\",\n \"display_value\": \"\"\n },\n \"relationships\": {\n \"entity\": {\n \"data\": {\n \"type\": \"container\",\n \"id\": \"\"\n }\n },\n \"definition\": {\n \"data\": {\n \"type\": \"custom_field_definition\",\n \"id\": \"\"\n }\n }\n }\n },\n \"links\": {\n \"self\": \"\"\n }\n}", + "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"custom_field\",\n \"attributes\": {\n \"api_slug\": \"\",\n \"value\": \"\",\n \"display_value\": \"\"\n },\n \"relationships\": {\n \"entity\": {\n \"data\": {\n \"type\": \"shipment\",\n \"id\": \"\"\n }\n },\n \"definition\": {\n \"data\": {\n \"type\": \"custom_field_definition\",\n \"id\": \"\"\n }\n }\n }\n },\n \"links\": {\n \"self\": \"\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "85653a27-476a-4999-8bfe-089baaff38ef", + "id": "352478f5-5986-4381-bf97-63258bc8966e", "name": "Not Found", "originalRequest": { "url": { @@ -10920,7 +10920,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"data\": {\n \"type\": \"custom_field\",\n \"attributes\": {\n \"api_slug\": \"\",\n \"value\": \"\"\n },\n \"relationships\": {\n \"entity\": {\n \"data\": {\n \"type\": \"container\",\n \"id\": \"\"\n }\n }\n }\n }\n}", + "raw": "{\n \"data\": {\n \"type\": \"custom_field\",\n \"attributes\": {\n \"api_slug\": \"\",\n \"value\": \"\"\n },\n \"relationships\": {\n \"entity\": {\n \"data\": {\n \"type\": \"shipment\",\n \"id\": \"\"\n }\n }\n }\n }\n}", "options": { "raw": { "headerFamily": "json", @@ -10937,12 +10937,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "1cbf775c-a98a-4c55-80d5-4fd0e481941b", + "id": "244592b1-4633-4b10-8636-d5be1bb8bda3", "name": "Unprocessable Entity", "originalRequest": { "url": { @@ -10976,7 +10976,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"data\": {\n \"type\": \"custom_field\",\n \"attributes\": {\n \"api_slug\": \"\",\n \"value\": \"\"\n },\n \"relationships\": {\n \"entity\": {\n \"data\": {\n \"type\": \"container\",\n \"id\": \"\"\n }\n }\n }\n }\n}", + "raw": "{\n \"data\": {\n \"type\": \"custom_field\",\n \"attributes\": {\n \"api_slug\": \"\",\n \"value\": \"\"\n },\n \"relationships\": {\n \"entity\": {\n \"data\": {\n \"type\": \"shipment\",\n \"id\": \"\"\n }\n }\n }\n }\n}", "options": { "raw": { "headerFamily": "json", @@ -10993,7 +10993,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -11004,7 +11004,7 @@ } }, { - "id": "8ce7f592-c8cd-4a7a-96c8-dcd7230876d9", + "id": "05504204-e74a-4c5e-bcae-04491b65b7ee", "name": "Get a custom field", "request": { "name": "Get a custom field", @@ -11043,7 +11043,7 @@ }, "response": [ { - "id": "6bbf847c-2785-47fb-a095-65f77548f9ad", + "id": "8fc3df33-4cf2-4109-bcd5-c8b875595ebb", "name": "OK", "originalRequest": { "url": { @@ -11093,12 +11093,12 @@ "value": "application/json" } ], - "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"custom_field\",\n \"attributes\": {\n \"api_slug\": \"\",\n \"value\": \"\",\n \"display_value\": \"\"\n },\n \"relationships\": {\n \"entity\": {\n \"data\": {\n \"type\": \"container\",\n \"id\": \"\"\n }\n },\n \"definition\": {\n \"data\": {\n \"type\": \"custom_field_definition\",\n \"id\": \"\"\n }\n }\n }\n },\n \"links\": {\n \"self\": \"\"\n }\n}", + "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"custom_field\",\n \"attributes\": {\n \"api_slug\": \"\",\n \"value\": \"\",\n \"display_value\": \"\"\n },\n \"relationships\": {\n \"entity\": {\n \"data\": {\n \"type\": \"shipment\",\n \"id\": \"\"\n }\n },\n \"definition\": {\n \"data\": {\n \"type\": \"custom_field_definition\",\n \"id\": \"\"\n }\n }\n }\n },\n \"links\": {\n \"self\": \"\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "3dc39a9e-17b7-4b34-9302-37b9f799c3d8", + "id": "0b020059-ffb2-4ecf-a238-f14f0531ee7e", "name": "Not Found", "originalRequest": { "url": { @@ -11148,7 +11148,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -11159,7 +11159,7 @@ } }, { - "id": "0512bae4-aeb4-4f58-9842-31103a1bc787", + "id": "4a2394b5-f009-4484-be76-6e8e15578d2c", "name": "Update a custom field", "request": { "name": "Update a custom field", @@ -11211,7 +11211,7 @@ }, "response": [ { - "id": "f4b40db8-ee92-471c-9e6e-e53df921c6b3", + "id": "5a88659c-ff0c-4d20-aa6b-e4af655e15e6", "name": "OK", "originalRequest": { "url": { @@ -11274,12 +11274,12 @@ "value": "application/json" } ], - "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"custom_field\",\n \"attributes\": {\n \"api_slug\": \"\",\n \"value\": \"\",\n \"display_value\": \"\"\n },\n \"relationships\": {\n \"entity\": {\n \"data\": {\n \"type\": \"container\",\n \"id\": \"\"\n }\n },\n \"definition\": {\n \"data\": {\n \"type\": \"custom_field_definition\",\n \"id\": \"\"\n }\n }\n }\n },\n \"links\": {\n \"self\": \"\"\n }\n}", + "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"custom_field\",\n \"attributes\": {\n \"api_slug\": \"\",\n \"value\": \"\",\n \"display_value\": \"\"\n },\n \"relationships\": {\n \"entity\": {\n \"data\": {\n \"type\": \"shipment\",\n \"id\": \"\"\n }\n },\n \"definition\": {\n \"data\": {\n \"type\": \"custom_field_definition\",\n \"id\": \"\"\n }\n }\n }\n },\n \"links\": {\n \"self\": \"\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "548674ef-d390-4830-9f6f-eabc6099fcdb", + "id": "47394446-a70d-4148-8244-0bce16129df5", "name": "Unauthorized. The API token is missing or invalid, or the account may not perform this action.", "originalRequest": { "url": { @@ -11342,12 +11342,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "55d33b6e-cc88-4992-9a85-12387d1028ae", + "id": "ea28ed80-d541-48b5-a51f-e2177c847a17", "name": "Not Found", "originalRequest": { "url": { @@ -11410,12 +11410,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "452f2cd6-221d-442b-b6a6-b6f1267f666d", + "id": "ffbdacea-689f-4f5d-9bd6-2a527b22e090", "name": "Unprocessable Entity", "originalRequest": { "url": { @@ -11478,7 +11478,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -11489,7 +11489,7 @@ } }, { - "id": "e06f4ea2-e3d1-436e-ac7d-44302da61531", + "id": "164752db-4a7d-4214-a933-e5a6434995f7", "name": "Delete a custom field", "request": { "name": "Delete a custom field", @@ -11528,7 +11528,7 @@ }, "response": [ { - "id": "371cd563-b214-4df6-ae71-9a72f2432af8", + "id": "32df7229-7e15-4ee1-a648-3bf6c4b6cdd9", "name": "No Content", "originalRequest": { "url": { @@ -11573,7 +11573,7 @@ "_postman_previewlanguage": "text" }, { - "id": "7264ce80-73dc-435b-9da0-1102ec2a840e", + "id": "d7da92d5-db4f-447d-9f42-38c5a3f25b3a", "name": "Unauthorized. The API token is missing or invalid, or the account may not perform this action.", "originalRequest": { "url": { @@ -11623,12 +11623,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "0596f2f2-6082-43c7-9cec-81dbeb24ac1c", + "id": "e60ce7aa-d565-4000-8f6a-e7e751681ee6", "name": "Not Found", "originalRequest": { "url": { @@ -11678,7 +11678,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -11695,7 +11695,7 @@ "description": "", "item": [ { - "id": "1bd4d719-f66d-4974-b511-dd206acbfcaa", + "id": "ec7480cf-4a76-47b9-be9d-9e378b69dc11", "name": "List shipments", "request": { "name": "List shipments", @@ -12069,7 +12069,7 @@ "type": "text/plain" }, "key": "filter[party_id][operator]", - "value": "any" + "value": "all" }, { "disabled": true, @@ -12167,7 +12167,7 @@ }, "response": [ { - "id": "1a469d44-ce8f-49c4-ba41-c0a937e90dd8", + "id": "e9426f42-8827-418b-9613-dc41dff9750c", "name": "OK", "originalRequest": { "url": { @@ -12536,7 +12536,7 @@ "type": "text/plain" }, "key": "filter[party_id][operator]", - "value": "any" + "value": "all" }, { "disabled": true, @@ -12620,12 +12620,12 @@ "value": "application/json" } ], - "body": "{\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"shipment\",\n \"attributes\": {\n \"bill_of_lading_number\": \"\",\n \"normalized_number\": \"\",\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"created_at\": \"\",\n \"tags\": [\n \"\",\n \"\"\n ],\n \"port_of_lading_locode\": \"\",\n \"port_of_lading_name\": \"\",\n \"port_of_discharge_locode\": \"\",\n \"port_of_discharge_name\": \"\",\n \"destination_locode\": \"\",\n \"destination_name\": \"\",\n \"shipping_line_scac\": \"\",\n \"shipping_line_name\": \"\",\n \"shipping_line_short_name\": \"\",\n \"customer_name\": \"\",\n \"pod_vessel_name\": \"\",\n \"pod_vessel_imo\": \"\",\n \"pod_voyage_number\": \"\",\n \"pol_etd_at\": \"\",\n \"pol_atd_at\": \"\",\n \"pod_eta_at\": \"\",\n \"pod_original_eta_at\": \"\",\n \"pod_ata_at\": \"\",\n \"destination_eta_at\": \"\",\n \"destination_ata_at\": \"\",\n \"pol_timezone\": \"\",\n \"pod_timezone\": \"\",\n \"destination_timezone\": \"\",\n \"line_tracking_last_attempted_at\": \"\",\n \"line_tracking_last_succeeded_at\": \"\",\n \"line_tracking_stopped_at\": \"\",\n \"line_tracking_stopped_reason\": \"no_updates_at_line\"\n },\n \"relationships\": {\n \"destination\": {\n \"data\": {\n \"type\": \"metro_area\",\n \"id\": \"\"\n }\n },\n \"port_of_lading\": {\n \"data\": {\n \"type\": \"port\",\n \"id\": \"\"\n }\n },\n \"containers\": {\n \"data\": [\n {\n \"type\": \"container\",\n \"id\": \"\"\n },\n {\n \"type\": \"container\",\n \"id\": \"\"\n }\n ]\n },\n \"port_of_discharge\": {\n \"data\": {\n \"type\": \"port\",\n \"id\": \"\"\n }\n },\n \"pod_terminal\": {\n \"data\": {\n \"type\": \"terminal\",\n \"id\": \"\"\n }\n },\n \"destination_terminal\": {\n \"data\": {\n \"type\": \"terminal\",\n \"id\": \"\"\n }\n },\n \"line_tracking_stopped_by_user\": {\n \"data\": {\n \"type\": \"user\",\n \"id\": \"\"\n }\n }\n },\n \"links\": {\n \"self\": \"\"\n }\n },\n {\n \"id\": \"\",\n \"type\": \"shipment\",\n \"attributes\": {\n \"bill_of_lading_number\": \"\",\n \"normalized_number\": \"\",\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"created_at\": \"\",\n \"tags\": [\n \"\",\n \"\"\n ],\n \"port_of_lading_locode\": \"\",\n \"port_of_lading_name\": \"\",\n \"port_of_discharge_locode\": \"\",\n \"port_of_discharge_name\": \"\",\n \"destination_locode\": \"\",\n \"destination_name\": \"\",\n \"shipping_line_scac\": \"\",\n \"shipping_line_name\": \"\",\n \"shipping_line_short_name\": \"\",\n \"customer_name\": \"\",\n \"pod_vessel_name\": \"\",\n \"pod_vessel_imo\": \"\",\n \"pod_voyage_number\": \"\",\n \"pol_etd_at\": \"\",\n \"pol_atd_at\": \"\",\n \"pod_eta_at\": \"\",\n \"pod_original_eta_at\": \"\",\n \"pod_ata_at\": \"\",\n \"destination_eta_at\": \"\",\n \"destination_ata_at\": \"\",\n \"pol_timezone\": \"\",\n \"pod_timezone\": \"\",\n \"destination_timezone\": \"\",\n \"line_tracking_last_attempted_at\": \"\",\n \"line_tracking_last_succeeded_at\": \"\",\n \"line_tracking_stopped_at\": \"\",\n \"line_tracking_stopped_reason\": \"cancelled_by_user\"\n },\n \"relationships\": {\n \"destination\": {\n \"data\": {\n \"type\": \"metro_area\",\n \"id\": \"\"\n }\n },\n \"port_of_lading\": {\n \"data\": {\n \"type\": \"port\",\n \"id\": \"\"\n }\n },\n \"containers\": {\n \"data\": [\n {\n \"type\": \"container\",\n \"id\": \"\"\n },\n {\n \"type\": \"container\",\n \"id\": \"\"\n }\n ]\n },\n \"port_of_discharge\": {\n \"data\": {\n \"type\": \"port\",\n \"id\": \"\"\n }\n },\n \"pod_terminal\": {\n \"data\": {\n \"type\": \"terminal\",\n \"id\": \"\"\n }\n },\n \"destination_terminal\": {\n \"data\": {\n \"type\": \"rail_terminal\",\n \"id\": \"\"\n }\n },\n \"line_tracking_stopped_by_user\": {\n \"data\": {\n \"type\": \"user\",\n \"id\": \"\"\n }\n }\n },\n \"links\": {\n \"self\": \"\"\n }\n }\n ],\n \"included\": [\n {\n \"id\": \"\",\n \"type\": \"container\",\n \"attributes\": {\n \"number\": \"\",\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"equipment_type\": \"tank\",\n \"equipment_length\": 20,\n \"equipment_height\": \"high_cube\",\n \"weight_in_lbs\": \"\",\n \"created_at\": \"\",\n \"seal_number\": \"\",\n \"pickup_lfd\": \"\",\n \"pickup_appointment_at\": \"\",\n \"availability_known\": \"\",\n \"available_for_pickup\": \"\",\n \"pod_arrived_at\": \"\",\n \"pod_discharged_at\": \"\",\n \"pod_full_out_at\": \"\",\n \"terminal_checked_at\": \"\",\n \"pod_full_out_chassis_number\": \"\",\n \"location_at_pod_terminal\": \"\",\n \"final_destination_full_out_at\": \"\",\n \"empty_terminated_at\": \"\",\n \"holds_at_pod_terminal\": [\n {\n \"name\": \"\",\n \"status\": \"hold\",\n \"description\": \"\"\n },\n {\n \"name\": \"\",\n \"status\": \"hold\",\n \"description\": \"\"\n }\n ],\n \"fees_at_pod_terminal\": [\n {\n \"type\": \"demurrage\",\n \"amount\": \"\",\n \"currency_code\": \"\"\n },\n {\n \"type\": \"exam\",\n \"amount\": \"\",\n \"currency_code\": \"\"\n }\n ],\n \"pod_timezone\": \"\",\n \"final_destination_timezone\": \"\",\n \"empty_terminated_timezone\": \"\",\n \"pod_rail_carrier_scac\": \"\",\n \"ind_rail_carrier_scac\": \"\",\n \"pod_last_tracking_request_at\": \"\",\n \"shipment_last_tracking_request_at\": \"\",\n \"pod_rail_loaded_at\": \"\",\n \"pod_rail_departed_at\": \"\",\n \"ind_eta_at\": \"\",\n \"ind_ata_at\": \"\",\n \"ind_rail_unloaded_at\": \"\",\n \"ind_facility_lfd_on\": \"\",\n \"import_deadlines\": {\n \"pickup_lfd_terminal\": \"\",\n \"pickup_lfd_rail\": \"\",\n \"pickup_lfd_line\": \"\"\n },\n \"current_status\": \"picked_up\"\n },\n \"relationships\": {\n \"shipment\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"shipment\"\n }\n },\n \"pickup_facility\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"terminal\"\n }\n },\n \"pod_terminal\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"terminal\"\n }\n },\n \"transport_events\": {\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"transport_event\"\n },\n {\n \"id\": \"\",\n \"type\": \"transport_event\"\n }\n ]\n },\n \"raw_events\": {\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"raw_event\"\n },\n {\n \"id\": \"\",\n \"type\": \"raw_event\"\n }\n ]\n }\n }\n },\n {\n \"id\": \"\",\n \"type\": \"container\",\n \"attributes\": {\n \"number\": \"\",\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"equipment_type\": \"open top\",\n \"equipment_length\": 20,\n \"equipment_height\": \"standard\",\n \"weight_in_lbs\": \"\",\n \"created_at\": \"\",\n \"seal_number\": \"\",\n \"pickup_lfd\": \"\",\n \"pickup_appointment_at\": \"\",\n \"availability_known\": \"\",\n \"available_for_pickup\": \"\",\n \"pod_arrived_at\": \"\",\n \"pod_discharged_at\": \"\",\n \"pod_full_out_at\": \"\",\n \"terminal_checked_at\": \"\",\n \"pod_full_out_chassis_number\": \"\",\n \"location_at_pod_terminal\": \"\",\n \"final_destination_full_out_at\": \"\",\n \"empty_terminated_at\": \"\",\n \"holds_at_pod_terminal\": [\n {\n \"name\": \"\",\n \"status\": \"hold\",\n \"description\": \"\"\n },\n {\n \"name\": \"\",\n \"status\": \"pending\",\n \"description\": \"\"\n }\n ],\n \"fees_at_pod_terminal\": [\n {\n \"type\": \"demurrage\",\n \"amount\": \"\",\n \"currency_code\": \"\"\n },\n {\n \"type\": \"other\",\n \"amount\": \"\",\n \"currency_code\": \"\"\n }\n ],\n \"pod_timezone\": \"\",\n \"final_destination_timezone\": \"\",\n \"empty_terminated_timezone\": \"\",\n \"pod_rail_carrier_scac\": \"\",\n \"ind_rail_carrier_scac\": \"\",\n \"pod_last_tracking_request_at\": \"\",\n \"shipment_last_tracking_request_at\": \"\",\n \"pod_rail_loaded_at\": \"\",\n \"pod_rail_departed_at\": \"\",\n \"ind_eta_at\": \"\",\n \"ind_ata_at\": \"\",\n \"ind_rail_unloaded_at\": \"\",\n \"ind_facility_lfd_on\": \"\",\n \"import_deadlines\": {\n \"pickup_lfd_terminal\": \"\",\n \"pickup_lfd_rail\": \"\",\n \"pickup_lfd_line\": \"\"\n },\n \"current_status\": \"empty_returned\"\n },\n \"relationships\": {\n \"shipment\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"shipment\"\n }\n },\n \"pickup_facility\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"terminal\"\n }\n },\n \"pod_terminal\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"terminal\"\n }\n },\n \"transport_events\": {\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"transport_event\"\n },\n {\n \"id\": \"\",\n \"type\": \"transport_event\"\n }\n ]\n },\n \"raw_events\": {\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"raw_event\"\n },\n {\n \"id\": \"\",\n \"type\": \"raw_event\"\n }\n ]\n }\n }\n }\n ],\n \"links\": {\n \"self\": \"\",\n \"current\": \"\",\n \"first\": \"\",\n \"prev\": \"\",\n \"next\": \"\",\n \"last\": \"\"\n },\n \"meta\": {\n \"size\": \"\",\n \"total\": \"\"\n }\n}", + "body": "{\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"shipment\",\n \"attributes\": {\n \"bill_of_lading_number\": \"\",\n \"normalized_number\": \"\",\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"created_at\": \"\",\n \"tags\": [\n \"\",\n \"\"\n ],\n \"port_of_lading_locode\": \"\",\n \"port_of_lading_name\": \"\",\n \"port_of_discharge_locode\": \"\",\n \"port_of_discharge_name\": \"\",\n \"destination_locode\": \"\",\n \"destination_name\": \"\",\n \"shipping_line_scac\": \"\",\n \"shipping_line_name\": \"\",\n \"shipping_line_short_name\": \"\",\n \"customer_name\": \"\",\n \"pod_vessel_name\": \"\",\n \"pod_vessel_imo\": \"\",\n \"pod_voyage_number\": \"\",\n \"pol_etd_at\": \"\",\n \"pol_atd_at\": \"\",\n \"pod_eta_at\": \"\",\n \"pod_original_eta_at\": \"\",\n \"pod_ata_at\": \"\",\n \"destination_eta_at\": \"\",\n \"destination_ata_at\": \"\",\n \"pol_timezone\": \"\",\n \"pod_timezone\": \"\",\n \"destination_timezone\": \"\",\n \"line_tracking_last_attempted_at\": \"\",\n \"line_tracking_last_succeeded_at\": \"\",\n \"line_tracking_stopped_at\": \"\",\n \"line_tracking_stopped_reason\": \"no_updates_at_line\"\n },\n \"relationships\": {\n \"destination\": {\n \"data\": {\n \"type\": \"metro_area\",\n \"id\": \"\"\n }\n },\n \"port_of_lading\": {\n \"data\": {\n \"type\": \"port\",\n \"id\": \"\"\n }\n },\n \"containers\": {\n \"data\": [\n {\n \"type\": \"container\",\n \"id\": \"\"\n },\n {\n \"type\": \"container\",\n \"id\": \"\"\n }\n ]\n },\n \"port_of_discharge\": {\n \"data\": {\n \"type\": \"port\",\n \"id\": \"\"\n }\n },\n \"pod_terminal\": {\n \"data\": {\n \"type\": \"terminal\",\n \"id\": \"\"\n }\n },\n \"destination_terminal\": {\n \"data\": {\n \"type\": \"terminal\",\n \"id\": \"\"\n }\n },\n \"line_tracking_stopped_by_user\": {\n \"data\": {\n \"type\": \"user\",\n \"id\": \"\"\n }\n }\n },\n \"links\": {\n \"self\": \"\"\n }\n },\n {\n \"id\": \"\",\n \"type\": \"shipment\",\n \"attributes\": {\n \"bill_of_lading_number\": \"\",\n \"normalized_number\": \"\",\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"created_at\": \"\",\n \"tags\": [\n \"\",\n \"\"\n ],\n \"port_of_lading_locode\": \"\",\n \"port_of_lading_name\": \"\",\n \"port_of_discharge_locode\": \"\",\n \"port_of_discharge_name\": \"\",\n \"destination_locode\": \"\",\n \"destination_name\": \"\",\n \"shipping_line_scac\": \"\",\n \"shipping_line_name\": \"\",\n \"shipping_line_short_name\": \"\",\n \"customer_name\": \"\",\n \"pod_vessel_name\": \"\",\n \"pod_vessel_imo\": \"\",\n \"pod_voyage_number\": \"\",\n \"pol_etd_at\": \"\",\n \"pol_atd_at\": \"\",\n \"pod_eta_at\": \"\",\n \"pod_original_eta_at\": \"\",\n \"pod_ata_at\": \"\",\n \"destination_eta_at\": \"\",\n \"destination_ata_at\": \"\",\n \"pol_timezone\": \"\",\n \"pod_timezone\": \"\",\n \"destination_timezone\": \"\",\n \"line_tracking_last_attempted_at\": \"\",\n \"line_tracking_last_succeeded_at\": \"\",\n \"line_tracking_stopped_at\": \"\",\n \"line_tracking_stopped_reason\": \"cancelled_by_user\"\n },\n \"relationships\": {\n \"destination\": {\n \"data\": {\n \"type\": \"metro_area\",\n \"id\": \"\"\n }\n },\n \"port_of_lading\": {\n \"data\": {\n \"type\": \"port\",\n \"id\": \"\"\n }\n },\n \"containers\": {\n \"data\": [\n {\n \"type\": \"container\",\n \"id\": \"\"\n },\n {\n \"type\": \"container\",\n \"id\": \"\"\n }\n ]\n },\n \"port_of_discharge\": {\n \"data\": {\n \"type\": \"port\",\n \"id\": \"\"\n }\n },\n \"pod_terminal\": {\n \"data\": {\n \"type\": \"terminal\",\n \"id\": \"\"\n }\n },\n \"destination_terminal\": {\n \"data\": {\n \"type\": \"rail_terminal\",\n \"id\": \"\"\n }\n },\n \"line_tracking_stopped_by_user\": {\n \"data\": {\n \"type\": \"user\",\n \"id\": \"\"\n }\n }\n },\n \"links\": {\n \"self\": \"\"\n }\n }\n ],\n \"included\": [\n {\n \"id\": \"\",\n \"type\": \"container\",\n \"attributes\": {\n \"number\": \"\",\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"equipment_type\": \"flat rack\",\n \"equipment_length\": 40,\n \"equipment_height\": \"standard\",\n \"weight_in_lbs\": \"\",\n \"created_at\": \"\",\n \"seal_number\": \"\",\n \"pickup_lfd\": \"\",\n \"pickup_appointment_at\": \"\",\n \"availability_known\": \"\",\n \"available_for_pickup\": \"\",\n \"pod_arrived_at\": \"\",\n \"pod_discharged_at\": \"\",\n \"pod_full_out_at\": \"\",\n \"terminal_checked_at\": \"\",\n \"pod_full_out_chassis_number\": \"\",\n \"location_at_pod_terminal\": \"\",\n \"final_destination_full_out_at\": \"\",\n \"empty_terminated_at\": \"\",\n \"holds_at_pod_terminal\": [\n {\n \"name\": \"\",\n \"status\": \"pending\",\n \"description\": \"\"\n },\n {\n \"name\": \"\",\n \"status\": \"pending\",\n \"description\": \"\"\n }\n ],\n \"fees_at_pod_terminal\": [\n {\n \"type\": \"total\",\n \"amount\": \"\",\n \"currency_code\": \"\"\n },\n {\n \"type\": \"other\",\n \"amount\": \"\",\n \"currency_code\": \"\"\n }\n ],\n \"pod_timezone\": \"\",\n \"final_destination_timezone\": \"\",\n \"empty_terminated_timezone\": \"\",\n \"pod_rail_carrier_scac\": \"\",\n \"ind_rail_carrier_scac\": \"\",\n \"pod_last_tracking_request_at\": \"\",\n \"shipment_last_tracking_request_at\": \"\",\n \"pod_rail_loaded_at\": \"\",\n \"pod_rail_departed_at\": \"\",\n \"ind_eta_at\": \"\",\n \"ind_ata_at\": \"\",\n \"ind_rail_unloaded_at\": \"\",\n \"ind_facility_lfd_on\": \"\",\n \"import_deadlines\": {\n \"pickup_lfd_terminal\": \"\",\n \"pickup_lfd_rail\": \"\",\n \"pickup_lfd_line\": \"\"\n },\n \"current_status\": \"dropped\"\n },\n \"relationships\": {\n \"shipment\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"shipment\"\n }\n },\n \"pickup_facility\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"terminal\"\n }\n },\n \"pod_terminal\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"terminal\"\n }\n },\n \"transport_events\": {\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"transport_event\"\n },\n {\n \"id\": \"\",\n \"type\": \"transport_event\"\n }\n ]\n },\n \"raw_events\": {\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"raw_event\"\n },\n {\n \"id\": \"\",\n \"type\": \"raw_event\"\n }\n ]\n }\n }\n },\n {\n \"id\": \"\",\n \"type\": \"container\",\n \"attributes\": {\n \"number\": \"\",\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"equipment_type\": null,\n \"equipment_length\": 20,\n \"equipment_height\": null,\n \"weight_in_lbs\": \"\",\n \"created_at\": \"\",\n \"seal_number\": \"\",\n \"pickup_lfd\": \"\",\n \"pickup_appointment_at\": \"\",\n \"availability_known\": \"\",\n \"available_for_pickup\": \"\",\n \"pod_arrived_at\": \"\",\n \"pod_discharged_at\": \"\",\n \"pod_full_out_at\": \"\",\n \"terminal_checked_at\": \"\",\n \"pod_full_out_chassis_number\": \"\",\n \"location_at_pod_terminal\": \"\",\n \"final_destination_full_out_at\": \"\",\n \"empty_terminated_at\": \"\",\n \"holds_at_pod_terminal\": [\n {\n \"name\": \"\",\n \"status\": \"pending\",\n \"description\": \"\"\n },\n {\n \"name\": \"\",\n \"status\": \"pending\",\n \"description\": \"\"\n }\n ],\n \"fees_at_pod_terminal\": [\n {\n \"type\": \"demurrage\",\n \"amount\": \"\",\n \"currency_code\": \"\"\n },\n {\n \"type\": \"exam\",\n \"amount\": \"\",\n \"currency_code\": \"\"\n }\n ],\n \"pod_timezone\": \"\",\n \"final_destination_timezone\": \"\",\n \"empty_terminated_timezone\": \"\",\n \"pod_rail_carrier_scac\": \"\",\n \"ind_rail_carrier_scac\": \"\",\n \"pod_last_tracking_request_at\": \"\",\n \"shipment_last_tracking_request_at\": \"\",\n \"pod_rail_loaded_at\": \"\",\n \"pod_rail_departed_at\": \"\",\n \"ind_eta_at\": \"\",\n \"ind_ata_at\": \"\",\n \"ind_rail_unloaded_at\": \"\",\n \"ind_facility_lfd_on\": \"\",\n \"import_deadlines\": {\n \"pickup_lfd_terminal\": \"\",\n \"pickup_lfd_rail\": \"\",\n \"pickup_lfd_line\": \"\"\n },\n \"current_status\": \"loaded\"\n },\n \"relationships\": {\n \"shipment\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"shipment\"\n }\n },\n \"pickup_facility\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"terminal\"\n }\n },\n \"pod_terminal\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"terminal\"\n }\n },\n \"transport_events\": {\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"transport_event\"\n },\n {\n \"id\": \"\",\n \"type\": \"transport_event\"\n }\n ]\n },\n \"raw_events\": {\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"raw_event\"\n },\n {\n \"id\": \"\",\n \"type\": \"raw_event\"\n }\n ]\n }\n }\n }\n ],\n \"links\": {\n \"self\": \"\",\n \"current\": \"\",\n \"first\": \"\",\n \"prev\": \"\",\n \"next\": \"\",\n \"last\": \"\"\n },\n \"meta\": {\n \"size\": \"\",\n \"total\": \"\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "ca257b81-1340-4845-bd0e-5ca31015b7dd", + "id": "ed50434c-87cc-417a-b70f-81bd23a6cafa", "name": "Malformed supported filter value, operator, range, or strict boolean. The error identifies the invalid parameter where available.", "originalRequest": { "url": { @@ -12994,7 +12994,7 @@ "type": "text/plain" }, "key": "filter[party_id][operator]", - "value": "any" + "value": "all" }, { "disabled": true, @@ -13078,7 +13078,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -13089,7 +13089,7 @@ } }, { - "id": "bb866218-01ae-456d-9365-b1b3647dbb7e", + "id": "10a64847-8d14-414c-b4a4-4c01b0b926cc", "name": "Get a shipment", "request": { "name": "Get a shipment", @@ -13150,7 +13150,7 @@ }, "response": [ { - "id": "bf38230f-d4b7-4fff-8ed0-c2afc57e82ed", + "id": "61151809-fe07-48bb-8c0b-f8e4efbda59c", "name": "OK", "originalRequest": { "url": { @@ -13219,12 +13219,12 @@ "value": "application/json" } ], - "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"shipment\",\n \"attributes\": {\n \"bill_of_lading_number\": \"\",\n \"normalized_number\": \"\",\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"created_at\": \"\",\n \"tags\": [\n \"\",\n \"\"\n ],\n \"port_of_lading_locode\": \"\",\n \"port_of_lading_name\": \"\",\n \"port_of_discharge_locode\": \"\",\n \"port_of_discharge_name\": \"\",\n \"destination_locode\": \"\",\n \"destination_name\": \"\",\n \"shipping_line_scac\": \"\",\n \"shipping_line_name\": \"\",\n \"shipping_line_short_name\": \"\",\n \"customer_name\": \"\",\n \"pod_vessel_name\": \"\",\n \"pod_vessel_imo\": \"\",\n \"pod_voyage_number\": \"\",\n \"pol_etd_at\": \"\",\n \"pol_atd_at\": \"\",\n \"pod_eta_at\": \"\",\n \"pod_original_eta_at\": \"\",\n \"pod_ata_at\": \"\",\n \"destination_eta_at\": \"\",\n \"destination_ata_at\": \"\",\n \"pol_timezone\": \"\",\n \"pod_timezone\": \"\",\n \"destination_timezone\": \"\",\n \"line_tracking_last_attempted_at\": \"\",\n \"line_tracking_last_succeeded_at\": \"\",\n \"line_tracking_stopped_at\": \"\",\n \"line_tracking_stopped_reason\": \"booking_cancelled\"\n },\n \"relationships\": {\n \"destination\": {\n \"data\": {\n \"type\": \"metro_area\",\n \"id\": \"\"\n }\n },\n \"port_of_lading\": {\n \"data\": {\n \"type\": \"port\",\n \"id\": \"\"\n }\n },\n \"containers\": {\n \"data\": [\n {\n \"type\": \"container\",\n \"id\": \"\"\n },\n {\n \"type\": \"container\",\n \"id\": \"\"\n }\n ]\n },\n \"port_of_discharge\": {\n \"data\": {\n \"type\": \"port\",\n \"id\": \"\"\n }\n },\n \"pod_terminal\": {\n \"data\": {\n \"type\": \"terminal\",\n \"id\": \"\"\n }\n },\n \"destination_terminal\": {\n \"data\": {\n \"type\": \"terminal\",\n \"id\": \"\"\n }\n },\n \"line_tracking_stopped_by_user\": {\n \"data\": {\n \"type\": \"user\",\n \"id\": \"\"\n }\n }\n },\n \"links\": {\n \"self\": \"\"\n }\n },\n \"included\": [\n {\n \"id\": \"\",\n \"type\": \"container\",\n \"attributes\": {\n \"number\": \"\",\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"equipment_type\": \"reefer\",\n \"equipment_length\": 10,\n \"equipment_height\": \"high_cube\",\n \"weight_in_lbs\": \"\",\n \"created_at\": \"\",\n \"seal_number\": \"\",\n \"pickup_lfd\": \"\",\n \"pickup_appointment_at\": \"\",\n \"availability_known\": \"\",\n \"available_for_pickup\": \"\",\n \"pod_arrived_at\": \"\",\n \"pod_discharged_at\": \"\",\n \"pod_full_out_at\": \"\",\n \"terminal_checked_at\": \"\",\n \"pod_full_out_chassis_number\": \"\",\n \"location_at_pod_terminal\": \"\",\n \"final_destination_full_out_at\": \"\",\n \"empty_terminated_at\": \"\",\n \"holds_at_pod_terminal\": [\n {\n \"name\": \"\",\n \"status\": \"hold\",\n \"description\": \"\"\n },\n {\n \"name\": \"\",\n \"status\": \"hold\",\n \"description\": \"\"\n }\n ],\n \"fees_at_pod_terminal\": [\n {\n \"type\": \"exam\",\n \"amount\": \"\",\n \"currency_code\": \"\"\n },\n {\n \"type\": \"total\",\n \"amount\": \"\",\n \"currency_code\": \"\"\n }\n ],\n \"pod_timezone\": \"\",\n \"final_destination_timezone\": \"\",\n \"empty_terminated_timezone\": \"\",\n \"pod_rail_carrier_scac\": \"\",\n \"ind_rail_carrier_scac\": \"\",\n \"pod_last_tracking_request_at\": \"\",\n \"shipment_last_tracking_request_at\": \"\",\n \"pod_rail_loaded_at\": \"\",\n \"pod_rail_departed_at\": \"\",\n \"ind_eta_at\": \"\",\n \"ind_ata_at\": \"\",\n \"ind_rail_unloaded_at\": \"\",\n \"ind_facility_lfd_on\": \"\",\n \"import_deadlines\": {\n \"pickup_lfd_terminal\": \"\",\n \"pickup_lfd_rail\": \"\",\n \"pickup_lfd_line\": \"\"\n },\n \"current_status\": \"empty_returned\"\n },\n \"relationships\": {\n \"shipment\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"shipment\"\n }\n },\n \"pickup_facility\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"terminal\"\n }\n },\n \"pod_terminal\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"terminal\"\n }\n },\n \"transport_events\": {\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"transport_event\"\n },\n {\n \"id\": \"\",\n \"type\": \"transport_event\"\n }\n ]\n },\n \"raw_events\": {\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"raw_event\"\n },\n {\n \"id\": \"\",\n \"type\": \"raw_event\"\n }\n ]\n }\n }\n },\n {\n \"id\": \"\",\n \"type\": \"container\",\n \"attributes\": {\n \"number\": \"\",\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"equipment_type\": \"dry\",\n \"equipment_length\": 20,\n \"equipment_height\": \"high_cube\",\n \"weight_in_lbs\": \"\",\n \"created_at\": \"\",\n \"seal_number\": \"\",\n \"pickup_lfd\": \"\",\n \"pickup_appointment_at\": \"\",\n \"availability_known\": \"\",\n \"available_for_pickup\": \"\",\n \"pod_arrived_at\": \"\",\n \"pod_discharged_at\": \"\",\n \"pod_full_out_at\": \"\",\n \"terminal_checked_at\": \"\",\n \"pod_full_out_chassis_number\": \"\",\n \"location_at_pod_terminal\": \"\",\n \"final_destination_full_out_at\": \"\",\n \"empty_terminated_at\": \"\",\n \"holds_at_pod_terminal\": [\n {\n \"name\": \"\",\n \"status\": \"pending\",\n \"description\": \"\"\n },\n {\n \"name\": \"\",\n \"status\": \"pending\",\n \"description\": \"\"\n }\n ],\n \"fees_at_pod_terminal\": [\n {\n \"type\": \"exam\",\n \"amount\": \"\",\n \"currency_code\": \"\"\n },\n {\n \"type\": \"total\",\n \"amount\": \"\",\n \"currency_code\": \"\"\n }\n ],\n \"pod_timezone\": \"\",\n \"final_destination_timezone\": \"\",\n \"empty_terminated_timezone\": \"\",\n \"pod_rail_carrier_scac\": \"\",\n \"ind_rail_carrier_scac\": \"\",\n \"pod_last_tracking_request_at\": \"\",\n \"shipment_last_tracking_request_at\": \"\",\n \"pod_rail_loaded_at\": \"\",\n \"pod_rail_departed_at\": \"\",\n \"ind_eta_at\": \"\",\n \"ind_ata_at\": \"\",\n \"ind_rail_unloaded_at\": \"\",\n \"ind_facility_lfd_on\": \"\",\n \"import_deadlines\": {\n \"pickup_lfd_terminal\": \"\",\n \"pickup_lfd_rail\": \"\",\n \"pickup_lfd_line\": \"\"\n },\n \"current_status\": \"empty_returned\"\n },\n \"relationships\": {\n \"shipment\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"shipment\"\n }\n },\n \"pickup_facility\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"terminal\"\n }\n },\n \"pod_terminal\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"terminal\"\n }\n },\n \"transport_events\": {\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"transport_event\"\n },\n {\n \"id\": \"\",\n \"type\": \"transport_event\"\n }\n ]\n },\n \"raw_events\": {\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"raw_event\"\n },\n {\n \"id\": \"\",\n \"type\": \"raw_event\"\n }\n ]\n }\n }\n }\n ]\n}", + "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"shipment\",\n \"attributes\": {\n \"bill_of_lading_number\": \"\",\n \"normalized_number\": \"\",\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"created_at\": \"\",\n \"tags\": [\n \"\",\n \"\"\n ],\n \"port_of_lading_locode\": \"\",\n \"port_of_lading_name\": \"\",\n \"port_of_discharge_locode\": \"\",\n \"port_of_discharge_name\": \"\",\n \"destination_locode\": \"\",\n \"destination_name\": \"\",\n \"shipping_line_scac\": \"\",\n \"shipping_line_name\": \"\",\n \"shipping_line_short_name\": \"\",\n \"customer_name\": \"\",\n \"pod_vessel_name\": \"\",\n \"pod_vessel_imo\": \"\",\n \"pod_voyage_number\": \"\",\n \"pol_etd_at\": \"\",\n \"pol_atd_at\": \"\",\n \"pod_eta_at\": \"\",\n \"pod_original_eta_at\": \"\",\n \"pod_ata_at\": \"\",\n \"destination_eta_at\": \"\",\n \"destination_ata_at\": \"\",\n \"pol_timezone\": \"\",\n \"pod_timezone\": \"\",\n \"destination_timezone\": \"\",\n \"line_tracking_last_attempted_at\": \"\",\n \"line_tracking_last_succeeded_at\": \"\",\n \"line_tracking_stopped_at\": \"\",\n \"line_tracking_stopped_reason\": \"all_containers_terminated\"\n },\n \"relationships\": {\n \"destination\": {\n \"data\": {\n \"type\": \"metro_area\",\n \"id\": \"\"\n }\n },\n \"port_of_lading\": {\n \"data\": {\n \"type\": \"port\",\n \"id\": \"\"\n }\n },\n \"containers\": {\n \"data\": [\n {\n \"type\": \"container\",\n \"id\": \"\"\n },\n {\n \"type\": \"container\",\n \"id\": \"\"\n }\n ]\n },\n \"port_of_discharge\": {\n \"data\": {\n \"type\": \"port\",\n \"id\": \"\"\n }\n },\n \"pod_terminal\": {\n \"data\": {\n \"type\": \"terminal\",\n \"id\": \"\"\n }\n },\n \"destination_terminal\": {\n \"data\": {\n \"type\": \"rail_terminal\",\n \"id\": \"\"\n }\n },\n \"line_tracking_stopped_by_user\": {\n \"data\": {\n \"type\": \"user\",\n \"id\": \"\"\n }\n }\n },\n \"links\": {\n \"self\": \"\"\n }\n },\n \"included\": [\n {\n \"id\": \"\",\n \"type\": \"container\",\n \"attributes\": {\n \"number\": \"\",\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"equipment_type\": \"flat rack\",\n \"equipment_length\": 20,\n \"equipment_height\": \"standard\",\n \"weight_in_lbs\": \"\",\n \"created_at\": \"\",\n \"seal_number\": \"\",\n \"pickup_lfd\": \"\",\n \"pickup_appointment_at\": \"\",\n \"availability_known\": \"\",\n \"available_for_pickup\": \"\",\n \"pod_arrived_at\": \"\",\n \"pod_discharged_at\": \"\",\n \"pod_full_out_at\": \"\",\n \"terminal_checked_at\": \"\",\n \"pod_full_out_chassis_number\": \"\",\n \"location_at_pod_terminal\": \"\",\n \"final_destination_full_out_at\": \"\",\n \"empty_terminated_at\": \"\",\n \"holds_at_pod_terminal\": [\n {\n \"name\": \"\",\n \"status\": \"pending\",\n \"description\": \"\"\n },\n {\n \"name\": \"\",\n \"status\": \"pending\",\n \"description\": \"\"\n }\n ],\n \"fees_at_pod_terminal\": [\n {\n \"type\": \"exam\",\n \"amount\": \"\",\n \"currency_code\": \"\"\n },\n {\n \"type\": \"extended_dwell_time\",\n \"amount\": \"\",\n \"currency_code\": \"\"\n }\n ],\n \"pod_timezone\": \"\",\n \"final_destination_timezone\": \"\",\n \"empty_terminated_timezone\": \"\",\n \"pod_rail_carrier_scac\": \"\",\n \"ind_rail_carrier_scac\": \"\",\n \"pod_last_tracking_request_at\": \"\",\n \"shipment_last_tracking_request_at\": \"\",\n \"pod_rail_loaded_at\": \"\",\n \"pod_rail_departed_at\": \"\",\n \"ind_eta_at\": \"\",\n \"ind_ata_at\": \"\",\n \"ind_rail_unloaded_at\": \"\",\n \"ind_facility_lfd_on\": \"\",\n \"import_deadlines\": {\n \"pickup_lfd_terminal\": \"\",\n \"pickup_lfd_rail\": \"\",\n \"pickup_lfd_line\": \"\"\n },\n \"current_status\": \"empty_returned\"\n },\n \"relationships\": {\n \"shipment\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"shipment\"\n }\n },\n \"pickup_facility\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"terminal\"\n }\n },\n \"pod_terminal\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"terminal\"\n }\n },\n \"transport_events\": {\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"transport_event\"\n },\n {\n \"id\": \"\",\n \"type\": \"transport_event\"\n }\n ]\n },\n \"raw_events\": {\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"raw_event\"\n },\n {\n \"id\": \"\",\n \"type\": \"raw_event\"\n }\n ]\n }\n }\n },\n {\n \"id\": \"\",\n \"type\": \"container\",\n \"attributes\": {\n \"number\": \"\",\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"equipment_type\": \"open top\",\n \"equipment_length\": 20,\n \"equipment_height\": \"high_cube\",\n \"weight_in_lbs\": \"\",\n \"created_at\": \"\",\n \"seal_number\": \"\",\n \"pickup_lfd\": \"\",\n \"pickup_appointment_at\": \"\",\n \"availability_known\": \"\",\n \"available_for_pickup\": \"\",\n \"pod_arrived_at\": \"\",\n \"pod_discharged_at\": \"\",\n \"pod_full_out_at\": \"\",\n \"terminal_checked_at\": \"\",\n \"pod_full_out_chassis_number\": \"\",\n \"location_at_pod_terminal\": \"\",\n \"final_destination_full_out_at\": \"\",\n \"empty_terminated_at\": \"\",\n \"holds_at_pod_terminal\": [\n {\n \"name\": \"\",\n \"status\": \"hold\",\n \"description\": \"\"\n },\n {\n \"name\": \"\",\n \"status\": \"hold\",\n \"description\": \"\"\n }\n ],\n \"fees_at_pod_terminal\": [\n {\n \"type\": \"other\",\n \"amount\": \"\",\n \"currency_code\": \"\"\n },\n {\n \"type\": \"extended_dwell_time\",\n \"amount\": \"\",\n \"currency_code\": \"\"\n }\n ],\n \"pod_timezone\": \"\",\n \"final_destination_timezone\": \"\",\n \"empty_terminated_timezone\": \"\",\n \"pod_rail_carrier_scac\": \"\",\n \"ind_rail_carrier_scac\": \"\",\n \"pod_last_tracking_request_at\": \"\",\n \"shipment_last_tracking_request_at\": \"\",\n \"pod_rail_loaded_at\": \"\",\n \"pod_rail_departed_at\": \"\",\n \"ind_eta_at\": \"\",\n \"ind_ata_at\": \"\",\n \"ind_rail_unloaded_at\": \"\",\n \"ind_facility_lfd_on\": \"\",\n \"import_deadlines\": {\n \"pickup_lfd_terminal\": \"\",\n \"pickup_lfd_rail\": \"\",\n \"pickup_lfd_line\": \"\"\n },\n \"current_status\": \"awaiting_inland_transfer\"\n },\n \"relationships\": {\n \"shipment\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"shipment\"\n }\n },\n \"pickup_facility\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"terminal\"\n }\n },\n \"pod_terminal\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"terminal\"\n }\n },\n \"transport_events\": {\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"transport_event\"\n },\n {\n \"id\": \"\",\n \"type\": \"transport_event\"\n }\n ]\n },\n \"raw_events\": {\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"raw_event\"\n },\n {\n \"id\": \"\",\n \"type\": \"raw_event\"\n }\n ]\n }\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "1f651ec6-b326-4e12-9921-f986c9f4d749", + "id": "47f3b4d3-7622-4bb1-bffc-f4c846008455", "name": "Unauthorized. The API token is missing or invalid, or the account may not perform this action.", "originalRequest": { "url": { @@ -13293,12 +13293,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "9a4e72be-2506-4fdc-b4e5-10eba98cfa1c", + "id": "7c860762-b254-44e8-9162-9f691f959b56", "name": "Not Found", "originalRequest": { "url": { @@ -13367,12 +13367,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "a38a43b1-e1f4-426b-9155-2a928dd8fbda", + "id": "d4b7cf7f-4b7c-4282-916f-9cfe6323c8ef", "name": "Unprocessable Entity", "originalRequest": { "url": { @@ -13441,7 +13441,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -13452,7 +13452,7 @@ } }, { - "id": "34483aba-c086-45e7-8e9f-f7eb3603b503", + "id": "e1f52bb6-e872-4a57-b856-7fcc0301ce6f", "name": "Edit a shipment", "request": { "name": "Edit a shipment", @@ -13507,7 +13507,7 @@ }, "response": [ { - "id": "4e0abfca-3e8d-4835-87dd-d3854fe07fa1", + "id": "68312ae5-b2b8-4640-9656-b5c2ba1b45d6", "name": "OK", "originalRequest": { "url": { @@ -13570,12 +13570,12 @@ "value": "application/json" } ], - "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"shipment\",\n \"attributes\": {\n \"bill_of_lading_number\": \"\",\n \"normalized_number\": \"\",\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"created_at\": \"\",\n \"tags\": [\n \"\",\n \"\"\n ],\n \"port_of_lading_locode\": \"\",\n \"port_of_lading_name\": \"\",\n \"port_of_discharge_locode\": \"\",\n \"port_of_discharge_name\": \"\",\n \"destination_locode\": \"\",\n \"destination_name\": \"\",\n \"shipping_line_scac\": \"\",\n \"shipping_line_name\": \"\",\n \"shipping_line_short_name\": \"\",\n \"customer_name\": \"\",\n \"pod_vessel_name\": \"\",\n \"pod_vessel_imo\": \"\",\n \"pod_voyage_number\": \"\",\n \"pol_etd_at\": \"\",\n \"pol_atd_at\": \"\",\n \"pod_eta_at\": \"\",\n \"pod_original_eta_at\": \"\",\n \"pod_ata_at\": \"\",\n \"destination_eta_at\": \"\",\n \"destination_ata_at\": \"\",\n \"pol_timezone\": \"\",\n \"pod_timezone\": \"\",\n \"destination_timezone\": \"\",\n \"line_tracking_last_attempted_at\": \"\",\n \"line_tracking_last_succeeded_at\": \"\",\n \"line_tracking_stopped_at\": \"\",\n \"line_tracking_stopped_reason\": null\n },\n \"relationships\": {\n \"destination\": {\n \"data\": {\n \"type\": \"metro_area\",\n \"id\": \"\"\n }\n },\n \"port_of_lading\": {\n \"data\": {\n \"type\": \"port\",\n \"id\": \"\"\n }\n },\n \"containers\": {\n \"data\": [\n {\n \"type\": \"container\",\n \"id\": \"\"\n },\n {\n \"type\": \"container\",\n \"id\": \"\"\n }\n ]\n },\n \"port_of_discharge\": {\n \"data\": {\n \"type\": \"port\",\n \"id\": \"\"\n }\n },\n \"pod_terminal\": {\n \"data\": {\n \"type\": \"terminal\",\n \"id\": \"\"\n }\n },\n \"destination_terminal\": {\n \"data\": {\n \"type\": \"terminal\",\n \"id\": \"\"\n }\n },\n \"line_tracking_stopped_by_user\": {\n \"data\": {\n \"type\": \"user\",\n \"id\": \"\"\n }\n }\n },\n \"links\": {\n \"self\": \"\"\n }\n }\n}", + "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"shipment\",\n \"attributes\": {\n \"bill_of_lading_number\": \"\",\n \"normalized_number\": \"\",\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"created_at\": \"\",\n \"tags\": [\n \"\",\n \"\"\n ],\n \"port_of_lading_locode\": \"\",\n \"port_of_lading_name\": \"\",\n \"port_of_discharge_locode\": \"\",\n \"port_of_discharge_name\": \"\",\n \"destination_locode\": \"\",\n \"destination_name\": \"\",\n \"shipping_line_scac\": \"\",\n \"shipping_line_name\": \"\",\n \"shipping_line_short_name\": \"\",\n \"customer_name\": \"\",\n \"pod_vessel_name\": \"\",\n \"pod_vessel_imo\": \"\",\n \"pod_voyage_number\": \"\",\n \"pol_etd_at\": \"\",\n \"pol_atd_at\": \"\",\n \"pod_eta_at\": \"\",\n \"pod_original_eta_at\": \"\",\n \"pod_ata_at\": \"\",\n \"destination_eta_at\": \"\",\n \"destination_ata_at\": \"\",\n \"pol_timezone\": \"\",\n \"pod_timezone\": \"\",\n \"destination_timezone\": \"\",\n \"line_tracking_last_attempted_at\": \"\",\n \"line_tracking_last_succeeded_at\": \"\",\n \"line_tracking_stopped_at\": \"\",\n \"line_tracking_stopped_reason\": \"no_updates_at_line\"\n },\n \"relationships\": {\n \"destination\": {\n \"data\": {\n \"type\": \"port\",\n \"id\": \"\"\n }\n },\n \"port_of_lading\": {\n \"data\": {\n \"type\": \"port\",\n \"id\": \"\"\n }\n },\n \"containers\": {\n \"data\": [\n {\n \"type\": \"container\",\n \"id\": \"\"\n },\n {\n \"type\": \"container\",\n \"id\": \"\"\n }\n ]\n },\n \"port_of_discharge\": {\n \"data\": {\n \"type\": \"port\",\n \"id\": \"\"\n }\n },\n \"pod_terminal\": {\n \"data\": {\n \"type\": \"terminal\",\n \"id\": \"\"\n }\n },\n \"destination_terminal\": {\n \"data\": {\n \"type\": \"rail_terminal\",\n \"id\": \"\"\n }\n },\n \"line_tracking_stopped_by_user\": {\n \"data\": {\n \"type\": \"user\",\n \"id\": \"\"\n }\n }\n },\n \"links\": {\n \"self\": \"\"\n }\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "26240b9b-a57a-4004-906e-5caba2d3ac5a", + "id": "3c46f788-ffcb-478d-bdc9-68ff5ea9572f", "name": "Bad Request", "originalRequest": { "url": { @@ -13638,12 +13638,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "9f8bdbb1-f73c-4fcd-a332-bcbbee3bb6ad", + "id": "3a7e05d6-2034-4907-a1cf-381c3b4b80b3", "name": "Unauthorized. The API token is missing or invalid, or the account may not perform this action.", "originalRequest": { "url": { @@ -13706,12 +13706,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "78816f74-4ba8-4a5f-8a90-584570b33f54", + "id": "4edcc7bd-de43-494b-aff1-26ec0599c1b0", "name": "Not Found", "originalRequest": { "url": { @@ -13774,12 +13774,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "09319861-87c2-4723-85c1-d6b3bd5a1e6a", + "id": "b4de8f54-9641-4862-892c-8025bccb6439", "name": "Unprocessable Entity", "originalRequest": { "url": { @@ -13842,7 +13842,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -13853,7 +13853,7 @@ } }, { - "id": "896d626e-4143-4dea-9bde-13ea044bded9", + "id": "d1da0969-a4b4-4f34-964c-7759c6afe3b8", "name": "Stop tracking a shipment", "request": { "name": "Stop tracking a shipment", @@ -13896,7 +13896,7 @@ }, "response": [ { - "id": "a492daf4-e422-4e69-bbf7-f74926f526b7", + "id": "af7fe618-5744-4528-ad8b-58fc706516d5", "name": "OK", "originalRequest": { "url": { @@ -13947,12 +13947,12 @@ "value": "application/json" } ], - "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"shipment\",\n \"attributes\": {\n \"bill_of_lading_number\": \"\",\n \"normalized_number\": \"\",\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"created_at\": \"\",\n \"tags\": [\n \"\",\n \"\"\n ],\n \"port_of_lading_locode\": \"\",\n \"port_of_lading_name\": \"\",\n \"port_of_discharge_locode\": \"\",\n \"port_of_discharge_name\": \"\",\n \"destination_locode\": \"\",\n \"destination_name\": \"\",\n \"shipping_line_scac\": \"\",\n \"shipping_line_name\": \"\",\n \"shipping_line_short_name\": \"\",\n \"customer_name\": \"\",\n \"pod_vessel_name\": \"\",\n \"pod_vessel_imo\": \"\",\n \"pod_voyage_number\": \"\",\n \"pol_etd_at\": \"\",\n \"pol_atd_at\": \"\",\n \"pod_eta_at\": \"\",\n \"pod_original_eta_at\": \"\",\n \"pod_ata_at\": \"\",\n \"destination_eta_at\": \"\",\n \"destination_ata_at\": \"\",\n \"pol_timezone\": \"\",\n \"pod_timezone\": \"\",\n \"destination_timezone\": \"\",\n \"line_tracking_last_attempted_at\": \"\",\n \"line_tracking_last_succeeded_at\": \"\",\n \"line_tracking_stopped_at\": \"\",\n \"line_tracking_stopped_reason\": null\n },\n \"relationships\": {\n \"destination\": {\n \"data\": {\n \"type\": \"metro_area\",\n \"id\": \"\"\n }\n },\n \"port_of_lading\": {\n \"data\": {\n \"type\": \"port\",\n \"id\": \"\"\n }\n },\n \"containers\": {\n \"data\": [\n {\n \"type\": \"container\",\n \"id\": \"\"\n },\n {\n \"type\": \"container\",\n \"id\": \"\"\n }\n ]\n },\n \"port_of_discharge\": {\n \"data\": {\n \"type\": \"port\",\n \"id\": \"\"\n }\n },\n \"pod_terminal\": {\n \"data\": {\n \"type\": \"terminal\",\n \"id\": \"\"\n }\n },\n \"destination_terminal\": {\n \"data\": {\n \"type\": \"terminal\",\n \"id\": \"\"\n }\n },\n \"line_tracking_stopped_by_user\": {\n \"data\": {\n \"type\": \"user\",\n \"id\": \"\"\n }\n }\n },\n \"links\": {\n \"self\": \"\"\n }\n }\n}", + "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"shipment\",\n \"attributes\": {\n \"bill_of_lading_number\": \"\",\n \"normalized_number\": \"\",\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"created_at\": \"\",\n \"tags\": [\n \"\",\n \"\"\n ],\n \"port_of_lading_locode\": \"\",\n \"port_of_lading_name\": \"\",\n \"port_of_discharge_locode\": \"\",\n \"port_of_discharge_name\": \"\",\n \"destination_locode\": \"\",\n \"destination_name\": \"\",\n \"shipping_line_scac\": \"\",\n \"shipping_line_name\": \"\",\n \"shipping_line_short_name\": \"\",\n \"customer_name\": \"\",\n \"pod_vessel_name\": \"\",\n \"pod_vessel_imo\": \"\",\n \"pod_voyage_number\": \"\",\n \"pol_etd_at\": \"\",\n \"pol_atd_at\": \"\",\n \"pod_eta_at\": \"\",\n \"pod_original_eta_at\": \"\",\n \"pod_ata_at\": \"\",\n \"destination_eta_at\": \"\",\n \"destination_ata_at\": \"\",\n \"pol_timezone\": \"\",\n \"pod_timezone\": \"\",\n \"destination_timezone\": \"\",\n \"line_tracking_last_attempted_at\": \"\",\n \"line_tracking_last_succeeded_at\": \"\",\n \"line_tracking_stopped_at\": \"\",\n \"line_tracking_stopped_reason\": \"no_updates_at_line\"\n },\n \"relationships\": {\n \"destination\": {\n \"data\": {\n \"type\": \"port\",\n \"id\": \"\"\n }\n },\n \"port_of_lading\": {\n \"data\": {\n \"type\": \"port\",\n \"id\": \"\"\n }\n },\n \"containers\": {\n \"data\": [\n {\n \"type\": \"container\",\n \"id\": \"\"\n },\n {\n \"type\": \"container\",\n \"id\": \"\"\n }\n ]\n },\n \"port_of_discharge\": {\n \"data\": {\n \"type\": \"port\",\n \"id\": \"\"\n }\n },\n \"pod_terminal\": {\n \"data\": {\n \"type\": \"terminal\",\n \"id\": \"\"\n }\n },\n \"destination_terminal\": {\n \"data\": {\n \"type\": \"rail_terminal\",\n \"id\": \"\"\n }\n },\n \"line_tracking_stopped_by_user\": {\n \"data\": {\n \"type\": \"user\",\n \"id\": \"\"\n }\n }\n },\n \"links\": {\n \"self\": \"\"\n }\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "71480ea4-1429-444b-a7a0-d3ec7fdd5736", + "id": "eb0949b6-c1a0-437e-84c1-4a388b5d6db1", "name": "Unauthorized. The API token is missing or invalid, or the account may not perform this action.", "originalRequest": { "url": { @@ -14003,12 +14003,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "0193ee92-6b6e-459e-844c-f8d3fe77220b", + "id": "4c66f403-3d67-412f-8a0e-c1cab10442d5", "name": "Not Found", "originalRequest": { "url": { @@ -14059,12 +14059,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "e45c1969-9283-4be9-85ba-39d85c3b20a2", + "id": "df152e9c-373a-4a87-8ce9-d071c4857df5", "name": "Unprocessable Entity", "originalRequest": { "url": { @@ -14115,7 +14115,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -14126,7 +14126,7 @@ } }, { - "id": "d64f3949-7c6e-48ba-aa98-4b4c6f49583e", + "id": "06c0a307-1b30-4dfc-88ee-1e475bb2db60", "name": "Resume tracking a shipment", "request": { "name": "Resume tracking a shipment", @@ -14169,7 +14169,7 @@ }, "response": [ { - "id": "79c3e32e-0cb0-4f72-93b5-d0058c81248a", + "id": "e2853cce-48aa-4f4c-a69e-931611f76c18", "name": "OK", "originalRequest": { "url": { @@ -14220,12 +14220,12 @@ "value": "application/json" } ], - "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"shipment\",\n \"attributes\": {\n \"bill_of_lading_number\": \"\",\n \"normalized_number\": \"\",\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"created_at\": \"\",\n \"tags\": [\n \"\",\n \"\"\n ],\n \"port_of_lading_locode\": \"\",\n \"port_of_lading_name\": \"\",\n \"port_of_discharge_locode\": \"\",\n \"port_of_discharge_name\": \"\",\n \"destination_locode\": \"\",\n \"destination_name\": \"\",\n \"shipping_line_scac\": \"\",\n \"shipping_line_name\": \"\",\n \"shipping_line_short_name\": \"\",\n \"customer_name\": \"\",\n \"pod_vessel_name\": \"\",\n \"pod_vessel_imo\": \"\",\n \"pod_voyage_number\": \"\",\n \"pol_etd_at\": \"\",\n \"pol_atd_at\": \"\",\n \"pod_eta_at\": \"\",\n \"pod_original_eta_at\": \"\",\n \"pod_ata_at\": \"\",\n \"destination_eta_at\": \"\",\n \"destination_ata_at\": \"\",\n \"pol_timezone\": \"\",\n \"pod_timezone\": \"\",\n \"destination_timezone\": \"\",\n \"line_tracking_last_attempted_at\": \"\",\n \"line_tracking_last_succeeded_at\": \"\",\n \"line_tracking_stopped_at\": \"\",\n \"line_tracking_stopped_reason\": null\n },\n \"relationships\": {\n \"destination\": {\n \"data\": {\n \"type\": \"metro_area\",\n \"id\": \"\"\n }\n },\n \"port_of_lading\": {\n \"data\": {\n \"type\": \"port\",\n \"id\": \"\"\n }\n },\n \"containers\": {\n \"data\": [\n {\n \"type\": \"container\",\n \"id\": \"\"\n },\n {\n \"type\": \"container\",\n \"id\": \"\"\n }\n ]\n },\n \"port_of_discharge\": {\n \"data\": {\n \"type\": \"port\",\n \"id\": \"\"\n }\n },\n \"pod_terminal\": {\n \"data\": {\n \"type\": \"terminal\",\n \"id\": \"\"\n }\n },\n \"destination_terminal\": {\n \"data\": {\n \"type\": \"terminal\",\n \"id\": \"\"\n }\n },\n \"line_tracking_stopped_by_user\": {\n \"data\": {\n \"type\": \"user\",\n \"id\": \"\"\n }\n }\n },\n \"links\": {\n \"self\": \"\"\n }\n }\n}", + "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"shipment\",\n \"attributes\": {\n \"bill_of_lading_number\": \"\",\n \"normalized_number\": \"\",\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"created_at\": \"\",\n \"tags\": [\n \"\",\n \"\"\n ],\n \"port_of_lading_locode\": \"\",\n \"port_of_lading_name\": \"\",\n \"port_of_discharge_locode\": \"\",\n \"port_of_discharge_name\": \"\",\n \"destination_locode\": \"\",\n \"destination_name\": \"\",\n \"shipping_line_scac\": \"\",\n \"shipping_line_name\": \"\",\n \"shipping_line_short_name\": \"\",\n \"customer_name\": \"\",\n \"pod_vessel_name\": \"\",\n \"pod_vessel_imo\": \"\",\n \"pod_voyage_number\": \"\",\n \"pol_etd_at\": \"\",\n \"pol_atd_at\": \"\",\n \"pod_eta_at\": \"\",\n \"pod_original_eta_at\": \"\",\n \"pod_ata_at\": \"\",\n \"destination_eta_at\": \"\",\n \"destination_ata_at\": \"\",\n \"pol_timezone\": \"\",\n \"pod_timezone\": \"\",\n \"destination_timezone\": \"\",\n \"line_tracking_last_attempted_at\": \"\",\n \"line_tracking_last_succeeded_at\": \"\",\n \"line_tracking_stopped_at\": \"\",\n \"line_tracking_stopped_reason\": \"no_updates_at_line\"\n },\n \"relationships\": {\n \"destination\": {\n \"data\": {\n \"type\": \"port\",\n \"id\": \"\"\n }\n },\n \"port_of_lading\": {\n \"data\": {\n \"type\": \"port\",\n \"id\": \"\"\n }\n },\n \"containers\": {\n \"data\": [\n {\n \"type\": \"container\",\n \"id\": \"\"\n },\n {\n \"type\": \"container\",\n \"id\": \"\"\n }\n ]\n },\n \"port_of_discharge\": {\n \"data\": {\n \"type\": \"port\",\n \"id\": \"\"\n }\n },\n \"pod_terminal\": {\n \"data\": {\n \"type\": \"terminal\",\n \"id\": \"\"\n }\n },\n \"destination_terminal\": {\n \"data\": {\n \"type\": \"rail_terminal\",\n \"id\": \"\"\n }\n },\n \"line_tracking_stopped_by_user\": {\n \"data\": {\n \"type\": \"user\",\n \"id\": \"\"\n }\n }\n },\n \"links\": {\n \"self\": \"\"\n }\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "58efd23c-2085-4830-834e-d41048c69179", + "id": "da6b26b4-38a2-4744-adf4-c8552ed020d4", "name": "Unauthorized. The API token is missing or invalid, or the account may not perform this action.", "originalRequest": { "url": { @@ -14276,12 +14276,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "6174de5c-2ce8-483c-9716-1b2dc4272410", + "id": "7fa65f67-6ddc-4690-bdf6-6bf588e0b355", "name": "Not Found", "originalRequest": { "url": { @@ -14332,12 +14332,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "e5eb7012-017d-4b55-8092-5e2830386941", + "id": "60f6cb18-69b5-40d4-abcc-b87ab31680e7", "name": "Unprocessable Entity", "originalRequest": { "url": { @@ -14388,7 +14388,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -14399,7 +14399,7 @@ } }, { - "id": "ef4709d9-2450-4148-b3da-cd34bcada5a4", + "id": "19ec86fe-cfd5-48f9-9c35-b83ae427b602", "name": "List shipment custom fields", "request": { "name": "List shipment custom fields", @@ -14449,7 +14449,7 @@ }, "response": [ { - "id": "4bce916f-8fb3-4fcb-ad8b-bb5c0c85dd1b", + "id": "8520ca82-d294-4fd5-b6bf-56e118ddba8d", "name": "OK", "originalRequest": { "url": { @@ -14510,12 +14510,12 @@ "value": "application/json" } ], - "body": "{\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"custom_field\",\n \"attributes\": {\n \"api_slug\": \"\",\n \"value\": \"\",\n \"display_value\": \"\"\n },\n \"relationships\": {\n \"entity\": {\n \"data\": {\n \"type\": \"container\",\n \"id\": \"\"\n }\n },\n \"definition\": {\n \"data\": {\n \"type\": \"custom_field_definition\",\n \"id\": \"\"\n }\n }\n }\n },\n {\n \"id\": \"\",\n \"type\": \"custom_field\",\n \"attributes\": {\n \"api_slug\": \"\",\n \"value\": \"\",\n \"display_value\": \"\"\n },\n \"relationships\": {\n \"entity\": {\n \"data\": {\n \"type\": \"tracking_request\",\n \"id\": \"\"\n }\n },\n \"definition\": {\n \"data\": {\n \"type\": \"custom_field_definition\",\n \"id\": \"\"\n }\n }\n }\n }\n ],\n \"links\": {\n \"self\": \"\",\n \"current\": \"\",\n \"first\": \"\",\n \"prev\": \"\",\n \"next\": \"\",\n \"last\": \"\"\n },\n \"meta\": {\n \"size\": \"\",\n \"total\": \"\"\n },\n \"included\": [\n {\n \"id\": \"\",\n \"type\": \"custom_field_definition\",\n \"attributes\": {\n \"entity_type\": \"Shipment\",\n \"api_slug\": \"\",\n \"display_name\": \"\",\n \"data_type\": \"short_text\",\n \"description\": \"\",\n \"reference_type\": \"\",\n \"validation\": {\n \"key_0\": 2303.261307062433,\n \"key_1\": \"string\"\n },\n \"default_format\": \"\",\n \"default_value\": \"\",\n \"reference_number\": \"\",\n \"sensitive\": \"\",\n \"inline_option_creation\": \"\",\n \"template_id\": \"\",\n \"has_data\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\",\n \"discarded_at\": \"\"\n },\n \"relationships\": {\n \"account\": {\n \"data\": {\n \"type\": \"account\",\n \"id\": \"\"\n }\n },\n \"created_by\": {\n \"data\": {\n \"type\": \"user\",\n \"id\": \"\"\n }\n },\n \"options\": {\n \"data\": [\n {\n \"type\": \"custom_field_option\",\n \"id\": \"\"\n },\n {\n \"type\": \"custom_field_option\",\n \"id\": \"\"\n }\n ]\n }\n }\n },\n {\n \"id\": \"\",\n \"type\": \"custom_field_definition\",\n \"attributes\": {\n \"entity_type\": \"Shipment\",\n \"api_slug\": \"\",\n \"display_name\": \"\",\n \"data_type\": \"date\",\n \"description\": \"\",\n \"reference_type\": \"\",\n \"validation\": {\n \"key_0\": 8102,\n \"key_1\": 9506.218278937042\n },\n \"default_format\": \"\",\n \"default_value\": \"\",\n \"reference_number\": \"\",\n \"sensitive\": \"\",\n \"inline_option_creation\": \"\",\n \"template_id\": \"\",\n \"has_data\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\",\n \"discarded_at\": \"\"\n },\n \"relationships\": {\n \"account\": {\n \"data\": {\n \"type\": \"account\",\n \"id\": \"\"\n }\n },\n \"created_by\": {\n \"data\": {\n \"type\": \"user\",\n \"id\": \"\"\n }\n },\n \"options\": {\n \"data\": [\n {\n \"type\": \"custom_field_option\",\n \"id\": \"\"\n },\n {\n \"type\": \"custom_field_option\",\n \"id\": \"\"\n }\n ]\n }\n }\n }\n ]\n}", + "body": "{\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"custom_field\",\n \"attributes\": {\n \"api_slug\": \"\",\n \"value\": \"\",\n \"display_value\": \"\"\n },\n \"relationships\": {\n \"entity\": {\n \"data\": {\n \"type\": \"tracking_request\",\n \"id\": \"\"\n }\n },\n \"definition\": {\n \"data\": {\n \"type\": \"custom_field_definition\",\n \"id\": \"\"\n }\n }\n }\n },\n {\n \"id\": \"\",\n \"type\": \"custom_field\",\n \"attributes\": {\n \"api_slug\": \"\",\n \"value\": \"\",\n \"display_value\": \"\"\n },\n \"relationships\": {\n \"entity\": {\n \"data\": {\n \"type\": \"shipment\",\n \"id\": \"\"\n }\n },\n \"definition\": {\n \"data\": {\n \"type\": \"custom_field_definition\",\n \"id\": \"\"\n }\n }\n }\n }\n ],\n \"links\": {\n \"self\": \"\",\n \"current\": \"\",\n \"first\": \"\",\n \"prev\": \"\",\n \"next\": \"\",\n \"last\": \"\"\n },\n \"meta\": {\n \"size\": \"\",\n \"total\": \"\"\n },\n \"included\": [\n {\n \"id\": \"\",\n \"type\": \"custom_field_definition\",\n \"attributes\": {\n \"entity_type\": \"Shipment\",\n \"api_slug\": \"\",\n \"display_name\": \"\",\n \"data_type\": \"number\",\n \"description\": \"\",\n \"reference_type\": \"\",\n \"validation\": {\n \"key_0\": \"string\",\n \"key_1\": false\n },\n \"default_format\": \"\",\n \"default_value\": \"\",\n \"reference_number\": \"\",\n \"sensitive\": \"\",\n \"inline_option_creation\": \"\",\n \"template_id\": \"\",\n \"has_data\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\",\n \"discarded_at\": \"\"\n },\n \"relationships\": {\n \"account\": {\n \"data\": {\n \"type\": \"account\",\n \"id\": \"\"\n }\n },\n \"created_by\": {\n \"data\": {\n \"type\": \"user\",\n \"id\": \"\"\n }\n },\n \"options\": {\n \"data\": [\n {\n \"type\": \"custom_field_option\",\n \"id\": \"\"\n },\n {\n \"type\": \"custom_field_option\",\n \"id\": \"\"\n }\n ]\n }\n }\n },\n {\n \"id\": \"\",\n \"type\": \"custom_field_definition\",\n \"attributes\": {\n \"entity_type\": \"Shipment\",\n \"api_slug\": \"\",\n \"display_name\": \"\",\n \"data_type\": \"datetime\",\n \"description\": \"\",\n \"reference_type\": \"\",\n \"validation\": {\n \"key_0\": 7530.449066703217,\n \"key_1\": \"string\"\n },\n \"default_format\": \"\",\n \"default_value\": \"\",\n \"reference_number\": \"\",\n \"sensitive\": \"\",\n \"inline_option_creation\": \"\",\n \"template_id\": \"\",\n \"has_data\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\",\n \"discarded_at\": \"\"\n },\n \"relationships\": {\n \"account\": {\n \"data\": {\n \"type\": \"account\",\n \"id\": \"\"\n }\n },\n \"created_by\": {\n \"data\": {\n \"type\": \"user\",\n \"id\": \"\"\n }\n },\n \"options\": {\n \"data\": [\n {\n \"type\": \"custom_field_option\",\n \"id\": \"\"\n },\n {\n \"type\": \"custom_field_option\",\n \"id\": \"\"\n }\n ]\n }\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "80d799f5-fd3b-466f-be06-f4277df9ce5b", + "id": "3cf5d763-6c8a-48ed-a5c0-32b5afceea74", "name": "Unauthorized. The API token is missing or invalid, or the account may not perform this action.", "originalRequest": { "url": { @@ -14576,12 +14576,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "19a71d15-05fb-442c-997c-84c7bc31e559", + "id": "88472577-76aa-48df-ae46-51451d576f36", "name": "Not Found", "originalRequest": { "url": { @@ -14642,7 +14642,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -14653,7 +14653,7 @@ } }, { - "id": "ae619d2e-0beb-4458-a0cd-a6b029713215", + "id": "8f9b295a-1ec0-4064-bdc6-19fd1bb82ebf", "name": "Create a shipment custom field", "request": { "name": "Create a shipment custom field", @@ -14706,7 +14706,7 @@ }, "response": [ { - "id": "6a22d5a0-fe4e-4109-8d47-0f58f26a02be", + "id": "e5533dd0-bad9-471e-b02a-58dd6d3100d0", "name": "Created", "originalRequest": { "url": { @@ -14770,12 +14770,12 @@ "value": "application/json" } ], - "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"custom_field\",\n \"attributes\": {\n \"api_slug\": \"\",\n \"value\": \"\",\n \"display_value\": \"\"\n },\n \"relationships\": {\n \"entity\": {\n \"data\": {\n \"type\": \"container\",\n \"id\": \"\"\n }\n },\n \"definition\": {\n \"data\": {\n \"type\": \"custom_field_definition\",\n \"id\": \"\"\n }\n }\n }\n },\n \"links\": {\n \"self\": \"\"\n }\n}", + "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"custom_field\",\n \"attributes\": {\n \"api_slug\": \"\",\n \"value\": \"\",\n \"display_value\": \"\"\n },\n \"relationships\": {\n \"entity\": {\n \"data\": {\n \"type\": \"shipment\",\n \"id\": \"\"\n }\n },\n \"definition\": {\n \"data\": {\n \"type\": \"custom_field_definition\",\n \"id\": \"\"\n }\n }\n }\n },\n \"links\": {\n \"self\": \"\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "c5177970-bf87-42e0-8600-848a0f6b935d", + "id": "09e77487-5e20-4cdd-9e8d-df532f10413f", "name": "Unauthorized. The API token is missing or invalid, or the account may not perform this action.", "originalRequest": { "url": { @@ -14839,12 +14839,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "3b6fb206-9960-4266-8b38-58fa573db1f9", + "id": "41ef1b1e-007f-4af2-a40d-1e2ad5438149", "name": "Not Found", "originalRequest": { "url": { @@ -14908,12 +14908,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "1ead8ef2-1f8f-40b8-a117-8cc638767db5", + "id": "c0b2a63a-e382-4f54-a089-34c441e0a9a3", "name": "Unprocessable Entity", "originalRequest": { "url": { @@ -14977,7 +14977,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -14988,7 +14988,7 @@ } }, { - "id": "806441bf-34d8-4b37-a6fd-1c0b80c967f0", + "id": "a88da357-6384-4cc3-92cc-40c112a5cf42", "name": "Update a shipment custom field", "request": { "name": "Update a shipment custom field", @@ -15052,7 +15052,7 @@ }, "response": [ { - "id": "b095dd1a-da41-42fd-bdae-7e4779157454", + "id": "2c911c52-e8d6-4f6f-abfe-b9bccef54d70", "name": "OK", "originalRequest": { "url": { @@ -15127,12 +15127,12 @@ "value": "application/json" } ], - "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"custom_field\",\n \"attributes\": {\n \"api_slug\": \"\",\n \"value\": \"\",\n \"display_value\": \"\"\n },\n \"relationships\": {\n \"entity\": {\n \"data\": {\n \"type\": \"container\",\n \"id\": \"\"\n }\n },\n \"definition\": {\n \"data\": {\n \"type\": \"custom_field_definition\",\n \"id\": \"\"\n }\n }\n }\n },\n \"links\": {\n \"self\": \"\"\n }\n}", + "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"custom_field\",\n \"attributes\": {\n \"api_slug\": \"\",\n \"value\": \"\",\n \"display_value\": \"\"\n },\n \"relationships\": {\n \"entity\": {\n \"data\": {\n \"type\": \"shipment\",\n \"id\": \"\"\n }\n },\n \"definition\": {\n \"data\": {\n \"type\": \"custom_field_definition\",\n \"id\": \"\"\n }\n }\n }\n },\n \"links\": {\n \"self\": \"\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "23a79c92-5008-4eb2-ab08-2cece527a174", + "id": "4b7bd701-e57a-40f6-aa58-68b9e5e08469", "name": "Unauthorized. The API token is missing or invalid, or the account may not perform this action.", "originalRequest": { "url": { @@ -15207,12 +15207,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "bceb2bb0-15c3-418e-a782-c5d3f8860348", + "id": "da3d67e0-19f1-4922-a049-0fbea39f6c85", "name": "Not Found", "originalRequest": { "url": { @@ -15287,12 +15287,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "66e10691-7885-433d-8a76-2a590dd14cd6", + "id": "7a077d10-9b18-4cf8-97ef-cf13681afcbe", "name": "Unprocessable Entity", "originalRequest": { "url": { @@ -15367,7 +15367,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -15378,7 +15378,7 @@ } }, { - "id": "e6a2394d-8063-4e51-87c6-388fdb27e2cf", + "id": "34f3f265-ff16-42cf-b464-820e01b602f8", "name": "Delete a shipment custom field", "request": { "name": "Delete a shipment custom field", @@ -15429,7 +15429,7 @@ }, "response": [ { - "id": "01b9f2ec-7bf3-47c8-9add-037c5db38384", + "id": "c4d7f8e9-e691-4820-a07e-9e7ff15d9e9c", "name": "No Content", "originalRequest": { "url": { @@ -15486,7 +15486,7 @@ "_postman_previewlanguage": "text" }, { - "id": "8303ca75-077b-47f4-9247-ffafc6f10f1c", + "id": "36ba4323-12c8-4ea0-ba5d-5f04eadd1606", "name": "Unauthorized. The API token is missing or invalid, or the account may not perform this action.", "originalRequest": { "url": { @@ -15548,12 +15548,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "906842d3-46e2-4cd8-833d-93f126363bc0", + "id": "488124a0-2a9a-4853-a5d6-02a23b2c32c8", "name": "Not Found", "originalRequest": { "url": { @@ -15615,7 +15615,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -15642,7 +15642,7 @@ "description": "", "item": [ { - "id": "0e7e54e9-54c1-4a8d-b143-a5d5c4914569", + "id": "b39e8bdf-7767-42e8-9a7e-8032e30d7e9f", "name": "Create a tracking request", "request": { "name": "Create a tracking request", @@ -15673,7 +15673,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"data\": {\n \"type\": \"tracking_request\",\n \"attributes\": {\n \"request_type\": \"bill_of_lading\",\n \"request_number\": \"\",\n \"scac\": \"\",\n \"auto_detect_vocc_scac\": false,\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"shipment_tags\": [\n \"\",\n \"\"\n ],\n \"initial_custom_fields\": {\n \"shipment\": [\n {\n \"api_slug\": \"\",\n \"value\": \"\"\n },\n {\n \"api_slug\": \"\",\n \"value\": \"\"\n }\n ],\n \"containers\": [\n {\n \"api_slug\": \"\",\n \"value\": \"\",\n \"number\": \"\"\n },\n {\n \"api_slug\": \"\",\n \"value\": \"\",\n \"number\": \"\"\n }\n ]\n }\n },\n \"relationships\": {\n \"customer\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n },\n \"shipper\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n },\n \"consignee\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n },\n \"notify_party\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n },\n \"customs_broker\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n },\n \"freight_forwarder\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n },\n \"pickup_dray_carrier\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n }\n }\n }\n}", + "raw": "{\n \"data\": {\n \"type\": \"tracking_request\",\n \"attributes\": {\n \"request_type\": \"container\",\n \"request_number\": \"\",\n \"scac\": \"\",\n \"auto_detect_vocc_scac\": false,\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"shipment_tags\": [\n \"\",\n \"\"\n ],\n \"initial_custom_fields\": {\n \"shipment\": [\n {\n \"api_slug\": \"\",\n \"value\": \"\"\n },\n {\n \"api_slug\": \"\",\n \"value\": \"\"\n }\n ],\n \"containers\": [\n {\n \"api_slug\": \"\",\n \"value\": \"\",\n \"number\": \"\"\n },\n {\n \"api_slug\": \"\",\n \"value\": \"\",\n \"number\": \"\"\n }\n ]\n }\n },\n \"relationships\": {\n \"customer\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n },\n \"shipper\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n },\n \"consignee\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n },\n \"notify_party\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n },\n \"customs_broker\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n },\n \"freight_forwarder\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n },\n \"pickup_dray_carrier\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n }\n }\n }\n}", "options": { "raw": { "headerFamily": "json", @@ -15701,7 +15701,7 @@ }, "response": [ { - "id": "028c1872-7261-443f-9762-577efb74bf0d", + "id": "2e515ba7-9731-4003-b781-d2f928fb8e2c", "name": "Tracking Request Created", "originalRequest": { "url": { @@ -15735,7 +15735,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"data\": {\n \"type\": \"tracking_request\",\n \"attributes\": {\n \"request_type\": \"bill_of_lading\",\n \"request_number\": \"\",\n \"scac\": \"\",\n \"auto_detect_vocc_scac\": false,\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"shipment_tags\": [\n \"\",\n \"\"\n ],\n \"initial_custom_fields\": {\n \"shipment\": [\n {\n \"api_slug\": \"\",\n \"value\": \"\"\n },\n {\n \"api_slug\": \"\",\n \"value\": \"\"\n }\n ],\n \"containers\": [\n {\n \"api_slug\": \"\",\n \"value\": \"\",\n \"number\": \"\"\n },\n {\n \"api_slug\": \"\",\n \"value\": \"\",\n \"number\": \"\"\n }\n ]\n }\n },\n \"relationships\": {\n \"customer\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n },\n \"shipper\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n },\n \"consignee\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n },\n \"notify_party\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n },\n \"customs_broker\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n },\n \"freight_forwarder\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n },\n \"pickup_dray_carrier\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n }\n }\n }\n}", + "raw": "{\n \"data\": {\n \"type\": \"tracking_request\",\n \"attributes\": {\n \"request_type\": \"container\",\n \"request_number\": \"\",\n \"scac\": \"\",\n \"auto_detect_vocc_scac\": false,\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"shipment_tags\": [\n \"\",\n \"\"\n ],\n \"initial_custom_fields\": {\n \"shipment\": [\n {\n \"api_slug\": \"\",\n \"value\": \"\"\n },\n {\n \"api_slug\": \"\",\n \"value\": \"\"\n }\n ],\n \"containers\": [\n {\n \"api_slug\": \"\",\n \"value\": \"\",\n \"number\": \"\"\n },\n {\n \"api_slug\": \"\",\n \"value\": \"\",\n \"number\": \"\"\n }\n ]\n }\n },\n \"relationships\": {\n \"customer\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n },\n \"shipper\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n },\n \"consignee\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n },\n \"notify_party\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n },\n \"customs_broker\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n },\n \"freight_forwarder\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n },\n \"pickup_dray_carrier\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n }\n }\n }\n}", "options": { "raw": { "headerFamily": "json", @@ -15752,12 +15752,12 @@ "value": "application/json" } ], - "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"tracking_request\",\n \"attributes\": {\n \"request_number\": \"\",\n \"status\": \"created\",\n \"request_type\": \"bill_of_lading\",\n \"scac\": \"\",\n \"created_at\": \"\",\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"failed_reason\": \"invalid_number\",\n \"updated_at\": \"\",\n \"is_retrying\": \"\",\n \"retry_count\": \"\"\n },\n \"relationships\": {\n \"tracked_object\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"shipment\"\n }\n },\n \"customer\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"account\"\n }\n },\n \"user\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"user\"\n }\n }\n }\n },\n \"included\": [\n {\n \"id\": \"\",\n \"type\": \"account\",\n \"attributes\": {\n \"company_name\": \"\"\n }\n },\n {\n \"id\": \"\",\n \"type\": \"account\",\n \"attributes\": {\n \"company_name\": \"\"\n }\n }\n ]\n}", + "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"tracking_request\",\n \"attributes\": {\n \"request_number\": \"\",\n \"status\": \"failed\",\n \"request_type\": \"container\",\n \"scac\": \"\",\n \"created_at\": \"\",\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"failed_reason\": \"unrecognized_response\",\n \"updated_at\": \"\",\n \"is_retrying\": \"\",\n \"retry_count\": \"\"\n },\n \"relationships\": {\n \"tracked_object\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"shipment\"\n }\n },\n \"customer\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"account\"\n }\n },\n \"user\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"user\"\n }\n }\n }\n },\n \"included\": [\n {\n \"id\": \"\",\n \"type\": \"account\",\n \"attributes\": {\n \"company_name\": \"\"\n }\n },\n {\n \"id\": \"\",\n \"type\": \"account\",\n \"attributes\": {\n \"company_name\": \"\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "7c2bf381-8f09-4714-99af-5be033b99021", + "id": "856e5d0d-438f-411e-9ded-7005ce1391e6", "name": "Unprocessable Entity", "originalRequest": { "url": { @@ -15791,7 +15791,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"data\": {\n \"type\": \"tracking_request\",\n \"attributes\": {\n \"request_type\": \"bill_of_lading\",\n \"request_number\": \"\",\n \"scac\": \"\",\n \"auto_detect_vocc_scac\": false,\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"shipment_tags\": [\n \"\",\n \"\"\n ],\n \"initial_custom_fields\": {\n \"shipment\": [\n {\n \"api_slug\": \"\",\n \"value\": \"\"\n },\n {\n \"api_slug\": \"\",\n \"value\": \"\"\n }\n ],\n \"containers\": [\n {\n \"api_slug\": \"\",\n \"value\": \"\",\n \"number\": \"\"\n },\n {\n \"api_slug\": \"\",\n \"value\": \"\",\n \"number\": \"\"\n }\n ]\n }\n },\n \"relationships\": {\n \"customer\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n },\n \"shipper\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n },\n \"consignee\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n },\n \"notify_party\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n },\n \"customs_broker\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n },\n \"freight_forwarder\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n },\n \"pickup_dray_carrier\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n }\n }\n }\n}", + "raw": "{\n \"data\": {\n \"type\": \"tracking_request\",\n \"attributes\": {\n \"request_type\": \"container\",\n \"request_number\": \"\",\n \"scac\": \"\",\n \"auto_detect_vocc_scac\": false,\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"shipment_tags\": [\n \"\",\n \"\"\n ],\n \"initial_custom_fields\": {\n \"shipment\": [\n {\n \"api_slug\": \"\",\n \"value\": \"\"\n },\n {\n \"api_slug\": \"\",\n \"value\": \"\"\n }\n ],\n \"containers\": [\n {\n \"api_slug\": \"\",\n \"value\": \"\",\n \"number\": \"\"\n },\n {\n \"api_slug\": \"\",\n \"value\": \"\",\n \"number\": \"\"\n }\n ]\n }\n },\n \"relationships\": {\n \"customer\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n },\n \"shipper\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n },\n \"consignee\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n },\n \"notify_party\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n },\n \"customs_broker\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n },\n \"freight_forwarder\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n },\n \"pickup_dray_carrier\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n }\n }\n }\n}", "options": { "raw": { "headerFamily": "json", @@ -15808,12 +15808,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "266bdc6d-fa87-45f1-9580-ba2dd7a2478d", + "id": "c888e685-46d4-4242-be25-06a56d75e261", "name": "Too Many Requests - You've hit the create tracking requests limit. Please try again in a minute.", "originalRequest": { "url": { @@ -15847,7 +15847,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"data\": {\n \"type\": \"tracking_request\",\n \"attributes\": {\n \"request_type\": \"bill_of_lading\",\n \"request_number\": \"\",\n \"scac\": \"\",\n \"auto_detect_vocc_scac\": false,\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"shipment_tags\": [\n \"\",\n \"\"\n ],\n \"initial_custom_fields\": {\n \"shipment\": [\n {\n \"api_slug\": \"\",\n \"value\": \"\"\n },\n {\n \"api_slug\": \"\",\n \"value\": \"\"\n }\n ],\n \"containers\": [\n {\n \"api_slug\": \"\",\n \"value\": \"\",\n \"number\": \"\"\n },\n {\n \"api_slug\": \"\",\n \"value\": \"\",\n \"number\": \"\"\n }\n ]\n }\n },\n \"relationships\": {\n \"customer\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n },\n \"shipper\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n },\n \"consignee\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n },\n \"notify_party\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n },\n \"customs_broker\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n },\n \"freight_forwarder\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n },\n \"pickup_dray_carrier\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n }\n }\n }\n}", + "raw": "{\n \"data\": {\n \"type\": \"tracking_request\",\n \"attributes\": {\n \"request_type\": \"container\",\n \"request_number\": \"\",\n \"scac\": \"\",\n \"auto_detect_vocc_scac\": false,\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"shipment_tags\": [\n \"\",\n \"\"\n ],\n \"initial_custom_fields\": {\n \"shipment\": [\n {\n \"api_slug\": \"\",\n \"value\": \"\"\n },\n {\n \"api_slug\": \"\",\n \"value\": \"\"\n }\n ],\n \"containers\": [\n {\n \"api_slug\": \"\",\n \"value\": \"\",\n \"number\": \"\"\n },\n {\n \"api_slug\": \"\",\n \"value\": \"\",\n \"number\": \"\"\n }\n ]\n }\n },\n \"relationships\": {\n \"customer\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n },\n \"shipper\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n },\n \"consignee\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n },\n \"notify_party\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n },\n \"customs_broker\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n },\n \"freight_forwarder\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n },\n \"pickup_dray_carrier\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n }\n }\n }\n}", "options": { "raw": { "headerFamily": "json", @@ -15884,7 +15884,7 @@ } }, { - "id": "d1529854-b76c-4a1c-a5c3-5b50b3032098", + "id": "61978e00-9b97-4b87-ba91-da81a762429d", "name": "List tracking requests", "request": { "name": "List tracking requests", @@ -15925,7 +15925,7 @@ "type": "text/plain" }, "key": "filter[status]", - "value": "created" + "value": "cancelled" }, { "disabled": true, @@ -16014,7 +16014,7 @@ }, "response": [ { - "id": "e674ec2b-2c6a-4cf0-9eb3-6f04def574d0", + "id": "6867a961-bab9-4be0-88b7-a66bf3fd1421", "name": "OK", "originalRequest": { "url": { @@ -16050,7 +16050,7 @@ "type": "text/plain" }, "key": "filter[status]", - "value": "created" + "value": "cancelled" }, { "disabled": true, @@ -16152,12 +16152,12 @@ "value": "application/json" } ], - "body": "{\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"tracking_request\",\n \"attributes\": {\n \"request_number\": \"\",\n \"status\": \"cancelled\",\n \"request_type\": \"booking_number\",\n \"scac\": \"\",\n \"created_at\": \"\",\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"failed_reason\": \"scac_auto_detect_failed\",\n \"updated_at\": \"\",\n \"is_retrying\": \"\",\n \"retry_count\": \"\"\n },\n \"relationships\": {\n \"tracked_object\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"shipment\"\n }\n },\n \"customer\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"account\"\n }\n },\n \"user\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"user\"\n }\n }\n }\n },\n {\n \"id\": \"\",\n \"type\": \"tracking_request\",\n \"attributes\": {\n \"request_number\": \"\",\n \"status\": \"awaiting_manifest\",\n \"request_type\": \"bill_of_lading\",\n \"scac\": \"\",\n \"created_at\": \"\",\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"failed_reason\": \"shipping_line_unreachable\",\n \"updated_at\": \"\",\n \"is_retrying\": \"\",\n \"retry_count\": \"\"\n },\n \"relationships\": {\n \"tracked_object\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"shipment\"\n }\n },\n \"customer\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"account\"\n }\n },\n \"user\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"user\"\n }\n }\n }\n }\n ],\n \"links\": {\n \"self\": \"\",\n \"current\": \"\",\n \"first\": \"\",\n \"prev\": \"\",\n \"next\": \"\",\n \"last\": \"\"\n },\n \"meta\": {\n \"size\": \"\",\n \"total\": \"\"\n },\n \"included\": [\n {\n \"id\": \"\",\n \"type\": \"account\",\n \"attributes\": {\n \"company_name\": \"\"\n }\n },\n {\n \"id\": \"\",\n \"type\": \"account\",\n \"attributes\": {\n \"company_name\": \"\"\n }\n }\n ]\n}", + "body": "{\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"tracking_request\",\n \"attributes\": {\n \"request_number\": \"\",\n \"status\": \"tracking_stopped\",\n \"request_type\": \"bill_of_lading\",\n \"scac\": \"\",\n \"created_at\": \"\",\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"failed_reason\": \"retries_exhausted\",\n \"updated_at\": \"\",\n \"is_retrying\": \"\",\n \"retry_count\": \"\"\n },\n \"relationships\": {\n \"tracked_object\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"shipment\"\n }\n },\n \"customer\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"account\"\n }\n },\n \"user\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"user\"\n }\n }\n }\n },\n {\n \"id\": \"\",\n \"type\": \"tracking_request\",\n \"attributes\": {\n \"request_number\": \"\",\n \"status\": \"cancelled\",\n \"request_type\": \"container\",\n \"scac\": \"\",\n \"created_at\": \"\",\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"failed_reason\": \"shipping_line_not_supported\",\n \"updated_at\": \"\",\n \"is_retrying\": \"\",\n \"retry_count\": \"\"\n },\n \"relationships\": {\n \"tracked_object\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"shipment\"\n }\n },\n \"customer\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"account\"\n }\n },\n \"user\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"user\"\n }\n }\n }\n }\n ],\n \"links\": {\n \"self\": \"\",\n \"current\": \"\",\n \"first\": \"\",\n \"prev\": \"\",\n \"next\": \"\",\n \"last\": \"\"\n },\n \"meta\": {\n \"size\": \"\",\n \"total\": \"\"\n },\n \"included\": [\n {\n \"id\": \"\",\n \"type\": \"account\",\n \"attributes\": {\n \"company_name\": \"\"\n }\n },\n {\n \"id\": \"\",\n \"type\": \"account\",\n \"attributes\": {\n \"company_name\": \"\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "e6c8884c-afdc-40ce-b754-171ff27d5aa6", + "id": "19f784db-319f-44e4-af4a-e769c8645ac0", "name": "Bad Request", "originalRequest": { "url": { @@ -16193,7 +16193,7 @@ "type": "text/plain" }, "key": "filter[status]", - "value": "created" + "value": "cancelled" }, { "disabled": true, @@ -16295,12 +16295,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "a6f1770d-a473-44f6-b3f6-3ab33d562de5", + "id": "abdfea7f-6aaa-40b3-a281-84c8df7777de", "name": "Not Found", "originalRequest": { "url": { @@ -16336,7 +16336,7 @@ "type": "text/plain" }, "key": "filter[status]", - "value": "created" + "value": "cancelled" }, { "disabled": true, @@ -16438,7 +16438,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -16449,7 +16449,7 @@ } }, { - "id": "8ad34df7-cdf8-4c3a-beb8-955430e04702", + "id": "aa0361b4-2980-4021-aaf3-b2fdbaf68235", "name": "Infer Tracking Number", "request": { "name": "Infer Tracking Number", @@ -16509,7 +16509,7 @@ }, "response": [ { - "id": "e8e40df7-760a-4a75-a43a-a853763a4130", + "id": "38eba37e-f745-47d6-a300-2519cf2e9ef5", "name": "Successfully inferred number type and shipping line", "originalRequest": { "url": { @@ -16561,12 +16561,12 @@ "value": "application/json" } ], - "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"\",\n \"attributes\": {\n \"number_type\": \"container\",\n \"validation\": {\n \"is_valid\": \"\",\n \"type\": \"shipment\",\n \"check_digit_passed\": \"\",\n \"parsed_number\": \"\",\n \"reason\": \"\"\n },\n \"shipping_line\": {\n \"decision\": \"needs_confirmation\",\n \"selected\": {\n \"scac\": \"\",\n \"name\": \"\",\n \"confidence\": \"\"\n },\n \"candidates\": [\n {\n \"scac\": \"\",\n \"name\": \"\",\n \"confidence\": \"\"\n },\n {\n \"scac\": \"\",\n \"name\": \"\",\n \"confidence\": \"\"\n }\n ]\n }\n }\n }\n}", + "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"\",\n \"attributes\": {\n \"number_type\": \"container\",\n \"validation\": {\n \"is_valid\": \"\",\n \"type\": \"container\",\n \"check_digit_passed\": \"\",\n \"parsed_number\": \"\",\n \"reason\": \"\"\n },\n \"shipping_line\": {\n \"decision\": \"needs_confirmation\",\n \"selected\": {\n \"scac\": \"\",\n \"name\": \"\",\n \"confidence\": \"\"\n },\n \"candidates\": [\n {\n \"scac\": \"\",\n \"name\": \"\",\n \"confidence\": \"\"\n },\n {\n \"scac\": \"\",\n \"name\": \"\",\n \"confidence\": \"\"\n }\n ]\n }\n }\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "00d582a5-aae7-4af1-b26f-0851a5245567", + "id": "8978babb-56f6-46e1-ab54-e30ae0858cb9", "name": "Unprocessable Entity - Invalid tracking number format", "originalRequest": { "url": { @@ -16623,7 +16623,7 @@ "_postman_previewlanguage": "json" }, { - "id": "ef7e8e90-c1c1-4ba3-b39a-7f31a8d0d3d0", + "id": "22407dbc-73bd-4b6e-96d8-e4fcdbbad31a", "name": "Too Many Requests - Rate limit exceeded", "originalRequest": { "url": { @@ -16695,7 +16695,7 @@ } }, { - "id": "f4a54e21-e7b6-4aa7-a3e0-79d5ba081ac3", + "id": "57c949d3-d531-449c-a67b-1970463ea740", "name": "Get a single tracking request", "request": { "name": "Get a single tracking request", @@ -16747,7 +16747,7 @@ }, "response": [ { - "id": "4ab6c85b-b25b-4828-b2fb-72b7e4bddd47", + "id": "fd00a944-92a5-4ff8-8eac-00de80d1a298", "name": "OK", "originalRequest": { "url": { @@ -16807,12 +16807,12 @@ "value": "application/json" } ], - "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"tracking_request\",\n \"attributes\": {\n \"request_number\": \"\",\n \"status\": \"created\",\n \"request_type\": \"bill_of_lading\",\n \"scac\": \"\",\n \"created_at\": \"\",\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"failed_reason\": \"invalid_number\",\n \"updated_at\": \"\",\n \"is_retrying\": \"\",\n \"retry_count\": \"\"\n },\n \"relationships\": {\n \"tracked_object\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"shipment\"\n }\n },\n \"customer\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"account\"\n }\n },\n \"user\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"user\"\n }\n }\n }\n },\n \"included\": [\n {\n \"id\": \"\",\n \"type\": \"account\",\n \"attributes\": {\n \"company_name\": \"\"\n }\n },\n {\n \"id\": \"\",\n \"type\": \"account\",\n \"attributes\": {\n \"company_name\": \"\"\n }\n }\n ]\n}", + "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"tracking_request\",\n \"attributes\": {\n \"request_number\": \"\",\n \"status\": \"failed\",\n \"request_type\": \"container\",\n \"scac\": \"\",\n \"created_at\": \"\",\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"failed_reason\": \"unrecognized_response\",\n \"updated_at\": \"\",\n \"is_retrying\": \"\",\n \"retry_count\": \"\"\n },\n \"relationships\": {\n \"tracked_object\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"shipment\"\n }\n },\n \"customer\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"account\"\n }\n },\n \"user\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"user\"\n }\n }\n }\n },\n \"included\": [\n {\n \"id\": \"\",\n \"type\": \"account\",\n \"attributes\": {\n \"company_name\": \"\"\n }\n },\n {\n \"id\": \"\",\n \"type\": \"account\",\n \"attributes\": {\n \"company_name\": \"\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "67852aef-e4a9-4519-ab5e-d5ff6428961a", + "id": "12d58294-fe04-4827-841d-bbdd37293160", "name": "Bad Request", "originalRequest": { "url": { @@ -16872,12 +16872,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "0c0a3207-3ccb-4b55-9b7f-269306ae2bb2", + "id": "2ee4dbfc-11e1-4db5-b50b-d611d6504ae3", "name": "Unauthorized. The API token is missing or invalid, or the account may not perform this action.", "originalRequest": { "url": { @@ -16937,12 +16937,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "f8a5cef4-b261-4205-82c7-857b3005e0d4", + "id": "85a7e8e1-bced-43e4-a378-44cc94118986", "name": "Not Found", "originalRequest": { "url": { @@ -17002,7 +17002,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -17013,7 +17013,7 @@ } }, { - "id": "e378a386-0a50-459e-b52d-0777ad1d42eb", + "id": "6b492ad6-1a9c-4926-af23-48d05c7b2c72", "name": "Edit a tracking request", "request": { "name": "Edit a tracking request", @@ -17068,7 +17068,7 @@ }, "response": [ { - "id": "8ecf023a-caee-4f49-8b4c-b34545e4830a", + "id": "775d90ce-6ce8-4b8b-b620-6bc228d61fc0", "name": "OK", "originalRequest": { "url": { @@ -17131,12 +17131,12 @@ "value": "application/json" } ], - "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"tracking_request\",\n \"attributes\": {\n \"request_number\": \"\",\n \"status\": \"pending\",\n \"request_type\": \"bill_of_lading\",\n \"scac\": \"\",\n \"created_at\": \"\",\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"failed_reason\": \"awaiting_manifest\",\n \"updated_at\": \"\",\n \"is_retrying\": \"\",\n \"retry_count\": \"\"\n },\n \"relationships\": {\n \"tracked_object\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"shipment\"\n }\n },\n \"customer\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"account\"\n }\n },\n \"user\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"user\"\n }\n }\n }\n }\n}", + "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"tracking_request\",\n \"attributes\": {\n \"request_number\": \"\",\n \"status\": \"awaiting_manifest\",\n \"request_type\": \"container\",\n \"scac\": \"\",\n \"created_at\": \"\",\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"failed_reason\": \"awaiting_manifest\",\n \"updated_at\": \"\",\n \"is_retrying\": \"\",\n \"retry_count\": \"\"\n },\n \"relationships\": {\n \"tracked_object\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"shipment\"\n }\n },\n \"customer\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"account\"\n }\n },\n \"user\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"user\"\n }\n }\n }\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "b03ce6c7-826a-4a46-8a62-d3d11d32f49a", + "id": "527fbdb0-6597-4f72-bd54-108ce7fed1dc", "name": "Unauthorized. The API token is missing or invalid, or the account may not perform this action.", "originalRequest": { "url": { @@ -17199,12 +17199,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "c5e08690-822e-4b6d-bf70-185bab971ce1", + "id": "90fe5b2f-9f2f-481a-b0ee-07b9bd84dbc1", "name": "Not Found", "originalRequest": { "url": { @@ -17267,12 +17267,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "5b72c958-4e7a-414b-b900-61402b32b3ea", + "id": "44b4136f-c25e-40ca-8acc-e8234dcc6d17", "name": "Unprocessable Entity", "originalRequest": { "url": { @@ -17335,7 +17335,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -17346,7 +17346,7 @@ } }, { - "id": "f7c9e242-3ddd-4ea9-9b48-a804060f1bb5", + "id": "483b67fb-932b-4137-a74f-2a7e379422cf", "name": "List tracking request custom fields", "request": { "name": "List tracking request custom fields", @@ -17396,7 +17396,7 @@ }, "response": [ { - "id": "1f54b4dc-3201-4fc5-b661-62e278bd388e", + "id": "0e615695-889a-4693-ae16-995b78656907", "name": "OK", "originalRequest": { "url": { @@ -17457,12 +17457,12 @@ "value": "application/json" } ], - "body": "{\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"custom_field\",\n \"attributes\": {\n \"api_slug\": \"\",\n \"value\": \"\",\n \"display_value\": \"\"\n },\n \"relationships\": {\n \"entity\": {\n \"data\": {\n \"type\": \"container\",\n \"id\": \"\"\n }\n },\n \"definition\": {\n \"data\": {\n \"type\": \"custom_field_definition\",\n \"id\": \"\"\n }\n }\n }\n },\n {\n \"id\": \"\",\n \"type\": \"custom_field\",\n \"attributes\": {\n \"api_slug\": \"\",\n \"value\": \"\",\n \"display_value\": \"\"\n },\n \"relationships\": {\n \"entity\": {\n \"data\": {\n \"type\": \"tracking_request\",\n \"id\": \"\"\n }\n },\n \"definition\": {\n \"data\": {\n \"type\": \"custom_field_definition\",\n \"id\": \"\"\n }\n }\n }\n }\n ],\n \"links\": {\n \"self\": \"\",\n \"current\": \"\",\n \"first\": \"\",\n \"prev\": \"\",\n \"next\": \"\",\n \"last\": \"\"\n },\n \"meta\": {\n \"size\": \"\",\n \"total\": \"\"\n },\n \"included\": [\n {\n \"id\": \"\",\n \"type\": \"custom_field_definition\",\n \"attributes\": {\n \"entity_type\": \"Shipment\",\n \"api_slug\": \"\",\n \"display_name\": \"\",\n \"data_type\": \"short_text\",\n \"description\": \"\",\n \"reference_type\": \"\",\n \"validation\": {\n \"key_0\": 2303.261307062433,\n \"key_1\": \"string\"\n },\n \"default_format\": \"\",\n \"default_value\": \"\",\n \"reference_number\": \"\",\n \"sensitive\": \"\",\n \"inline_option_creation\": \"\",\n \"template_id\": \"\",\n \"has_data\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\",\n \"discarded_at\": \"\"\n },\n \"relationships\": {\n \"account\": {\n \"data\": {\n \"type\": \"account\",\n \"id\": \"\"\n }\n },\n \"created_by\": {\n \"data\": {\n \"type\": \"user\",\n \"id\": \"\"\n }\n },\n \"options\": {\n \"data\": [\n {\n \"type\": \"custom_field_option\",\n \"id\": \"\"\n },\n {\n \"type\": \"custom_field_option\",\n \"id\": \"\"\n }\n ]\n }\n }\n },\n {\n \"id\": \"\",\n \"type\": \"custom_field_definition\",\n \"attributes\": {\n \"entity_type\": \"Shipment\",\n \"api_slug\": \"\",\n \"display_name\": \"\",\n \"data_type\": \"date\",\n \"description\": \"\",\n \"reference_type\": \"\",\n \"validation\": {\n \"key_0\": 8102,\n \"key_1\": 9506.218278937042\n },\n \"default_format\": \"\",\n \"default_value\": \"\",\n \"reference_number\": \"\",\n \"sensitive\": \"\",\n \"inline_option_creation\": \"\",\n \"template_id\": \"\",\n \"has_data\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\",\n \"discarded_at\": \"\"\n },\n \"relationships\": {\n \"account\": {\n \"data\": {\n \"type\": \"account\",\n \"id\": \"\"\n }\n },\n \"created_by\": {\n \"data\": {\n \"type\": \"user\",\n \"id\": \"\"\n }\n },\n \"options\": {\n \"data\": [\n {\n \"type\": \"custom_field_option\",\n \"id\": \"\"\n },\n {\n \"type\": \"custom_field_option\",\n \"id\": \"\"\n }\n ]\n }\n }\n }\n ]\n}", + "body": "{\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"custom_field\",\n \"attributes\": {\n \"api_slug\": \"\",\n \"value\": \"\",\n \"display_value\": \"\"\n },\n \"relationships\": {\n \"entity\": {\n \"data\": {\n \"type\": \"tracking_request\",\n \"id\": \"\"\n }\n },\n \"definition\": {\n \"data\": {\n \"type\": \"custom_field_definition\",\n \"id\": \"\"\n }\n }\n }\n },\n {\n \"id\": \"\",\n \"type\": \"custom_field\",\n \"attributes\": {\n \"api_slug\": \"\",\n \"value\": \"\",\n \"display_value\": \"\"\n },\n \"relationships\": {\n \"entity\": {\n \"data\": {\n \"type\": \"shipment\",\n \"id\": \"\"\n }\n },\n \"definition\": {\n \"data\": {\n \"type\": \"custom_field_definition\",\n \"id\": \"\"\n }\n }\n }\n }\n ],\n \"links\": {\n \"self\": \"\",\n \"current\": \"\",\n \"first\": \"\",\n \"prev\": \"\",\n \"next\": \"\",\n \"last\": \"\"\n },\n \"meta\": {\n \"size\": \"\",\n \"total\": \"\"\n },\n \"included\": [\n {\n \"id\": \"\",\n \"type\": \"custom_field_definition\",\n \"attributes\": {\n \"entity_type\": \"Shipment\",\n \"api_slug\": \"\",\n \"display_name\": \"\",\n \"data_type\": \"number\",\n \"description\": \"\",\n \"reference_type\": \"\",\n \"validation\": {\n \"key_0\": \"string\",\n \"key_1\": false\n },\n \"default_format\": \"\",\n \"default_value\": \"\",\n \"reference_number\": \"\",\n \"sensitive\": \"\",\n \"inline_option_creation\": \"\",\n \"template_id\": \"\",\n \"has_data\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\",\n \"discarded_at\": \"\"\n },\n \"relationships\": {\n \"account\": {\n \"data\": {\n \"type\": \"account\",\n \"id\": \"\"\n }\n },\n \"created_by\": {\n \"data\": {\n \"type\": \"user\",\n \"id\": \"\"\n }\n },\n \"options\": {\n \"data\": [\n {\n \"type\": \"custom_field_option\",\n \"id\": \"\"\n },\n {\n \"type\": \"custom_field_option\",\n \"id\": \"\"\n }\n ]\n }\n }\n },\n {\n \"id\": \"\",\n \"type\": \"custom_field_definition\",\n \"attributes\": {\n \"entity_type\": \"Shipment\",\n \"api_slug\": \"\",\n \"display_name\": \"\",\n \"data_type\": \"datetime\",\n \"description\": \"\",\n \"reference_type\": \"\",\n \"validation\": {\n \"key_0\": 7530.449066703217,\n \"key_1\": \"string\"\n },\n \"default_format\": \"\",\n \"default_value\": \"\",\n \"reference_number\": \"\",\n \"sensitive\": \"\",\n \"inline_option_creation\": \"\",\n \"template_id\": \"\",\n \"has_data\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\",\n \"discarded_at\": \"\"\n },\n \"relationships\": {\n \"account\": {\n \"data\": {\n \"type\": \"account\",\n \"id\": \"\"\n }\n },\n \"created_by\": {\n \"data\": {\n \"type\": \"user\",\n \"id\": \"\"\n }\n },\n \"options\": {\n \"data\": [\n {\n \"type\": \"custom_field_option\",\n \"id\": \"\"\n },\n {\n \"type\": \"custom_field_option\",\n \"id\": \"\"\n }\n ]\n }\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "cb2ab22c-34a1-4ee6-9903-edb0e742757a", + "id": "f4593716-e1e4-45cc-b8be-22b9f0ac3354", "name": "Unauthorized. The API token is missing or invalid, or the account may not perform this action.", "originalRequest": { "url": { @@ -17523,12 +17523,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "29b0dfb3-7b72-4ddd-bb24-c608a12843b1", + "id": "a561288e-1e9a-47f9-9cfa-c1640ecd451e", "name": "Not Found", "originalRequest": { "url": { @@ -17589,7 +17589,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -17600,7 +17600,7 @@ } }, { - "id": "39b25007-13d5-44b8-971d-e59e52cfc53a", + "id": "2ba4ea5a-2af7-46b3-b53c-887d5d31b81e", "name": "Create a tracking request custom field", "request": { "name": "Create a tracking request custom field", @@ -17653,7 +17653,7 @@ }, "response": [ { - "id": "1a42f3cb-a76a-4fe2-a1a3-5f50c73c16f0", + "id": "5fe79a4f-157e-421a-8ce7-41267f401a96", "name": "Created", "originalRequest": { "url": { @@ -17717,12 +17717,12 @@ "value": "application/json" } ], - "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"custom_field\",\n \"attributes\": {\n \"api_slug\": \"\",\n \"value\": \"\",\n \"display_value\": \"\"\n },\n \"relationships\": {\n \"entity\": {\n \"data\": {\n \"type\": \"container\",\n \"id\": \"\"\n }\n },\n \"definition\": {\n \"data\": {\n \"type\": \"custom_field_definition\",\n \"id\": \"\"\n }\n }\n }\n },\n \"links\": {\n \"self\": \"\"\n }\n}", + "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"custom_field\",\n \"attributes\": {\n \"api_slug\": \"\",\n \"value\": \"\",\n \"display_value\": \"\"\n },\n \"relationships\": {\n \"entity\": {\n \"data\": {\n \"type\": \"shipment\",\n \"id\": \"\"\n }\n },\n \"definition\": {\n \"data\": {\n \"type\": \"custom_field_definition\",\n \"id\": \"\"\n }\n }\n }\n },\n \"links\": {\n \"self\": \"\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "c9a6ca84-c1d9-4636-93c1-18ed0af56ec7", + "id": "7f6914b4-b82a-4a38-b9c3-01c5bee58ba5", "name": "Unauthorized. The API token is missing or invalid, or the account may not perform this action.", "originalRequest": { "url": { @@ -17786,12 +17786,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "cd4d4949-c654-4361-8cb7-0451e7c8d5b0", + "id": "f6087c13-5111-466f-ae5c-dcfb3ccc1163", "name": "Not Found", "originalRequest": { "url": { @@ -17855,12 +17855,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "c58f6081-857e-4b38-a51f-becb063a819c", + "id": "98d5125b-0155-48d0-a1cf-de3fc9f17d31", "name": "Unprocessable Entity", "originalRequest": { "url": { @@ -17924,7 +17924,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -17935,7 +17935,7 @@ } }, { - "id": "d64f031f-d4fa-4943-bfd0-1e057b6c3cda", + "id": "510264b1-08e5-4c91-bab2-e0d5ccdff8ef", "name": "Update a tracking request custom field", "request": { "name": "Update a tracking request custom field", @@ -17999,7 +17999,7 @@ }, "response": [ { - "id": "4faed2a8-b6b5-4a3c-aa54-c126ccd4add4", + "id": "d82ed0e2-f5c0-4e6e-8048-6f328fceb329", "name": "OK", "originalRequest": { "url": { @@ -18074,12 +18074,12 @@ "value": "application/json" } ], - "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"custom_field\",\n \"attributes\": {\n \"api_slug\": \"\",\n \"value\": \"\",\n \"display_value\": \"\"\n },\n \"relationships\": {\n \"entity\": {\n \"data\": {\n \"type\": \"container\",\n \"id\": \"\"\n }\n },\n \"definition\": {\n \"data\": {\n \"type\": \"custom_field_definition\",\n \"id\": \"\"\n }\n }\n }\n },\n \"links\": {\n \"self\": \"\"\n }\n}", + "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"custom_field\",\n \"attributes\": {\n \"api_slug\": \"\",\n \"value\": \"\",\n \"display_value\": \"\"\n },\n \"relationships\": {\n \"entity\": {\n \"data\": {\n \"type\": \"shipment\",\n \"id\": \"\"\n }\n },\n \"definition\": {\n \"data\": {\n \"type\": \"custom_field_definition\",\n \"id\": \"\"\n }\n }\n }\n },\n \"links\": {\n \"self\": \"\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "74d3b9e7-f97a-4efa-8fc9-a8ce16e18411", + "id": "ef996b4a-da98-4945-af77-401489e29982", "name": "Unauthorized. The API token is missing or invalid, or the account may not perform this action.", "originalRequest": { "url": { @@ -18154,12 +18154,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "860860d9-7b9d-47c8-b2bb-5b31fc1e7da0", + "id": "454ada6e-8753-4591-984c-b618aeca9144", "name": "Not Found", "originalRequest": { "url": { @@ -18234,12 +18234,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "b3d5ae2f-9aa6-4f4b-87bc-198e6a2a29b7", + "id": "03556ab5-5416-490f-9966-3263bdec5225", "name": "Unprocessable Entity", "originalRequest": { "url": { @@ -18314,7 +18314,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -18325,7 +18325,7 @@ } }, { - "id": "9a5e5021-3eef-43ff-a5c7-740a83c04f48", + "id": "3c9f3c66-f2ee-4bbd-8ee3-e71a3d2c00a8", "name": "Delete a tracking request custom field", "request": { "name": "Delete a tracking request custom field", @@ -18376,7 +18376,7 @@ }, "response": [ { - "id": "b2d173e7-7d4d-4b33-b208-fa6dc919980e", + "id": "7ed00c66-406c-4c09-808e-3a9dc64d7e45", "name": "No Content", "originalRequest": { "url": { @@ -18433,7 +18433,7 @@ "_postman_previewlanguage": "text" }, { - "id": "78364240-2dc9-46b0-9845-31f4a179cf2a", + "id": "e98f338b-6e8f-4858-a92e-40062d28ba20", "name": "Unauthorized. The API token is missing or invalid, or the account may not perform this action.", "originalRequest": { "url": { @@ -18495,12 +18495,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "7b27c60c-efcc-43b9-bf18-924090f2227d", + "id": "db231d09-6a14-4e4e-9884-2694540e3589", "name": "Not Found", "originalRequest": { "url": { @@ -18562,7 +18562,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -18573,7 +18573,7 @@ } }, { - "id": "31551b40-aa8d-4c34-8a0c-832e55696ffd", + "id": "22d7d89e-60c9-4656-9c2a-98b453755826", "name": "Cancel a tracking request", "request": { "name": "Cancel a tracking request", @@ -18616,7 +18616,7 @@ }, "response": [ { - "id": "71825092-ad55-43d7-8c60-3f7ece58e9e3", + "id": "ad777856-198d-483d-83f8-27567c5cd524", "name": "Cancelled. The response body is an empty JSON object.", "originalRequest": { "url": { @@ -18672,7 +18672,7 @@ "_postman_previewlanguage": "json" }, { - "id": "5986bb9e-fa48-47c2-9df6-5e4100c3a008", + "id": "49244508-54f5-4a2b-8ea9-ab184b352171", "name": "Unauthorized. The API token is missing or invalid, or the account may not use the API. Ownership never causes a 401 here: another account's tracking request returns 422.", "originalRequest": { "url": { @@ -18723,12 +18723,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "a541ec1e-c5e5-4bc2-af7a-1e4139ef9baf", + "id": "27cdf344-b63e-456f-bcde-4bc14763be94", "name": "The tracking request is not in a cancellable status, or it belongs to another account.", "originalRequest": { "url": { @@ -18784,7 +18784,7 @@ "_postman_previewlanguage": "json" }, { - "id": "f1fdea04-9891-4637-8eaa-7e78ac651408", + "id": "51e0d807-451c-4724-ade1-ba480d73dcac", "name": "Server error. An unknown tracking request ID currently returns 500 instead of 404.", "originalRequest": { "url": { @@ -18842,7 +18842,7 @@ "description": "", "item": [ { - "id": "222efb3e-da87-4479-a3d4-a165ce7a276f", + "id": "01ec7e30-fe81-4212-a99c-5abd7465aa85", "name": "Get single webhook", "request": { "name": "Get single webhook", @@ -18884,7 +18884,7 @@ }, "response": [ { - "id": "995997c6-6984-4d81-8e01-13009537fb7b", + "id": "2fe01c99-c604-4926-9245-d686c1a03ad3", "name": "OK", "originalRequest": { "url": { @@ -18934,12 +18934,12 @@ "value": "application/json" } ], - "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"webhook\",\n \"attributes\": {\n \"url\": \"\",\n \"active\": true,\n \"events\": [\n \"container.transport.feeder_loaded\"\n ],\n \"secret\": \"\",\n \"headers\": [\n {\n \"name\": \"\",\n \"value\": \"\"\n },\n {\n \"name\": \"\",\n \"value\": \"\"\n }\n ]\n }\n }\n}", + "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"webhook\",\n \"attributes\": {\n \"url\": \"\",\n \"active\": true,\n \"events\": [\n \"container.transport.rail_departed\"\n ],\n \"secret\": \"\",\n \"headers\": [\n {\n \"name\": \"\",\n \"value\": \"\"\n },\n {\n \"name\": \"\",\n \"value\": \"\"\n }\n ]\n }\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "893dc6a8-f217-42bd-9427-4fbb13c9fe73", + "id": "1f32ced9-0231-4ee7-bf17-ec228e360537", "name": "Unauthorized. The API token is missing or invalid, or the account may not perform this action.", "originalRequest": { "url": { @@ -18989,12 +18989,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "948f3e44-987f-4075-b21f-29a1677b7370", + "id": "c22348dc-1110-4639-a78e-c8104edd6f40", "name": "Not Found", "originalRequest": { "url": { @@ -19044,7 +19044,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -19055,7 +19055,7 @@ } }, { - "id": "b28caa2e-5576-4891-b2b7-e64a0967681e", + "id": "13678828-a29c-4d5b-b12d-02b1ad6d153c", "name": "Edit a webhook", "request": { "name": "Edit a webhook", @@ -19098,7 +19098,7 @@ "method": "PATCH", "body": { "mode": "raw", - "raw": "{\n \"data\": {\n \"attributes\": {\n \"url\": \"\",\n \"events\": [\n \"container.transport.estimated.vessel_arrived\"\n ],\n \"active\": \"\",\n \"headers\": [\n {\n \"name\": \"\",\n \"value\": \"\"\n },\n {\n \"name\": \"\",\n \"value\": \"\"\n }\n ]\n },\n \"type\": \"webhook\"\n }\n}", + "raw": "{\n \"data\": {\n \"attributes\": {\n \"url\": \"\",\n \"events\": [\n \"container.transport.delivered\"\n ],\n \"active\": \"\",\n \"headers\": [\n {\n \"name\": \"\",\n \"value\": \"\"\n },\n {\n \"name\": \"\",\n \"value\": \"\"\n }\n ]\n },\n \"type\": \"webhook\"\n }\n}", "options": { "raw": { "headerFamily": "json", @@ -19110,7 +19110,7 @@ }, "response": [ { - "id": "57afea68-6452-4f90-a26d-a16932f5aca5", + "id": "9ed337d0-8a0a-4983-a437-4b7cdbe00a59", "name": "OK", "originalRequest": { "url": { @@ -19156,7 +19156,7 @@ "method": "PATCH", "body": { "mode": "raw", - "raw": "{\n \"data\": {\n \"attributes\": {\n \"url\": \"\",\n \"events\": [\n \"container.transport.estimated.vessel_arrived\"\n ],\n \"active\": \"\",\n \"headers\": [\n {\n \"name\": \"\",\n \"value\": \"\"\n },\n {\n \"name\": \"\",\n \"value\": \"\"\n }\n ]\n },\n \"type\": \"webhook\"\n }\n}", + "raw": "{\n \"data\": {\n \"attributes\": {\n \"url\": \"\",\n \"events\": [\n \"container.transport.delivered\"\n ],\n \"active\": \"\",\n \"headers\": [\n {\n \"name\": \"\",\n \"value\": \"\"\n },\n {\n \"name\": \"\",\n \"value\": \"\"\n }\n ]\n },\n \"type\": \"webhook\"\n }\n}", "options": { "raw": { "headerFamily": "json", @@ -19173,12 +19173,12 @@ "value": "application/json" } ], - "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"webhook\",\n \"attributes\": {\n \"url\": \"\",\n \"active\": true,\n \"events\": [\n \"container.transport.feeder_loaded\"\n ],\n \"secret\": \"\",\n \"headers\": [\n {\n \"name\": \"\",\n \"value\": \"\"\n },\n {\n \"name\": \"\",\n \"value\": \"\"\n }\n ]\n }\n }\n}", + "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"webhook\",\n \"attributes\": {\n \"url\": \"\",\n \"active\": true,\n \"events\": [\n \"container.transport.rail_departed\"\n ],\n \"secret\": \"\",\n \"headers\": [\n {\n \"name\": \"\",\n \"value\": \"\"\n },\n {\n \"name\": \"\",\n \"value\": \"\"\n }\n ]\n }\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "8029839f-c515-4f25-96bd-54a652ba30c4", + "id": "32b12421-9d51-4fd2-9ec6-e241eac4a554", "name": "Unauthorized. The API token is missing or invalid, or the account may not perform this action.", "originalRequest": { "url": { @@ -19224,7 +19224,7 @@ "method": "PATCH", "body": { "mode": "raw", - "raw": "{\n \"data\": {\n \"attributes\": {\n \"url\": \"\",\n \"events\": [\n \"container.transport.estimated.vessel_arrived\"\n ],\n \"active\": \"\",\n \"headers\": [\n {\n \"name\": \"\",\n \"value\": \"\"\n },\n {\n \"name\": \"\",\n \"value\": \"\"\n }\n ]\n },\n \"type\": \"webhook\"\n }\n}", + "raw": "{\n \"data\": {\n \"attributes\": {\n \"url\": \"\",\n \"events\": [\n \"container.transport.delivered\"\n ],\n \"active\": \"\",\n \"headers\": [\n {\n \"name\": \"\",\n \"value\": \"\"\n },\n {\n \"name\": \"\",\n \"value\": \"\"\n }\n ]\n },\n \"type\": \"webhook\"\n }\n}", "options": { "raw": { "headerFamily": "json", @@ -19241,12 +19241,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "285d8e13-e884-47d9-bb90-40cfee5f72ab", + "id": "76025c21-b788-4639-87bb-0dc27be591c2", "name": "Not Found", "originalRequest": { "url": { @@ -19292,7 +19292,7 @@ "method": "PATCH", "body": { "mode": "raw", - "raw": "{\n \"data\": {\n \"attributes\": {\n \"url\": \"\",\n \"events\": [\n \"container.transport.estimated.vessel_arrived\"\n ],\n \"active\": \"\",\n \"headers\": [\n {\n \"name\": \"\",\n \"value\": \"\"\n },\n {\n \"name\": \"\",\n \"value\": \"\"\n }\n ]\n },\n \"type\": \"webhook\"\n }\n}", + "raw": "{\n \"data\": {\n \"attributes\": {\n \"url\": \"\",\n \"events\": [\n \"container.transport.delivered\"\n ],\n \"active\": \"\",\n \"headers\": [\n {\n \"name\": \"\",\n \"value\": \"\"\n },\n {\n \"name\": \"\",\n \"value\": \"\"\n }\n ]\n },\n \"type\": \"webhook\"\n }\n}", "options": { "raw": { "headerFamily": "json", @@ -19309,12 +19309,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "494f013c-c7c1-4497-9d1f-74bb17e3f586", + "id": "f43c3b01-3f73-4498-b915-c3491dd0efdf", "name": "Unprocessable Entity", "originalRequest": { "url": { @@ -19360,7 +19360,7 @@ "method": "PATCH", "body": { "mode": "raw", - "raw": "{\n \"data\": {\n \"attributes\": {\n \"url\": \"\",\n \"events\": [\n \"container.transport.estimated.vessel_arrived\"\n ],\n \"active\": \"\",\n \"headers\": [\n {\n \"name\": \"\",\n \"value\": \"\"\n },\n {\n \"name\": \"\",\n \"value\": \"\"\n }\n ]\n },\n \"type\": \"webhook\"\n }\n}", + "raw": "{\n \"data\": {\n \"attributes\": {\n \"url\": \"\",\n \"events\": [\n \"container.transport.delivered\"\n ],\n \"active\": \"\",\n \"headers\": [\n {\n \"name\": \"\",\n \"value\": \"\"\n },\n {\n \"name\": \"\",\n \"value\": \"\"\n }\n ]\n },\n \"type\": \"webhook\"\n }\n}", "options": { "raw": { "headerFamily": "json", @@ -19377,7 +19377,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -19388,7 +19388,7 @@ } }, { - "id": "5adbd968-7a19-4077-9bc0-1dc82b4d443e", + "id": "94415a74-43c4-4bb4-bd3d-d3d3a5796043", "name": "Delete a webhook", "request": { "name": "Delete a webhook", @@ -19430,7 +19430,7 @@ }, "response": [ { - "id": "398ef554-d705-441d-a849-30cf1c866e5b", + "id": "e76e260f-a6ca-42ef-a8c5-c33ee302a2da", "name": "No Content", "originalRequest": { "url": { @@ -19475,7 +19475,7 @@ "_postman_previewlanguage": "text" }, { - "id": "472f7571-e581-4332-a75c-24731811fe14", + "id": "31548eab-ad5e-4953-8b75-4ec5406b5b9b", "name": "Unauthorized. The API token is missing or invalid, or the account may not perform this action.", "originalRequest": { "url": { @@ -19525,12 +19525,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "2290ab5c-f90a-4745-b9e4-d95b614037a8", + "id": "906e5621-959e-4443-a9a0-b55f41651005", "name": "Not Found", "originalRequest": { "url": { @@ -19580,7 +19580,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -19591,7 +19591,7 @@ } }, { - "id": "b59163cf-54dc-408b-acb0-47bf42b6ec95", + "id": "6257e479-84a1-4722-bc76-8dedcfb0b7fb", "name": "List webhooks", "request": { "name": "List webhooks", @@ -19640,7 +19640,7 @@ }, "response": [ { - "id": "a5679d7d-2931-4b52-9c21-0e25eb71e16b", + "id": "24a978f9-f74f-411a-a9d8-26622a098392", "name": "OK", "originalRequest": { "url": { @@ -19697,7 +19697,7 @@ "value": "application/json" } ], - "body": "{\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"webhook\",\n \"attributes\": {\n \"url\": \"\",\n \"active\": true,\n \"events\": [\n \"container.transport.feeder_departed\"\n ],\n \"secret\": \"\",\n \"headers\": [\n {\n \"name\": \"\",\n \"value\": \"\"\n },\n {\n \"name\": \"\",\n \"value\": \"\"\n }\n ]\n }\n },\n {\n \"id\": \"\",\n \"type\": \"webhook\",\n \"attributes\": {\n \"url\": \"\",\n \"active\": true,\n \"events\": [\n \"container.transport.transshipment_loaded\"\n ],\n \"secret\": \"\",\n \"headers\": [\n {\n \"name\": \"\",\n \"value\": \"\"\n },\n {\n \"name\": \"\",\n \"value\": \"\"\n }\n ]\n }\n }\n ],\n \"meta\": {\n \"size\": \"\",\n \"total\": \"\"\n },\n \"links\": {\n \"self\": \"\",\n \"current\": \"\",\n \"first\": \"\",\n \"prev\": \"\",\n \"next\": \"\",\n \"last\": \"\"\n }\n}", + "body": "{\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"webhook\",\n \"attributes\": {\n \"url\": \"\",\n \"active\": true,\n \"events\": [\n \"container.transport.full_out\"\n ],\n \"secret\": \"\",\n \"headers\": [\n {\n \"name\": \"\",\n \"value\": \"\"\n },\n {\n \"name\": \"\",\n \"value\": \"\"\n }\n ]\n }\n },\n {\n \"id\": \"\",\n \"type\": \"webhook\",\n \"attributes\": {\n \"url\": \"\",\n \"active\": true,\n \"events\": [\n \"container.transport.vessel_arrived\"\n ],\n \"secret\": \"\",\n \"headers\": [\n {\n \"name\": \"\",\n \"value\": \"\"\n },\n {\n \"name\": \"\",\n \"value\": \"\"\n }\n ]\n }\n }\n ],\n \"meta\": {\n \"size\": \"\",\n \"total\": \"\"\n },\n \"links\": {\n \"self\": \"\",\n \"current\": \"\",\n \"first\": \"\",\n \"prev\": \"\",\n \"next\": \"\",\n \"last\": \"\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -19708,7 +19708,7 @@ } }, { - "id": "ff59ede4-447b-4c03-a413-a40412b9b48d", + "id": "ee3f77c2-0cdc-4a9e-b298-37025c116b03", "name": "Create a webhook", "request": { "name": "Create a webhook", @@ -19739,7 +19739,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"data\": {\n \"attributes\": {\n \"url\": \"\",\n \"events\": [\n \"container.transport.available\"\n ],\n \"active\": true,\n \"headers\": [\n {\n \"name\": \"\",\n \"value\": \"\"\n },\n {\n \"name\": \"\",\n \"value\": \"\"\n }\n ]\n },\n \"type\": \"webhook\"\n }\n}", + "raw": "{\n \"data\": {\n \"attributes\": {\n \"url\": \"\",\n \"events\": [\n \"shipment.routing.filled\"\n ],\n \"active\": true,\n \"headers\": [\n {\n \"name\": \"\",\n \"value\": \"\"\n },\n {\n \"name\": \"\",\n \"value\": \"\"\n }\n ]\n },\n \"type\": \"webhook\"\n }\n}", "options": { "raw": { "headerFamily": "json", @@ -19751,7 +19751,7 @@ }, "response": [ { - "id": "61662a9e-c44c-40b7-b824-fd33f64fc694", + "id": "24e9d905-9021-4db2-98d3-07cb3325effe", "name": "Create a test webhook endpoint", "originalRequest": { "url": { @@ -19785,7 +19785,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"data\": {\n \"attributes\": {\n \"url\": \"\",\n \"events\": [\n \"container.transport.available\"\n ],\n \"active\": true,\n \"headers\": [\n {\n \"name\": \"\",\n \"value\": \"\"\n },\n {\n \"name\": \"\",\n \"value\": \"\"\n }\n ]\n },\n \"type\": \"webhook\"\n }\n}", + "raw": "{\n \"data\": {\n \"attributes\": {\n \"url\": \"\",\n \"events\": [\n \"shipment.routing.filled\"\n ],\n \"active\": true,\n \"headers\": [\n {\n \"name\": \"\",\n \"value\": \"\"\n },\n {\n \"name\": \"\",\n \"value\": \"\"\n }\n ]\n },\n \"type\": \"webhook\"\n }\n}", "options": { "raw": { "headerFamily": "json", @@ -19802,12 +19802,12 @@ "value": "application/json" } ], - "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"webhook\",\n \"attributes\": {\n \"url\": \"\",\n \"active\": true,\n \"events\": [\n \"container.transport.feeder_loaded\"\n ],\n \"secret\": \"\",\n \"headers\": [\n {\n \"name\": \"\",\n \"value\": \"\"\n },\n {\n \"name\": \"\",\n \"value\": \"\"\n }\n ]\n }\n }\n}", + "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"webhook\",\n \"attributes\": {\n \"url\": \"\",\n \"active\": true,\n \"events\": [\n \"container.transport.rail_departed\"\n ],\n \"secret\": \"\",\n \"headers\": [\n {\n \"name\": \"\",\n \"value\": \"\"\n },\n {\n \"name\": \"\",\n \"value\": \"\"\n }\n ]\n }\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "71a0ceb7-9a7b-46bb-8b27-1a1b54eafe37", + "id": "a10f7e77-9f21-4120-8a74-ecbdf40203e0", "name": "Unprocessable Entity", "originalRequest": { "url": { @@ -19841,7 +19841,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"data\": {\n \"attributes\": {\n \"url\": \"\",\n \"events\": [\n \"container.transport.available\"\n ],\n \"active\": true,\n \"headers\": [\n {\n \"name\": \"\",\n \"value\": \"\"\n },\n {\n \"name\": \"\",\n \"value\": \"\"\n }\n ]\n },\n \"type\": \"webhook\"\n }\n}", + "raw": "{\n \"data\": {\n \"attributes\": {\n \"url\": \"\",\n \"events\": [\n \"shipment.routing.filled\"\n ],\n \"active\": true,\n \"headers\": [\n {\n \"name\": \"\",\n \"value\": \"\"\n },\n {\n \"name\": \"\",\n \"value\": \"\"\n }\n ]\n },\n \"type\": \"webhook\"\n }\n}", "options": { "raw": { "headerFamily": "json", @@ -19858,7 +19858,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -19869,7 +19869,7 @@ } }, { - "id": "665c754f-7bda-4392-bf0c-f1c3f12f925d", + "id": "81907b0d-ab02-4506-920f-d30f72690550", "name": "List webhook events", "request": { "name": "List webhook events", @@ -19900,7 +19900,7 @@ }, "response": [ { - "id": "1adb8c1b-a4f2-4bc4-82c6-ce09edd103d6", + "id": "758b6edb-143c-4c31-87a6-c848536d2020", "name": "OK", "originalRequest": { "url": { @@ -19950,7 +19950,7 @@ } }, { - "id": "52fe7ff2-8e3c-48a4-b5cc-c4a02c08eb3b", + "id": "f9833919-bedd-4c8e-98bf-eeb2796b5b9e", "name": "List webhook IPs", "request": { "name": "List webhook IPs", @@ -19981,7 +19981,7 @@ }, "response": [ { - "id": "d728dde1-2627-49f2-ab76-c46bbaaf896e", + "id": "a173ca84-c27d-4bcd-81c0-a8e995957d49", "name": "OK", "originalRequest": { "url": { @@ -20031,7 +20031,7 @@ } }, { - "id": "7a2c4d8d-327b-4023-a1be-ccdc39c2eccc", + "id": "e1bcce10-a9cd-4a22-b10a-f7403d583e6b", "name": "Trigger a webhook test delivery", "request": { "name": "Trigger a webhook test delivery", @@ -20075,7 +20075,7 @@ }, "response": [ { - "id": "29b141bc-e6c1-482a-9f58-099c811891fd", + "id": "8a0011ae-61a0-48f1-8e32-52fd48bb4906", "name": "Webhook test delivery attempt result", "originalRequest": { "url": { @@ -20127,12 +20127,12 @@ "value": "application/json" } ], - "body": "{\n \"url\": \"\",\n \"succeeded\": \"\",\n \"error\": \"\",\n \"status_code\": \"\",\n \"request_headers\": {\n \"key_0\": \"string\"\n },\n \"request_body\": \"\",\n \"response_headers\": {\n \"key_0\": 4195,\n \"key_1\": true,\n \"key_2\": 5163.496421577699\n },\n \"response_body\": \"\"\n}", + "body": "{\n \"url\": \"\",\n \"succeeded\": \"\",\n \"error\": \"\",\n \"status_code\": \"\",\n \"request_headers\": {\n \"key_0\": true,\n \"key_1\": 3589\n },\n \"request_body\": \"\",\n \"response_headers\": {\n \"key_0\": 4089\n },\n \"response_body\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "8fa07c8f-b547-4fe9-a2c1-7fe07bc0a428", + "id": "4994e0c9-2e77-4cb6-b2a8-c0c3ef11c4ab", "name": "Validation error", "originalRequest": { "url": { @@ -20201,7 +20201,7 @@ "description": "", "item": [ { - "id": "80795c2f-c5bc-4ccb-8ad5-6baac45d0ca7", + "id": "03142b14-864d-4193-b974-24224309c99b", "name": "Get a single webhook notification", "request": { "name": "Get a single webhook notification", @@ -20250,7 +20250,7 @@ }, "response": [ { - "id": "839a9f43-6db3-4315-98ba-a30acc9f8c08", + "id": "c8e35c6b-52d7-43aa-8034-6acfe53fecc0", "name": "200", "originalRequest": { "url": { @@ -20310,12 +20310,12 @@ "value": "application/json" } ], - "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"webhook_notification\",\n \"attributes\": {\n \"event\": \"container.transport.feeder_departed\",\n \"delivery_status\": \"pending\",\n \"created_at\": \"\"\n },\n \"relationships\": {\n \"webhook\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"webhook\"\n }\n },\n \"reference_object\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"document_observation\"\n }\n }\n }\n },\n \"included\": [\n {\n \"id\": \"\",\n \"type\": \"webhook\",\n \"attributes\": {\n \"url\": \"\",\n \"active\": true,\n \"events\": [\n \"container.pickup_lfd_rail.changed\"\n ],\n \"secret\": \"\",\n \"headers\": [\n {\n \"name\": \"\",\n \"value\": \"\"\n },\n {\n \"name\": \"\",\n \"value\": \"\"\n }\n ]\n }\n },\n {\n \"id\": \"\",\n \"type\": \"webhook\",\n \"attributes\": {\n \"url\": \"\",\n \"active\": true,\n \"events\": [\n \"container.transport.estimated.arrived_at_inland_destination\"\n ],\n \"secret\": \"\",\n \"headers\": [\n {\n \"name\": \"\",\n \"value\": \"\"\n },\n {\n \"name\": \"\",\n \"value\": \"\"\n }\n ]\n }\n }\n ]\n}", + "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"webhook_notification\",\n \"attributes\": {\n \"event\": \"container.transport.full_in\",\n \"delivery_status\": \"pending\",\n \"created_at\": \"\"\n },\n \"relationships\": {\n \"webhook\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"webhook\"\n }\n },\n \"reference_object\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"document_observation\"\n }\n }\n }\n },\n \"included\": [\n {\n \"id\": \"\",\n \"type\": \"webhook\",\n \"attributes\": {\n \"url\": \"\",\n \"active\": true,\n \"events\": [\n \"container.pod_terminal_changed\"\n ],\n \"secret\": \"\",\n \"headers\": [\n {\n \"name\": \"\",\n \"value\": \"\"\n },\n {\n \"name\": \"\",\n \"value\": \"\"\n }\n ]\n }\n },\n {\n \"id\": \"\",\n \"type\": \"webhook\",\n \"attributes\": {\n \"url\": \"\",\n \"active\": true,\n \"events\": [\n \"link.created\"\n ],\n \"secret\": \"\",\n \"headers\": [\n {\n \"name\": \"\",\n \"value\": \"\"\n },\n {\n \"name\": \"\",\n \"value\": \"\"\n }\n ]\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "890dece4-ef87-4686-b1e3-3a4a5599c5d7", + "id": "b95d4566-a1e9-4d12-abe6-e5116d2b33e5", "name": "Unauthorized. The API token is missing or invalid, or the account may not perform this action.", "originalRequest": { "url": { @@ -20375,12 +20375,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "cead2e0f-c84b-4a18-9426-ddd0c6e2e732", + "id": "ae1f6f31-266a-48f1-a838-f02b4b61cbb9", "name": "Not Found", "originalRequest": { "url": { @@ -20440,7 +20440,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -20451,7 +20451,7 @@ } }, { - "id": "0eef034c-8ee3-4eaf-bed5-d4c3bc232691", + "id": "4ee785bb-db0a-490e-b6cf-d822ad1e1b09", "name": "List webhook notifications", "request": { "name": "List webhook notifications", @@ -20509,7 +20509,7 @@ }, "response": [ { - "id": "5e714139-cfde-4e7d-9304-73508270d2fc", + "id": "f834063a-184a-4a72-beea-b0581f4bf94a", "name": "OK", "originalRequest": { "url": { @@ -20575,7 +20575,7 @@ "value": "application/json" } ], - "body": "{\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"webhook_notification\",\n \"attributes\": {\n \"event\": \"container.transport.transshipment_discharged\",\n \"delivery_status\": \"pending\",\n \"created_at\": \"\"\n },\n \"relationships\": {\n \"webhook\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"webhook\"\n }\n },\n \"reference_object\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"estimated_event\"\n }\n }\n }\n },\n {\n \"id\": \"\",\n \"type\": \"webhook_notification\",\n \"attributes\": {\n \"event\": \"tracking_request.tracking_stopped\",\n \"delivery_status\": \"pending\",\n \"created_at\": \"\"\n },\n \"relationships\": {\n \"webhook\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"webhook\"\n }\n },\n \"reference_object\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"container_pod_terminal_changed_event\"\n }\n }\n }\n }\n ],\n \"links\": {\n \"self\": \"\",\n \"current\": \"\",\n \"first\": \"\",\n \"prev\": \"\",\n \"next\": \"\",\n \"last\": \"\"\n },\n \"meta\": {\n \"size\": \"\",\n \"total\": \"\"\n },\n \"included\": [\n {\n \"id\": \"\",\n \"type\": \"webhook\",\n \"attributes\": {\n \"url\": \"\",\n \"active\": true,\n \"events\": [\n \"container.pickup_lfd_line.changed\"\n ],\n \"secret\": \"\",\n \"headers\": [\n {\n \"name\": \"\",\n \"value\": \"\"\n },\n {\n \"name\": \"\",\n \"value\": \"\"\n }\n ]\n }\n },\n {\n \"id\": \"\",\n \"type\": \"webhook\",\n \"attributes\": {\n \"url\": \"\",\n \"active\": true,\n \"events\": [\n \"container.pickup_lfd.changed\"\n ],\n \"secret\": \"\",\n \"headers\": [\n {\n \"name\": \"\",\n \"value\": \"\"\n },\n {\n \"name\": \"\",\n \"value\": \"\"\n }\n ]\n }\n }\n ]\n}", + "body": "{\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"webhook_notification\",\n \"attributes\": {\n \"event\": \"container.updated\",\n \"delivery_status\": \"pending\",\n \"created_at\": \"\"\n },\n \"relationships\": {\n \"webhook\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"webhook\"\n }\n },\n \"reference_object\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"tracking_request\"\n }\n }\n }\n },\n {\n \"id\": \"\",\n \"type\": \"webhook_notification\",\n \"attributes\": {\n \"event\": \"container.delivery_appointment.changed\",\n \"delivery_status\": \"pending\",\n \"created_at\": \"\"\n },\n \"relationships\": {\n \"webhook\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"webhook\"\n }\n },\n \"reference_object\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"tracking_request\"\n }\n }\n }\n }\n ],\n \"links\": {\n \"self\": \"\",\n \"current\": \"\",\n \"first\": \"\",\n \"prev\": \"\",\n \"next\": \"\",\n \"last\": \"\"\n },\n \"meta\": {\n \"size\": \"\",\n \"total\": \"\"\n },\n \"included\": [\n {\n \"id\": \"\",\n \"type\": \"webhook\",\n \"attributes\": {\n \"url\": \"\",\n \"active\": true,\n \"events\": [\n \"container.transport.feeder_arrived\"\n ],\n \"secret\": \"\",\n \"headers\": [\n {\n \"name\": \"\",\n \"value\": \"\"\n },\n {\n \"name\": \"\",\n \"value\": \"\"\n }\n ]\n }\n },\n {\n \"id\": \"\",\n \"type\": \"webhook\",\n \"attributes\": {\n \"url\": \"\",\n \"active\": true,\n \"events\": [\n \"container.transport.rail_departed\"\n ],\n \"secret\": \"\",\n \"headers\": [\n {\n \"name\": \"\",\n \"value\": \"\"\n },\n {\n \"name\": \"\",\n \"value\": \"\"\n }\n ]\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -20586,7 +20586,7 @@ } }, { - "id": "dd24c9b2-b7c3-455b-b979-f980d0cdfafe", + "id": "09e8ae1b-9cc6-47ca-b4c5-6fe593b11f0b", "name": "Get webhook notification payload examples", "request": { "name": "Get webhook notification payload examples", @@ -20610,7 +20610,7 @@ "type": "text/plain" }, "key": "event", - "value": "tracking_request.succeeded" + "value": "container.pickup_lfd.changed" } ], "variable": [] @@ -20627,7 +20627,7 @@ }, "response": [ { - "id": "7252ecea-e8fc-4277-af29-7d7d0f32f742", + "id": "cce6d9db-9f68-4572-8799-3a1b565cd349", "name": "OK", "originalRequest": { "url": { @@ -20646,7 +20646,7 @@ "type": "text/plain" }, "key": "event", - "value": "tracking_request.succeeded" + "value": "container.pickup_lfd.changed" } ], "variable": [] @@ -20676,12 +20676,12 @@ "value": "application/json" } ], - "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"webhook_notification\",\n \"attributes\": {\n \"event\": \"container.transport.feeder_departed\",\n \"delivery_status\": \"pending\",\n \"created_at\": \"\"\n },\n \"relationships\": {\n \"webhook\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"webhook\"\n }\n },\n \"reference_object\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"document_observation\"\n }\n }\n }\n },\n \"included\": [\n {\n \"id\": \"\",\n \"type\": \"webhook\",\n \"attributes\": {\n \"url\": \"\",\n \"active\": true,\n \"events\": [\n \"container.pickup_lfd_rail.changed\"\n ],\n \"secret\": \"\",\n \"headers\": [\n {\n \"name\": \"\",\n \"value\": \"\"\n },\n {\n \"name\": \"\",\n \"value\": \"\"\n }\n ]\n }\n },\n {\n \"id\": \"\",\n \"type\": \"webhook\",\n \"attributes\": {\n \"url\": \"\",\n \"active\": true,\n \"events\": [\n \"container.transport.estimated.arrived_at_inland_destination\"\n ],\n \"secret\": \"\",\n \"headers\": [\n {\n \"name\": \"\",\n \"value\": \"\"\n },\n {\n \"name\": \"\",\n \"value\": \"\"\n }\n ]\n }\n }\n ]\n}", + "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"webhook_notification\",\n \"attributes\": {\n \"event\": \"container.transport.full_in\",\n \"delivery_status\": \"pending\",\n \"created_at\": \"\"\n },\n \"relationships\": {\n \"webhook\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"webhook\"\n }\n },\n \"reference_object\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"document_observation\"\n }\n }\n }\n },\n \"included\": [\n {\n \"id\": \"\",\n \"type\": \"webhook\",\n \"attributes\": {\n \"url\": \"\",\n \"active\": true,\n \"events\": [\n \"container.pod_terminal_changed\"\n ],\n \"secret\": \"\",\n \"headers\": [\n {\n \"name\": \"\",\n \"value\": \"\"\n },\n {\n \"name\": \"\",\n \"value\": \"\"\n }\n ]\n }\n },\n {\n \"id\": \"\",\n \"type\": \"webhook\",\n \"attributes\": {\n \"url\": \"\",\n \"active\": true,\n \"events\": [\n \"link.created\"\n ],\n \"secret\": \"\",\n \"headers\": [\n {\n \"name\": \"\",\n \"value\": \"\"\n },\n {\n \"name\": \"\",\n \"value\": \"\"\n }\n ]\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "cfde5a5b-6e2d-471d-b88b-24de288ec74b", + "id": "47a27969-2fbc-4cec-81dd-76dcda121d23", "name": "Bad Request", "originalRequest": { "url": { @@ -20700,7 +20700,7 @@ "type": "text/plain" }, "key": "event", - "value": "tracking_request.succeeded" + "value": "container.pickup_lfd.changed" } ], "variable": [] @@ -20730,7 +20730,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -20747,7 +20747,7 @@ "description": "", "item": [ { - "id": "8f1d4606-09a9-4867-a54b-1ebf70031654", + "id": "2914a8c4-0363-4c93-8921-4f39df97140f", "name": "Get a port using the locode or the id", "request": { "name": "Get a port using the locode or the id", @@ -20789,7 +20789,7 @@ }, "response": [ { - "id": "d4744db2-0f5e-4a68-9ca3-57e43eb0cbe2", + "id": "2077fb23-81bb-42f9-85da-9034a93fc7b4", "name": "OK", "originalRequest": { "url": { @@ -20844,7 +20844,7 @@ "_postman_previewlanguage": "json" }, { - "id": "24d0ad54-98cc-45fa-bd87-20b6d5b02fc0", + "id": "2c7116e5-8d1e-4ba3-aea1-85cf5b77035d", "name": "Not Found", "originalRequest": { "url": { @@ -20894,7 +20894,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -20911,7 +20911,7 @@ "description": "", "item": [ { - "id": "35419aa2-b111-483b-b1eb-b60f95be9b1d", + "id": "43d5a54c-fea6-4dad-940a-dd9ce0402e44", "name": "Get a metro area using the un/locode or the id", "request": { "name": "Get a metro area using the un/locode or the id", @@ -20953,7 +20953,7 @@ }, "response": [ { - "id": "b5ee66f0-1eb2-4166-ad43-913acc45e7b1", + "id": "34007862-3e3d-4036-a935-012723bfa5cb", "name": "OK. An unknown id or UN/LOCODE returns `data: null` with status 200, not 404.", "originalRequest": { "url": { @@ -21020,7 +21020,7 @@ "description": "", "item": [ { - "id": "50858d8d-3daa-4300-84d2-3aa5d48759e8", + "id": "7a67797f-2a25-4b9e-9702-e8073e28cd9a", "name": "Get a terminal using the id", "request": { "name": "Get a terminal using the id", @@ -21062,7 +21062,7 @@ }, "response": [ { - "id": "ee6e3ab9-2964-404c-a125-1104bb807ea6", + "id": "8c42dfb8-37bf-46cf-a7ec-b590ec2a2e76", "name": "OK", "originalRequest": { "url": { @@ -21117,7 +21117,7 @@ "_postman_previewlanguage": "json" }, { - "id": "6660eb4f-9033-4150-afe3-f0414c598cda", + "id": "de8d6880-4d9c-42f1-8a6b-9f503d51f381", "name": "Not Found", "originalRequest": { "url": { @@ -21167,7 +21167,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -21184,7 +21184,7 @@ "description": "", "item": [ { - "id": "1b742dbc-0f2e-4ce9-bc16-2994b1e1f887", + "id": "1f744fce-8aef-40fe-a120-1e6ba857ca69", "name": "Get container map GeoJSON", "request": { "name": "Get container map GeoJSON", @@ -21227,7 +21227,7 @@ }, "response": [ { - "id": "80681cc5-36d1-450e-9c2a-528d76b5a2f4", + "id": "2c28d137-46fe-4141-b22f-87bae09245f2", "name": "OK", "originalRequest": { "url": { @@ -21283,7 +21283,7 @@ "_postman_previewlanguage": "json" }, { - "id": "7e61a96a-ee67-442c-bf1d-b35bd890fe7c", + "id": "7736b96d-3b8b-4f9d-9521-d511a25b1a2f", "name": "Forbidden - Routing data feature is not enabled for this account", "originalRequest": { "url": { @@ -21339,7 +21339,7 @@ "_postman_previewlanguage": "json" }, { - "id": "ef3d6feb-b52b-4fca-a14e-316fa5fcbdb3", + "id": "335cf649-a810-4c57-bfba-561a16ed2314", "name": "Not Found", "originalRequest": { "url": { @@ -21390,7 +21390,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -21401,7 +21401,7 @@ } }, { - "id": "50148657-f6f1-40ab-b433-ff99669ffa4c", + "id": "eca0d412-c99c-455b-8ead-a4bd280ce2c5", "name": "Get vessel future positions", "request": { "name": "Get vessel future positions", @@ -21463,7 +21463,7 @@ }, "response": [ { - "id": "1c49acf1-d6f4-42e5-940a-037b044081c5", + "id": "c6f9f1dd-cd4f-489a-8719-7e36d862c9e7", "name": "OK", "originalRequest": { "url": { @@ -21538,7 +21538,7 @@ "_postman_previewlanguage": "json" }, { - "id": "913b528f-6039-42df-83b4-4151d149f47f", + "id": "fec0bbad-9615-4757-af54-4b37bfed409d", "name": "Forbidden - Routing data feature is not enabled for this account", "originalRequest": { "url": { @@ -21613,7 +21613,7 @@ "_postman_previewlanguage": "json" }, { - "id": "9cbad980-0b03-400c-bf38-22c97761b8b8", + "id": "26e0d247-001c-4931-92b0-56f32878bb7d", "name": "Not Found", "originalRequest": { "url": { @@ -21683,7 +21683,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -21694,7 +21694,7 @@ } }, { - "id": "7bd3d1fb-02cd-4468-82f7-3fa54fa0e997", + "id": "374c0f3b-cbc9-4a45-8cea-f1d880a6e982", "name": "Get vessel future positions from coordinates", "request": { "name": "Get vessel future positions from coordinates", @@ -21774,7 +21774,7 @@ }, "response": [ { - "id": "3fa51577-5b8b-4067-97f9-883032c64547", + "id": "534800f7-7037-41e4-a0e3-3fa7d3ab569e", "name": "OK", "originalRequest": { "url": { @@ -21867,7 +21867,7 @@ "_postman_previewlanguage": "json" }, { - "id": "a97f07fe-2505-487f-8a45-797797f88213", + "id": "c8d8270d-24ac-496f-a9f5-4e4721c746c3", "name": "Forbidden - Routing data feature is not enabled for this account", "originalRequest": { "url": { @@ -21960,7 +21960,7 @@ "_postman_previewlanguage": "json" }, { - "id": "2219aba6-7e22-4079-946b-b32660cb6538", + "id": "42d9ac64-43e0-41d3-b824-91a85b2daa59", "name": "Not Found", "originalRequest": { "url": { @@ -22048,7 +22048,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -22065,7 +22065,7 @@ "description": "", "item": [ { - "id": "9237f46a-3835-4ce5-9317-c8eb298d7a3d", + "id": "10654c5e-fb06-4d85-a119-dbcdd0f9b1e8", "name": "List documents", "request": { "name": "List documents", @@ -22159,7 +22159,7 @@ }, "response": [ { - "id": "d56face2-dbf1-41a1-a0b2-be578c8d2cb0", + "id": "e1b196ed-6998-4492-9628-5efdb2e63a22", "name": "OK", "originalRequest": { "url": { @@ -22261,12 +22261,12 @@ "value": "application/json" } ], - "body": "{\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"document\",\n \"attributes\": {\n \"id\": \"\",\n \"name\": \"\",\n \"document_type\": \"\",\n \"document_type_source\": \"llm\",\n \"classification_notes\": \"\",\n \"source\": \"upload\",\n \"file_name\": \"\",\n \"file_content_type\": \"\",\n \"file_size_bytes\": \"\",\n \"parsed\": {\n \"packetSegment\": {\n \"startPage\": \"\",\n \"endPage\": \"\"\n }\n },\n \"created_at\": \"\",\n \"updated_at\": \"\"\n },\n \"relationships\": {\n \"account\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"account\"\n }\n },\n \"user\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"user\"\n }\n },\n \"email_submission\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"email_submission\"\n }\n },\n \"last_document_representation\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"document_representation\"\n }\n },\n \"parent_document\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"document\"\n }\n },\n \"shipments\": {\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"shipment\"\n },\n {\n \"id\": \"\",\n \"type\": \"shipment\"\n }\n ]\n },\n \"cargos\": {\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"container\"\n },\n {\n \"id\": \"\",\n \"type\": \"container\"\n }\n ]\n }\n },\n \"links\": {\n \"self\": \"\",\n \"download\": \"\"\n }\n },\n {\n \"id\": \"\",\n \"type\": \"document\",\n \"attributes\": {\n \"id\": \"\",\n \"name\": \"\",\n \"document_type\": \"\",\n \"document_type_source\": \"customer\",\n \"classification_notes\": \"\",\n \"source\": \"email\",\n \"file_name\": \"\",\n \"file_content_type\": \"\",\n \"file_size_bytes\": \"\",\n \"parsed\": {\n \"packetSegment\": {\n \"startPage\": \"\",\n \"endPage\": \"\"\n }\n },\n \"created_at\": \"\",\n \"updated_at\": \"\"\n },\n \"relationships\": {\n \"account\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"account\"\n }\n },\n \"user\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"user\"\n }\n },\n \"email_submission\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"email_submission\"\n }\n },\n \"last_document_representation\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"document_representation\"\n }\n },\n \"parent_document\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"document\"\n }\n },\n \"shipments\": {\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"shipment\"\n },\n {\n \"id\": \"\",\n \"type\": \"shipment\"\n }\n ]\n },\n \"cargos\": {\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"container\"\n },\n {\n \"id\": \"\",\n \"type\": \"container\"\n }\n ]\n }\n },\n \"links\": {\n \"self\": \"\",\n \"download\": \"\"\n }\n }\n ],\n \"included\": [\n {\n \"id\": \"\",\n \"type\": \"account\",\n \"attributes\": {\n \"company_name\": \"\"\n }\n },\n {\n \"id\": \"\",\n \"type\": \"account\",\n \"attributes\": {\n \"company_name\": \"\"\n }\n }\n ],\n \"links\": {\n \"self\": \"\",\n \"current\": \"\",\n \"first\": \"\",\n \"prev\": \"\",\n \"next\": \"\",\n \"last\": \"\"\n },\n \"meta\": {\n \"size\": \"\",\n \"total\": \"\"\n }\n}", + "body": "{\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"document\",\n \"attributes\": {\n \"id\": \"\",\n \"name\": \"\",\n \"document_type\": \"\",\n \"document_type_source\": \"llm\",\n \"classification_notes\": \"\",\n \"source\": \"upload\",\n \"file_name\": \"\",\n \"file_content_type\": \"\",\n \"file_size_bytes\": \"\",\n \"parsed\": {\n \"packetSegment\": {\n \"startPage\": \"\",\n \"endPage\": \"\"\n }\n },\n \"created_at\": \"\",\n \"updated_at\": \"\"\n },\n \"relationships\": {\n \"account\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"account\"\n }\n },\n \"user\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"user\"\n }\n },\n \"email_submission\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"email_submission\"\n }\n },\n \"last_document_representation\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"document_representation\"\n }\n },\n \"parent_document\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"document\"\n }\n },\n \"shipments\": {\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"shipment\"\n },\n {\n \"id\": \"\",\n \"type\": \"shipment\"\n }\n ]\n },\n \"cargos\": {\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"container\"\n },\n {\n \"id\": \"\",\n \"type\": \"container\"\n }\n ]\n }\n },\n \"links\": {\n \"self\": \"\",\n \"download\": \"\"\n }\n },\n {\n \"id\": \"\",\n \"type\": \"document\",\n \"attributes\": {\n \"id\": \"\",\n \"name\": \"\",\n \"document_type\": \"\",\n \"document_type_source\": \"admin\",\n \"classification_notes\": \"\",\n \"source\": \"email\",\n \"file_name\": \"\",\n \"file_content_type\": \"\",\n \"file_size_bytes\": \"\",\n \"parsed\": {\n \"packetSegment\": {\n \"startPage\": \"\",\n \"endPage\": \"\"\n }\n },\n \"created_at\": \"\",\n \"updated_at\": \"\"\n },\n \"relationships\": {\n \"account\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"account\"\n }\n },\n \"user\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"user\"\n }\n },\n \"email_submission\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"email_submission\"\n }\n },\n \"last_document_representation\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"document_representation\"\n }\n },\n \"parent_document\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"document\"\n }\n },\n \"shipments\": {\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"shipment\"\n },\n {\n \"id\": \"\",\n \"type\": \"shipment\"\n }\n ]\n },\n \"cargos\": {\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"container\"\n },\n {\n \"id\": \"\",\n \"type\": \"container\"\n }\n ]\n }\n },\n \"links\": {\n \"self\": \"\",\n \"download\": \"\"\n }\n }\n ],\n \"included\": [\n {\n \"id\": \"\",\n \"type\": \"account\",\n \"attributes\": {\n \"company_name\": \"\"\n }\n },\n {\n \"id\": \"\",\n \"type\": \"account\",\n \"attributes\": {\n \"company_name\": \"\"\n }\n }\n ],\n \"links\": {\n \"self\": \"\",\n \"current\": \"\",\n \"first\": \"\",\n \"prev\": \"\",\n \"next\": \"\",\n \"last\": \"\"\n },\n \"meta\": {\n \"size\": \"\",\n \"total\": \"\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "8179e352-0bb3-4f8e-990e-e559bc9083d2", + "id": "ed7917b6-eef7-448b-9d9f-d2bf4d29bd95", "name": "Bad Request", "originalRequest": { "url": { @@ -22368,12 +22368,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "f599281d-c400-4f75-bd3b-9bb42caf7934", + "id": "8dfc01e2-cc10-4da8-ba5b-ae04ec8bec76", "name": "Unauthorized", "originalRequest": { "url": { @@ -22475,7 +22475,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -22486,7 +22486,7 @@ } }, { - "id": "f5106a34-baef-4652-b7d3-930834837e21", + "id": "c08ca45d-abf7-4546-9cb1-11df459b4dd8", "name": "Upload a document", "request": { "name": "Upload a document", @@ -22529,7 +22529,7 @@ }, "response": [ { - "id": "aedede59-8a1d-480c-a59a-f4767217361f", + "id": "5438bb73-8300-4f6e-96d1-3161d61605f6", "name": "Created", "originalRequest": { "url": { @@ -22580,12 +22580,12 @@ "value": "application/json" } ], - "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"document\",\n \"attributes\": {\n \"id\": \"\",\n \"name\": \"\",\n \"document_type\": \"\",\n \"document_type_source\": \"customer\",\n \"classification_notes\": \"\",\n \"source\": \"upload\",\n \"file_name\": \"\",\n \"file_content_type\": \"\",\n \"file_size_bytes\": \"\",\n \"parsed\": {\n \"packetSegment\": {\n \"startPage\": \"\",\n \"endPage\": \"\"\n }\n },\n \"created_at\": \"\",\n \"updated_at\": \"\"\n },\n \"relationships\": {\n \"account\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"account\"\n }\n },\n \"user\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"user\"\n }\n },\n \"email_submission\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"email_submission\"\n }\n },\n \"last_document_representation\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"document_representation\"\n }\n },\n \"parent_document\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"document\"\n }\n },\n \"shipments\": {\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"shipment\"\n },\n {\n \"id\": \"\",\n \"type\": \"shipment\"\n }\n ]\n },\n \"cargos\": {\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"container\"\n },\n {\n \"id\": \"\",\n \"type\": \"container\"\n }\n ]\n }\n },\n \"links\": {\n \"self\": \"\",\n \"download\": \"\"\n }\n },\n \"included\": [\n {\n \"id\": \"\",\n \"type\": \"account\",\n \"attributes\": {\n \"company_name\": \"\"\n }\n },\n {\n \"id\": \"\",\n \"type\": \"account\",\n \"attributes\": {\n \"company_name\": \"\"\n }\n }\n ],\n \"links\": {\n \"self\": \"\"\n }\n}", + "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"document\",\n \"attributes\": {\n \"id\": \"\",\n \"name\": \"\",\n \"document_type\": \"\",\n \"document_type_source\": \"admin\",\n \"classification_notes\": \"\",\n \"source\": \"split_document\",\n \"file_name\": \"\",\n \"file_content_type\": \"\",\n \"file_size_bytes\": \"\",\n \"parsed\": {\n \"packetSegment\": {\n \"startPage\": \"\",\n \"endPage\": \"\"\n }\n },\n \"created_at\": \"\",\n \"updated_at\": \"\"\n },\n \"relationships\": {\n \"account\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"account\"\n }\n },\n \"user\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"user\"\n }\n },\n \"email_submission\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"email_submission\"\n }\n },\n \"last_document_representation\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"document_representation\"\n }\n },\n \"parent_document\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"document\"\n }\n },\n \"shipments\": {\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"shipment\"\n },\n {\n \"id\": \"\",\n \"type\": \"shipment\"\n }\n ]\n },\n \"cargos\": {\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"container\"\n },\n {\n \"id\": \"\",\n \"type\": \"container\"\n }\n ]\n }\n },\n \"links\": {\n \"self\": \"\",\n \"download\": \"\"\n }\n },\n \"included\": [\n {\n \"id\": \"\",\n \"type\": \"account\",\n \"attributes\": {\n \"company_name\": \"\"\n }\n },\n {\n \"id\": \"\",\n \"type\": \"account\",\n \"attributes\": {\n \"company_name\": \"\"\n }\n }\n ],\n \"links\": {\n \"self\": \"\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "4fd4c448-8780-4073-a979-802ef007a352", + "id": "e0ac587d-f516-4667-abef-e4cf457fc7e8", "name": "Duplicate document", "originalRequest": { "url": { @@ -22641,7 +22641,7 @@ "_postman_previewlanguage": "json" }, { - "id": "df96de30-66a7-4633-aeaf-1af2d5d85b5e", + "id": "930b8388-0553-47a3-9af9-f14acb69c767", "name": "Unprocessable Entity", "originalRequest": { "url": { @@ -22692,7 +22692,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -22703,7 +22703,7 @@ } }, { - "id": "84210498-bd39-47a0-801c-cdcc8caf2fd0", + "id": "1fd4239e-0729-4ae6-a3c1-993d3bf77fc3", "name": "List document types", "request": { "name": "List document types", @@ -22734,7 +22734,7 @@ }, "response": [ { - "id": "cf50d646-ffd5-4d3c-a223-9e762cfe2acf", + "id": "99867bf4-5857-446b-ac87-daa9d41498c6", "name": "OK", "originalRequest": { "url": { @@ -22778,7 +22778,7 @@ "_postman_previewlanguage": "json" }, { - "id": "c2c4dc19-6280-4842-ae5a-3c81d20d0539", + "id": "8a3a4c88-6e61-456c-a7f2-b15c04d8517c", "name": "Unauthorized", "originalRequest": { "url": { @@ -22817,7 +22817,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -22828,7 +22828,7 @@ } }, { - "id": "47b6b055-9f86-47d3-9f19-323193e90a7a", + "id": "040849cb-f060-456a-9e84-cf4219cc7e6e", "name": "Get a document", "request": { "name": "Get a document", @@ -22877,7 +22877,7 @@ }, "response": [ { - "id": "54281090-9f67-4cc2-93c8-e7e4a30e8310", + "id": "fb3f9262-1c24-4cad-ac46-cb068ae86895", "name": "OK", "originalRequest": { "url": { @@ -22937,12 +22937,12 @@ "value": "application/json" } ], - "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"document\",\n \"attributes\": {\n \"id\": \"\",\n \"name\": \"\",\n \"document_type\": \"\",\n \"document_type_source\": \"customer\",\n \"classification_notes\": \"\",\n \"source\": \"upload\",\n \"file_name\": \"\",\n \"file_content_type\": \"\",\n \"file_size_bytes\": \"\",\n \"parsed\": {\n \"packetSegment\": {\n \"startPage\": \"\",\n \"endPage\": \"\"\n }\n },\n \"created_at\": \"\",\n \"updated_at\": \"\"\n },\n \"relationships\": {\n \"account\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"account\"\n }\n },\n \"user\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"user\"\n }\n },\n \"email_submission\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"email_submission\"\n }\n },\n \"last_document_representation\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"document_representation\"\n }\n },\n \"parent_document\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"document\"\n }\n },\n \"shipments\": {\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"shipment\"\n },\n {\n \"id\": \"\",\n \"type\": \"shipment\"\n }\n ]\n },\n \"cargos\": {\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"container\"\n },\n {\n \"id\": \"\",\n \"type\": \"container\"\n }\n ]\n }\n },\n \"links\": {\n \"self\": \"\",\n \"download\": \"\"\n }\n },\n \"included\": [\n {\n \"id\": \"\",\n \"type\": \"account\",\n \"attributes\": {\n \"company_name\": \"\"\n }\n },\n {\n \"id\": \"\",\n \"type\": \"account\",\n \"attributes\": {\n \"company_name\": \"\"\n }\n }\n ],\n \"links\": {\n \"self\": \"\"\n }\n}", + "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"document\",\n \"attributes\": {\n \"id\": \"\",\n \"name\": \"\",\n \"document_type\": \"\",\n \"document_type_source\": \"admin\",\n \"classification_notes\": \"\",\n \"source\": \"split_document\",\n \"file_name\": \"\",\n \"file_content_type\": \"\",\n \"file_size_bytes\": \"\",\n \"parsed\": {\n \"packetSegment\": {\n \"startPage\": \"\",\n \"endPage\": \"\"\n }\n },\n \"created_at\": \"\",\n \"updated_at\": \"\"\n },\n \"relationships\": {\n \"account\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"account\"\n }\n },\n \"user\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"user\"\n }\n },\n \"email_submission\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"email_submission\"\n }\n },\n \"last_document_representation\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"document_representation\"\n }\n },\n \"parent_document\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"document\"\n }\n },\n \"shipments\": {\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"shipment\"\n },\n {\n \"id\": \"\",\n \"type\": \"shipment\"\n }\n ]\n },\n \"cargos\": {\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"container\"\n },\n {\n \"id\": \"\",\n \"type\": \"container\"\n }\n ]\n }\n },\n \"links\": {\n \"self\": \"\",\n \"download\": \"\"\n }\n },\n \"included\": [\n {\n \"id\": \"\",\n \"type\": \"account\",\n \"attributes\": {\n \"company_name\": \"\"\n }\n },\n {\n \"id\": \"\",\n \"type\": \"account\",\n \"attributes\": {\n \"company_name\": \"\"\n }\n }\n ],\n \"links\": {\n \"self\": \"\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "69f34c59-c656-4389-b635-611db2312ec6", + "id": "c923c666-00b6-4bcd-b231-7ccd602bd31b", "name": "Bad Request", "originalRequest": { "url": { @@ -23002,12 +23002,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "22203648-643e-49bb-8a31-8b8d1486ad58", + "id": "d2524b7a-3471-4b22-8b62-daa0d7f022a7", "name": "Not Found", "originalRequest": { "url": { @@ -23067,7 +23067,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -23078,7 +23078,7 @@ } }, { - "id": "db8c3d3e-dcb1-48a9-888c-819c04f0aa1d", + "id": "264f729e-cec4-4892-8de9-a9e9904bbd15", "name": "Edit a document", "request": { "name": "Edit a document", @@ -23121,7 +23121,7 @@ "method": "PATCH", "body": { "mode": "raw", - "raw": "{\n \"data\": {\n \"type\": \"document\",\n \"attributes\": {\n \"document_type\": \"\",\n \"classification_notes\": \"\",\n \"extracted_data_manual\": {\n \"key_0\": 6895.154934865073\n }\n }\n }\n}", + "raw": "{\n \"data\": {\n \"type\": \"document\",\n \"attributes\": {\n \"document_type\": \"\",\n \"classification_notes\": \"\",\n \"extracted_data_manual\": {\n \"key_0\": 1744.7691879484762\n }\n }\n }\n}", "options": { "raw": { "headerFamily": "json", @@ -23133,7 +23133,7 @@ }, "response": [ { - "id": "c9991a2e-32d1-4dec-9f6e-0d44f386e349", + "id": "da80928c-cc1f-4f28-837e-2b028a20b254", "name": "OK", "originalRequest": { "url": { @@ -23179,7 +23179,7 @@ "method": "PATCH", "body": { "mode": "raw", - "raw": "{\n \"data\": {\n \"type\": \"document\",\n \"attributes\": {\n \"document_type\": \"\",\n \"classification_notes\": \"\",\n \"extracted_data_manual\": {\n \"key_0\": 6895.154934865073\n }\n }\n }\n}", + "raw": "{\n \"data\": {\n \"type\": \"document\",\n \"attributes\": {\n \"document_type\": \"\",\n \"classification_notes\": \"\",\n \"extracted_data_manual\": {\n \"key_0\": 1744.7691879484762\n }\n }\n }\n}", "options": { "raw": { "headerFamily": "json", @@ -23196,12 +23196,12 @@ "value": "application/json" } ], - "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"document\",\n \"attributes\": {\n \"id\": \"\",\n \"name\": \"\",\n \"document_type\": \"\",\n \"document_type_source\": \"customer\",\n \"classification_notes\": \"\",\n \"source\": \"upload\",\n \"file_name\": \"\",\n \"file_content_type\": \"\",\n \"file_size_bytes\": \"\",\n \"parsed\": {\n \"packetSegment\": {\n \"startPage\": \"\",\n \"endPage\": \"\"\n }\n },\n \"created_at\": \"\",\n \"updated_at\": \"\"\n },\n \"relationships\": {\n \"account\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"account\"\n }\n },\n \"user\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"user\"\n }\n },\n \"email_submission\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"email_submission\"\n }\n },\n \"last_document_representation\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"document_representation\"\n }\n },\n \"parent_document\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"document\"\n }\n },\n \"shipments\": {\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"shipment\"\n },\n {\n \"id\": \"\",\n \"type\": \"shipment\"\n }\n ]\n },\n \"cargos\": {\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"container\"\n },\n {\n \"id\": \"\",\n \"type\": \"container\"\n }\n ]\n }\n },\n \"links\": {\n \"self\": \"\",\n \"download\": \"\"\n }\n },\n \"included\": [\n {\n \"id\": \"\",\n \"type\": \"account\",\n \"attributes\": {\n \"company_name\": \"\"\n }\n },\n {\n \"id\": \"\",\n \"type\": \"account\",\n \"attributes\": {\n \"company_name\": \"\"\n }\n }\n ],\n \"links\": {\n \"self\": \"\"\n }\n}", + "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"document\",\n \"attributes\": {\n \"id\": \"\",\n \"name\": \"\",\n \"document_type\": \"\",\n \"document_type_source\": \"admin\",\n \"classification_notes\": \"\",\n \"source\": \"split_document\",\n \"file_name\": \"\",\n \"file_content_type\": \"\",\n \"file_size_bytes\": \"\",\n \"parsed\": {\n \"packetSegment\": {\n \"startPage\": \"\",\n \"endPage\": \"\"\n }\n },\n \"created_at\": \"\",\n \"updated_at\": \"\"\n },\n \"relationships\": {\n \"account\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"account\"\n }\n },\n \"user\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"user\"\n }\n },\n \"email_submission\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"email_submission\"\n }\n },\n \"last_document_representation\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"document_representation\"\n }\n },\n \"parent_document\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"document\"\n }\n },\n \"shipments\": {\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"shipment\"\n },\n {\n \"id\": \"\",\n \"type\": \"shipment\"\n }\n ]\n },\n \"cargos\": {\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"container\"\n },\n {\n \"id\": \"\",\n \"type\": \"container\"\n }\n ]\n }\n },\n \"links\": {\n \"self\": \"\",\n \"download\": \"\"\n }\n },\n \"included\": [\n {\n \"id\": \"\",\n \"type\": \"account\",\n \"attributes\": {\n \"company_name\": \"\"\n }\n },\n {\n \"id\": \"\",\n \"type\": \"account\",\n \"attributes\": {\n \"company_name\": \"\"\n }\n }\n ],\n \"links\": {\n \"self\": \"\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "169cc98e-18d6-4851-8ea6-478695a218fd", + "id": "070b693a-dd0e-48f5-bfd7-87732275a251", "name": "Not Found", "originalRequest": { "url": { @@ -23247,7 +23247,7 @@ "method": "PATCH", "body": { "mode": "raw", - "raw": "{\n \"data\": {\n \"type\": \"document\",\n \"attributes\": {\n \"document_type\": \"\",\n \"classification_notes\": \"\",\n \"extracted_data_manual\": {\n \"key_0\": 6895.154934865073\n }\n }\n }\n}", + "raw": "{\n \"data\": {\n \"type\": \"document\",\n \"attributes\": {\n \"document_type\": \"\",\n \"classification_notes\": \"\",\n \"extracted_data_manual\": {\n \"key_0\": 1744.7691879484762\n }\n }\n }\n}", "options": { "raw": { "headerFamily": "json", @@ -23264,12 +23264,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "15b9f8ca-0eca-46ab-a61a-b5d36bb51d87", + "id": "9342f7c3-515d-455f-8159-726fb2032ff0", "name": "Unprocessable Entity", "originalRequest": { "url": { @@ -23315,7 +23315,7 @@ "method": "PATCH", "body": { "mode": "raw", - "raw": "{\n \"data\": {\n \"type\": \"document\",\n \"attributes\": {\n \"document_type\": \"\",\n \"classification_notes\": \"\",\n \"extracted_data_manual\": {\n \"key_0\": 6895.154934865073\n }\n }\n }\n}", + "raw": "{\n \"data\": {\n \"type\": \"document\",\n \"attributes\": {\n \"document_type\": \"\",\n \"classification_notes\": \"\",\n \"extracted_data_manual\": {\n \"key_0\": 1744.7691879484762\n }\n }\n }\n}", "options": { "raw": { "headerFamily": "json", @@ -23332,7 +23332,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -23343,7 +23343,7 @@ } }, { - "id": "52621359-6159-476c-b6e1-55af265e2408", + "id": "f311ceb4-2604-4c8f-821e-dd64cfb9378e", "name": "Delete a document", "request": { "name": "Delete a document", @@ -23385,7 +23385,7 @@ }, "response": [ { - "id": "d4a9655d-c237-41cd-8436-c9777d3a9330", + "id": "f14a8889-c660-47d9-ad1b-ba54a5523d1b", "name": "No Content", "originalRequest": { "url": { @@ -23430,7 +23430,7 @@ "_postman_previewlanguage": "text" }, { - "id": "44824fe2-93cf-447e-addd-4fe9d147809c", + "id": "06b4bebf-e9ed-4ef9-a2f9-43409269b9cb", "name": "Not Found", "originalRequest": { "url": { @@ -23480,7 +23480,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -23491,7 +23491,7 @@ } }, { - "id": "0048e991-1582-4ecc-95f8-99736c71b85f", + "id": "7e4eaf93-f8eb-4659-a4a1-90c3d1193b07", "name": "Get a document download URL", "request": { "name": "Get a document download URL", @@ -23534,7 +23534,7 @@ }, "response": [ { - "id": "a1108ea4-ecf9-4f75-a228-fdd3be584ef4", + "id": "1fd99454-c4f1-4e6e-99a0-eab1b69f6551", "name": "OK", "originalRequest": { "url": { @@ -23590,7 +23590,7 @@ "_postman_previewlanguage": "json" }, { - "id": "afc95911-4533-4ff1-aa6b-7670696b3fc6", + "id": "7148e91c-47fb-4429-bc27-c8b75b17b458", "name": "Not Found", "originalRequest": { "url": { @@ -23641,12 +23641,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "b601b677-526c-412f-9977-8f461b6aa454", + "id": "b9b9ba2f-3121-4518-98af-253b8037bb7e", "name": "Unprocessable Entity", "originalRequest": { "url": { @@ -23697,7 +23697,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -23708,7 +23708,7 @@ } }, { - "id": "5ef897aa-90e5-4897-a9cf-a14c6e825231", + "id": "2b1ecf24-d9eb-4139-b5d8-002da87f6d0d", "name": "Re-extract a document", "request": { "name": "Re-extract a document", @@ -23751,7 +23751,7 @@ }, "response": [ { - "id": "7c26354d-ee67-4eda-9808-1ed092715fa3", + "id": "b2378388-7998-478b-bb3b-cd75a758a6e5", "name": "Accepted", "originalRequest": { "url": { @@ -23807,7 +23807,7 @@ "_postman_previewlanguage": "json" }, { - "id": "42d52d99-f461-46e1-8657-4d23f8c9aece", + "id": "e29750d6-1d63-45f3-a92e-12580a50f94e", "name": "Not Found", "originalRequest": { "url": { @@ -23858,7 +23858,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -23869,7 +23869,7 @@ } }, { - "id": "77c1b583-5bfa-471e-8470-67995ef3d79a", + "id": "d2fa65fb-4821-4fc1-b453-739841e87447", "name": "Re-classify a document", "request": { "name": "Re-classify a document", @@ -23912,7 +23912,7 @@ }, "response": [ { - "id": "d781846c-6b48-43c7-911a-10d21d02c23d", + "id": "d14b7d4c-224a-4652-8a2a-e2255407c11a", "name": "Accepted", "originalRequest": { "url": { @@ -23968,7 +23968,7 @@ "_postman_previewlanguage": "json" }, { - "id": "c17655b4-3baf-4c69-9639-f70945680e41", + "id": "9e57a9e2-1179-4e64-bdbd-ff9c26e74d52", "name": "Not Found", "originalRequest": { "url": { @@ -24019,7 +24019,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -24030,7 +24030,7 @@ } }, { - "id": "f40d4520-384d-4661-8d32-274ed0db68fc", + "id": "4f9fe7fc-cd35-42cc-84d0-4e06a9e446a0", "name": "Re-link a document", "request": { "name": "Re-link a document", @@ -24073,7 +24073,7 @@ }, "response": [ { - "id": "6632098f-6b74-4e8b-89d4-65820c80300f", + "id": "fbb18f4d-8c3d-4ec0-bf67-892a87dbe900", "name": "Accepted", "originalRequest": { "url": { @@ -24129,7 +24129,7 @@ "_postman_previewlanguage": "json" }, { - "id": "d85e58fb-b29b-4d09-b463-9225c91db342", + "id": "d3797462-f15a-4274-9403-2def901733b8", "name": "Not Found", "originalRequest": { "url": { @@ -24180,7 +24180,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -24191,7 +24191,7 @@ } }, { - "id": "2db57e1c-714d-4c61-b396-27ea52f8904c", + "id": "29762928-40bc-4517-92fb-2b1c060bf1b9", "name": "Rotate a document", "request": { "name": "Rotate a document", @@ -24235,7 +24235,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"degrees\": 270\n}", + "raw": "{\n \"degrees\": 180\n}", "options": { "raw": { "headerFamily": "json", @@ -24247,7 +24247,7 @@ }, "response": [ { - "id": "dc6660e4-78e1-4879-8f3d-cfc8a32b47d0", + "id": "63a7c21b-d393-4bf5-98ad-a1800544eba6", "name": "Accepted", "originalRequest": { "url": { @@ -24294,7 +24294,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"degrees\": 270\n}", + "raw": "{\n \"degrees\": 180\n}", "options": { "raw": { "headerFamily": "json", @@ -24316,7 +24316,7 @@ "_postman_previewlanguage": "json" }, { - "id": "33720322-fe89-4ffb-9052-f5ae63640977", + "id": "0271f6e8-3ad0-4836-bf83-09f68ac22ff7", "name": "Not Found", "originalRequest": { "url": { @@ -24363,7 +24363,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"degrees\": 270\n}", + "raw": "{\n \"degrees\": 180\n}", "options": { "raw": { "headerFamily": "json", @@ -24380,12 +24380,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "64346111-ef74-4620-9558-14333101dc31", + "id": "fc65d761-7656-48fc-a424-93f3d8227c31", "name": "Unprocessable Entity", "originalRequest": { "url": { @@ -24432,7 +24432,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"degrees\": 270\n}", + "raw": "{\n \"degrees\": 180\n}", "options": { "raw": { "headerFamily": "json", @@ -24449,7 +24449,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -24466,7 +24466,7 @@ "description": "", "item": [ { - "id": "b2b5369c-5957-47d3-baf7-855edfbcedec", + "id": "9ccbd316-cb81-4ef4-9bda-903e0db99eb2", "name": "List email submissions", "request": { "name": "List email submissions", @@ -24524,7 +24524,7 @@ }, "response": [ { - "id": "1ee9a63e-a954-4276-9ae7-cd577af1b764", + "id": "09065058-83a9-4764-bc81-8bcaa029e0bf", "name": "OK", "originalRequest": { "url": { @@ -24595,7 +24595,7 @@ "_postman_previewlanguage": "json" }, { - "id": "34876ccf-47cb-4db3-b4c2-59d6e94134df", + "id": "4c1334e4-1b2e-4d77-b88e-5dbad9cfa693", "name": "Bad Request", "originalRequest": { "url": { @@ -24661,12 +24661,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "eaa5ccd2-6a5c-41ea-8780-2c2eb5c753ef", + "id": "b0c4c5d6-9885-42b1-b35a-124b69a52059", "name": "Unauthorized", "originalRequest": { "url": { @@ -24732,7 +24732,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -24743,7 +24743,7 @@ } }, { - "id": "76bf5445-68cf-44ea-b6f1-1f57fca857b9", + "id": "fcbfdd3c-8d8a-429d-a8a2-9550428778c1", "name": "Get an email submission", "request": { "name": "Get an email submission", @@ -24792,7 +24792,7 @@ }, "response": [ { - "id": "f1bd055d-a596-47cc-ab31-82c75cdb3a04", + "id": "b9a583cf-f26c-40c1-bbad-8569a5ee5f61", "name": "OK", "originalRequest": { "url": { @@ -24857,7 +24857,7 @@ "_postman_previewlanguage": "json" }, { - "id": "af1be5d3-50b8-47ad-afaf-65adf8cadd2b", + "id": "b5da570f-604a-4fbc-b0e8-4a12430a0c9e", "name": "Bad Request", "originalRequest": { "url": { @@ -24917,12 +24917,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "05688d01-fa97-4072-bc37-f99fcbd3d89e", + "id": "1f63bf6e-4f1a-4de2-83b4-5e8787ed07d0", "name": "Not Found", "originalRequest": { "url": { @@ -24982,7 +24982,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -24999,7 +24999,7 @@ "description": "", "item": [ { - "id": "66fe5419-3dcb-4a6c-a9ee-6dd08316b847", + "id": "d6a0870d-452f-4c98-a6b4-8cb0bd387639", "name": "Get a document schema", "request": { "name": "Get a document schema", @@ -25038,7 +25038,7 @@ }, "response": [ { - "id": "38f74002-c94a-4a15-b159-f9419bf89577", + "id": "cd267eed-3e69-44ac-bb29-efad4d9fce43", "name": "OK", "originalRequest": { "url": { @@ -25088,12 +25088,12 @@ "value": "application/json" } ], - "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"document_schema\",\n \"attributes\": {\n \"document_type\": \"\",\n \"label\": \"\",\n \"schema_version\": \"\",\n \"full_version\": \"\",\n \"current\": \"\",\n \"draft\": \"\",\n \"active_at\": \"\",\n \"schema_format\": \"json_schema\",\n \"description\": \"\",\n \"schema_payload\": {\n \"key_0\": false\n },\n \"created_at\": \"\",\n \"updated_at\": \"\"\n },\n \"links\": {\n \"self\": \"\"\n }\n },\n \"links\": {\n \"self\": \"\"\n }\n}", + "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"document_schema\",\n \"attributes\": {\n \"document_type\": \"\",\n \"label\": \"\",\n \"schema_version\": \"\",\n \"full_version\": \"\",\n \"current\": \"\",\n \"draft\": \"\",\n \"active_at\": \"\",\n \"schema_format\": \"json_schema\",\n \"description\": \"\",\n \"schema_payload\": {\n \"key_0\": \"string\",\n \"key_1\": \"string\"\n },\n \"created_at\": \"\",\n \"updated_at\": \"\"\n },\n \"links\": {\n \"self\": \"\"\n }\n },\n \"links\": {\n \"self\": \"\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "d559c46e-0cae-46bb-964d-7eda4e8cec0c", + "id": "29bb46ca-9b6b-4a2b-82c3-41bed5a923e0", "name": "Unauthorized", "originalRequest": { "url": { @@ -25143,12 +25143,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "81d630da-1117-4680-b1d0-aac8af3ee6e2", + "id": "da48f73b-86b2-4860-a058-7aab6dcead7c", "name": "Not Found", "originalRequest": { "url": { @@ -25198,7 +25198,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -25215,7 +25215,7 @@ "description": "", "item": [ { - "id": "6a92faaa-d416-4344-8551-124c76668e47", + "id": "efc65c83-3215-43bc-b21d-901f0db48633", "name": "Search shipments, containers, and tracking requests", "request": { "name": "Search shipments, containers, and tracking requests", @@ -25255,7 +25255,7 @@ }, "response": [ { - "id": "d53860d3-7d73-4f69-ba02-fdcac8a8014d", + "id": "1e9f6e64-62a4-4afc-b7d3-9f35c7061555", "name": "Successful search results", "originalRequest": { "url": { @@ -25303,12 +25303,12 @@ "value": "application/json" } ], - "body": "{\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"search_result\",\n \"attributes\": {\n \"entity_type\": \"cargo\",\n \"number\": \"\",\n \"shipment_id\": \"\",\n \"scac\": \"\",\n \"port_of_lading_name\": \"\",\n \"port_of_discharge_name\": \"\",\n \"containers_count\": \"\",\n \"tracking_stopped\": \"\",\n \"tracking_stopped_reason\": \"\",\n \"status\": \"\",\n \"failed_reason\": \"\",\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"created_at\": \"\",\n \"updated_at\": \"\"\n }\n },\n {\n \"id\": \"\",\n \"type\": \"search_result\",\n \"attributes\": {\n \"entity_type\": \"shipment\",\n \"number\": \"\",\n \"shipment_id\": \"\",\n \"scac\": \"\",\n \"port_of_lading_name\": \"\",\n \"port_of_discharge_name\": \"\",\n \"containers_count\": \"\",\n \"tracking_stopped\": \"\",\n \"tracking_stopped_reason\": \"\",\n \"status\": \"\",\n \"failed_reason\": \"\",\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"created_at\": \"\",\n \"updated_at\": \"\"\n }\n }\n ]\n}", + "body": "{\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"search_result\",\n \"attributes\": {\n \"entity_type\": \"shipment\",\n \"number\": \"\",\n \"shipment_id\": \"\",\n \"scac\": \"\",\n \"port_of_lading_name\": \"\",\n \"port_of_discharge_name\": \"\",\n \"containers_count\": \"\",\n \"tracking_stopped\": \"\",\n \"tracking_stopped_reason\": \"\",\n \"status\": \"\",\n \"failed_reason\": \"\",\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"created_at\": \"\",\n \"updated_at\": \"\"\n }\n },\n {\n \"id\": \"\",\n \"type\": \"search_result\",\n \"attributes\": {\n \"entity_type\": \"shipment\",\n \"number\": \"\",\n \"shipment_id\": \"\",\n \"scac\": \"\",\n \"port_of_lading_name\": \"\",\n \"port_of_discharge_name\": \"\",\n \"containers_count\": \"\",\n \"tracking_stopped\": \"\",\n \"tracking_stopped_reason\": \"\",\n \"status\": \"\",\n \"failed_reason\": \"\",\n \"ref_numbers\": [\n \"\",\n \"\"\n ],\n \"created_at\": \"\",\n \"updated_at\": \"\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "3e00b24e-2a6f-4a06-af6c-37566c775b73", + "id": "09aff336-efc5-4348-8326-b5427c93f813", "name": "Bad request — missing required `query` parameter", "originalRequest": { "url": { @@ -25361,7 +25361,7 @@ "_postman_previewlanguage": "json" }, { - "id": "cc9517d4-3ef7-4a4a-b949-c85f668e7bcc", + "id": "fc08a5b3-8c9a-4a7b-9452-336388d3d472", "name": "Unauthorized — missing or invalid API token", "originalRequest": { "url": { @@ -25409,7 +25409,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -25426,7 +25426,7 @@ "description": "", "item": [ { - "id": "8c2f8d5e-8ed8-47b4-a4c4-f3f263164555", + "id": "065bd625-5486-4ae3-aad6-ff2312ce8804", "name": "list-parties", "request": { "name": "list-parties", @@ -25475,7 +25475,7 @@ }, "response": [ { - "id": "47d56b20-8dc1-4d57-9297-025f70620f10", + "id": "4d19b777-af6c-4115-9c99-7afe1c290794", "name": "OK", "originalRequest": { "url": { @@ -25543,7 +25543,7 @@ } }, { - "id": "ccb989af-c1fa-4dcd-9d10-41756f081cbe", + "id": "965852df-9778-4965-a05f-273aa8468b34", "name": "post-party", "request": { "name": "post-party", @@ -25586,7 +25586,7 @@ }, "response": [ { - "id": "df9ed6f8-38f2-4d54-b0ac-8c3e59f75fcc", + "id": "ecb00fa6-4a1e-4f6b-aef4-b3fcb42d1e5c", "name": "Party Created", "originalRequest": { "url": { @@ -25642,7 +25642,7 @@ "_postman_previewlanguage": "json" }, { - "id": "9ea495db-177d-4086-9216-01b1a2cf92ff", + "id": "dde5a96e-a471-4afe-aa0e-a6664ea36006", "name": "Unprocessable Entity", "originalRequest": { "url": { @@ -25693,7 +25693,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -25704,7 +25704,7 @@ } }, { - "id": "55d32e97-9807-472b-9424-c2ccf2dc23e9", + "id": "5e1ad71e-e7a6-4de2-b56d-ba6745160d40", "name": "List shipment party roles", "request": { "name": "List shipment party roles", @@ -25747,7 +25747,7 @@ }, "response": [ { - "id": "536a21d1-d99a-45a6-8a08-3365c7218851", + "id": "5ef0a7ac-f1a8-4a39-a617-4bcd2fbb0b7b", "name": "OK", "originalRequest": { "url": { @@ -25798,12 +25798,12 @@ "value": "application/json" } ], - "body": "{\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"party_role\",\n \"attributes\": {\n \"role\": \"notify_party\",\n \"roleable_type\": \"Shipment\",\n \"roleable_id\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\"\n },\n \"relationships\": {\n \"party\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n }\n }\n },\n {\n \"id\": \"\",\n \"type\": \"party_role\",\n \"attributes\": {\n \"role\": \"pickup_dray_carrier\",\n \"roleable_type\": \"Cargo\",\n \"roleable_id\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\"\n },\n \"relationships\": {\n \"party\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n }\n }\n }\n ],\n \"included\": [\n {\n \"attributes\": {\n \"company_name\": \"\"\n },\n \"id\": \"\",\n \"type\": \"party\"\n },\n {\n \"attributes\": {\n \"company_name\": \"\"\n },\n \"id\": \"\",\n \"type\": \"party\"\n }\n ],\n \"links\": {\n \"self\": \"\",\n \"current\": \"\",\n \"first\": \"\",\n \"prev\": \"\",\n \"next\": \"\",\n \"last\": \"\"\n },\n \"meta\": {\n \"size\": \"\",\n \"total\": \"\"\n }\n}", + "body": "{\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"party_role\",\n \"attributes\": {\n \"role\": \"consignee\",\n \"roleable_type\": \"Cargo\",\n \"roleable_id\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\"\n },\n \"relationships\": {\n \"party\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n }\n }\n },\n {\n \"id\": \"\",\n \"type\": \"party_role\",\n \"attributes\": {\n \"role\": \"customs_broker\",\n \"roleable_type\": \"Shipment\",\n \"roleable_id\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\"\n },\n \"relationships\": {\n \"party\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n }\n }\n }\n ],\n \"included\": [\n {\n \"attributes\": {\n \"company_name\": \"\"\n },\n \"id\": \"\",\n \"type\": \"party\"\n },\n {\n \"attributes\": {\n \"company_name\": \"\"\n },\n \"id\": \"\",\n \"type\": \"party\"\n }\n ],\n \"links\": {\n \"self\": \"\",\n \"current\": \"\",\n \"first\": \"\",\n \"prev\": \"\",\n \"next\": \"\",\n \"last\": \"\"\n },\n \"meta\": {\n \"size\": \"\",\n \"total\": \"\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "78a14281-9dec-4156-97a4-449779179729", + "id": "fc1fbd57-6a8b-4c8e-923b-cdd7d16d12a3", "name": "Unauthorized. Also returned when the record belongs to another account.", "originalRequest": { "url": { @@ -25854,12 +25854,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "da64fda6-093e-455d-a6c5-466693c32887", + "id": "a4066a1d-4660-46e2-83e1-2d254c05218e", "name": "Not Found", "originalRequest": { "url": { @@ -25910,7 +25910,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -25921,7 +25921,7 @@ } }, { - "id": "b6e1022f-1b5f-4813-8eda-fd71ed685df1", + "id": "2c211a1c-9f21-46cb-a493-1247ad880180", "name": "Assign a shipment party role", "request": { "name": "Assign a shipment party role", @@ -25977,7 +25977,7 @@ }, "response": [ { - "id": "6193ddc7-949c-4a9e-b3eb-d3d20f180ff7", + "id": "287a5d84-d4fe-4820-a504-f0c46bf9746a", "name": "Created", "originalRequest": { "url": { @@ -26041,12 +26041,12 @@ "value": "application/json" } ], - "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"party_role\",\n \"attributes\": {\n \"role\": \"customer\",\n \"roleable_type\": \"Cargo\",\n \"roleable_id\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\"\n },\n \"relationships\": {\n \"party\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n }\n }\n },\n \"included\": [\n {\n \"attributes\": {\n \"company_name\": \"\"\n },\n \"id\": \"\",\n \"type\": \"party\"\n },\n {\n \"attributes\": {\n \"company_name\": \"\"\n },\n \"id\": \"\",\n \"type\": \"party\"\n }\n ],\n \"links\": {\n \"self\": \"\"\n }\n}", + "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"party_role\",\n \"attributes\": {\n \"role\": \"notify_party\",\n \"roleable_type\": \"Cargo\",\n \"roleable_id\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\"\n },\n \"relationships\": {\n \"party\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n }\n }\n },\n \"included\": [\n {\n \"attributes\": {\n \"company_name\": \"\"\n },\n \"id\": \"\",\n \"type\": \"party\"\n },\n {\n \"attributes\": {\n \"company_name\": \"\"\n },\n \"id\": \"\",\n \"type\": \"party\"\n }\n ],\n \"links\": {\n \"self\": \"\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "3b106aba-ba32-489f-972a-a694b7958622", + "id": "e28c20cb-1bad-467f-960d-83d36c97dea3", "name": "Unauthorized. Also returned when the party or the record belongs to another account.", "originalRequest": { "url": { @@ -26110,12 +26110,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "b637823e-3bc3-4082-8df1-354569f28729", + "id": "719bbe28-d77c-4a3d-be4a-9b236679347b", "name": "Not Found", "originalRequest": { "url": { @@ -26179,12 +26179,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "13baac83-ce0d-492e-ad08-5a494e51a073", + "id": "ae6ee1e3-7d39-4842-b361-6e9ad874715d", "name": "Unprocessable Entity", "originalRequest": { "url": { @@ -26248,7 +26248,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -26259,7 +26259,7 @@ } }, { - "id": "8d538077-434b-49d9-a391-58cf8ad52828", + "id": "c00e01ef-583f-445b-add2-87e066f2b602", "name": "Remove a shipment party role", "request": { "name": "Remove a shipment party role", @@ -26313,7 +26313,7 @@ }, "response": [ { - "id": "458df2a6-9065-451b-98d4-c3770bc4cb97", + "id": "80ce23db-aeb9-4c74-961e-e0a138f16e0b", "name": "No Content", "originalRequest": { "url": { @@ -26370,7 +26370,7 @@ "_postman_previewlanguage": "text" }, { - "id": "4bf0be8c-e85d-4d15-9135-ba2b6af87127", + "id": "2d5f109f-a1ae-4ea3-8fa0-b94cb0643d2b", "name": "Unauthorized. Also returned when the record belongs to another account.", "originalRequest": { "url": { @@ -26432,12 +26432,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "d5c64297-1cef-4b98-a151-79f6639bc659", + "id": "e0d8dfd6-6168-491d-870b-5f728b642eb5", "name": "Not Found", "originalRequest": { "url": { @@ -26499,7 +26499,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -26510,7 +26510,7 @@ } }, { - "id": "cfff2f06-b733-4d6f-8f0b-39d1b3642fa5", + "id": "5c32a325-6662-46d9-a32a-3d9910d45795", "name": "List container party roles", "request": { "name": "List container party roles", @@ -26553,7 +26553,7 @@ }, "response": [ { - "id": "82fc6806-3376-4977-a8c6-090a8d58720d", + "id": "b2a1fe47-a9e2-4034-8910-d67c82ae8278", "name": "OK", "originalRequest": { "url": { @@ -26604,12 +26604,12 @@ "value": "application/json" } ], - "body": "{\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"party_role\",\n \"attributes\": {\n \"role\": \"notify_party\",\n \"roleable_type\": \"Shipment\",\n \"roleable_id\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\"\n },\n \"relationships\": {\n \"party\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n }\n }\n },\n {\n \"id\": \"\",\n \"type\": \"party_role\",\n \"attributes\": {\n \"role\": \"pickup_dray_carrier\",\n \"roleable_type\": \"Cargo\",\n \"roleable_id\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\"\n },\n \"relationships\": {\n \"party\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n }\n }\n }\n ],\n \"included\": [\n {\n \"attributes\": {\n \"company_name\": \"\"\n },\n \"id\": \"\",\n \"type\": \"party\"\n },\n {\n \"attributes\": {\n \"company_name\": \"\"\n },\n \"id\": \"\",\n \"type\": \"party\"\n }\n ],\n \"links\": {\n \"self\": \"\",\n \"current\": \"\",\n \"first\": \"\",\n \"prev\": \"\",\n \"next\": \"\",\n \"last\": \"\"\n },\n \"meta\": {\n \"size\": \"\",\n \"total\": \"\"\n }\n}", + "body": "{\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"party_role\",\n \"attributes\": {\n \"role\": \"consignee\",\n \"roleable_type\": \"Cargo\",\n \"roleable_id\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\"\n },\n \"relationships\": {\n \"party\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n }\n }\n },\n {\n \"id\": \"\",\n \"type\": \"party_role\",\n \"attributes\": {\n \"role\": \"customs_broker\",\n \"roleable_type\": \"Shipment\",\n \"roleable_id\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\"\n },\n \"relationships\": {\n \"party\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n }\n }\n }\n ],\n \"included\": [\n {\n \"attributes\": {\n \"company_name\": \"\"\n },\n \"id\": \"\",\n \"type\": \"party\"\n },\n {\n \"attributes\": {\n \"company_name\": \"\"\n },\n \"id\": \"\",\n \"type\": \"party\"\n }\n ],\n \"links\": {\n \"self\": \"\",\n \"current\": \"\",\n \"first\": \"\",\n \"prev\": \"\",\n \"next\": \"\",\n \"last\": \"\"\n },\n \"meta\": {\n \"size\": \"\",\n \"total\": \"\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "db254238-dcfb-45e5-af66-f410621cbb97", + "id": "a62b676d-0d2c-40e8-9e40-d585eb9122e1", "name": "Unauthorized. Also returned when the record belongs to another account.", "originalRequest": { "url": { @@ -26660,12 +26660,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "bfcf7d8b-e2e1-464d-8f03-b3973c800c01", + "id": "5e450c43-b256-4ef0-b663-fcf85f774343", "name": "Not Found", "originalRequest": { "url": { @@ -26716,7 +26716,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -26727,7 +26727,7 @@ } }, { - "id": "aac44110-718e-4a3e-8b3f-8cbe34a786c3", + "id": "659fd550-2a06-4fab-9dc8-413e8dc17599", "name": "Assign a container party role", "request": { "name": "Assign a container party role", @@ -26783,7 +26783,7 @@ }, "response": [ { - "id": "b2a466de-c52b-4658-ba6e-70bee956ff11", + "id": "a74bc868-7669-46cb-b2f8-daa22f4cb28d", "name": "Created", "originalRequest": { "url": { @@ -26847,12 +26847,12 @@ "value": "application/json" } ], - "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"party_role\",\n \"attributes\": {\n \"role\": \"customer\",\n \"roleable_type\": \"Cargo\",\n \"roleable_id\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\"\n },\n \"relationships\": {\n \"party\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n }\n }\n },\n \"included\": [\n {\n \"attributes\": {\n \"company_name\": \"\"\n },\n \"id\": \"\",\n \"type\": \"party\"\n },\n {\n \"attributes\": {\n \"company_name\": \"\"\n },\n \"id\": \"\",\n \"type\": \"party\"\n }\n ],\n \"links\": {\n \"self\": \"\"\n }\n}", + "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"party_role\",\n \"attributes\": {\n \"role\": \"notify_party\",\n \"roleable_type\": \"Cargo\",\n \"roleable_id\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\"\n },\n \"relationships\": {\n \"party\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"party\"\n }\n }\n }\n },\n \"included\": [\n {\n \"attributes\": {\n \"company_name\": \"\"\n },\n \"id\": \"\",\n \"type\": \"party\"\n },\n {\n \"attributes\": {\n \"company_name\": \"\"\n },\n \"id\": \"\",\n \"type\": \"party\"\n }\n ],\n \"links\": {\n \"self\": \"\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "83fd7da1-9d1b-4ae3-b634-bb13b92f738c", + "id": "b0d5e2cf-5643-4b43-9cf0-4700c38c89dc", "name": "Unauthorized. Also returned when the party or the record belongs to another account.", "originalRequest": { "url": { @@ -26916,12 +26916,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "f795da56-2203-40fc-8774-330961a9d75d", + "id": "f50f8b04-7d71-44b6-a541-eb90f51bea30", "name": "Not Found", "originalRequest": { "url": { @@ -26985,12 +26985,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "06d7e9c7-77fe-4ee2-a61e-b29d86ea95cd", + "id": "f3421cf4-ebb8-49e5-9836-b1899f3e0d15", "name": "Unprocessable Entity", "originalRequest": { "url": { @@ -27054,7 +27054,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -27065,7 +27065,7 @@ } }, { - "id": "bc237698-292f-4a53-955e-6060c367fba6", + "id": "231692f4-21b4-4d91-8fe1-c97d78a733a5", "name": "Remove a container party role", "request": { "name": "Remove a container party role", @@ -27119,7 +27119,7 @@ }, "response": [ { - "id": "94249906-5afc-4b89-acf3-fa317bc15051", + "id": "4ae5d62c-853a-4f68-b418-13fbe905d34b", "name": "No Content", "originalRequest": { "url": { @@ -27176,7 +27176,7 @@ "_postman_previewlanguage": "text" }, { - "id": "24f9a843-599b-4682-88d3-df657c5d71da", + "id": "e0b824a0-4835-4b86-8caa-90c4f7b30029", "name": "Unauthorized. Also returned when the record belongs to another account.", "originalRequest": { "url": { @@ -27238,12 +27238,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "d4c3963c-c919-4cd2-8009-fdd224c4da5f", + "id": "6a25a0c0-9efb-4f34-853b-bedda2c006e2", "name": "Not Found", "originalRequest": { "url": { @@ -27305,7 +27305,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -27316,7 +27316,7 @@ } }, { - "id": "cc80d021-2d86-435c-9e4b-dde41dd97dc0", + "id": "29753765-416a-4259-abc6-7a770675a0bf", "name": "get-parties-id", "request": { "name": "get-parties-id", @@ -27358,7 +27358,7 @@ }, "response": [ { - "id": "7a5d7808-7e48-4789-acb9-1286bba0f11d", + "id": "2d150493-63a3-4c87-b89a-70c5bdca1757", "name": "OK", "originalRequest": { "url": { @@ -27413,7 +27413,7 @@ "_postman_previewlanguage": "json" }, { - "id": "e2d706bf-5e65-4ab5-b43f-b98d1fb0047f", + "id": "70594479-e7ea-4bf2-a42b-03372bb50789", "name": "Unauthorized. The API token is missing or invalid, or the account may not perform this action.", "originalRequest": { "url": { @@ -27463,12 +27463,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "0e7bdbd8-2731-445e-9039-186ef98ea29b", + "id": "1113f44d-98b1-4ab3-9c25-219535b33281", "name": "Not Found", "originalRequest": { "url": { @@ -27518,7 +27518,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -27529,7 +27529,7 @@ } }, { - "id": "7486bbd1-422d-4f0c-8d35-9c0fb752da5f", + "id": "7e8a08e1-681b-47ff-9458-fc99ab9ff811", "name": "edit-party", "request": { "name": "edit-party", @@ -27584,7 +27584,7 @@ }, "response": [ { - "id": "e1632d82-2e5d-485e-bd84-1b98d7ae5897", + "id": "f37bbbec-e07f-4fb8-b634-5e09764a97ef", "name": "OK", "originalRequest": { "url": { @@ -27652,7 +27652,7 @@ "_postman_previewlanguage": "json" }, { - "id": "f309602c-9976-48cd-8ac6-1ac1cce64c2c", + "id": "7e2538fe-3671-4e1e-9e9c-7d33ec86e92f", "name": "Unauthorized. The API token is missing or invalid, or the account may not perform this action.", "originalRequest": { "url": { @@ -27715,12 +27715,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "72e75c6b-cc74-43c9-94ed-12545391ffb4", + "id": "a77fd9b3-842e-4d7d-807a-1f0a1a04c0d1", "name": "Not Found", "originalRequest": { "url": { @@ -27783,12 +27783,12 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "ed7645a8-0cf5-4404-8273-a4802e0a2450", + "id": "7d8de0d0-650e-47c6-867a-972f59931419", "name": "Unprocessable Entity", "originalRequest": { "url": { @@ -27851,7 +27851,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -27868,7 +27868,7 @@ "description": "", "item": [ { - "id": "62856aa1-8285-418b-8f34-7f4424f6dca0", + "id": "4b731172-09ee-4d0d-a8af-76b7c1a1d35a", "name": "Get the current credential", "request": { "name": "Get the current credential", @@ -27907,7 +27907,7 @@ }, "response": [ { - "id": "b1358eaa-182e-46db-99d0-f7af944a9343", + "id": "bd9292db-c663-4585-9196-986c88287892", "name": "OK", "originalRequest": { "url": { @@ -27954,12 +27954,12 @@ "value": "application/json" } ], - "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"credential\",\n \"attributes\": {\n \"kind\": \"user\",\n \"channel\": \"api\",\n \"features\": {\n \"data_out_api\": {\n \"status\": \"requires_user_credential\"\n },\n \"custom_fields\": {\n \"status\": \"requires_paid_plan\"\n },\n \"routing_data\": {\n \"status\": \"not_enabled\"\n },\n \"rail_data\": {\n \"status\": \"requires_user_credential\"\n },\n \"stop_tracking\": {\n \"status\": \"requires_user_credential\"\n },\n \"trade_intel\": {\n \"status\": \"not_enabled\"\n }\n },\n \"name\": \"\"\n },\n \"relationships\": {\n \"account\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"account\"\n }\n },\n \"user\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"user\"\n }\n }\n }\n },\n \"included\": [\n {\n \"id\": \"\",\n \"type\": \"account\",\n \"attributes\": {\n \"company_name\": \"\",\n \"company_type\": \"customs_broker\",\n \"scac\": \"\",\n \"abbr_name\": \"\",\n \"city\": \"\",\n \"state_abbr\": \"\",\n \"country\": \"\",\n \"plan\": \"locked\",\n \"tracking_slots\": {\n \"limit\": \"\",\n \"used\": \"\",\n \"remaining\": \"\"\n }\n }\n }\n ]\n}", + "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"credential\",\n \"attributes\": {\n \"kind\": \"api_key\",\n \"channel\": \"askt49\",\n \"features\": {\n \"data_out_api\": {\n \"status\": \"not_enabled\"\n },\n \"custom_fields\": {\n \"status\": \"requires_paid_plan\"\n },\n \"routing_data\": {\n \"status\": \"requires_paid_plan\"\n },\n \"rail_data\": {\n \"status\": \"requires_user_credential\"\n },\n \"stop_tracking\": {\n \"status\": \"available\"\n },\n \"trade_intel\": {\n \"status\": \"available\"\n }\n },\n \"name\": \"\"\n },\n \"relationships\": {\n \"account\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"account\"\n }\n },\n \"user\": {\n \"data\": {\n \"id\": \"\",\n \"type\": \"user\"\n }\n }\n }\n },\n \"included\": [\n {\n \"id\": \"\",\n \"type\": \"account\",\n \"attributes\": {\n \"company_name\": \"\",\n \"company_type\": \"terminal_49\",\n \"scac\": \"\",\n \"abbr_name\": \"\",\n \"city\": \"\",\n \"state_abbr\": \"\",\n \"country\": \"\",\n \"plan\": \"in_trial\",\n \"tracking_slots\": {\n \"limit\": \"\",\n \"used\": \"\",\n \"remaining\": \"\"\n }\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "407b672b-3f0f-40e8-8d9b-2b9b03ce2166", + "id": "38d07f5c-96ef-4cfa-acdc-fa9d7eb6fec0", "name": "Unauthorized. The credential is missing, invalid, disabled, or names an account it cannot access.", "originalRequest": { "url": { @@ -28006,7 +28006,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -28023,7 +28023,7 @@ "description": "", "item": [ { - "id": "608ba0ab-0062-426a-b512-7c8cf1bda90c", + "id": "03c801b2-8c31-4191-8485-497bb9649850", "name": "Shipping Lines", "request": { "name": "Shipping Lines", @@ -28053,7 +28053,7 @@ }, "response": [ { - "id": "65f1a0cf-ba38-4894-8785-b71467939b42", + "id": "1836cd01-d1f3-4008-bb45-3d99cfbab2a7", "name": "OK", "originalRequest": { "url": { @@ -28102,7 +28102,7 @@ } }, { - "id": "23dd3007-8fe2-4d11-9614-e3c4b4d3e928", + "id": "75644e25-337b-4520-81d5-661ee1338d0f", "name": "Get a single shipping line", "request": { "name": "Get a single shipping line", @@ -28144,7 +28144,7 @@ }, "response": [ { - "id": "f3353b99-7262-4fff-89df-41723e7a4b4b", + "id": "0dc3d4f8-eb39-43e8-8a20-2fb6f2a06df5", "name": "OK", "originalRequest": { "url": { @@ -28199,7 +28199,7 @@ "_postman_previewlanguage": "json" }, { - "id": "652fcae8-1e01-4160-bec7-58b2c30b9503", + "id": "4e7d3a17-43ba-4605-9bbf-f5fbfac23a41", "name": "Not Found", "originalRequest": { "url": { @@ -28249,7 +28249,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -28266,7 +28266,7 @@ "description": "", "item": [ { - "id": "3061ef51-3477-43a4-a93a-d301dab52e0b", + "id": "d60e2db5-6c6c-4a72-8f2a-515487c9adcf", "name": "Get a vessel using the id", "request": { "name": "Get a vessel using the id", @@ -28327,7 +28327,7 @@ }, "response": [ { - "id": "a895e7e6-7860-4aa4-a9cf-49106f5aaba2", + "id": "3b74b086-b9c9-4a1d-bc77-0c6223f1b986", "name": "OK", "originalRequest": { "url": { @@ -28401,7 +28401,7 @@ "_postman_previewlanguage": "json" }, { - "id": "808ea44f-b04a-475c-97da-a2b2bf347a43", + "id": "0c98184a-9505-4068-8e19-95ba9dabd89f", "name": "Forbidden - Feature not enabled", "originalRequest": { "url": { @@ -28475,7 +28475,7 @@ "_postman_previewlanguage": "json" }, { - "id": "1f32f3ab-1ede-451e-bf03-6031a4f427d9", + "id": "d5ba4e5a-1956-48f1-a993-b0cece8bb3eb", "name": "Not Found", "originalRequest": { "url": { @@ -28544,7 +28544,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -28555,7 +28555,7 @@ } }, { - "id": "f9991617-c207-4c67-b3f6-1d6b39127a46", + "id": "b9012c5f-4250-4d7f-a6c5-a766c96c3882", "name": "Get a vessel using the imo", "request": { "name": "Get a vessel using the imo", @@ -28616,7 +28616,7 @@ }, "response": [ { - "id": "5994b03a-9261-4793-9eb7-78f3fabf6514", + "id": "d27802e9-b367-41d0-9e97-96626db168ac", "name": "OK", "originalRequest": { "url": { @@ -28690,7 +28690,7 @@ "_postman_previewlanguage": "json" }, { - "id": "0cf910fd-92bb-4ec4-8d95-f141c41c1028", + "id": "46f41e9e-8f6e-4570-81fe-4af48828996c", "name": "Forbidden - Feature not enabled", "originalRequest": { "url": { @@ -28764,7 +28764,7 @@ "_postman_previewlanguage": "json" }, { - "id": "edb182a3-9063-40ec-8e19-c6dd11bedf89", + "id": "9a198a1e-141c-4da2-a47c-0e7f83374d95", "name": "Not Found", "originalRequest": { "url": { @@ -28833,7 +28833,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -28844,7 +28844,7 @@ } }, { - "id": "a05d9956-7f27-4cb8-b75a-7b2d42481fb3", + "id": "a9b47ba4-5b75-4b5f-83b0-5364e56de9dc", "name": "Get vessel future positions", "request": { "name": "Get vessel future positions", @@ -28906,7 +28906,7 @@ }, "response": [ { - "id": "93777fd2-442a-436e-aad6-9b2e365a8300", + "id": "e5cd878d-b6f6-491a-bb26-f323f33581ab", "name": "OK", "originalRequest": { "url": { @@ -28981,7 +28981,7 @@ "_postman_previewlanguage": "json" }, { - "id": "856ecac0-004b-484e-9810-81876aca0be8", + "id": "63ccec0d-d2e0-4d6d-8aed-bd5e779f60bc", "name": "Forbidden - Routing data feature is not enabled for this account", "originalRequest": { "url": { @@ -29056,7 +29056,7 @@ "_postman_previewlanguage": "json" }, { - "id": "ade50c24-384b-422d-a544-5588ba5042f7", + "id": "281912cc-40a8-4444-99a1-0e022c93d8b2", "name": "Not Found", "originalRequest": { "url": { @@ -29126,7 +29126,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -29137,7 +29137,7 @@ } }, { - "id": "4d4491ab-3d44-4595-ad3d-500ac8e096b0", + "id": "05295000-ee83-4a07-adaf-8abe854e153d", "name": "Get vessel future positions from coordinates", "request": { "name": "Get vessel future positions from coordinates", @@ -29217,7 +29217,7 @@ }, "response": [ { - "id": "41fe61f3-592d-408c-a2c0-3ae3fdccd4f0", + "id": "e7b306d6-4207-4ac9-8109-7acbdd59a021", "name": "OK", "originalRequest": { "url": { @@ -29310,7 +29310,7 @@ "_postman_previewlanguage": "json" }, { - "id": "882eb986-79a8-4dd2-8f31-e0e388cd9f08", + "id": "a3a5f147-087b-486a-912a-d9cb1c1cb394", "name": "Forbidden - Routing data feature is not enabled for this account", "originalRequest": { "url": { @@ -29403,7 +29403,7 @@ "_postman_previewlanguage": "json" }, { - "id": "0a0d2bc0-440f-4290-b945-df10804c7978", + "id": "61323a1d-26b9-445f-a1ba-41faf9a385ee", "name": "Not Found", "originalRequest": { "url": { @@ -29491,7 +29491,7 @@ "value": "application/json" } ], - "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 2642,\n \"key_1\": \"string\",\n \"key_2\": 699.1005227377789,\n \"key_3\": 5517.35089893312\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": 3834\n }\n }\n ]\n}", + "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": \"string\",\n \"key_1\": 821.9937376111175,\n \"key_2\": 6024\n }\n },\n {\n \"detail\": \"\",\n \"title\": \"\",\n \"source\": {\n \"pointer\": \"\",\n \"parameter\": \"\"\n },\n \"code\": \"\",\n \"status\": \"\",\n \"meta\": {\n \"key_0\": true,\n \"key_1\": \"string\",\n \"key_2\": \"string\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -29532,7 +29532,7 @@ } ], "info": { - "_postman_id": "795b57d9-cff0-4577-ba81-ad122bc567bb", + "_postman_id": "c583ce9a-30a3-488c-be74-90182734958c", "name": "Terminal49 API Reference", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "description": {