Holdings

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/holdings

										
cURL

Copied!

curl --location 'https://orca-uatapi.enrichmoney.in/client-holdings-api/v1/holdings' \ --header 'Authorization: {{jwt_token}}'\ --header 'Content-Type: application/json' \ --header 'user-Id: {{userid}}' --data '{"product_type":"C"}'
										
python / requests

Copied!

import requests url = "https://orca-uatapi.enrichmoney.in/client-holdings-api/v1/holdings" payload = "{\"product_type\":\"C\"}" 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://orca-uatapi.enrichmoney.in/client-holdings-api/v1/holdings") .header("Authorization", "{{jwt_token}}") .header("Content-Type": "application/json") .header("user-id", "{{userid}}") .body("{\"product_type\":\"C\"}") .asString();
										
nodejs / axios

Copied!

var axios = require('axios'); var data = '{"product_type":"C"}'; var config = { method: 'post', maxBodyLength: Infinity, url: 'https://orca-uatapi.enrichmoney.in/client-holdings-api/v1/holdings', headers: { 'Authorization': '{{jwt_token}}' 'Content-Type': 'application/json', 'user-Id': '{{userid}} }, data : data }; 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