Skip to main content

Cloud Rest Pro API (v1.1.0)

Cloud Rest Pro API allows the developer to create a custom trading application for Web or Mobile communicating with the ODIN Order Management System (OMS). This REST-based API allows users to develop the following functionalities for a Trading Application or Portal.

Salient Features:

  • User Authentication and Profile Management
  • Order Management
  • Portfolio Information Management

Getting Started

Cloud Rest Pro API is a set of REST APIs that provide the platform and required data to build a Trading Platform. The API specifications are used for communicating with the ODIN API Gateway and are based on the REST protocol. The API supports JSON-based requests and responses along with data compression.

Basic Implementation Flow:

STEP 1 — Make a Login API call using login credentials to obtain the access_token.

STEP 2 — Use the access_token obtained from the Login API in all subsequent API calls.

STEP 3 — Set the obtained access_token and Content-Type in your headers as shown below:

Content-Type: application/json
Authorization: Bearer eyJ1c2VySUQiOiJSVVBFU0giLCJpYXQiOjE1NTIxMjIwOTEsImV4cCI6MTU1MjIwODQ5MX0

Response Structure

All GET and DELETE request parameters go as query parameters, and POST and PUT request parameters go as JSON (application/json) body parameters. Responses from the API are always JSON. Any non-alphanumeric character should be URL-encoded in query string and path parameters.

✅ Successful Request

HTTP/1.1 200 OK
Content-Type: application/json

{
"status": "success",
"code": "",
"message": "",
"data": "{}"
}

❌ Failed Request

HTTP/1.1 500 Server Error
Content-Type: application/json

{
"status": "error",
"code": "",
"message": "",
"errors": "[]"
}

Data Types

Values in JSON responses are of types string, integer, number, or boolean. Timestamp strings are in the format yyyy-mm-dd HH:mm:ss (e.g., 2016-01-25 13:33:42).


Contact & Resources