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:40] – daniel | api:simusercreation [2025/11/12 19:20] (current) – [API Usage] frank | ||
|---|---|---|---|
| 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 78: | Line 86: | ||
| * **Address**: | * **Address**: | ||
| * **Street**: Required | * **Street**: Required | ||
| - | * **City**: | + | * **City**: |
| - | * **County**: | + | * **County**: |
| * **State**: Required, 2 Characters long, use ISO codes ([[https:// | * **State**: Required, 2 Characters long, use ISO codes ([[https:// | ||
| * **Country**: | * **Country**: | ||
| Line 133: | Line 141: | ||
| **This document is necessary only for non-professional users** | **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: ** | ||
| + | |||
| + | {{: | ||