POST api/User/Update
Request Information
URI Parameters
None.
Body Parameters
UpdateUserParmName | Description | Type | Additional information |
---|---|---|---|
auth | string |
None. |
|
UserID | integer |
None. |
|
LogonName | string |
None. |
|
NewPassword | string |
None. |
|
FirstName | string |
None. |
|
LastName | string |
None. |
|
EmailAddress | string |
None. |
|
OfficeNumber | string |
None. |
|
FaxNumber | string |
None. |
|
MobileNumber | string |
None. |
|
ConfirmedOn | date |
None. |
|
ActiveOn | date |
None. |
|
InactiveOn | date |
None. |
|
PasswordChange | boolean |
None. |
|
OfficeID | integer |
None. |
|
TimezoneID | string |
None. |
|
CountryID | string |
None. |
|
CurrencyID | string |
None. |
|
WeightUOM | string |
None. |
|
SizeUOM | string |
None. |
|
TemperatureUOM | string |
None. |
|
DistanceUOM | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "auth": "sample string 1", "UserID": 2, "LogonName": "sample string 3", "NewPassword": "sample string 4", "FirstName": "sample string 5", "LastName": "sample string 6", "EmailAddress": "sample string 7", "OfficeNumber": "sample string 8", "FaxNumber": "sample string 9", "MobileNumber": "sample string 10", "ConfirmedOn": "2025-04-03T10:02:06.3213604+00:00", "ActiveOn": "2025-04-03T10:02:06.3213604+00:00", "InactiveOn": "2025-04-03T10:02:06.3213604+00:00", "PasswordChange": true, "OfficeID": 1, "TimezoneID": "sample string 12", "CountryID": "sample string 13", "CurrencyID": "sample string 14", "WeightUOM": "sample string 15", "SizeUOM": "sample string 16", "TemperatureUOM": "sample string 17", "DistanceUOM": "sample string 18" }
application/xml, text/xml
Sample:
<UpdateUserParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParcelLogic.WebApi.Transportation.Models"> <ActiveOn>2025-04-03T10:02:06.3213604+00:00</ActiveOn> <ConfirmedOn>2025-04-03T10:02:06.3213604+00:00</ConfirmedOn> <CountryID>sample string 13</CountryID> <CurrencyID>sample string 14</CurrencyID> <DistanceUOM>sample string 18</DistanceUOM> <EmailAddress>sample string 7</EmailAddress> <FaxNumber>sample string 9</FaxNumber> <FirstName>sample string 5</FirstName> <InactiveOn>2025-04-03T10:02:06.3213604+00:00</InactiveOn> <LastName>sample string 6</LastName> <LogonName>sample string 3</LogonName> <MobileNumber>sample string 10</MobileNumber> <NewPassword>sample string 4</NewPassword> <OfficeID>1</OfficeID> <OfficeNumber>sample string 8</OfficeNumber> <PasswordChange>true</PasswordChange> <SizeUOM>sample string 16</SizeUOM> <TemperatureUOM>sample string 17</TemperatureUOM> <TimezoneID>sample string 12</TimezoneID> <UserID>2</UserID> <WeightUOM>sample string 15</WeightUOM> <auth>sample string 1</auth> </UpdateUserParm>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseBaseName | Description | Type | Additional information |
---|---|---|---|
IsSuccessful | boolean |
None. |
|
ErrorMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "IsSuccessful": true, "ErrorMessage": "sample string 2" }
application/xml, text/xml
Sample:
<ResponseBase xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParcelLogic.WebApi.Transportation.Models"> <ErrorMessage>sample string 2</ErrorMessage> <IsSuccessful>true</IsSuccessful> </ResponseBase>