maptekblastlogic.api.blasts package

Contains endpoint functions for accessing the API

Submodules

maptekblastlogic.api.blasts.get_blast_by_id module

maptekblastlogic.api.blasts.get_blast_by_id.sync_detailed(site_code, blast_id, *, client)[source]

Get a blast by its ID.

Requires permissions: View Blasts

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[BlastModel | ErrorModel]

Return type:

Response[BlastModel | ErrorModel]

maptekblastlogic.api.blasts.get_blast_by_id.sync(site_code, blast_id, *, client)[source]

Get a blast by its ID.

Requires permissions: View Blasts

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:

BlastModel | ErrorModel

Return type:

BlastModel | ErrorModel | None

async maptekblastlogic.api.blasts.get_blast_by_id.asyncio_detailed(site_code, blast_id, *, client)[source]

Get a blast by its ID.

Requires permissions: View Blasts

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[BlastModel | ErrorModel]

Return type:

Response[BlastModel | ErrorModel]

async maptekblastlogic.api.blasts.get_blast_by_id.asyncio(site_code, blast_id, *, client)[source]

Get a blast by its ID.

Requires permissions: View Blasts

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:

BlastModel | ErrorModel

Return type:

BlastModel | ErrorModel | None

maptekblastlogic.api.blasts.get_blast_custom_property_schema module

maptekblastlogic.api.blasts.get_blast_custom_property_schema.sync_detailed(site_code, *, client)[source]

Get the blast custom property schema.

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[CustomPropertySchemaModel]]

Return type:

Response[ErrorModel | list[CustomPropertySchemaModel]]

maptekblastlogic.api.blasts.get_blast_custom_property_schema.sync(site_code, *, client)[source]

Get the blast custom property schema.

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[CustomPropertySchemaModel]

Return type:

ErrorModel | list[CustomPropertySchemaModel] | None

async maptekblastlogic.api.blasts.get_blast_custom_property_schema.asyncio_detailed(site_code, *, client)[source]

Get the blast custom property schema.

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[CustomPropertySchemaModel]]

Return type:

Response[ErrorModel | list[CustomPropertySchemaModel]]

async maptekblastlogic.api.blasts.get_blast_custom_property_schema.asyncio(site_code, *, client)[source]

Get the blast custom property schema.

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[CustomPropertySchemaModel]

Return type:

ErrorModel | list[CustomPropertySchemaModel] | None

maptekblastlogic.api.blasts.update_blast_custom_properties module

maptekblastlogic.api.blasts.update_blast_custom_properties.sync_detailed(site_code, *, client, body)[source]

Update blast custom properties.

Requires permissions: Edit Blasts<br/>Custom properties in a request can be from across multiple

blasts.

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.blasts.update_blast_custom_properties.sync(site_code, *, client, body)[source]

Update blast custom properties.

Requires permissions: Edit Blasts<br/>Custom properties in a request can be from across multiple

blasts.

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.blasts.update_blast_custom_properties.asyncio_detailed(site_code, *, client, body)[source]

Update blast custom properties.

Requires permissions: Edit Blasts<br/>Custom properties in a request can be from across multiple

blasts.

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.blasts.update_blast_custom_properties.asyncio(site_code, *, client, body)[source]

Update blast custom properties.

Requires permissions: Edit Blasts<br/>Custom properties in a request can be from across multiple

blasts.

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