PUT api/User/EditUser

Request Information

URI Parameters

None.

Body Parameters

UserModel
NameDescriptionTypeAdditional information
Id

integer

None.

Username

string

Required

Password

string

None.

Role

string

None.

Title

string

None.

FamilyName

string

None.

GivenName

string

None.

GivenName2

string

None.

Qualifications

string

None.

ProfessionalLevel

ProfessionalLevelModel

None.

CompanyName

string

None.

Building

string

None.

Address1

string

None.

Address2

string

None.

City

string

None.

State

StateResponse

None.

Postcode

string

None.

Country

CountryResponse

None.

DeviceId

string

None.

Email

string

None.

DateCreated

date

None.

DateModified

date

None.

ScopeAnaesthesia

boolean

None.

ScopeAnaesthesiaOrder

integer

Range: inclusive between 1 and 7

ScopeICU

boolean

None.

ScopeICUOrder

integer

Range: inclusive between 1 and 7

ScopePerfusion

boolean

None.

ScopePerfusionOrder

integer

Range: inclusive between 1 and 7

ScopeAcutePain

boolean

None.

ScopeAcutePainOrder

integer

Range: inclusive between 1 and 7

ScopeHyperbaric

boolean

None.

ScopeHyperbaricOrder

integer

Range: inclusive between 1 and 7

ScopeRetrieval

boolean

None.

ScopeRetrievalOrder

integer

Range: inclusive between 1 and 7

ScopeChronicPain

boolean

None.

ScopeChronicPainOrder

integer

Range: inclusive between 1 and 7

FormatSettings

UserFormatSettingsModel

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Username": "sample string 1",
  "Password": "sample string 2",
  "Role": "sample string 3",
  "Title": "sample string 4",
  "FamilyName": "sample string 5",
  "GivenName": "sample string 6",
  "GivenName2": "sample string 7",
  "Qualifications": "sample string 8",
  "ProfessionalLevel": {
    "Id": 1,
    "Name": "sample string 2"
  },
  "CompanyName": "sample string 9",
  "Building": "sample string 10",
  "Address1": "sample string 11",
  "Address2": "sample string 12",
  "City": "sample string 13",
  "State": {
    "Id": 1,
    "CountryCode": "sample string 1",
    "StateName": "sample string 2"
  },
  "Postcode": "sample string 14",
  "Country": {
    "Id": 1,
    "CountryCode": "sample string 1",
    "CountryName": "sample string 2"
  },
  "DeviceId": "sample string 15",
  "Email": "sample string 16",
  "DateCreated": "2019-10-13T18:20:25.1234381Z",
  "DateModified": "2019-10-13T18:20:25.1234381Z",
  "ScopeAnaesthesia": true,
  "ScopeAnaesthesiaOrder": 1,
  "ScopeICU": true,
  "ScopeICUOrder": 1,
  "ScopePerfusion": true,
  "ScopePerfusionOrder": 1,
  "ScopeAcutePain": true,
  "ScopeAcutePainOrder": 1,
  "ScopeHyperbaric": true,
  "ScopeHyperbaricOrder": 1,
  "ScopeRetrieval": true,
  "ScopeRetrievalOrder": 1,
  "ScopeChronicPain": true,
  "ScopeChronicPainOrder": 1,
  "FormatSettings": {
    "DateFormatId": 1,
    "UnitFormatId": 2,
    "TimeFormatId": 3
  }
}

application/xml, text/xml

Sample:
<UserModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Anaessist.Models">
  <Address1>sample string 11</Address1>
  <Address2>sample string 12</Address2>
  <Building>sample string 10</Building>
  <City>sample string 13</City>
  <CompanyName>sample string 9</CompanyName>
  <Country>
    <CountryCode>sample string 1</CountryCode>
    <CountryName>sample string 2</CountryName>
    <Id>1</Id>
  </Country>
  <DateCreated>2019-10-13T18:20:25.1234381Z</DateCreated>
  <DateModified>2019-10-13T18:20:25.1234381Z</DateModified>
  <DeviceId>sample string 15</DeviceId>
  <Email>sample string 16</Email>
  <FamilyName>sample string 5</FamilyName>
  <FormatSettings xmlns:d2p1="http://schemas.datacontract.org/2004/07/Anaessist.Models.ApplicationModel">
    <d2p1:DateFormatId>1</d2p1:DateFormatId>
    <d2p1:TimeFormatId>3</d2p1:TimeFormatId>
    <d2p1:UnitFormatId>2</d2p1:UnitFormatId>
  </FormatSettings>
  <GivenName>sample string 6</GivenName>
  <GivenName2>sample string 7</GivenName2>
  <Id>1</Id>
  <Password>sample string 2</Password>
  <Postcode>sample string 14</Postcode>
  <ProfessionalLevel xmlns:d2p1="http://schemas.datacontract.org/2004/07/Anaessist.Models.ApplicationModel">
    <d2p1:Id>1</d2p1:Id>
    <d2p1:Name>sample string 2</d2p1:Name>
  </ProfessionalLevel>
  <Qualifications>sample string 8</Qualifications>
  <Role>sample string 3</Role>
  <ScopeAcutePain>true</ScopeAcutePain>
  <ScopeAcutePainOrder>1</ScopeAcutePainOrder>
  <ScopeAnaesthesia>true</ScopeAnaesthesia>
  <ScopeAnaesthesiaOrder>1</ScopeAnaesthesiaOrder>
  <ScopeChronicPain>true</ScopeChronicPain>
  <ScopeChronicPainOrder>1</ScopeChronicPainOrder>
  <ScopeHyperbaric>true</ScopeHyperbaric>
  <ScopeHyperbaricOrder>1</ScopeHyperbaricOrder>
  <ScopeICU>true</ScopeICU>
  <ScopeICUOrder>1</ScopeICUOrder>
  <ScopePerfusion>true</ScopePerfusion>
  <ScopePerfusionOrder>1</ScopePerfusionOrder>
  <ScopeRetrieval>true</ScopeRetrieval>
  <ScopeRetrievalOrder>1</ScopeRetrievalOrder>
  <State>
    <CountryCode>sample string 1</CountryCode>
    <Id>1</Id>
    <StateName>sample string 2</StateName>
  </State>
  <Title>sample string 4</Title>
  <Username>sample string 1</Username>
</UserModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

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.