api:simusercreation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
api:simusercreation [2024/07/22 21:32] danielapi:simusercreation [2024/07/25 19:43] (current) daniel
Line 39: Line 39:
 ====== API Usage ====== ====== API Usage ======
  
-This API endpoint receives a JSON body in the following format+**Url**https://api-sim.t4login.com/admin/simreg 
-+ 
-   "UserName": string, +**Method**: POST 
-   "Password": string, + 
-   "EmailAddress": string, +**Body**: 
-   "FirstName": string, + 
-   "LastName": string, +  
-   "PhoneNumber": string, +    "UserName": string, 
-   "Address":+    "Password": string, 
- "Street": string, +    "EmailAddress": string, 
- "City": string, +    "FirstName": string, 
- "County": string, +    "LastName": string, 
- "State": string, +    "PhoneNumber": string, 
- "Country": string, +    "Address":
- "ZIPPostCode": string +   "Street": string, 
-   }, +   "City": string, 
-   "ApplicationType":int, +   "County": string, 
-   "EULA":+   "State": string, 
- "CollectedBy": string, +   "Country": string, 
- "Signatures":+   "ZIPPostCode": string 
-   +    }, 
- "DocumentName": string, +    "ApplicationType":int, 
- "Signed": DateTime +    "EULA":
-   +   "CollectedBy": string, 
- +   "Signatures":
-   +     
- }+   "DocumentName": string, 
 +   "Signed": DateTime 
 +     
 +  
 +    
 +  } 
  
 ===== Properties ===== ===== Properties =====
 +
  
 This are the valid values for each property: This are the valid values for each property:
Line 88: Line 95:
   * **DocumentName**: Required, The document names are: LegalEULA, LegalPP, LegalMDSA, LegalUSA, LegalNPSCF. More information about these documents will be provided in the next section.   * **DocumentName**: Required, The document names are: LegalEULA, LegalPP, LegalMDSA, LegalUSA, LegalNPSCF. More information about these documents will be provided in the next section.
   * **Signed**: Required, this is the date and time the document was signed by the user.   * **Signed**: Required, this is the date and time the document was signed by the user.
 +
 +===== Documents =====
 +
 +These are the necessary documents that need to be present in the Signatures section:
 +
 +**Document Name** : LegalEULA
 +
 +**Title**:End User License Agreement
 +
 +**Url**:https://admin.sim.t4login.com/disclaimers/End%20User%20Agreement.pdf
 +
 +--
 +
 +**Document Name** : LegalPP
 +
 +**Title**:Privacy Policy
 +
 +**Url**:https://www.ctsfutures.com/privacy%20policy/
 +
 +--
 +
 +
 +**Document Name** : LegalMDSA
 +
 +**Title**:Market Data Subscription Agreement
 +
 +**Url**:https://admin.sim.t4login.com/disclaimers/MDSA.html
 +
 +--
 +
 +**Document Name** : LegalUSA
 +
 +**Title**:Uniform Subscriber Addendum
 +
 +**Url**:https://admin.sim.t4login.com/disclaimers/USA.html
 +
 +--
 +
 +**Document Name** : legalNPSCF
 +
 +**Title**:Non-Professional Self-Certification Form
 +
 +**Url**:https://admin.sim.t4login.com/disclaimers/NPSCF.html
 +
 +**This document is necessary only for non-professional users**
 +
 +===== Response =====
 +Code 200 means the user was created successfully
 +Other codes are error codes, they will have details in the json response object.
 +
 +===== Example =====
 +
 +** Body Example **
 +  {
 +    "UserName": "userPlus500",
 +    "Password": "PasTest123$$",
 +    "EmailAddress": "[email protected]",
 +    "FirstName": "SimReg",
 +    "LastName": "APITest",
 +    "PhoneNumber": "1234567890",
 +    "Address": {
 +      "Street": "2 Pierce Place",
 +      "City": "Chicago",
 +      "County": "Cook",
 +      "State": "IL",
 +      "Country": "US",
 +      "ZIPPostCode": "60143"
 +    },
 +    "ApplicationType":3,
 +    "EULA": {
 +      "CollectedBy": "CTS",
 +      "Signatures": [
 +        {
 +          "DocumentName": "LegalEULA",
 +          "Signed": "7/16/2024 10:53:50 AM"
 +        },
 +        {
 +          "DocumentName": "LegalPP",
 +          "Signed": "7/16/2024 10:53:50 AM"
 +        },
 +        {
 +          "DocumentName": "LegalMDSA",
 +          "Signed": "7/16/2024 10:53:50 AM"
 +        },
 +        {
 +          "DocumentName": "LegalUSA",
 +          "Signed": "7/16/2024 10:53:50 AM"
 +        },
 +        {
 +          "DocumentName": "LegalNPSCF",
 +          "Signed": "7/16/2024 10:53:50 AM"
 +        }
 +      ]
 +    }
 +  }
 +
 +** Bearer Authentication Token **
 +
 +{{:api:auth_simreg.png?400|}}
 +
 +** Body: **
 +
 +{{:api:sim_reg_request.png?400|}}
 +
 +
  
  
  
  • api/simusercreation.1721683956.txt.gz
  • Last modified: 2024/07/22 21:32
  • by daniel