Skip to main content
Solved

Project attributes rest API


Forum|alt.badge.img

Does anybody can me help with project attributes? I am triyng to sync it throw the API, but I always get errors with it. It seems I do something wrong…

And on this screenshots my json and response with error from API, it is just one of examples, I tried use only one required attribute field, result is the same.

List of my attribute values:

 

There are Attributes in the API swagger definition for Project. I also tryed extend endpoint and populate attribute fields - but it seems this is another fields because according the screenshot above I can use only one item, not collection with it

What I missed in my json request to the server? Or it can’t work with API?

Best answer by AndrewMuzalov

I’ve got the solution. So I don’t need to add any new fields to endpoint - I used Project field “Attributes”.

Error happened because project template that we are using. These fields are ruquired for job, so I just added defaul values to the template and during the save default values change to current values. 

View original
Did this topic help you find an answer to your question?

2 replies

Forum|alt.badge.img
  • Author
  • Jr Varsity III
  • 22 replies
  • Answer
  • February 16, 2023

I’ve got the solution. So I don’t need to add any new fields to endpoint - I used Project field “Attributes”.

Error happened because project template that we are using. These fields are ruquired for job, so I just added defaul values to the template and during the save default values change to current values. 


Chris Hackett
Community Manager
Forum|alt.badge.img
  • Acumatica Community Manager
  • 2527 replies
  • February 16, 2023

Thank you for sharing your solution with the community @AndrewMuzalov !


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings