cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

Who Me Too'd this topic

Agent API to add attributes to agents

chad_meyer
Level 1
Level 1

Hey everyone,

 

I am new to APIs so bear with me.  I am trying to create an API via Agent API that will add attributes to an agents, ultimately a pool of agents determined by SQL query, however I cannot get a single user updated.  Here is the string which is producing a 405 error when I try to POST:

<agent>
<refURL>/unifiedconfig/config/agent/5124</refURL>
<agentAttributes>
<agentAttribute>
<attributeValue>5</attributeValue>
<attribute>
<refURL>/unifiedconfig/config/attribute/5430</refURL>
<name>ECE_Email_Test</name>
<dataType>4</dataType>
<description>Test queue</description>
</attribute>
</agentAttribute>
</agentAttributes>
</agent>

Any assistance would be greatly appreciated.

Who Me Too'd this topic