How to use the JSESSIONID for api request for IP Office 11.0 ?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • forti25
    Aspiring Member
    • Dec 2018
    • 1

    How to use the JSESSIONID for api request for IP Office 11.0 ?

    Hello people,

    Sorry in advance for my bad english

    I actually try too use the api who was give in the pdf "Avaya_Management_API_IPO11.0".

    I use Postman extension of google chrome for testing the API.

    They said in the doc that in first time, you need too make use of the "sessionService" API to get info from the "set-cookie" in the header and get the JSESSIONID in it for all the other request.

    The SessionService work and return me a JSESSIONID, but when i try to use it in the "UserGet" request, i pass the JSESSIONID in the header, but the request return me a 403:Forbidden.

    I don't know if i correctly understand how to pass the JSESSIONID and if someone can tell me if this good or how to pass correctly the Id, thank you in advance.

    info :
    - IP Office version : 11.0
    - API test software : Postman
    - type of api request : get (see the part users (get in the doc)
    - statut of internet port : open
    - response of the request :

    <?xml version="" encoding="UTF-8" standalone="yes"?>
    <response status="0">
    <data>
    <ws_object error_node="true">
    <SMAError>
    <error>
    <error_code>403:Forbidden</error_code>
    <error_desc>[IP of where the IP OFFICE is installed]</error_desc>
    <errorLocation>[IP of where the IP OFFICE is installed]</errorLocation>
    </error>
    </SMAError>
    </ws_object>
    </data>
    </response>
    Last edited by forti25; 12-14-2018, 01:36 AM.
Loading