GET /v2/odata/Transactions

Return

This endpoint offers details about financial transactions performed in the system. It includes information about the date, transaction type, amount, and other relevant details.

Endpoint URL

https://api.wealthtechs.com/v2/odata/Transactions

Authorization

// Authorization via JWT Token.

Authorization: Bearer <YourToken>

Responses

CodeType
200Success
204No Content
400Bad Request
401Unauthorized

Example Code

var myHeaders = new Headers();

myHeaders.append("Content-Type", "application/json");
myHeaders.append("Authorization", "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVc2VySW5mbyI6IntcIklkXCI6OTgxLFwiSWRlbnRpdHlJZFwiOlwiNjMyMzhhZTQtMzAyMC00NWI5LWEwODktOTE2ZTY4MDMyZTY3XCIsXCJVc2VyTmFtZVwiOlwiMF9URVNUX0NMSUVOVFwiLFwiRW1haWxcIjpcInRlc3RjbGllbnRAd2VhbHRodGVjaHMuY29tXCIsXCJGaXJzdE5hbWVcIjpcIlRlc3RcIixcIkxhc3ROYW1lXCI6XCJDbGllbnRcIixcIklzQ2xpZW50VXNlclwiOmZhbHNlfSIsIm5iZiI6MTY5NDcwMjU3OSwiZXhwIjoxOTI0OTIzNjAwLCJpc3MiOiJXZWFsdGhUZWNocyIsImF1ZCI6IkFQSVVzZXJzIn0.bNcP0ouNwtFoxrI7pYXw0WKiw0TN6w_R2-Ban5moo1A");

var requestOptions = {
  method: 'GET',
  headers: myHeaders,
  redirect: 'follow'
};

fetch("https://api.wealthtechs.com/v2/odata/Transactions?$top=5", requestOptions)
  .then(response => response.json())
  .then(result => console.log(result))
  .catch(error => console.log('error', error));

Example Response

{
    "@odata.context": "https://api.wealthtechs.com/v2/odata/$metadata#Transactions",
    "value": [
        {
            "Id": 1046,
            "CustodianId": 0,
            "CustomerId": 0,
            "ProcessDate": "2023-09-19T00:00:00-04:00",
            "AccountId": 12,
            "SecurityId": 12619,
            "TransactionCodeId": 11,
            "CancelIndicator": false,
            "Comment": "Sample Transaction Comment",
            "TradeDate": "2023-09-19T00:00:00-04:00",
            "SettlementDate": "2023-09-19T00:00:00-04:00",
            "Quantity": 1,
            "Amount": 815.34,
            "OriginalCost": null,
            "OriginalCostDate": null,
            "Sdtype": "CAUS",
            "Sdsymbol": "CASH",
            "Exchange": null,
            "ExchangeFee": null,
            "Commission": null,
            "OtherFees": null,
            "Broker": null,
            "WhtSecurityId": null,
            "ExecPri": null,
            "ExecPriCalc": null,
            "Reorg": false
        },
        {
            "Id": 1047,
            "CustodianId": 0,
            "CustomerId": 0,
            "ProcessDate": "2023-09-19T00:00:00-04:00",
            "AccountId": 14,
            "SecurityId": 15839,
            "TransactionCodeId": 9,
            "CancelIndicator": false,
            "Comment": "Sample Transaction Comment",
            "TradeDate": "2023-09-19T00:00:00-04:00",
            "SettlementDate": "2023-09-19T00:00:00-04:00",
            "Quantity": 1,
            "Amount": 152.28,
            "OriginalCost": null,
            "OriginalCostDate": null,
            "Sdtype": "CAUS",
            "Sdsymbol": "CAQUAL",
            "Exchange": null,
            "ExchangeFee": null,
            "Commission": null,
            "OtherFees": null,
            "Broker": null,
            "WhtSecurityId": null,
            "ExecPri": null,
            "ExecPriCalc": null,
            "Reorg": false
        },
        {
            "Id": 1048,
            "CustodianId": 0,
            "CustomerId": 0,
            "ProcessDate": "2023-09-19T00:00:00-04:00",
            "AccountId": 13,
            "SecurityId": 16086,
            "TransactionCodeId": 33,
            "CancelIndicator": false,
            "Comment": "Sample Transaction Comment",
            "TradeDate": "2023-09-19T00:00:00-04:00",
            "SettlementDate": "2023-09-19T00:00:00-04:00",
            "Quantity": 181.33,
            "Amount": 181.33,
            "OriginalCost": null,
            "OriginalCostDate": null,
            "Sdtype": "CAUS",
            "Sdsymbol": "CASH",
            "Exchange": null,
            "ExchangeFee": null,
            "Commission": null,
            "OtherFees": null,
            "Broker": null,
            "WhtSecurityId": null,
            "ExecPri": null,
            "ExecPriCalc": null,
            "Reorg": false
        },
        {
            "Id": 1049,
            "CustodianId": 0,
            "CustomerId": 0,
            "ProcessDate": "2023-09-19T00:00:00-04:00",
            "AccountId": 13,
            "SecurityId": 16086,
            "TransactionCodeId": 33,
            "CancelIndicator": false,
            "Comment": "Sample Transaction Comment",
            "TradeDate": "2023-09-19T00:00:00-04:00",
            "SettlementDate": "2023-09-19T00:00:00-04:00",
            "Quantity": 113.27,
            "Amount": 113.27,
            "OriginalCost": null,
            "OriginalCostDate": null,
            "Sdtype": "CAUS",
            "Sdsymbol": "CASH",
            "Exchange": null,
            "ExchangeFee": null,
            "Commission": null,
            "OtherFees": null,
            "Broker": null,
            "WhtSecurityId": null,
            "ExecPri": null,
            "ExecPriCalc": null,
            "Reorg": false
        },
        {
            "Id": 1050,
            "CustodianId": 0,
            "CustomerId": 0,
            "ProcessDate": "2023-09-19T00:00:00-04:00",
            "AccountId": 13,
            "SecurityId": 16086,
            "TransactionCodeId": 33,
            "CancelIndicator": false,
            "Comment": "Sample Transaction Comment",
            "TradeDate": "2023-09-19T00:00:00-04:00",
            "SettlementDate": "2023-09-19T00:00:00-04:00",
            "Quantity": 247.47,
            "Amount": 247.47,
            "OriginalCost": null,
            "OriginalCostDate": null,
            "Sdtype": "CAUS",
            "Sdsymbol": "CASH",
            "Exchange": null,
            "ExchangeFee": null,
            "Commission": null,
            "OtherFees": null,
            "Broker": null,
            "WhtSecurityId": null,
            "ExecPri": null,
            "ExecPriCalc": null,
            "Reorg": false
        }
    ]
}