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

ACS REST HTTPS PUT request - What is the correct format

Federico87
Level 1
Level 1

Hi All,

I am trying to do a PUT request to ACS 5.6 but the documentation is too poor for a beginner like me and I don't find the correct XML format to use to update a e-mail address for a user.

https://10.42.9.140/Rest/Identity/User/op/query


<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<ns2:query xmlns:ns2="query.rest.mgmt.acs.nm.cisco.com">

    <name>requenaf</name>

    <attributeInfo>

        <attributeName>Email Address</attributeName>

        <attributeValue>name.username@gmail.com</attributeValue>

    </attributeInfo>

</ns2:query>

The error I get is

61013400Query page number should be no less than 1.SEARCH_BY_QUERYUserBAD_REQUEST

Any idea why? Can someone give me some example?

2 Replies 2

Geevarghese Cheria
Cisco Employee
Cisco Employee

Moving your Question under security domain for more visibility of support engineers. Found one related url-

ISE or ACS Rest API

Thanks and Regards,

Geevarghese

Federico87
Level 1
Level 1

Maybe like this?

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<ns2:query xmlns:ns2="query.rest.mgmt.acs.nm.cisco.com">

    <name>requenaf</name>

    <attributeInfo>

        <attributeName>Email Address</attributeName>

        <attributeValue>name.username@gmail.com</attributeValue>

    </attributeInfo>

    <numberofItemsInPage>100</numberofItemsInPage>

    <startPageNumber>1</startPageNumber>

</ns2:query>

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: