Important Update: Archer Community Scheduled Maintenance on November 23–24 - New Community Launching Soon! Learn More..
2019-10-24 11:19 AM
1) I am using contentapi to update an application called Security_Incidents
2) Security_Incidents has a select list field called Incident_Status
3) When I try to update the list field using the value, I get and error (HTTP/1.1 400 Bad Request)
{
"Security_Incidents_Id": 587342,
"Incident_Status": ["In Progress"]
}
4) When I try to update the list field using the ValueListId, it works and the Incident_Status is set to “In Progress”
{
"Security_Incidents_Id": 587342,
"Incident_Status": {"ValuesListIds":[66331]}
}
My question is, is it possible to update list fields using the list value instead of the list id via contentapi? I am using Archer version 6.6 P0. I am using SOAP UI to integrate Archer to another application.
2019-10-24 11:31 AM
Dilruba, you can only use the id of the values. This so that if the text of the value is changed you wouldn't have to go in to your code and update it as well.
Advisory Consultant
2019-10-24 11:31 AM
Dilruba, you can only use the id of the values. This so that if the text of the value is changed you wouldn't have to go in to your code and update it as well.
Advisory Consultant