Get CSQ

HTTPS Method

GET

URI

://<server>/adminapi/csq/{id}

Example URI

://uccx-server/adminapi/csq/22

Accept

Application/XML, Application/JSON

HTTPS Success Code

200

HTTPS Failure Codes

401, 405

Error Codes

Success Response

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> 
<csq>
	<self>https://uccx-server/adminapi/csq/3</self> 
	<id>3</id> 
	<name>outboundCsq</name> 
	<queueType>VOICE</queueType> 
	<queueAlgorithm>FIFO</queueAlgorithm> 
	<autoWork>false</autoWork> 
	<wrapupTime>0</wrapupTime> 
	<resourcePoolType>SKILL_GROUP</resourcePoolType> 
	<serviceLevel>5</serviceLevel> 
	<serviceLevelPercentage>70</serviceLevelPercentage> 
	<poolSpecificInfo>
		<skillGroup>
			<skillCompetency>
				<competencelevel>5</competencelevel> 
				<skillNameUriPair name="ob_skill">
					<refURL>https://uccx-server/adminapi/Skill/4</refURL> 
				</skillNameUriPair>
				<weight>1</weight> 
			</skillCompetency>
			<selectionCriteria>Longest Available</selectionCriteria> 
		</skillGroup>
	</poolSpecificInfo>
</csq>

Success Response—New Email CSQ with PLAIN emailAuthType


<?xml version="1.0" encoding="UTF-8"?>
<csq>
	<self></self>
	<id>28</id>
	<name>Email_Csq26</name>
	<queueType>EMAIL</queueType>
	<routingType>NONINTERACTIVE</routingType>
	<queueAlgorithm>FIFO</queueAlgorithm>
	<resourcePoolType>SKILL_GROUP</resourcePoolType>
	<poolSpecificInfo>
		<skillGroup>
			<selectionCriteria>Longest Available</selectionCriteria>
		</skillGroup>
	</poolSpecificInfo>
	<emailAuthType>PLAIN</emailAuthType>
	<accountUserId>abc@cisco.com</accountUserId>
	<accountPassword></accountPassword>
	<channelProvider name="2">
		<refURL></refURL>
	</channelProvider>
	<pollingInterval>600</pollingInterval>
	<folderName>Inbox</folderName>
	<snapshotAge>120</snapshotAge>
</csq>

Success Response—New Email CSQ with OAUTH emailAuthType


<?xml version="1.0" encoding="UTF-8"?>
<csq>
	<self></self>
	<id>28</id>
	<name>Email_Csq26</name>
	<queueType>EMAIL</queueType>
	<routingType>NONINTERACTIVE</routingType>
	<queueAlgorithm>FIFO</queueAlgorithm>
	<resourcePoolType>SKILL_GROUP</resourcePoolType>
	<poolSpecificInfo>
		<skillGroup>
			<selectionCriteria>Longest Available</selectionCriteria>
		</skillGroup>
	</poolSpecificInfo>
	<emailAuthType>OAUTH</emailAuthType>
	<emailOAuthDetails></emailOAuthDetails>
	<accountUserId>xyz@cisco.com</accountUserId>
	<channelProvider name="2">
		<refURL></refURL>
	</channelProvider>
	<pollingInterval>600</pollingInterval>
	<folderName>Inbox</folderName>
	<snapshotAge>120</snapshotAge>
</csq>