PUT Account/UserInfo
Request Information
URI Parameters
None.
Body Parameters
AdditionallyUserInfoDto| Name | Description | Type | Additional information |
|---|---|---|---|
| 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:
{
"AvatarUrl": "sample string 1",
"FirstName": "sample string 2",
"LastName": "sample string 3",
"MiddleName": "sample string 4",
"Company": "sample string 5",
"PersonTypeId": 6,
"WorkAddress": "sample string 7",
"Inn": "sample string 8",
"Kpp": "sample string 9",
"OGRNIP": "sample string 10",
"Rs": "sample string 11",
"Ks": "sample string 12",
"Bank": "sample string 13",
"Bik": "sample string 14",
"PhoneNumber": "sample string 15",
"CompanyLegalAddress": "sample string 16",
"Addresses": [
{
"AddressId": 1,
"Value": "sample string 2"
},
{
"AddressId": 1,
"Value": "sample string 2"
}
]
}
application/xml, text/xml
Sample:
<AdditionallyUserInfoDto 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 1</AvatarUrl>
<Bank>sample string 13</Bank>
<Bik>sample string 14</Bik>
<Company>sample string 5</Company>
<CompanyLegalAddress>sample string 16</CompanyLegalAddress>
<FirstName>sample string 2</FirstName>
<Inn>sample string 8</Inn>
<Kpp>sample string 9</Kpp>
<Ks>sample string 12</Ks>
<LastName>sample string 3</LastName>
<MiddleName>sample string 4</MiddleName>
<OGRNIP>sample string 10</OGRNIP>
<PersonTypeId>6</PersonTypeId>
<PhoneNumber>sample string 15</PhoneNumber>
<Rs>sample string 11</Rs>
<WorkAddress>sample string 7</WorkAddress>
</AdditionallyUserInfoDto>
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.