cancel
Showing results for 
Search instead for 
Did you mean: 

Archer API Integration

RubaJahan
Collaborator II

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.

1 ACCEPTED SOLUTION

Accepted Solutions

DavidPetty
Archer Employee
Archer Employee

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 - Archer, an RSA Business

View solution in original post

1 REPLY 1

DavidPetty
Archer Employee
Archer Employee

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 - Archer, an RSA Business