Azure Maps Conversion Service (preview:2023-03-01)

2025/10/06 • 5 deleted methods

Conversion_Create (removed)
Description > [!NOTE] > > **Azure Maps Creator retirement** > > The Azure Maps Creator indoor map service is now deprecated and will be retired on 9/30/25. For more information, see [End of Life Announcement of Azure Maps Creator](https://aka.ms/AzureMapsCreatorDeprecation). The `Conversion` API is an HTTP `POST` request that allows the caller import a set of DWG design files as a zipped [Drawing Package](https://aka.ms/am-drawing-package) into Azure Maps. The drawing package is referenced by the `udid` used when it was uploaded into the [Data Registry](/rest/api/maps/data). For more information on the data registry service, see [How to create data registry](/azure/azure-maps/how-to-create-data-registries). ## Convert DWG package The Conversion API performs a [long-running operation](https://aka.ms/am-creator-lrt-v2). ## Debug DWG package issues During the Conversion process, if there are any issues with the DWG package [errors and warnings](https://aka.ms/am-conversion-errors) are provided in the response along with a *diagnostic package* to visualize and diagnose these issues. In case any issues are encountered with your DWG package, the Conversion operation status process as detailed [here](https://aka.ms/am-creator-lrt-v2) returns the location of the *diagnostic package* that can be downloaded by the caller to help them visualize and diagnose these issues. The *diagnostic package* location can be found in the properties section of the conversion operation status response and looks like the following: ```json { "properties": { "diagnosticPackageLocation": "https://us.atlas.microsoft.com/mapdata/{DiagnosticPackageId}?api-version=1.0" } } ``` The *diagnostic package* can be downloaded by executing a `HTTP GET` request on the `diagnosticPackageLocation`. For more details on how to use the tool to visualize and diagnose all the errors and warnings see [Drawing Error Visualizer](https://aka.ms/am-drawing-errors-visualizer).
A conversion operation will be marked as *success* if there are zero or more warnings but will be marked as *failed* if any errors are encountered.
Reference Link ¶

⚼ Request

POST:  /conversions
{
x-ms-client-id: string ,
api-version: string ,
udid: string ,
dwgPackageVersion: string ,
description: string ,
}

⚐ Response (202)

{
operation-location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Conversion_List (removed)
Description > [!NOTE] > > **Azure Maps Creator retirement** > > The Azure Maps Creator indoor map service is now deprecated and will be retired on 9/30/25. For more information, see [End of Life Announcement of Azure Maps Creator](https://aka.ms/AzureMapsCreatorDeprecation). ### Submit List Request To list all successful conversions you will issue a `GET` request with no additional parameters. ### List Data Response The Conversion List API returns the complete list of all conversion details in `json` format.
Here is a sample response returning the details of two successful conversion requests:
```json { "conversions": [ { "conversionId": "54398242-ea6c-1f31-4fa6-79b1ae0fc24d", "udid": "31838736-8b84-11ea-bc55-0242ac130003", "created": "5/19/2020 9:00:00 AM +00:00", "description": "User provided description.", "featureCounts": { "DIR": 1, "LVL": 3, "FCL": 1, "UNIT": 150, "CTG": 8, "AEL": 0, "OPN": 10 } }, { "conversionId": "2acf7d32-8b84-11ea-bc55-0242ac130003", "udid": "1214bc58-8b84-11ea-bc55-0242ac1300039", "created": "5/19/2020 9:00:00 AM +00:00", "description": "User provided description.", "featureCounts": { "DIR": 1, "LVL": 3, "FCL": 1, "UNIT": 150, "CTG": 8, "AEL": 0, "OPN": 10 } } ] } ```
Reference Link ¶

⚼ Request

GET:  /conversions
{
x-ms-client-id: string ,
api-version: string ,
}

⚐ Response (200)

{
conversions:
[
{
conversionId: string ,
ontology: string ,
udid: string ,
created: string ,
description: string ,
featureCounts: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Conversion_Get (removed)
Description > [!NOTE] > > **Azure Maps Creator retirement** > > The Azure Maps Creator indoor map service is now deprecated and will be retired on 9/30/25. For more information, see [End of Life Announcement of Azure Maps Creator](https://aka.ms/AzureMapsCreatorDeprecation). ### Submit Get Request The `Get` API is an HTTP `GET` request that allows the caller to fetch a successful data conversion previously submitted using the [Conversion Service](/rest/api/maps-creator/conversion/convert).
Reference Link ¶

⚼ Request

GET:  /conversions/{conversionId}
{
x-ms-client-id: string ,
api-version: string ,
conversionId: string ,
}

⚐ Response (200)

{
conversionId: string ,
ontology: string ,
udid: string ,
created: string ,
description: string ,
featureCounts: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Conversion_Delete (removed)
Description > [!NOTE] > > **Azure Maps Creator retirement** > > The Azure Maps Creator indoor map service is now deprecated and will be retired on 9/30/25. For more information, see [End of Life Announcement of Azure Maps Creator](https://aka.ms/AzureMapsCreatorDeprecation). ### Submit Delete Request To delete your conversion data you will issue a `DELETE` request where the path contains the `conversionId` of the data to delete. ### Conversion Delete Response The Conversion Delete API returns a HTTP `204 No Content` response with an empty body, if the converted data resources were deleted successfully.
A HTTP `400 Bad Request` error response will be returned if no resource associated with the passed-in `conversionId` is found.
Reference Link ¶

⚼ Request

DELETE:  /conversions/{conversionId}
{
x-ms-client-id: string ,
api-version: string ,
conversionId: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Conversion_GetOperation (removed)
Description > [!NOTE] > > **Azure Maps Creator retirement** > > The Azure Maps Creator indoor map service is now deprecated and will be retired on 9/30/25. For more information, see [End of Life Announcement of Azure Maps Creator](https://aka.ms/AzureMapsCreatorDeprecation). ### Submit Get Operation Request The `Get Operation` API is an HTTP `GET` request that allows the caller to check the status of a [conversion](/rest/api/maps-creator/conversion/convert) process and retrieve the `conversionId` value. This path will be obtained from a call to POST /conversions. While in progress, an HTTP 200 response code will be returned with no extra headers - followed by an HTTP 200 response code with a `Resource-Location` header once successfully completed.
Reference Link ¶

⚼ Request

GET:  /conversions/operations/{operationId}
{
api-version: string ,
operationId: string ,
}

⚐ Response (200)

{
operationId: string ,
status: enum ,
created: string ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
warning:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}