Fetch Line Attributes
3 min
Read Line Attribute definitions with GraphQL.
POST /async/graphqlQuery the LineAttribute type:
curl -X POST '{baseUrl}/async/graphql' \
-H 'nue-api-key: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{"query":"query { LineAttribute { id name isActive scope mappedFieldApiName } }"}'{ "data": { "LineAttribute": [
{ "id": "a1Sa...", "name": "Overage Rate", "isActive": true, "scope": ["Line Editor"], "mappedFieldApiName": "Overage_Rate__c" }
] } }Filtering
Use a where clause to narrow results — for example, only active attributes:
curl -X POST '{baseUrl}/async/graphql' \
-H 'nue-api-key: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{"query":"query { LineAttribute(where:{ isActive:{ _eq:true } }) { id name scope mappedFieldApiName } }"}'For more on querying — relationship traversal, aggregations, and operators — see Query Nue Objects using GraphQL.