Request

Response

    ItemTypes
    GET

    projects/{projectId}/item-types/{id}

    Retrieve the information about a single submittal type. For more information about submittal types, see the Help documnentation.

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

    Resource Information

    Method and URI
    GET
    https://developer.api.autodesk.com/construction/submittals/v2/projects/:projectId/item-types/:id
    Authentication Context
    User context required
    Required OAuth Scopes
    data:read
    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.

    * 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.

    id
    string
    The ID of the submittal item to retrieve revisions for. To obtain this ID, call GET items.

    Response

    HTTP Status Code Summary

    200
    OK
    Successful retrieval of item type
    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 (200)

    id
    string: UUID
    The internal, globally unique identifier (UUID) for the item type.
    key
    string
    Not relevant
    value
    string
    The name of the submittal item type.
    platformId
    string
    Not relevant
    isActive
    boolean
    true: (default) if the submittal item type has not been deleted.

    false: if the submittal item type has been deleted.

    isInUse
    boolean
    true: if the submittal item type is currently associated with a submittal item.

    false: if the submittal item type is not currently associated with a submittal item.

    createdBy
    string
    The Autodesk ID of the user who created the submittal item type.
    createdAt
    datetime: ISO 8601
    The date and time when the submittal item type was originally created.
    updatedAt
    datetime: ISO 8601
    The date and time when the submittal item type was last updated.
    updatedBy
    string
    The Autodesk ID of the user who last updated the submittal item type.

    Example

    Successful retrieval of item type

    Request

    curl -v 'https://developer.api.autodesk.com/construction/submittals/v2/projects/9eae7d59-1469-4389-bfb2-4114e2ba5545/item-types/:id' \
      -H 'Authorization: Bearer AuIPTf4KYLTYGVnOHQ0cuolwCW2a'
    

    Response

    {
      "id": "5bab7f9b-61cf-45bc-8bce-f88ddd9d380e",
      "key": "my-type",
      "value": "Attic Stock",
      "platformId": "attic stock",
      "isActive": true,
      "isInUse": true,
      "createdBy": "WD43ZJGKDFLFH",
      "createdAt": "2018-02-01T12:09:24.198466Z",
      "updatedAt": "2018-02-01T12:09:24.198466Z",
      "updatedBy": "WD43ZJGKDFLFH"
    }
    
    Show More