Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
api:simusercreation [2024/07/22 21:30] – daniel | api: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:// |
- | { | + | |
- | | + | **Method**: POST |
- | | + | |
- | | + | **Body**: |
- | | + | |
- | | + | { |
- | | + | " |
- | | + | " |
- | " | + | " |
- | " | + | " |
- | " | + | " |
- | " | + | " |
- | " | + | " |
- | " | + | " |
- | | + | " |
- | | + | " |
- | | + | " |
- | " | + | " |
- | " | + | " |
- | | + | }, |
- | " | + | " |
- | " | + | " |
- | | + | " |
- | ] | + | " |
- | | + | |
- | } | + | " |
+ | " | ||
+ | | ||
+ | ] | ||
+ | } | ||
+ | } | ||
===== Properties ===== | ===== Properties ===== | ||
+ | |||
This are the valid values for each property: | This are the valid values for each property: | ||
- | * **UserName**: | + | * **UserName**: |
- | * **Password**: | + | * **Password**: |
* **EmailAddress**: | * **EmailAddress**: | ||
* **FirsName**: | * **FirsName**: | ||
Line 78: | Line 85: | ||
* **Address**: | * **Address**: | ||
* **Street**: Required | * **Street**: Required | ||
- | * **City**: Optional in the USA, will be taken from the zipcode | + | * **City**: Optional in the USA, will be taken from the zip code |
- | * **County**: Optional in the USA, will be taken from the zipcode | + | * **County**: Optional in the USA, will be taken from the zip code |
* **State**: Required, 2 Characters long, use ISO codes ([[https:// | * **State**: Required, 2 Characters long, use ISO codes ([[https:// | ||
* **Country**: | * **Country**: | ||
Line 85: | Line 92: | ||
* **ApplicationType**: | * **ApplicationType**: | ||
* **Signatures**: | * **Signatures**: | ||
- | * **CollectedBy**: | + | * **CollectedBy**: |
- | * **DocumentName**: | + | * **DocumentName**: |
- | * **Signed**: Required | + | * **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**: | ||
+ | |||
+ | **Url**: | ||
+ | |||
+ | -- | ||
+ | |||
+ | **Document Name** : LegalPP | ||
+ | |||
+ | **Title**: | ||
+ | |||
+ | **Url**: | ||
+ | |||
+ | -- | ||
+ | |||
+ | |||
+ | **Document Name** : LegalMDSA | ||
+ | |||
+ | **Title**: | ||
+ | |||
+ | **Url**: | ||
+ | |||
+ | -- | ||
+ | |||
+ | **Document Name** : LegalUSA | ||
+ | |||
+ | **Title**: | ||
+ | |||
+ | **Url**: | ||
+ | |||
+ | -- | ||
+ | |||
+ | **Document Name** : legalNPSCF | ||
+ | |||
+ | **Title**: | ||
+ | |||
+ | **Url**: | ||
+ | |||
+ | **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 ** | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | ] | ||
+ | } | ||
+ | } | ||
+ | |||
+ | ** Bearer Authentication Token ** | ||
+ | |||
+ | {{: | ||
+ | |||
+ | ** Body: ** | ||
+ | |||
+ | {{: | ||
+ | |||