cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
491
Views
0
Helpful
1
Replies

API POST issues

chad_meyer
Level 1
Level 1

Hey everyone,

 

I am new to APIs and am trying to add a new bucket interval into our system via poster extension in Chrome.  I keep getting an error 401 Unauthorized when I try to post.  I am assuming something is wrong in my username syntax but don't see how it should be formatted in Cisco's API guide.  Below is what I am sending:

 

admin_login_name@HDS_FQDN
<bucketInterval>
<name>Test</name>
<upperBound1>10</upperBound1>
<upperBound2>15</upperBound2>
<upperBound3>20</upperBound3>
<upperBound4>30</upperBound4>
<upperBound5>60</upperBound5>
<upperBound6>90</upperBound6>
<upperBound7>120</upperBound7>
<upperBound8>180</upperBound8>
<upperBound9>90</upperBound9>
</bucketInterval>

 

Any assistance would be greatly appreciated.  Thanks.

1 Reply 1

I don't have a direct answer to what you're doing, but I can tell you that the auth piece needs to be solved for first. I would move over to a tool call Postman from there attempt to authenticate to get just the status of the system, from there you should be able to figure out bucket intervals.

 

david