I am using the Archer API to make a POST request to ../api/core/content in order to create a new record. I am getting an error saying several of the fields are required (as if I didn't include them in the request body) but they are definitely in the request body. The fields of type 'Text' are working just fine, but the fields of type 'ValuesList' and 'UsersGroupsList' are giving me errors (the 'ValuesList' fields are actually of type 'Field - Specific' but fall under 'ValuesList' in Archer). Do I need to do something different than what's in the REST API guide/documentation? Could you provide a few examples of what the JSON object should look like for fields of type 'ValuesList' and 'UsersGroupsList'? I have included some of my code below.
var requestBody =
"Value": "EPS Master Task - 13",
"Value": ["PSE Requirement"],
Prithvi in regards to values lists, the value has to be the values id and not the values text same goes for usersgroups. You can use the REST API to get the records contents of an existing record to see how each field type is configured value wise.
I like to store a content record through the UI and request it through the API. That will give you a pretty good idea what the structure of your content record should look like.