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:32] – 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: | ||
Line 88: | Line 95: | ||
* **DocumentName**: | * **DocumentName**: | ||
* **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**: | ||
+ | |||
+ | **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: ** | ||
+ | |||
+ | {{: | ||
+ | |||
+ | |||