Request

Response

    Settings - Mappings
    POST

    projects/{projectId}/settings/mappings

    Creates an admin mapping, assigning a user, role, or company as a Submittal Manager in the project. A mapping defines who is permitted to act as a manager — only users, roles, or companies with a mapping can be assigned as the manager on a submittal item. This is a two-step process: first add the user, role, or company as a Submittal Manager at the project level using this endpoint, then assign them as the manager on submittal items using POST items to create an item or PATCH items/{itemId} to update an existing item.

    For more information about submittal administration, see the Help documentation.

    For information on how mappings are used in the Submittal workflow, see the Create Submittal Item tutorial.

    For information on how to set up admin mappings for a new project, see the Setting Up a New Project in Submittals tutorial.

    Note that this endpoint is not compatible with BIM 360 projects.

    Resource Information

    Method and URI
    POST
    https://developer.api.autodesk.com/construction/submittals/v2/projects/:projectId/settings/mappings
    Authentication Context
    User context required
    Required OAuth Scopes
    data:write
    Data Format
    JSON

    Request

    Headers

    Authorization*
    string
    Must be Bearer <token>, where <token> is a three-legged access token obtained via an Authorization Code flow or a Secure Service Account (SSA) flow.

    The SSA flow is designed for headless server-to-server operations. While it functions like a two-legged flow (no user interaction), it is classified as three-legged because it preserves user context.

    Content-Type*
    string
    Must be application/json
    * Required

    Request

    URI Parameters

    projectId
    string: UUID
    The ID of the project.

    Use the Data Management API to retrieve the project ID. For more information, see the Retrieve a Project ID tutorial. You need to convert the project ID into a project ID for the Forma API by removing the “b." prefix. For example, a project ID of b.a4be0c34a-4ab7 translates to a project ID of a4be0c34a-4ab7.

    Request

    Body Structure

    userType*
    enum:string
    The ID for the type of user in the record. Possible values: 1 (user), 2 (company), 3 (role).
    autodeskId*
    string
    The Autodesk ID of the user (autodeskId), role (memberGroupId), or company (memberGroupId).

    To find details about users, call GET users, to find details about companies, call GET companies. Note that we do not currently support finding details about roles for a project.

    submittalsRole*
    enum:string
    The role of the user in Submittals. Possible values: 1 (manager).
    * Required

    Response

    HTTP Status Code Summary

    201
    Created
    Admin mapping created successfully
    400
    Bad Request
    The request could not be understood by the server due to malformed syntax or missing request headers.
    401
    Unauthorized
    Invalid or missing authorization header. Verify the Bearer token and try again.
    403
    Forbidden
    The user is not authorized to perform this action.
    404
    Not Found
    The specified resource was not found.
    500
    Internal Server Error
    An unexpected error occurred on the server while processing the request.

    Response

    Body Structure (201)

    id
    string: UUID
    The unique identifier (UUID) of the user-role mapping record.
    userType
    enum:string
    The ID for the type of user in the record. Possible values: 1 (user), 2 (company), 3 (role).
    oxygenId
    string
    Not relevant
    autodeskId
    string
    The Autodesk ID of the user (autodeskId), role (memberGroupId), or company (memberGroupId).

    To find details about users, call GET users, to find details about companies, call GET companies. Note that we do not currently support finding details about roles for a project.

    submittalsRole
    enum:string
    The role of the user in Submittals. Possible values: 1 (manager).
    updatedBy
    string
    The Autodesk ID of the last user who updated the mapping.
    updatedAt
    datetime: ISO 8601
    The date and time when the mapping was last updated, formatted as YYYY-MM-DDTHH:mm:ss.SSSSSSZ (ISO 8601) in UTC. For example, 2024-02-11T14:14:30.225223Z.
    createdBy
    string
    The Autodesk ID of the user who created the mapping.
    createdAt
    datetime: ISO 8601
    The date and time when the mapping was created, formatted as YYYY-MM-DDTHH:mm:ss.SSSSSSZ (ISO 8601) in UTC. For example, 2024-02-11T14:14:30.225223Z.

    Example

    Admin mapping created successfully

    Request

    curl -v 'https://developer.api.autodesk.com/construction/submittals/v2/projects/9eae7d59-1469-4389-bfb2-4114e2ba5545/settings/mappings' \
      -X 'POST' \
      -H 'Authorization: Bearer AuIPTf4KYLTYGVnOHQ0cuolwCW2a' \
      -H 'Content-Type: application/json' \
      -d '{
            "userType": "1",
            "autodeskId": "WD43ZJGKDFLFH",
            "submittalsRole": "1"
          }'
    
    Show More

    Response

    {
      "id": "ab1754f6-92f1-4caa-87df-e05ba7b917a6",
      "userType": "1",
      "oxygenId": "WD43ZJGKDFLFH",
      "autodeskId": "WD43ZJGKDFLFH",
      "submittalsRole": "1",
      "updatedBy": "WD43ZJGKDFLFH",
      "updatedAt": "2024-02-11T14:14:30.225223Z",
      "createdBy": "WD43ZJGKDFLFH",
      "createdAt": "2024-02-11T14:14:30.225223Z"
    }
    
    Show More