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 [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 133: | Line 140: | ||
**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: ** | ||
+ | |||
+ | {{: | ||