POST api/User/PostUser/{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": "d7579a5d-994b-4d41-ba31-e33db3b67ccb",
"SiteUUID": "59b76b7c-643c-4609-ad17-8a942aa53cbe",
"Username": "sample string 3",
"Name": "sample string 4",
"EmailAddress": "sample string 5",
"nfcTagUUID": "ab91f8cc-2d2f-4743-a75a-580780f9669f",
"nfcTagGenerateDate": "2026-04-01T18:05:31.4405856+01: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>59b76b7c-643c-4609-ad17-8a942aa53cbe</SiteUUID> <UserUUID>d7579a5d-994b-4d41-ba31-e33db3b67ccb</UserUUID> <Username>sample string 3</Username> <nfcTagGenerateDate>2026-04-01T18:05:31.4405856+01:00</nfcTagGenerateDate> <nfcTagUUID>ab91f8cc-2d2f-4743-a75a-580780f9669f</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. |