Check Status of POST/PUT/DELETE

HTTPS Method

GET

URI

https://<server>/adminapi/callControlGroup/{id}/status

Example URI

https://uccx-server:8080/adminapi/callControlGroup/12/status

Content Type

Application/XML, Application/JSON

HTTPS Success Code

201, 206

HTTPS Failure Codes

401, 404, 410, 500, 503

Error Codes

Attention

After a POST, PUT or DELETE, perform a GET for the status of the job. If you do not perform a GET request with in 5 minutes, a PUT or DELETE request on the same Call ControlGroup is not allowed.

Success Response

For Create

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ccgJobStatus>
		<totalPorts>120</totalPorts>
		<updatePorts>5</updatePorts>
		<lastUpdatedPort>V11_840024</lastUpdatedPort>
		<type>created</type>
		<completed>true</completed>
</ccgJobStatus>
 
Note

After the last port is created and the Call Control Group is saved, the completed field will be true.

For Modify

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ccgJobStatus>
		<totalPorts>120</totalPorts>
		<updatePorts>5</updatePorts>
		<lastUpdatedPort>V11_840024</lastUpdatedPort>		
		<type>modified</type>
		<completed>true</completed>
</ccgJobStatus>
 
Note

After the last port is modified and the Call Control Group is saved, the completed field will be true.

For Delete

<?xml version="1.0" encoding="UTF-8" standalone="yes"?> 
<ccgJobStatus>
		<totalPorts>120</totalPorts>
		<updatePorts>5</updatePorts>
		<lastUpdatedPort>V11_840024</lastUpdatedPort>
		<type>deleted</type>
		<completed>true</completed>
</ccgJobStatus>
Note

After the last port is deleted and the Call Control Group is saved, the completed field will be true.