For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Support Center
OverviewAPIResources
OverviewAPIResources
  • REST API Endpoints
    • GETGet Timestamp
    • GETO IDC User Info
      • GETAgreement Document Dependents
      • GETAgreement Document Item
      • GETAgreement Document Items
      • GETAgreement Document L Dependents
      • POSTAgreement Document Template Create
      • GETAgreement Document Template Find
      • GETAgreement Document Template Item
      • GETAgreement Document Template Items
      • GETAgreement Document Template List
      • GETAgreement Document Template Suggest
      • POSTAgreement Document Template Update
      • POSTCheck Duplicate
      • POSTCreate Sub Account Request
      • POSTCustomer Application Create
      • GETCustomer Application Dependents
      • GETCustomer Application Item
      • GETCustomer Application Items
      • GETCustomer Application L Dependents
      • POSTCustomer Application Update
      • POSTDuplicate Applicant By Address
      • GETPedsl Application Comment Dependents
      • GETPedsl Application Comment Item
      • GETPedsl Application Comment Items
      • GETPedsl Application Comment L Dependents
      • GETPedsl Application Dependents
      • GETPedsl Application Item
      • GETPedsl Application Items
      • GETPedsl Application L Dependents
      • POSTPrepare Agreement Documents
      • POSTSign Agreement Documents
      • POSTSign Non Pro Certification
      • POSTSign Sub Account Request
      • POSTSign User Document
      • POSTSimilar Applications Request
      • POSTStart Customer Application
      • POSTStart Pedsl Application
      • GETSub Account Request Dependents
      • GETSub Account Request Item
      • GETSub Account Request Items
      • GETSub Account Request L Dependents
      • GETSub Account Request List
      • POSTSubmit Applicant
      • POSTSubmit Customer Application Document
      • POSTUpdate Pedsl Application
      • GETUser Signed Document Dependents
      • GETUser Signed Document Item
      • GETUser Signed Document Items
      • GETUser Signed Document L Dependents
Support Center
LogoLogo
REST API EndpointsCustomer Applications

Sub Account Request Dependents

GET
https://demo-d.tradovateapi.com/v1/subAccountRequest/deps
GET
/v1/subAccountRequest/deps
1const url = 'https://demo-d.tradovateapi.com/v1/subAccountRequest/deps?masterid=1';
2const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
3
4try {
5 const response = await fetch(url, options);
6 const data = await response.json();
7 console.log(data);
8} catch (error) {
9 console.error(error);
10}
200Retrieved
1[
2 {
3 "timestamp": "2024-01-15T09:30:00Z",
4 "customerApplicationId": 1,
5 "approvalStatus": "Approved",
6 "marginType": "Hedger",
7 "transferAmount": 1.1,
8 "authorizedIndividual": true,
9 "id": 1,
10 "agreementDocumentId": 1,
11 "pOAContactId": 1,
12 "pOAFormDocId": 1,
13 "governmentDocId": 1,
14 "addressDocId": 1,
15 "reason": "string",
16 "riskCategoryId": 1,
17 "organizationId": 1,
18 "organizationAdminId": 1,
19 "preapprovedAt": "2024-01-15T09:30:00Z",
20 "ltoDeadline": "2024-01-15T09:30:00Z",
21 "deniedReason": "CipCheckFailed",
22 "createdAccountId": 1,
23 "outPubSubMessageId": "string",
24 "submittedTimestamp": "2024-01-15T09:30:00Z",
25 "inPubSubMessageId": "string",
26 "decision": "Approved",
27 "decisionTimestamp": "2024-01-15T09:30:00Z",
28 "decisionNotes": "string"
29 }
30]
Fetches all SubAccountRequest entities associated to CustomerApplication entity
Was this page helpful?
Previous

Sub Account Request Item

Next
Built with

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Query parameters

masteridlongRequired
CustomerApplication entity ID

Response

SubAccountRequest
timestampdatetime
customerApplicationIdlong
approvalStatusenum
Approved, Denied, InAMLReview, InReview, Pending, Preapproved
marginTypeenum
Hedger, Speculator
Allowed values:
transferAmountdouble
authorizedIndividualboolean
idlong
agreementDocumentIdlong
pOAContactIdlong
pOAFormDocIdlong
governmentDocIdlong
addressDocIdlong
reasonstring<=8192 characters
riskCategoryIdlong
organizationIdlong
organizationAdminIdlong
preapprovedAtdatetime
ltoDeadlinedatetime
deniedReasonenum
CipCheckFailed, ManualReview, MaxSubAccountLimitExceeded
Allowed values:
createdAccountIdlong
outPubSubMessageIdstring<=64 characters
submittedTimestampdatetime
inPubSubMessageIdstring<=64 characters
decisionenum
Approved, Denied, Pending
Allowed values:
decisionTimestampdatetime
decisionNotesstring<=8192 characters