What is the api endpoint to create a custom attribute in a specific application?

I am recreating attributes from Sandbox in Production.

I used a GET method to pull all attributes https://[TDXURL]/SBTDWebApi/api/attributes/custom?componentId=9&appId=[APPID]

My service account does not have global admin. Is there a POST method I can use to create a custom attribute within a specific app?

 

Thank you,

Asked by Naseem Benjelloun on Fri 5/26/23 10:02 PM
Sign In to leave feedback or contribute an answer

Answer (1)

This answer has been marked as the accepted answer
Brittany Renn Tue 5/30/23 10:47 AM

Hi Naseem, 

You can use the API to create/remove/edit choices for a custom attribute, but I don't believe there is an endpoint currently that supports creating a custom attribute from scratch. You might consider submitting that as a Feature Request so it can be considered in future versions: 

https://solutions.teamdynamix.com/TDClient/Requests/ServiceDet?ID=2148

 

Best,

Brittany Renn

TDX Support

No feedback