OBJECT

BIM360Mutation

Mutations that act on BIM 360.

link GraphQL Schema definition

  • type BIM360Mutation {
  • # Generates BIM 360 credentials for making BIM 360 API requests.
  • #
  • # Arguments
  • # access_code: The access code created from the auth callback
  • generateToken(access_code: String!): AccessToken
  • # Refreshes BIM 360 credentials for making BIM 360 API requests.
  • #
  • # Arguments
  • # refresh_token: The refresh token created during the access
  • # token creation
  • refreshToken(refresh_token: String!): AccessToken
  • # Generates an OAuth 2 legged token with document viewable permissions.
  • generateViewableToken: AccessToken
  • # Attaches BIM 360 documents to a project.
  • #
  • # Arguments
  • # project_id: The project to attach bim 360 documents to
  • # bim_docs: BIM 360 Docs to attach to a project
  • attachDocsToProject(
  • project_id: String!,
  • bim_docs: [BIM360Docs]
  • ): [SuccessResult]
  • # Deletes project BIM documents. This action is irreversible.
  • #
  • # Arguments
  • # ids: The IDs of the project documents to delete
  • dettachDocsFromProject(ids: [Int]!): [SuccessResult]
  • }