Skip to main content

Is there any mutation to create terms in Ataccama web using API.

Hi ​@Hanish N ,

In the graphQL Playground you can apply mutations like:

mutation createBizTerm {

    businessTermCreate(

        new: { _type: "businessTerm", abbreviation: "MT", name: "Mutation Term" }

        parentGid: "00000000-0000-0000-0000-000000000001"

        parentNode: "metadata"

        parentProperty: "terms"

    ) {

      success

      result {

        gid

        publishedVersion {

          name

       }

        draftVersion {

          name

       }

    }

}

Myself I have a different approach by using OneDesktop: reading the term details from a text file and writing with a Metadata Writer. This allows you to load new terms in bulk, which is not possible using the Playground.

Kind regards,

Albert

 


Reply