maptekblastlogic.api.loading_trucks package

Contains endpoint functions for accessing the API

Submodules

maptekblastlogic.api.loading_trucks.create_loading_truck module

maptekblastlogic.api.loading_trucks.create_loading_truck.sync_detailed(site_code, *, client, body)[source]

Create a new loading truck.

Requires permissions: Edit Site Resources

Parameters:
Raises:
  • errors.UnexpectedStatus – If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.

  • httpx.TimeoutException – If the request takes longer than Client.timeout.

Returns:

Response[ErrorModel | int]

Return type:

Response[ErrorModel | int]

maptekblastlogic.api.loading_trucks.create_loading_truck.sync(site_code, *, client, body)[source]

Create a new loading truck.

Requires permissions: Edit Site Resources

Parameters:
Raises:
  • errors.UnexpectedStatus – If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.

  • httpx.TimeoutException – If the request takes longer than Client.timeout.

Returns:

ErrorModel | int

Return type:

ErrorModel | int | None

async maptekblastlogic.api.loading_trucks.create_loading_truck.asyncio_detailed(site_code, *, client, body)[source]

Create a new loading truck.

Requires permissions: Edit Site Resources

Parameters:
Raises:
  • errors.UnexpectedStatus – If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.

  • httpx.TimeoutException – If the request takes longer than Client.timeout.

Returns:

Response[ErrorModel | int]

Return type:

Response[ErrorModel | int]

async maptekblastlogic.api.loading_trucks.create_loading_truck.asyncio(site_code, *, client, body)[source]

Create a new loading truck.

Requires permissions: Edit Site Resources

Parameters:
Raises:
  • errors.UnexpectedStatus – If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.

  • httpx.TimeoutException – If the request takes longer than Client.timeout.

Returns:

ErrorModel | int

Return type:

ErrorModel | int | None

maptekblastlogic.api.loading_trucks.get_loading_trucks module

maptekblastlogic.api.loading_trucks.get_loading_trucks.sync_detailed(site_code, *, client)[source]

Get a list of all the trucks.

Requires permissions: Any

Parameters:
Raises:
  • errors.UnexpectedStatus – If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.

  • httpx.TimeoutException – If the request takes longer than Client.timeout.

Returns:

Response[ErrorModel | list[LoadingTruckModel]]

Return type:

Response[ErrorModel | list[LoadingTruckModel]]

maptekblastlogic.api.loading_trucks.get_loading_trucks.sync(site_code, *, client)[source]

Get a list of all the trucks.

Requires permissions: Any

Parameters:
Raises:
  • errors.UnexpectedStatus – If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.

  • httpx.TimeoutException – If the request takes longer than Client.timeout.

Returns:

ErrorModel | list[LoadingTruckModel]

Return type:

ErrorModel | list[LoadingTruckModel] | None

async maptekblastlogic.api.loading_trucks.get_loading_trucks.asyncio_detailed(site_code, *, client)[source]

Get a list of all the trucks.

Requires permissions: Any

Parameters:
Raises:
  • errors.UnexpectedStatus – If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.

  • httpx.TimeoutException – If the request takes longer than Client.timeout.

Returns:

Response[ErrorModel | list[LoadingTruckModel]]

Return type:

Response[ErrorModel | list[LoadingTruckModel]]

async maptekblastlogic.api.loading_trucks.get_loading_trucks.asyncio(site_code, *, client)[source]

Get a list of all the trucks.

Requires permissions: Any

Parameters:
Raises:
  • errors.UnexpectedStatus – If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.

  • httpx.TimeoutException – If the request takes longer than Client.timeout.

Returns:

ErrorModel | list[LoadingTruckModel]

Return type:

ErrorModel | list[LoadingTruckModel] | None

maptekblastlogic.api.loading_trucks.update_loading_truck module

maptekblastlogic.api.loading_trucks.update_loading_truck.sync_detailed(site_code, loading_truck_id, *, client, body, if_match)[source]

Update an existing loading truck.

Requires permissions: Edit Site Resources

Parameters:
Raises:
  • errors.UnexpectedStatus – If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.

  • httpx.TimeoutException – If the request takes longer than Client.timeout.

Returns:

Response[Any | ErrorModel]

Return type:

Response[Any | ErrorModel]

maptekblastlogic.api.loading_trucks.update_loading_truck.sync(site_code, loading_truck_id, *, client, body, if_match)[source]

Update an existing loading truck.

Requires permissions: Edit Site Resources

Parameters:
Raises:
  • errors.UnexpectedStatus – If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.

  • httpx.TimeoutException – If the request takes longer than Client.timeout.

Returns:

Any | ErrorModel

Return type:

Any | ErrorModel | None

async maptekblastlogic.api.loading_trucks.update_loading_truck.asyncio_detailed(site_code, loading_truck_id, *, client, body, if_match)[source]

Update an existing loading truck.

Requires permissions: Edit Site Resources

Parameters:
Raises:
  • errors.UnexpectedStatus – If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.

  • httpx.TimeoutException – If the request takes longer than Client.timeout.

Returns:

Response[Any | ErrorModel]

Return type:

Response[Any | ErrorModel]

async maptekblastlogic.api.loading_trucks.update_loading_truck.asyncio(site_code, loading_truck_id, *, client, body, if_match)[source]

Update an existing loading truck.

Requires permissions: Edit Site Resources

Parameters:
Raises:
  • errors.UnexpectedStatus – If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.

  • httpx.TimeoutException – If the request takes longer than Client.timeout.

Returns:

Any | ErrorModel

Return type:

Any | ErrorModel | None