cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
813
Views
0
Helpful
2
Replies

CCE Attribute API

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?

2 Replies 2

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

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.