> This page is for version Prod (default).
> For other versions, use one of these documentation indexes:
> - Prod (default): https://docs.chrt.com/prod/llms.txt
> - Staging: https://docs.chrt.com/staging/llms.txt
> - Dev: https://docs.chrt.com/dev/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.chrt.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.chrt.com/_mcp/server.

# Retrieve for shipper operators

POST https://api.chrt.com/shipping/task_groups/expanded/for_shipper_operators/v1/{task_group_id}
Content-Type: application/json

Retrieves an expanded task group with optional related data for shipper operators. | authz_personas=[shipper_org_operators] | (OrderAndTaskGroupExpandedReq) -> (TaskGroupExpanded)

Reference: https://docs.chrt.com/api-reference/api-reference/shipping/task-groups/expanded/for-shipper-operators-v-1

## Authentication

- `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer <token>`, where token is your auth token.

## Servers

- `https://api.chrt.com` (Production, default)
- `https://api.dev.chrt.com` (Development)
- `https://api.staging.chrt.com` (Staging)
- `https://localhost:8000` (Local)

## Request

### Path parameters

- `task_group_id` (string, required)

### Body (application/json)

This endpoint expects an OrderAndTaskGroupExpandedReq.

- `expand_accounts` (boolean, optional, default: false)
- `expand_cargos` (boolean, optional, default: false)
- `expand_contacts` (boolean, optional, default: false)
- `expand_coordinator_departments` (boolean, optional, default: false)
- `expand_coordinator_org_company_name` (boolean, optional, default: false)
- `expand_coordinator_org_handle` (boolean, optional, default: false)
- `expand_coordinator_task_lists_to_apply_at_order_staging` (boolean, optional, default: false)
- `expand_driver` (boolean, optional, default: false)
- `expand_executor_departments` (boolean, optional, default: false)
- `expand_executor_org_company_name` (boolean, optional, default: false)
- `expand_executor_org_handle` (boolean, optional, default: false)
- `expand_notification_intents_ad_hoc` (boolean, optional, default: false)
- `expand_off_chrt_shipper_org_company_name` (boolean, optional, default: false)
- `expand_shipper_org_company_name` (boolean, optional, default: false)
- `expand_task_artifacts` (boolean, optional, default: false)
- `expand_tasks` (boolean, optional, default: false)

## Response

### 200

Successful Response

- `task_group` (TaskGroup1, required)
- `awb_numbers` (list of string, optional, nullable)
- `coordinator_org_company_name` (string, optional, nullable)
- `coordinator_org_handle` (string, optional, nullable)
- `coordinator_org_id` (string, optional, nullable)
- `driver` (TaskGroupExpandedDriver, optional, nullable)
- `executor_departments` (list of Department1, optional)
- `executor_org_company_name` (string, optional, nullable)
- `executor_org_handle` (string, optional, nullable)
- `executor_org_id` (string, optional, nullable)
- `off_chrt_executor_org_company_name` (string, optional, nullable)
- `off_chrt_executor_org_data_id` (string, optional, nullable)
- `off_chrt_shipper_org_company_name` (string, optional, nullable)
- `off_chrt_shipper_org_data_id` (string, optional, nullable)
- `shipper_org_company_name` (string, optional, nullable)
- `shipper_org_id` (string, optional, nullable)
- `tasks_expanded` (list of TaskExpanded, optional, nullable)

## Errors

### 422 Unprocessable Entity Error

Validation Error

- `detail` (list of ValidationError, optional)

## Types

### TaskGroup1

- `_id` (string, required)
- `created_by_org_id` (string, required) — Must be a string starting with `org_`
- `draft_started_at_timestamp` (string, required)
- `order_id` (string, required)
- `order_short_id` (string, required)
- `schema_version` (integer, required)
- `short_id` (string, required)
- `task_group_type` (enum, required)
  - Allowed values: `chrt_ground_provider`, `cargo_on_flight`, `cargo_on_vessel`, `onboard_courier`
- `cancelled_at_timestamp` (string, optional, nullable)
- `completed_at_timestamp` (string, optional, nullable)
- `coordinator_org_id` (string, optional, nullable)
- `coordinator_setup_notes` (string, optional, nullable)
- `created_by_user_id` (string, optional, nullable)
- `driver_id` (string, optional, nullable)
- `exception_at_timestamp` (string, optional, nullable)
- `executor_org_id` (string, optional, nullable)
- `flight_leg_ids` (list of string, optional)
- `flight_setup_notes` (string, optional, nullable)
- `in_progress_at_timestamp` (string, optional, nullable)
- `messages` (list of TaskGroupMessage1, optional)
- `mileage_estimated` (double, optional, nullable)
- `off_chrt_executor_org_data_id` (string, optional, nullable)
- `off_chrt_shipper_org_data_id` (string, optional, nullable)
- `order_off_chrt_reference_id` (string, optional, nullable)
- `shipper_org_id` (string, optional, nullable)
- `skipped_at_timestamp` (string, optional, nullable)
- `staged_at_timestamp` (string, optional, nullable)
- `status` (enum, optional)
  - Allowed values: `draft`, `staged`, `in_progress`, `completed`, `skipped`, `cancelled`, `exception`
- `task_group_s3_object_metadata_ids` (list of string, optional)
- `task_ids` (list of string, optional)
- `vehicle_type` (enum, optional, nullable, default: cargo_van)
  - Allowed values: `sedan`, `suv`, `cargo_van`, `box_truck`, `flatbed`, `semi_truck`, `airplane`
- `wait_time_total_minutes` (double, optional, nullable)

### TaskGroupExpandedDriver

- Driver1: Driver1
- DriverLimited1: DriverLimited1

### Department1

- `_id` (string, required)
- `created_at` (string, required)
- `created_by_user_id` (string, required) — Must be a string starting with `user_`
- `department_type` (enum, required)
  - Allowed values: `aerospace`, `agriculture`, `automotive`, `chemicals`, `electronics`, `energy`, `food_and_beverage`, `general`, `healthcare`, `industrials`, `life_sciences`, `live_animals`, `manufacturing`, `marine`, `pharmaceutical`, `radiopharma`, `retail`, `semiconductor`
- `name` (string, required)
- `org_id` (string, required) — Must be a string starting with `org_`
- `schema_version` (integer, required)
- `short_id` (string, required)
- `location` (LocationFeature, optional, nullable) — GeoJSON Feature with typed properties for locations The geometry field is strongly typed as Geometry (union of all geometry types) but remains optional to match the base Feature class specification. To ensure geometry is always present, validate it at runtime or make it required.
- `operator_user_ids` (list of string, optional)

### TaskExpanded

- `task` (Task1, required)
- `cargos` (list of Cargo1, optional, nullable)
- `contacts` (list of Contact1, optional, nullable)
- `provided_by` (CustodyPartyExpanded, optional, nullable)
- `received_by` (CustodyPartyExpanded, optional, nullable)
- `task_artifacts` (list of TaskArtifact1, optional, nullable)

### ValidationError

- `loc` (list of ValidationErrorLocItems, required)
- `msg` (string, required)
- `type` (string, required)
- `ctx` (ValidationErrorCtx, optional)
- `input` (any, optional)

### TaskGroupMessage1

- `message` (string, required)
- `org_id` (string, required) — Must be a string starting with `org_`
- `timestamp` (string, required)
- `user_id` (string, required) — Must be a string starting with `user_`

### Driver1

- `_id` (string, required)
- `org_id` (string, required) — Must be a string starting with `org_`
- `schema_version` (integer, required)
- `user_id` (string, required) — Must be a string starting with `user_`
- `archived_at_timestamp` (string, optional, nullable)
- `auto_assign_enabled` (boolean, optional, default: true)
- `available_according_to_driver` (boolean, optional, default: true)
- `available_according_to_operators` (boolean, optional, default: true)
- `email_address_primary` (string, optional, nullable)
- `email_address_secondary` (string, optional, nullable)
- `first_name` (string, optional, nullable)
- `last_name` (string, optional, nullable)
- `last_seen_at_location` (LocationFeature, optional, nullable) — GeoJSON Feature with typed properties for locations The geometry field is strongly typed as Geometry (union of all geometry types) but remains optional to match the base Feature class specification. To ensure geometry is always present, validate it at runtime or make it required.
- `last_seen_at_location_city` (string, optional, nullable)
- `last_seen_at_location_large_city` (string, optional, nullable)
- `last_seen_at_timestamp` (string, optional, nullable)
- `phone_number_primary` (string, optional, nullable)
- `phone_number_secondary` (string, optional, nullable)
- `status` (enum, optional)
  - Allowed values: `unassigned`, `assigned`, `in_progress`
- `vehicle_types` (list of enum, optional)
  - Allowed values: `sedan`, `suv`, `cargo_van`, `box_truck`, `flatbed`, `semi_truck`, `airplane`
- `waiting` (boolean, optional, default: false)

### DriverLimited1

- `_id` (string, required)
- `org_id` (string, required) — Must be a string starting with `org_`
- `schema_version` (integer, required)
- `first_name` (string, optional, nullable)
- `last_name` (string, optional, nullable)
- `vehicle_types` (list of enum, optional)
  - Allowed values: `sedan`, `suv`, `cargo_van`, `box_truck`, `flatbed`, `semi_truck`, `airplane`

### LocationFeature

GeoJSON Feature with typed properties for locations The geometry field is strongly typed as Geometry (union of all geometry types) but remains optional to match the base Feature class specification. To ensure geometry is always present, validate it at runtime or make it required.

- `geometry` (LocationFeatureGeometry, required)
- `type` ("Feature", required)
- `bbox` (LocationFeatureBbox, optional, nullable)
- `id` (LocationFeatureId, optional, nullable)
- `properties` (LocationProperties, optional, nullable) — Properties for GeoJSON Feature objects

### Task1

- `_id` (string, required)
- `created_by_org_id` (string, required) — Must be a string starting with `org_`
- `draft_started_at_timestamp` (string, required)
- `order_id` (string, required)
- `order_short_id` (string, required)
- `schema_version` (integer, required)
- `short_id` (string, required)
- `task_group_id` (string, required)
- `action` (Task1Action, optional, nullable)
- `attempt_submitted_at_timestamp` (string, optional, nullable)
- `attempted_at_timestamp` (string, optional, nullable)
- `cancelled_at_timestamp` (string, optional, nullable)
- `cargo_ids` (list of string, optional)
- `completed_at_timestamp` (string, optional, nullable)
- `completed_by_org_id` (string, optional, nullable)
- `completed_by_user_id` (string, optional, nullable)
- `completion_submitted_at_timestamp` (string, optional, nullable)
- `contact_ids` (list of string, optional)
- `coordinator_shipper_account_ids` (list of string, optional)
- `created_by_user_id` (string, optional, nullable)
- `datetime_windows` (list of DateTimeWindow1, optional)
- `exception_at_timestamp` (string, optional, nullable)
- `executor_org_notes` (list of TaskExecutorOrgNote1, optional)
- `flight_leg_id` (string, optional, nullable)
- `geofence_distance_miles` (double, optional, default: 1)
- `location` (LocationFeature, optional, nullable) — GeoJSON Feature with typed properties for locations The geometry field is strongly typed as Geometry (union of all geometry types) but remains optional to match the base Feature class specification. To ensure geometry is always present, validate it at runtime or make it required.
- `order_placer_comments` (string, optional, nullable)
- `provided_by` (CustodyParty1, optional, nullable)
- `received_by` (CustodyParty1, optional, nullable)
- `skip_submitted_at_timestamp` (string, optional, nullable)
- `skipped_at_timestamp` (string, optional, nullable)
- `staged_at_timestamp` (string, optional, nullable)
- `status` (enum, optional)
  - Allowed values: `draft`, `staged`, `completed`, `skipped`, `attempt`, `cancelled`, `exception`
- `task_artifact_ids` (list of string, optional)
- `wait_time_end_timestamp` (string, optional, nullable)
- `wait_time_start_timestamp` (string, optional, nullable)
- `wait_time_started_in_geofence` (boolean, optional, nullable)
- `wait_time_validated` (boolean, optional, nullable)
- `wait_time_validated_by_user_id` (string, optional, nullable)

### Cargo1

- `_id` (string, required)
- `cargo_type` (enum, required)
  - Allowed values: `spare_parts`, `blood`, `lab_specimen`, `organ`, `tissue`, `manufacturing_equipment`, `aircraft_parts`, `medical_devices`, `medical_supplies`, `pharmaceuticals`, `documents`, `electronics`, `clothing`, `chemicals`, `hazardous_materials`, `perishable`, `frozen`, `live_animals`, `rodents`, `fish`, `birds`, `reptiles`, `mammals`, `insects`, `crickets`, `other`, `unspecified`
- `created_by_org_id` (string, required) — Must be a string starting with `org_`
- `draft_started_at_timestamp` (string, required)
- `order_id` (string, required)
- `order_short_id` (string, required)
- `schema_version` (integer, required)
- `awb_number` (string, optional, nullable)
- `awb_number_line_items_generated` (boolean, optional, default: false)
- `cancelled_at_timestamp` (string, optional, nullable)
- `created_by_user_id` (string, optional, nullable)
- `delivered_at_timestamp` (string, optional, nullable)
- `description` (string, optional, nullable)
- `device_ids` (list of string, optional)
- `exception_at_timestamp` (string, optional, nullable)
- `height_inches` (double, optional, nullable)
- `in_transit_at_timestamp` (string, optional, nullable)
- `length_inches` (double, optional, nullable)
- `quantity` (integer, optional, nullable)
- `skipped_at_timestamp` (string, optional, nullable)
- `special_handling_codes` (list of enum, optional)
  - Allowed values: `ACT`, `AGC`, `ALO`, `AOG`, `ATT`, `AVI`, `AXA`, `BIG`, `BSA`, `BUP`, `CAO`, `CAT`, `CC`, `COF`, `COL`, `COM`, `COU`, `CRT`, `CSL`, `CUR`, `DDX`, `DGD`, `DGR`, `DIC`, `DIP`, `DIR`, `DNS`, `EAP`, `EAT`, `EAW`, `EBI`, `EBM`, `ECC`, `ECP`, `ELI`, `ELM`, `EMD`, `ERT`, `EXC`, `FIL`, `FRA`, `FRC`, `FRI`, `FRO`, `FTR`, `GCR`, `GLD`, `GOB`, `GOH`, `HEA`, `HEG`, `HNT`, `HST`, `HUM`, `IAT`, `IBS`, `ICE`, `IMP`, `LHO`, `LIC`, `MAG`, `MAL`, `MDC`, `MEX`, `MUW`, `NSC`, `NST`, `NWP`, `OBX`, `OHG`, `PAC`, `PAX`, `PEA`, `PEB`, `PED`, `PEF`, `PEL`, `PEM`, `PEP`, `PER`, `PES`, `PHY`, `PIL`, `PIP`, `PPR`, `PRI`, `PRO`, `PXD`, `PXS`, `QRT`, `QWT`, `RAC`, `RBI`, `RBM`, `RCL`, `RCM`, `RCS`, `RCX`, `RDS`, `REQ`, `REX`, `RFG`, `RFL`, `RFS`, `RFW`, `RGX`, `RIS`, `RLI`, `RLM`, `RMD`, `RNG`, `ROP`, `ROX`, `RPB`, `RPG`, `RRE`, `RRW`, `RRY`, `RSB`, `RSC`, `RXB`, `RXC`, `RXD`, `RXE`, `RXG`, `RXS`, `SBU`, `SCO`, `SEC`, `SEN`, `SHL`, `SHR`, `SMC`, `SML`, `SMU`, `SPF`, `SPX`, `SSS`, `SUR`, `SVC`, `SWP`, `TRC`, `TRU`, `TTS`, `TTT`, `UCB`, `UKS`, `ULD`, `UNKN`, `VAL`, `VEH`, `VIC`, `VOL`, `VUN`, `WET`, `XPS`
- `stackable` (boolean, optional, nullable)
- `staged_at_timestamp` (string, optional, nullable)
- `status` (enum, optional)
  - Allowed values: `draft`, `staged`, `in_transit`, `delivered`, `skipped`, `cancelled`, `exception`
- `turnable` (boolean, optional, nullable)
- `weight_per_piece_pounds` (double, optional, nullable)
- `width_inches` (double, optional, nullable)

### Contact1

- `_id` (string, required)
- `created_by_org_id` (string, required) — Must be a string starting with `org_`
- `name` (string, required)
- `schema_version` (integer, required)
- `account_ids` (list of string, optional)
- `email_address` (string, optional, nullable)
- `job_title` (string, optional, nullable)
- `location` (LocationFeature, optional, nullable) — GeoJSON Feature with typed properties for locations The geometry field is strongly typed as Geometry (union of all geometry types) but remains optional to match the base Feature class specification. To ensure geometry is always present, validate it at runtime or make it required.
- `notes` (string, optional, nullable)
- `off_chrt_org_data_id` (string, optional, nullable)
- `org_id` (string, optional, nullable)
- `phone_number` (string, optional, nullable)

### CustodyPartyExpanded

- `contact` (Contact1, optional, nullable)
- `contact_id` (string, optional, nullable)
- `name` (string, optional, nullable)
- `note` (string, optional, nullable)
- `user_id` (string, optional, nullable)
- `user_name` (string, optional, nullable)

### TaskArtifact1

- `_id` (string, required)
- `created_by_org_id` (string, required) — Must be a string starting with `org_`
- `draft_started_at_timestamp` (string, required)
- `order_id` (string, required)
- `order_short_id` (string, required)
- `schema_version` (integer, required)
- `task_group_id` (string, required)
- `task_id` (string, required)
- `type` (enum, required)
  - Allowed values: `image`, `file`, `signature`, `scan`, `other`
- `cancelled_at_timestamp` (string, optional, nullable)
- `completed_at_timestamp` (string, optional, nullable)
- `completed_by_org_id` (string, optional, nullable)
- `completed_by_user_id` (string, optional, nullable)
- `created_by_user_id` (string, optional, nullable)
- `exception_at_timestamp` (string, optional, nullable)
- `expected_scan_payloads` (list of string, optional)
- `observed_scan_payloads` (list of string, optional)
- `provided_by` (CustodyParty1, optional, nullable)
- `received_by` (CustodyParty1, optional, nullable)
- `requested_by_org_id` (string, optional, nullable)
- `requested_by_user_id` (string, optional, nullable)
- `skipped_at_timestamp` (string, optional, nullable)
- `staged_at_timestamp` (string, optional, nullable)
- `status` (enum, optional)
  - Allowed values: `draft`, `staged`, `completed`, `skipped`, `cancelled`, `exception`
- `task_artifact_s3_object_metadata_ids` (list of string, optional)

### ValidationErrorLocItems

- string
- integer

### ValidationErrorCtx

### LocationFeatureGeometry

- `type`: `GeometryCollection` (GeometryCollection)
  - `geometries` (list of LocationFeatureGeometryDiscriminatorMappingGeometryCollectionGeometriesItems, required)
  - `bbox` (LocationFeatureGeometryDiscriminatorMappingGeometryCollectionBbox, optional, nullable)
- `type`: `LineString` (LineString)
  - `coordinates` (list of LocationFeatureGeometryDiscriminatorMappingLineStringCoordinatesItems, required)
  - `bbox` (LocationFeatureGeometryDiscriminatorMappingLineStringBbox, optional, nullable)
- `type`: `MultiLineString` (MultiLineString)
  - `coordinates` (list of list of MultiLineStringCoordinatesItemsItems, required)
  - `bbox` (MultiLineStringBbox, optional, nullable)
- `type`: `MultiPoint` (MultiPoint)
  - `coordinates` (list of MultiPointCoordinatesItems, required)
  - `bbox` (MultiPointBbox, optional, nullable)
- `type`: `MultiPolygon` (MultiPolygon)
  - `coordinates` (list of list of list of MultiPolygonCoordinatesItemsItemsItems, required)
  - `bbox` (MultiPolygonBbox, optional, nullable)
- `type`: `Point` (Point)
  - `coordinates` (PointCoordinates, required)
  - `bbox` (PointBbox, optional, nullable)
- `type`: `Polygon` (Polygon)
  - `coordinates` (list of list of PolygonCoordinatesItemsItems, required)
  - `bbox` (PolygonBbox, optional, nullable)

### LocationFeatureBbox

- list of string
- list of string

### LocationFeatureId

- integer
- string

### LocationProperties

Properties for GeoJSON Feature objects

- `address` (string, optional, nullable)
- `country_code` (string, optional, nullable)
- `name` (string, optional, nullable)
- `postal_code` (string, optional, nullable)

### Task1Action

- ChrtGroundProviderTaskActionEnum1: enum
  - Allowed values: `chrt_ground_provider__pickup`, `chrt_ground_provider__deliver`, `chrt_ground_provider__recover_from_airline`, `chrt_ground_provider__tender_to_airline`, `chrt_ground_provider__recover_from_ocean_terminal`, `chrt_ground_provider__tender_to_ocean_terminal`, `chrt_ground_provider__consolidate`, `chrt_ground_provider__hold`, `chrt_ground_provider__other`
- CargoOnFlightTaskActionEnum1: enum
  - Allowed values: `cargo_on_flight__cargo_received_by_airline`, `cargo_on_flight__cargo_manifested`, `cargo_on_flight__cargo_loaded_onto_flight`, `cargo_on_flight__flight_departed`, `cargo_on_flight__flight_arrived`, `cargo_on_flight__cargo_offloaded_from_flight`, `cargo_on_flight__cargo_cleared_customs`, `cargo_on_flight__cargo_ready_for_recovery`, `cargo_on_flight__cargo_recovered`
- CargoOnVesselTaskActionEnum1: enum
  - Allowed values: `cargo_on_vessel__gated_in_full`, `cargo_on_vessel__loaded_onto_vessel`, `cargo_on_vessel__vessel_departed`, `cargo_on_vessel__vessel_arrived`, `cargo_on_vessel__discharged_from_vessel`, `cargo_on_vessel__available_for_pickup`, `cargo_on_vessel__gated_out_full`
- OnboardCourierTaskActionEnum1: enum
  - Allowed values: `obc__cargo_picked_up`, `obc__courier_thru_security`, `obc__courier_boarded_flight`, `obc__courier_deboarded_flight`, `obc__courier_cleared_customs`, `obc__cargo_delivered`

### DateTimeWindow1

- `left_boundary_timestamp` (string, optional, nullable)
- `right_boundary_timestamp` (string, optional, nullable)

### TaskExecutorOrgNote1

- `note` (string, required)
- `org_id` (string, required) — Must be a string starting with `org_`
- `timestamp` (string, required)
- `user_id` (string, required) — Must be a string starting with `user_`

### CustodyParty1

- `contact_id` (string, optional, nullable)
- `name` (string, optional, nullable)
- `note` (string, optional, nullable)
- `user_id` (string, optional, nullable)

### LocationFeatureGeometryDiscriminatorMappingGeometryCollectionGeometriesItems

- `type`: `GeometryCollection` (GeometryCollection)
  - `geometries` (list of LocationFeatureGeometryDiscriminatorMappingGeometryCollectionGeometriesItems, required)
  - `bbox` (LocationFeatureGeometryDiscriminatorMappingGeometryCollectionBbox, optional, nullable)
- `type`: `LineString` (LineString)
  - `coordinates` (list of LocationFeatureGeometryDiscriminatorMappingLineStringCoordinatesItems, required)
  - `bbox` (LocationFeatureGeometryDiscriminatorMappingLineStringBbox, optional, nullable)
- `type`: `MultiLineString` (MultiLineString)
  - `coordinates` (list of list of MultiLineStringCoordinatesItemsItems, required)
  - `bbox` (MultiLineStringBbox, optional, nullable)
- `type`: `MultiPoint` (MultiPoint)
  - `coordinates` (list of MultiPointCoordinatesItems, required)
  - `bbox` (MultiPointBbox, optional, nullable)
- `type`: `MultiPolygon` (MultiPolygon)
  - `coordinates` (list of list of list of MultiPolygonCoordinatesItemsItemsItems, required)
  - `bbox` (MultiPolygonBbox, optional, nullable)
- `type`: `Point` (Point)
  - `coordinates` (PointCoordinates, required)
  - `bbox` (PointBbox, optional, nullable)
- `type`: `Polygon` (Polygon)
  - `coordinates` (list of list of PolygonCoordinatesItemsItems, required)
  - `bbox` (PolygonBbox, optional, nullable)

### LocationFeatureGeometryDiscriminatorMappingGeometryCollectionBbox

- list of string
- list of string

### LocationFeatureGeometryDiscriminatorMappingLineStringCoordinatesItems

- Position2D: list of string
- Position3D: list of string

### LocationFeatureGeometryDiscriminatorMappingLineStringBbox

- list of string
- list of string

### MultiLineStringCoordinatesItemsItems

- Position2D: list of string
- Position3D: list of string

### MultiLineStringBbox

- list of string
- list of string

### MultiPointCoordinatesItems

- Position2D: list of string
- Position3D: list of string

### MultiPointBbox

- list of string
- list of string

### MultiPolygonCoordinatesItemsItemsItems

- Position2D: list of string
- Position3D: list of string

### MultiPolygonBbox

- list of string
- list of string

### PointCoordinates

- Position2D: list of string
- Position3D: list of string

### PointBbox

- list of string
- list of string

### PolygonCoordinatesItemsItems

- Position2D: list of string
- Position3D: list of string

### PolygonBbox

- list of string
- list of string

## Examples

**Request**

```json
{}
```

**Response**

```json
{
  "task_group": {
    "_id": "string",
    "created_by_org_id": "string",
    "draft_started_at_timestamp": "2024-01-15T09:30:00Z",
    "order_id": "string",
    "order_short_id": "1234-5678",
    "schema_version": 1,
    "short_id": "123-456-789",
    "task_group_type": "chrt_ground_provider",
    "cancelled_at_timestamp": "2024-01-15T09:30:00Z",
    "completed_at_timestamp": "2024-01-15T09:30:00Z",
    "coordinator_org_id": "string",
    "coordinator_setup_notes": "string",
    "created_by_user_id": "string",
    "driver_id": "string",
    "exception_at_timestamp": "2024-01-15T09:30:00Z",
    "executor_org_id": "string",
    "flight_leg_ids": [
      "string"
    ],
    "flight_setup_notes": "string",
    "in_progress_at_timestamp": "2024-01-15T09:30:00Z",
    "messages": [
      {
        "message": "string",
        "org_id": "string",
        "timestamp": "2024-01-15T09:30:00Z",
        "user_id": "string"
      }
    ],
    "mileage_estimated": 1.1,
    "off_chrt_executor_org_data_id": "string",
    "off_chrt_shipper_org_data_id": "string",
    "order_off_chrt_reference_id": "string",
    "shipper_org_id": "string",
    "skipped_at_timestamp": "2024-01-15T09:30:00Z",
    "staged_at_timestamp": "2024-01-15T09:30:00Z",
    "status": "draft",
    "task_group_s3_object_metadata_ids": [
      "string"
    ],
    "task_ids": [
      "string"
    ],
    "vehicle_type": "sedan",
    "wait_time_total_minutes": 1.1
  },
  "awb_numbers": [
    "string"
  ],
  "coordinator_org_company_name": "string",
  "coordinator_org_handle": "string",
  "coordinator_org_id": "string",
  "driver": {
    "_id": "string",
    "archived_at_timestamp": "2024-01-15T09:30:00Z",
    "auto_assign_enabled": true,
    "available_according_to_driver": true,
    "available_according_to_operators": true,
    "email_address_primary": "string",
    "email_address_secondary": "string",
    "first_name": "string",
    "last_name": "string",
    "last_seen_at_location": {
      "bbox": [
        "string"
      ],
      "geometry": {
        "bbox": [
          "string"
        ],
        "coordinates": [
          "string"
        ],
        "type": "string"
      },
      "id": 1,
      "properties": {
        "address": "string",
        "country_code": "string",
        "name": "string",
        "postal_code": "string"
      },
      "type": "string"
    },
    "last_seen_at_location_city": "string",
    "last_seen_at_location_large_city": "string",
    "last_seen_at_timestamp": "2024-01-15T09:30:00Z",
    "org_id": "string",
    "phone_number_primary": "string",
    "phone_number_secondary": "string",
    "schema_version": 1,
    "status": "unassigned",
    "user_id": "string",
    "vehicle_types": [
      "sedan"
    ],
    "waiting": false
  },
  "executor_departments": [
    {
      "_id": "string",
      "created_at": "2024-01-15T09:30:00Z",
      "created_by_user_id": "string",
      "department_type": "aerospace",
      "name": "string",
      "org_id": "string",
      "schema_version": 1,
      "short_id": "123-456",
      "location": {
        "geometry": {
          "bbox": [
            "string"
          ],
          "coordinates": [
            "string"
          ],
          "type": "string"
        },
        "type": "string",
        "bbox": [
          "string"
        ],
        "id": 1,
        "properties": {
          "address": "string",
          "country_code": "string",
          "name": "string",
          "postal_code": "string"
        }
      },
      "operator_user_ids": [
        "string"
      ]
    }
  ],
  "executor_org_company_name": "string",
  "executor_org_handle": "string",
  "executor_org_id": "string",
  "off_chrt_executor_org_company_name": "string",
  "off_chrt_executor_org_data_id": "string",
  "off_chrt_shipper_org_company_name": "string",
  "off_chrt_shipper_org_data_id": "string",
  "shipper_org_company_name": "string",
  "shipper_org_id": "string",
  "tasks_expanded": [
    {
      "task": {
        "_id": "string",
        "created_by_org_id": "string",
        "draft_started_at_timestamp": "2024-01-15T09:30:00Z",
        "order_id": "string",
        "order_short_id": "1234-5678",
        "schema_version": 1,
        "short_id": "12345-67890",
        "task_group_id": "string",
        "action": "chrt_ground_provider__pickup",
        "attempt_submitted_at_timestamp": "2024-01-15T09:30:00Z",
        "attempted_at_timestamp": "2024-01-15T09:30:00Z",
        "cancelled_at_timestamp": "2024-01-15T09:30:00Z",
        "cargo_ids": [
          "string"
        ],
        "completed_at_timestamp": "2024-01-15T09:30:00Z",
        "completed_by_org_id": "string",
        "completed_by_user_id": "string",
        "completion_submitted_at_timestamp": "2024-01-15T09:30:00Z",
        "contact_ids": [
          "string"
        ],
        "coordinator_shipper_account_ids": [
          "string"
        ],
        "created_by_user_id": "string",
        "datetime_windows": [
          {
            "left_boundary_timestamp": "2024-01-15T09:30:00Z",
            "right_boundary_timestamp": "2024-01-15T09:30:00Z"
          }
        ],
        "exception_at_timestamp": "2024-01-15T09:30:00Z",
        "executor_org_notes": [
          {
            "note": "string",
            "org_id": "string",
            "timestamp": "2024-01-15T09:30:00Z",
            "user_id": "string"
          }
        ],
        "flight_leg_id": "string",
        "geofence_distance_miles": 1,
        "location": {
          "geometry": {
            "bbox": [
              "string"
            ],
            "coordinates": [
              "string"
            ],
            "type": "string"
          },
          "type": "string",
          "bbox": [
            "string"
          ],
          "id": 1,
          "properties": {
            "address": "string",
            "country_code": "string",
            "name": "string",
            "postal_code": "string"
          }
        },
        "order_placer_comments": "string",
        "provided_by": {
          "contact_id": "string",
          "name": "string",
          "note": "string",
          "user_id": "string"
        },
        "received_by": {
          "contact_id": "string",
          "name": "string",
          "note": "string",
          "user_id": "string"
        },
        "skip_submitted_at_timestamp": "2024-01-15T09:30:00Z",
        "skipped_at_timestamp": "2024-01-15T09:30:00Z",
        "staged_at_timestamp": "2024-01-15T09:30:00Z",
        "status": "draft",
        "task_artifact_ids": [
          "string"
        ],
        "wait_time_end_timestamp": "2024-01-15T09:30:00Z",
        "wait_time_start_timestamp": "2024-01-15T09:30:00Z",
        "wait_time_started_in_geofence": true,
        "wait_time_validated": true,
        "wait_time_validated_by_user_id": "string"
      },
      "cargos": [
        {
          "_id": "string",
          "cargo_type": "spare_parts",
          "created_by_org_id": "string",
          "draft_started_at_timestamp": "2024-01-15T09:30:00Z",
          "order_id": "string",
          "order_short_id": "1234-5678",
          "schema_version": 1,
          "awb_number": "string",
          "awb_number_line_items_generated": false,
          "cancelled_at_timestamp": "2024-01-15T09:30:00Z",
          "created_by_user_id": "string",
          "delivered_at_timestamp": "2024-01-15T09:30:00Z",
          "description": "string",
          "device_ids": [
            "string"
          ],
          "exception_at_timestamp": "2024-01-15T09:30:00Z",
          "height_inches": 1.1,
          "in_transit_at_timestamp": "2024-01-15T09:30:00Z",
          "length_inches": 1.1,
          "quantity": 1,
          "skipped_at_timestamp": "2024-01-15T09:30:00Z",
          "special_handling_codes": [
            "ACT"
          ],
          "stackable": true,
          "staged_at_timestamp": "2024-01-15T09:30:00Z",
          "status": "draft",
          "turnable": true,
          "weight_per_piece_pounds": 1.1,
          "width_inches": 1.1
        }
      ],
      "contacts": [
        {
          "_id": "string",
          "created_by_org_id": "string",
          "name": "string",
          "schema_version": 1,
          "account_ids": [
            "string"
          ],
          "email_address": "string",
          "job_title": "string",
          "location": {
            "geometry": {
              "bbox": [
                "string"
              ],
              "coordinates": [
                "string"
              ],
              "type": "string"
            },
            "type": "string",
            "bbox": [
              "string"
            ],
            "id": 1,
            "properties": {
              "address": "string",
              "country_code": "string",
              "name": "string",
              "postal_code": "string"
            }
          },
          "notes": "string",
          "off_chrt_org_data_id": "string",
          "org_id": "string",
          "phone_number": "string"
        }
      ],
      "provided_by": {
        "contact": {
          "_id": "string",
          "created_by_org_id": "string",
          "name": "string",
          "schema_version": 1,
          "account_ids": [
            "string"
          ],
          "email_address": "string",
          "job_title": "string",
          "location": {
            "geometry": {
              "bbox": [
                "string"
              ],
              "coordinates": [
                "string"
              ],
              "type": "string"
            },
            "type": "string",
            "bbox": [
              "string"
            ],
            "id": 1,
            "properties": {
              "address": "string",
              "country_code": "string",
              "name": "string",
              "postal_code": "string"
            }
          },
          "notes": "string",
          "off_chrt_org_data_id": "string",
          "org_id": "string",
          "phone_number": "string"
        },
        "contact_id": "string",
        "name": "string",
        "note": "string",
        "user_id": "string",
        "user_name": "string"
      },
      "received_by": {
        "contact": {
          "_id": "string",
          "created_by_org_id": "string",
          "name": "string",
          "schema_version": 1,
          "account_ids": [
            "string"
          ],
          "email_address": "string",
          "job_title": "string",
          "location": {
            "geometry": {
              "bbox": [
                "string"
              ],
              "coordinates": [
                "string"
              ],
              "type": "string"
            },
            "type": "string",
            "bbox": [
              "string"
            ],
            "id": 1,
            "properties": {
              "address": "string",
              "country_code": "string",
              "name": "string",
              "postal_code": "string"
            }
          },
          "notes": "string",
          "off_chrt_org_data_id": "string",
          "org_id": "string",
          "phone_number": "string"
        },
        "contact_id": "string",
        "name": "string",
        "note": "string",
        "user_id": "string",
        "user_name": "string"
      },
      "task_artifacts": [
        {
          "_id": "string",
          "created_by_org_id": "string",
          "draft_started_at_timestamp": "2024-01-15T09:30:00Z",
          "order_id": "string",
          "order_short_id": "1234-5678",
          "schema_version": 1,
          "task_group_id": "string",
          "task_id": "string",
          "type": "image",
          "cancelled_at_timestamp": "2024-01-15T09:30:00Z",
          "completed_at_timestamp": "2024-01-15T09:30:00Z",
          "completed_by_org_id": "string",
          "completed_by_user_id": "string",
          "created_by_user_id": "string",
          "exception_at_timestamp": "2024-01-15T09:30:00Z",
          "expected_scan_payloads": [
            "string"
          ],
          "observed_scan_payloads": [
            "string"
          ],
          "provided_by": {
            "contact_id": "string",
            "name": "string",
            "note": "string",
            "user_id": "string"
          },
          "received_by": {
            "contact_id": "string",
            "name": "string",
            "note": "string",
            "user_id": "string"
          },
          "requested_by_org_id": "string",
          "requested_by_user_id": "string",
          "skipped_at_timestamp": "2024-01-15T09:30:00Z",
          "staged_at_timestamp": "2024-01-15T09:30:00Z",
          "status": "draft",
          "task_artifact_s3_object_metadata_ids": [
            "string"
          ]
        }
      ]
    }
  ]
}
```

**SDK Code**

```python
import requests

url = "https://api.chrt.com/shipping/task_groups/expanded/for_shipper_operators/v1/task_group_id"

payload = {}
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript
const url = 'https://api.chrt.com/shipping/task_groups/expanded/for_shipper_operators/v1/task_group_id';
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.chrt.com/shipping/task_groups/expanded/for_shipper_operators/v1/task_group_id"

	payload := strings.NewReader("{}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.chrt.com/shipping/task_groups/expanded/for_shipper_operators/v1/task_group_id")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{}"

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.chrt.com/shipping/task_groups/expanded/for_shipper_operators/v1/task_group_id")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{}")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.chrt.com/shipping/task_groups/expanded/for_shipper_operators/v1/task_group_id', [
  'body' => '{}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.chrt.com/shipping/task_groups/expanded/for_shipper_operators/v1/task_group_id");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = [] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.chrt.com/shipping/task_groups/expanded/for_shipper_operators/v1/task_group_id")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```