PUT User
Request Information
URI Parameters
None.
Body Parameters
AdminAdditionallyUserInfoDtoName | Description | Type | Additional information |
---|---|---|---|
UserId | string |
Required |
|
AvatarUrl | string |
None. |
|
FirstName | string |
Required |
|
LastName | string |
Required |
|
MiddleName | string |
None. |
|
Company | string |
Required |
|
PersonTypeId | integer |
Required |
|
WorkAddress | string |
Required |
|
Inn | string |
Required |
|
Kpp | string |
None. |
|
OGRNIP | string |
None. |
|
Rs | string |
Required |
|
Ks | string |
Required |
|
Bank | string |
Required |
|
Bik | string |
Required |
|
PhoneNumber | string |
Required |
|
CompanyLegalAddress | string |
Required String length: inclusive between 0 and 4000 |
|
Addresses | Collection of AddressDto |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserId": "sample string 1", "AvatarUrl": "sample string 2", "FirstName": "sample string 3", "LastName": "sample string 4", "MiddleName": "sample string 5", "Company": "sample string 6", "PersonTypeId": 7, "WorkAddress": "sample string 8", "Inn": "sample string 9", "Kpp": "sample string 10", "OGRNIP": "sample string 11", "Rs": "sample string 12", "Ks": "sample string 13", "Bank": "sample string 14", "Bik": "sample string 15", "PhoneNumber": "sample string 16", "CompanyLegalAddress": "sample string 17", "Addresses": [ { "AddressId": 1, "Value": "sample string 2" }, { "AddressId": 1, "Value": "sample string 2" } ] }
application/xml, text/xml
Sample:
<AdminAdditionallyUserInfoDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PackageSite.Models.Dto"> <Addresses> <AddressDto> <AddressId>1</AddressId> <Value>sample string 2</Value> </AddressDto> <AddressDto> <AddressId>1</AddressId> <Value>sample string 2</Value> </AddressDto> </Addresses> <AvatarUrl>sample string 2</AvatarUrl> <Bank>sample string 14</Bank> <Bik>sample string 15</Bik> <Company>sample string 6</Company> <CompanyLegalAddress>sample string 17</CompanyLegalAddress> <FirstName>sample string 3</FirstName> <Inn>sample string 9</Inn> <Kpp>sample string 10</Kpp> <Ks>sample string 13</Ks> <LastName>sample string 4</LastName> <MiddleName>sample string 5</MiddleName> <OGRNIP>sample string 11</OGRNIP> <PersonTypeId>7</PersonTypeId> <PhoneNumber>sample string 16</PhoneNumber> <Rs>sample string 12</Rs> <WorkAddress>sample string 8</WorkAddress> <UserId>sample string 1</UserId> </AdminAdditionallyUserInfoDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.