POST api/User/{site}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| site | globally unique identifier |
Required |
Body Parameters
User| Name | Description | Type | Additional information |
|---|---|---|---|
| UserUUID | globally unique identifier |
None. |
|
| SiteUUID | globally unique identifier |
None. |
|
| Username | string |
None. |
|
| Name | string |
None. |
|
| EmailAddress | string |
None. |
|
| nfcTagUUID | globally unique identifier |
None. |
|
| nfcTagGenerateDate | date |
None. |
|
| HasPendingPlant | boolean |
None. |
|
| Enabled | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserUUID": "a0a305b6-8220-4ace-a664-77efb8833949",
"SiteUUID": "8c69c23c-42a4-4207-996b-06546198f3ec",
"Username": "sample string 3",
"Name": "sample string 4",
"EmailAddress": "sample string 5",
"nfcTagUUID": "0d9dcd7e-228d-46b1-8bde-72b53e76f81c",
"nfcTagGenerateDate": "2026-01-31T19:28:41.1354746+00:00",
"HasPendingPlant": true,
"Enabled": true
}
text/xml
Sample:
<User xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OnlineManagementSystemWebApi.Models"> <EmailAddress>sample string 5</EmailAddress> <Enabled>true</Enabled> <HasPendingPlant>true</HasPendingPlant> <Name>sample string 4</Name> <SiteUUID>8c69c23c-42a4-4207-996b-06546198f3ec</SiteUUID> <UserUUID>a0a305b6-8220-4ace-a664-77efb8833949</UserUUID> <Username>sample string 3</Username> <nfcTagGenerateDate>2026-01-31T19:28:41.1354746+00:00</nfcTagGenerateDate> <nfcTagUUID>0d9dcd7e-228d-46b1-8bde-72b53e76f81c</nfcTagUUID> </User>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |