/api/dataSets/:id/attributes/:code/customMembersLists custom members for the given data set ID and attribute code. Resource URL | https://service.belladati.com/api/dataSets/:id/attributes/:code/customMembers |
---|
HTTP Method | GET
|
---|
Request Parameters id | Data Set identifier. You can find the ID in the response to /api/dataSets . | 123 | code | Attribute code. You can find the code in the response to /api/dataSets/:id . | L_STATE | Response StructureJSON response contains an array " customMembers" that contains multiple member objects with following definition:
name | name of the custom member | alias | alias of the custom member (optional) | formula | formula of the custom member (optional) | id | id of the custom member |
Sample Request / ResponseUsing curl : The JSON format response: { "customMembers" : [ { "name" : "CM1" , "alias" : "custom_member_RAPI13" , "formula" : "return firstValue('L_ABC')" , "id" : "AEB04El654" }, { "name" : "3004" , "alias" : "3004" , "id" : "i2Iu5iWv0k" } ] } |
|