CS10.5 Rest API Errors

Hello,

I am working on creating AWG application using Java and CS10.5 REST api. I am new to REST API.
While authenticating CS10.5 User from Java code using REST API I am getting error. So I wanted to check Rest API methods input and their response. SO I used Postman REST Client in chrome. While trying Rest APi functionality I am getting below error
enter image description here
Although URL includes Machine IP "http://Machine IP:80/OTCS/cs/api/v1/volumes/142?expand=user HTTP/1.1",At the time of accessing we replace it with Proper IP address for CS10.5 Server

Can anyone help me to understand how to deal with this error, as per forums in KC,With CS10.5 insatllations, REST API gets automatically installed. No need to manually configure.

Kindly help me urgently as unless i establish CS10.5 connection using REST API, I cannot code further.

Thanks
Aditi

Comments

  • NOte: Although in screenshot it is mentioned that "http://Machine IP:80/OTCS/cs/api/v1/volumes/142?expand=user HTTP/1.1", while hitting this url I put proper IP address for CS10.5 Server

  • Ferdinand Prantl
    Ferdinand Prantl E Community Moderator

    Does the URL http://Machine IP:80/OTCS/cs open the classic UI entry page?

  • yes, above URL open the classic CS10.5 UI. I tried with Admin credentials today of CS10.5 which works and given requested response. However, it is giving error to all users who has been created within OTDS along with otadmin@otds.admin and have Access to CS10.5

    Kindly advice.

  • yes, above URL open the classic CS10.5 UI. I tried with Admin credentials today of CS10.5 which works and given requested response. However, it is giving error to all users who has been created within OTDS along with otadmin@otds.admin and have Access to CS10.5

    Kindly advice.

  • Ferdinand Prantl
    Ferdinand Prantl E Community Moderator

    What exact versions of CS and OTDS do you use?