POST api/v2/AddUser
Complete URL https://api.thyngs.net/api/v2/AddUser
Request Information
URI Parameters
None.
Body Parameters
UserDetailsAPIModel| Name | Description | Type | Additional information |
|---|---|---|---|
| thyngCode | string |
None. |
|
| name | string |
None. |
|
| string |
None. |
||
| mailOptIn | boolean |
None. |
|
| emailVerified | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"thyngCode": "sample string 1",
"name": "sample string 2",
"email": "sample string 3",
"mailOptIn": true,
"emailVerified": true
}
application/xml, text/xml
Sample:
<AddUserController.UserDetailsAPIModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PublicAPI.Controllers.v1"> <email>sample string 3</email> <emailVerified>true</emailVerified> <mailOptIn>true</mailOptIn> <name>sample string 2</name> <thyngCode>sample string 1</thyngCode> </AddUserController.UserDetailsAPIModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of ObjectNone.
Response Formats
application/json, text/json
Sample:
Sample not available.