TradeBook

Request body not required for this API

Header Body:

Name Description
Authorization Access token obtained in after successful login
user-Id Client id of the user

Sample Response 1


									

Sample Response 2


									

POST/client-holdings-api/v1/trade/book

										
cURL

Copied!

curl --location --request POST 'https://dev.cluster.apps.enrichmoney.in/client-holdings-api/v1/trade/book' \ --header 'Authorization: {{jwt_token}}'\ --header 'Content-Type: application/json' \ --header 'user-Id: {{userid}}'
										
python / requests

Copied!

import requests url = "https://dev.cluster.apps.enrichmoney.in/client-holdings-api/v1/trade/book" payload={} headers = { 'Authorization': '{{jwt_token}}' 'Content-Type': 'application/json', 'user-Id': '{{userid}} } response = requests.request("POST", url, headers=headers, data=payload) print(response.text)
										
java / unirest

Copied!

Unirest.setTimeouts(0, 0); HttpResponse response = Unirest.post("https://dev.cluster.apps.enrichmoney.in/client-holdings-api/v1/trade/book") .header("Authorization", "{{jwt_token}}") .header("Content-Type": "application/json") .header("user-id", "{{userid}}") .asString();
										
nodejs / axios

Copied!

var axios = require('axios'); var config = { method: 'post', maxBodyLength: Infinity, url: 'https://dev.cluster.apps.enrichmoney.in/client-holdings-api/v1/trade/book', headers: { 'Authorization': '{{jwt_token}}' 'Content-Type': 'application/json', 'user-Id': '{{userid}} } }; axios(config) .then(function (response) { console.log(JSON.stringify(response.data)); }) .catch(function (error) { console.log(error); })

Mail Us

api-support@enrichmoney.in

Call Us

044 40063663/044 35000470

Powered by Enrich Money