05-07-2021 12:24 PM
Trying to add agents to an attribute. I know we can add attributes to an agent but if I'm reading the guide correctly, I should be able to add multiple agents to an attribute. My current XML for the put looks like:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <attribute> <changeStamp>3</changeStamp> <agentAttributes> <attributeValue>5</attributeValue> <agentAttributesAdded> <agent> <refURL>/unifiedconfig/config/agent/19119</refURL> </agent> </agentAttributesAdded> </agentAttributes> </attribute>
I'm updating the changeStamp but get nothing returned, changeStamp never increments and the attribute doesn't update.
Any tips?
05-07-2021 12:34 PM
Hi, we might be saying the same thing, but you mean to add attributes to an agent, right?
If so, is this post what you're looking for?
https://community.cisco.com/t5/contact-center/agent-api-to-add-attributes-to-agents/td-p/4121863
05-07-2021 12:45 PM
Nope, I can add attributes to an agent, I'm trying to add agents to an attribute. I know that sounds weird but
Looking at the Agent API
and the Attribute API
Both have similar parameters agentAttributes, agentAttributesAdded, agentAttributesRemoved
So I'm assuming this means you can bulk add multiple agents to an attribute.
Use case is if I have 10 attributes that I want to add to 500 agents I want to make 10 requests instead of 500.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide