cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1245
Views
10
Helpful
13
Replies

pcce 12.5 API PQ post

vicpany
Level 1
Level 1

I am able to get a list of a specific or all PQ, but I get an error when I am trying to POST/Create a new PQ.

https://<server>/unifiedconfig/config/precisionqueue/<id>

postman is giving me an error: 505

what am I missing?

1 Accepted Solution

Accepted Solutions

rvaliyap
Cisco Employee
Cisco Employee

yes, there are validations in place for the payload parameters. Please refer PCCE Developer Reference Guide for details.

View solution in original post

13 Replies 13

Can you show the Postman request you're making please?

david

vicpany
Level 1
Level 1
 

postmanError405.GIF

I don't have a PCCE env readily available, but this UCCE request should work very similarly. Here's the body:

Capture.PNG

 

Here are the parameters:

Capture.PNG

 david

By the way, I've been slowly trying to document all Cisco CC APIs in a public workspace. I would love help with any contributions. https://www.postman.com/squareo/workspace/c406478f-95f3-45c7-847c-e82d2c5307b4/overview

david

not sure what I am doing wrong but I update everything the same and still getting error 405

With that same username can you list all of the PQs or a single PQ?

david

is there some pre-req since in the portal, we have to create the attributes first, then create pq and then assign agents to the pq?

I have even tried on your postman, and same error.

I am able to do a GET a list of PQ and POST a new attribute, just cant POST new pq.

rvaliyap
Cisco Employee
Cisco Employee

Hi,

POST request will not have an ID in the URL. Can you please try without giving ID, https://<server>/unifiedconfig/config/precisionqueue

Thanks

Good catch @rvaliyap I didn't see that /50 in the shot they provided. That's more than likely the issue.

david

i removed that and now receiving error 400; even i copy over the exact body D.M. sent in the postman workspace.

Take the body of a working PQ. Remove the pieces that don't match up and try to use that as your body.

david

rvaliyap
Cisco Employee
Cisco Employee

yes, there are validations in place for the payload parameters. Please refer PCCE Developer Reference Guide for details.