PUT api/User/{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": "5a18d5bf-b6b3-4253-a2e9-5a2deb953bc5",
  "SiteUUID": "0627ba66-3e0b-4761-8e53-4dc2b353e9f8",
  "Username": "sample string 3",
  "Name": "sample string 4",
  "EmailAddress": "sample string 5",
  "nfcTagUUID": "e16e7a12-e8cc-4dbd-8a67-f0d7fbb66044",
  "nfcTagGenerateDate": "2025-12-11T16:03:37.4494925+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>0627ba66-3e0b-4761-8e53-4dc2b353e9f8</SiteUUID>
  <UserUUID>5a18d5bf-b6b3-4253-a2e9-5a2deb953bc5</UserUUID>
  <Username>sample string 3</Username>
  <nfcTagGenerateDate>2025-12-11T16:03:37.4494925+00:00</nfcTagGenerateDate>
  <nfcTagUUID>e16e7a12-e8cc-4dbd-8a67-f0d7fbb66044</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

None.