Forum Discussion

teppotahkapaa's avatar
4 months ago

GQL queries with attributes

We have a need to automate lots of BSM service creations and I am struggling with GQL now. We have created attribute to be used for har query {customAttributes   (first: 7, search: {name: {eq: "BS...
  • teppotahkapaa's avatar
    3 months ago

    OK, solution found.

    Against documentation in /gql, when you utilize SL1 attribute information the "id" is not the ID that is mentioned in docs, and everywhere else it is the DID,GUID etc, but in this context it points to name,

    So actually here we needed to use it this way:

      type:harProvider
        attributes: {
        id:"BSM_Region"
        value:"Koillismaan kauppa"
      }, 

    Thanks jchivers for info!