POST api/User/PostUser/{site}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
site

globally unique identifier

Required

Body Parameters

User
NameDescriptionTypeAdditional 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": "246baffe-cab8-4a28-b9c7-6aeba9de6683",
  "SiteUUID": "3c5dcb4e-644e-437f-9efc-21d06ea3bc03",
  "Username": "sample string 3",
  "Name": "sample string 4",
  "EmailAddress": "sample string 5",
  "nfcTagUUID": "f3e19494-f0da-44fd-8d38-c573c664fdce",
  "nfcTagGenerateDate": "2025-12-11T16:02:43.0846001+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>3c5dcb4e-644e-437f-9efc-21d06ea3bc03</SiteUUID>
  <UserUUID>246baffe-cab8-4a28-b9c7-6aeba9de6683</UserUUID>
  <Username>sample string 3</Username>
  <nfcTagGenerateDate>2025-12-11T16:02:43.0846001+00:00</nfcTagGenerateDate>
  <nfcTagUUID>f3e19494-f0da-44fd-8d38-c573c664fdce</nfcTagUUID>
</User>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'User'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.