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