Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
developers:admin:walktrhough [2025/04/24 20:53] – [Step 3: User Market Data Selection] chad | developers:admin:walktrhough [2025/04/24 21:13] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 262: | Line 262: | ||
In this case, simply PATCH the same Json for all users. | In this case, simply PATCH the same Json for all users. | ||
- | < | ||
- | GET the endpoint first to see the options for configuring the PATCH. | ||
- | </ | ||
==== Request ==== | ==== Request ==== | ||
Line 377: | Line 374: | ||
==== Step 3d: Dynamic Market Data Selection ==== | ==== Step 3d: Dynamic Market Data Selection ==== | ||
- | ==== Request | + | |
+ | Call the GET endpoint to get the available options and associated fees in a document that you can build an interface with. | ||
+ | |||
+ | ==== Response | ||
< | < | ||
{ | { | ||
- | // Market | + | "data": { |
- | // Documentation coming soon | + | " |
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | ], | ||
+ | " | ||
+ | }, | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | ], | ||
+ | " | ||
+ | }, | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | ], | ||
+ | " | ||
+ | }, | ||
+ | |||
+ | | ||
+ | |||
+ | ], | ||
+ | " | ||
+ | }, | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | } | ||
} | } | ||
</ | </ | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
===== Step 4: User Signs EULAs ===== | ===== Step 4: User Signs EULAs ===== | ||
Line 390: | Line 480: | ||
This step completes the user creation process by confirming acceptance of required End User License Agreements. | This step completes the user creation process by confirming acceptance of required End User License Agreements. | ||
- | ==== Request | + | '' |
+ | '' | ||
+ | |||
+ | Always GET the lastest EULA document before POST' | ||
+ | |||
+ | The GET response includes a " | ||
+ | |||
+ | < | ||
+ | The user will not be able to log into the T4 system without valid signed EULA document. | ||
+ | </ | ||
+ | |||
+ | |||
+ | ==== GET Response | ||
< | < | ||
{ | { | ||
- | | + | " |
- | // Documentation coming soon | + | " |
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | ], | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | ] | ||
+ | }, | ||
+ | " | ||
+ | }, | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | } | ||
} | } | ||
</ | </ | ||
- | ===== User Creation Flowchart ===== | ||
- | {{: | + | ==== POST Request ==== |
- | ===== Common Parameters | + | < |
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | ] | ||
+ | }, | ||
+ | " | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | ==== Response | ||
+ | |||
+ | < | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | ] | ||
+ | }, | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | } | ||
+ | </ | ||
+ | ==== Request ==== | ||
+ | |||
+ | < | ||
+ | { | ||
+ | // EULA acceptance configuration | ||
+ | // Documentation coming soon | ||
+ | } | ||
+ | </ | ||
- | ^ Parameter ^ Description ^ Type ^ Required ^ | ||
- | | username | Unique identifier for the user | String | Yes | | ||
- | | account | Trading account identifier | String | Yes | | ||
- | | templateUser | Optional user template override | String | No | | ||
- | | templateAccount | Optional account template override | String | No | | ||
- | | apptype | User market data permissions type | String | Yes | | ||
- | ===== Common Response Codes ===== | ||
- | ^ Code ^ Description ^ | ||
- | | 200 | Success | | ||
- | | 400 | Bad Request - Check request format | | ||
- | | 401 | Unauthorized - Authentication failed | | ||
- | | 404 | Not Found - Resource doesn' | ||
- | | 500 | Server Error - Contact support | | ||
===== Support ===== | ===== Support ===== |