PUT User/{id}
Update an existing User.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Internal Id of the User to Update |
integer |
Required |
Body Parameters
A UserRestResult object
UserRestItem| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
Primary Key. |
integer |
None. |
| FirstName |
Name of the User. |
string |
None. |
| LastName | string |
None. |
|
| TimeZone | string |
None. |
|
| TimeZoneIana | string |
None. |
|
| Culture | string |
None. |
|
| WhiteLabel | string |
None. |
|
| MapProvider | integer |
None. |
|
| DistanceUnit | integer |
None. |
|
| ResellerId | integer |
None. |
|
| VolumeUnit | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"FirstName": "sample string 2",
"LastName": "sample string 3",
"TimeZone": "sample string 4",
"TimeZoneIana": "sample string 5",
"Culture": "sample string 6",
"WhiteLabel": "sample string 7",
"MapProvider": 8,
"DistanceUnit": 9,
"ResellerId": 10,
"VolumeUnit": 11
}
application/xml, text/xml
Sample:
<UserRestItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Api360.Models"> <Culture>sample string 6</Culture> <DistanceUnit>9</DistanceUnit> <FirstName>sample string 2</FirstName> <Id>1</Id> <LastName>sample string 3</LastName> <MapProvider>8</MapProvider> <ResellerId>10</ResellerId> <TimeZone>sample string 4</TimeZone> <TimeZoneIana>sample string 5</TimeZoneIana> <VolumeUnit>11</VolumeUnit> <WhiteLabel>sample string 7</WhiteLabel> </UserRestItem>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
UserRestResult| Name | Description | Type | Additional information |
|---|---|---|---|
| RestItems |
Collection of UserRestItem objects. |
Collection of UserRestItem |
None. |
Response Formats
application/json, text/json
Sample:
{
"RestItems": [
{
"Id": 1,
"FirstName": "sample string 2",
"LastName": "sample string 3",
"TimeZone": "sample string 4",
"TimeZoneIana": "sample string 5",
"Culture": "sample string 6",
"WhiteLabel": "sample string 7",
"MapProvider": 8,
"DistanceUnit": 9,
"ResellerId": 10,
"VolumeUnit": 11
},
{
"Id": 1,
"FirstName": "sample string 2",
"LastName": "sample string 3",
"TimeZone": "sample string 4",
"TimeZoneIana": "sample string 5",
"Culture": "sample string 6",
"WhiteLabel": "sample string 7",
"MapProvider": 8,
"DistanceUnit": 9,
"ResellerId": 10,
"VolumeUnit": 11
}
]
}
application/xml, text/xml
Sample:
<UserRestResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Api360.Models">
<RestItems>
<UserRestItem>
<Culture>sample string 6</Culture>
<DistanceUnit>9</DistanceUnit>
<FirstName>sample string 2</FirstName>
<Id>1</Id>
<LastName>sample string 3</LastName>
<MapProvider>8</MapProvider>
<ResellerId>10</ResellerId>
<TimeZone>sample string 4</TimeZone>
<TimeZoneIana>sample string 5</TimeZoneIana>
<VolumeUnit>11</VolumeUnit>
<WhiteLabel>sample string 7</WhiteLabel>
</UserRestItem>
<UserRestItem>
<Culture>sample string 6</Culture>
<DistanceUnit>9</DistanceUnit>
<FirstName>sample string 2</FirstName>
<Id>1</Id>
<LastName>sample string 3</LastName>
<MapProvider>8</MapProvider>
<ResellerId>10</ResellerId>
<TimeZone>sample string 4</TimeZone>
<TimeZoneIana>sample string 5</TimeZoneIana>
<VolumeUnit>11</VolumeUnit>
<WhiteLabel>sample string 7</WhiteLabel>
</UserRestItem>
</RestItems>
</UserRestResult>