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 20:57] – daniel | api:simusercreation [2024/07/25 19:43] (current) – daniel | ||
---|---|---|---|
Line 38: | Line 38: | ||
====== API Usage ====== | ====== API Usage ====== | ||
+ | |||
+ | **Url**: https:// | ||
+ | |||
+ | **Method**: POST | ||
+ | |||
+ | **Body**: | ||
+ | |||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | ] | ||
+ | } | ||
+ | } | ||
+ | |||
+ | |||
+ | ===== Properties ===== | ||
+ | |||
+ | |||
+ | This are the valid values for each property: | ||
+ | * **UserName**: | ||
+ | * **Password**: | ||
+ | * **EmailAddress**: | ||
+ | * **FirsName**: | ||
+ | * **LastName**: | ||
+ | * **PhoneNumber**: | ||
+ | * **Address**: | ||
+ | * **Street**: Required | ||
+ | * **City**: Optional in the USA, will be taken from the zip code | ||
+ | * **County**: Optional in the USA, will be taken from the zip code | ||
+ | * **State**: Required, 2 Characters long, use ISO codes ([[https:// | ||
+ | * **Country**: | ||
+ | * **ZipPostCode** Required | ||
+ | * **ApplicationType**: | ||
+ | * **Signatures**: | ||
+ | * **CollectedBy**: | ||
+ | * **DocumentName**: | ||
+ | * **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: ** | ||
+ | |||
+ | {{: | ||
+ | |||
+ | |||
+ | |||
+ | |||