Request

Response

    Projects
    PATCH

    projects/:project_id

    Update the properties of only the specified attributes of a specific BIM 360 project.

    Note that this endpoint is ONLY compatible with BIM 360 projects. It is not compatible with Autodesk Construction Cloud (ACC) projects. For more information about compatibility between between BIM 360 and ACC, see the Compatibility section.

    Resource Information

    Method and URI(US)
    PATCH
    https://developer.api.autodesk.com/hq/v1/accounts/:account_id/projects/:project_id
    Method and URI(Legacy)
    PATCH
    https://developer.api.autodesk.com/hq/v1/regions/eu/accounts/:account_id/projects/:project_id
    Authentication Context
    app only
    Required OAuth Scopes
    account:write
    Data Formats
    JSON

    Request

    Headers

    Authorization
    yes
    Must be Bearer <token>, where <token> is obtained via a two-legged OAuth flow.
    Content-Type
    yes
    Must be application/json.
    Region
    no
    Specifies the region where the service is located. Possible values: US, EMEA. For the full list of supported regions, see the Regions page.

    Request

    URI Parameters

    account_id
    string: UUID
    The account ID of the project. This corresponds to hub ID in the Data Management API. To convert a hub ID into an account ID you need to remove the “b." prefix. For example, a hub ID of b.c8b0c73d-3ae9 translates to an account ID of c8b0c73d-3ae9.
    project_id
    string: UUID
    The ID of the project. This corresponds to project ID in the Data Management API. To convert a project ID in the Data Management API into a project ID in the BIM 360 API you need to remove the “b." prefix. For example, a project ID of b.a4be0c34a-4ab7 translates to a project ID of a4be0c34a-4ab7.

    Request

    Body Structure

    The PATCH body is a flat JSON object with the following attributes:

    name
    string
    The name of the project (1-255 characters).

    Reserved characters: \, /, ?, [, ], >, *, :, <, ", |, ,.
    service_types
    enum: string
    The service names in which the project will be activated.
    Separate multiple values with commas.

    Refer to the preconfigured service_type list in
    the Parameters guide.
    status
    string
    The status of project.

    Possible values:
    active: activate the project
    inactive: suspend the project
    archived: archive the project, the project will be displayed only in the archived list
    start_date
    date
    The starting date of a project; must be earlier than end_date

    Format: YYYY-MM-DD
    end_date
    date
    The ending date of a project; must be later than start_date

    Format: YYYY-MM-DD
    project_type
    string
    The type of project; accepts preconfigured and customized project types

    Max length: 255

    Refer to the preconfigured project_type list in
    the Parameters guide.
    value
    float
    Monetary value of the project
    currency
    enum: string
    Currency for project value

    Refer to the currency list in the Parameters guide.
    job_number
    string
    Project job number to connect a BIM 360 project to project or job in a financial or ERP system.

    Max length: 100
    address_line_1
    string
    Project address line 1

    Max length: 255
    address_line_2
    string
    Project address line 2

    Max length: 255
    city
    string
    City in which project is located

    Max length: 255
    state_or_province
    enum: string
    State or province in which project is located

    Max length: 255

    Note that the state_or_province value depends on the selected country value; see the valid values in the state_or_province list in the Parameters guide.
    postal_code
    string
    Postal code for the project location

    Max length: 255
    country
    enum: string
    Country for this project

    Refer to the country list in the Parameters guide.
    business_unit_id
    string: UUID
    The business unit ID of this project
    timezone
    string
    Time zone for this project

    Refer to the timezone list in the Parameters guide.
    language
    enum: string
    Language of the project; applicable to the BIM 360 Field service only

    Possible values:
    en: English
    de: German
    construction_type
    enum: string
    Type of construction

    Refer to the construction_type list in the Parameters guide.
    contract_type
    enum: string
    Contract Type for your project

    Refer to the constract_type list in the Parameters guide.

    Response

    HTTP Status Code Summary

    200
    OK
    The request has succeeded.
    400
    Bad Request
    The request could not be understood by the server due to malformed syntax.
    403
    Forbidden
    Unauthorized
    404
    Not Found
    The resource cannot be found.
    409
    Conflict
    The request could not be completed due to a conflict with the current state of the resource.
    422
    Unprocessable Entity
    The request was unable to be followed due to restrictions.
    500
    Internal Server Error
    An unexpected error occurred on the server.

    Response

    Body Structure (200)

    A successful response is the modified project, a flat JSON object with the following attributes:

    id
    string: UUID
    Project ID
    account_id
    string: UUID
    Account ID
    name
    string
    Name of the project
    Max length: 255
    start_date
    date
    The starting date of a project; must be earlier than end_date

    Format: YYYY-MM-DD
    end_date
    date
    The ending date of a project; must be later than start_date

    Format: YYYY-MM-DD
    project_type
    string
    The type of project; accepts preconfigured and customized project types

    Max length: 255

    Refer to the preconfigured project_type list in
    the Parameters guide.
    value
    float
    Monetary value of the project
    currency
    enum: string
    Currency for project value

    Refer to the currency list in the Parameters guide.
    status
    enum: string
    The status of project.

    Possible values:
    active: project is active with at least one project admin added
    pending: project has been created but pending becuase no project admin added
    inactive: project is suspended
    archived: project is archived and displayed only in the archived list
    job_number
    string
    Project job number to connect a BIM 360 project to project or job in a financial or ERP system.

    Max length: 100
    address_line_1
    string
    Project address line 1

    Max length: 255
    address_line_2
    string
    Project address line 2

    Max length: 255
    city
    string
    City in which project is located

    Max length: 255
    state_or_province
    enum: string
    State or province in which project is located

    Max length: 255

    Note that the state_or_province value depends on the selected country value; see the valid values in the state_or_province list in the Parameters guide.
    postal_code
    string
    Postal code for the project location

    Max length: 255
    country
    enum: string
    Country for this project

    Refer to the country list in the Parameters guide.
    business_unit_id
    string: UUID
    The business unit ID of this project
    timezone
    string
    Time zone for this project

    Refer to the timezone list in the Parameters guide.
    language
    enum: string
    Language of the project; applicable to the BIM 360 Field service only

    Possible values:
    en: English
    de: German
    construction_type
    enum: string
    Type of construction

    Refer to the construction_type list in the Parameters guide.
    contract_type
    enum: string
    Contract Type for your project

    Refer to the constract_type list in the Parameters guide.
    last_sign_in
    datetime: ISO 8601
    Timestamp of the last sign in, YYYY-MM-DDThh:mm:ss.sssZ format

    Example

    Successful Updating of All Project Attributes (200)

    Request

    curl -v 'https://developer.api.autodesk.com/hq/v1/accounts/e3d5ef8d-5c37-4b9d-925d-1e6d24753ace/projects/aca11a7a-bd17-47cd-ab99-6548d0e6fe25' \
      -X 'PATCH' \
      -H 'Content-Type: application/json' \
      -H 'Authorization: Bearer 9ezBnx9Rd5D1xG4KMt6b72T4w0MG' \
      -d '{
        "name": "construction_project",
        "service_types": "glue,doc_manager",
        "status": "inactive",
        "start_date": "2015-05-01",
        "end_date": "2016-05-03",
        "project_type": "hospital",
        "value": 5000,
        "currency": "USD",
        "job_number": "0219-01",
        "address_line_1": "The Fifth Avenue",
        "address_line_2": "#301",
        "city": "New York",
        "state_or_province": "New York",
        "postal_code": "10011",
        "country": "United States",
        "business_unit_id": "c17e6837-96cd-4839-868e-051a2ad65d28",
        "timezone": "America/New_York",
        "construction_type": "Renovation",
        "contract_type": "Design-Bid"
      }'
    
    Show More

    Response

    {
      "id": "aca11a7a-bd17-47cd-ab99-6548d0e6fe25",
      "account_id": "e3d5ef8d-5c37-4b9d-925d-1e6d24753ace",
      "name": "construction_project",
      "start_date": "2015-05-01",
      "end_date": "2016-05-03",
      "project_type": "hospital",
      "value": 5000.0,
      "currency": "USD",
      "status": "inactive",
      "job_number": "0219-01",
      "address_line_1": "The Fifth Avenue",
      "address_line_2": "#301",
      "city": "New York",
      "state_or_province": "New York",
      "postal_code": "10011",
      "country": "United States",
      "business_unit_id": "c17e6837-96cd-4839-868e-051a2ad65d28",
      "timezone": "America/New_York",
      "language": "en",
      "construction_type": "Renovation",
      "contract_type": "Design-Bid",
      "last_sign_in": "2016-04-05T07:27:20.858Z",
      "created_at": "2016-04-05T07:26:20.858Z",
      "updated_at": "2016-04-05T07:31:26.290Z"
    }
    
    Show More