POST api/v1/account/registerweb
Request Information
URI Parameters
None.
Body Parameters
RegisterRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| FirstName | string |
Required |
|
| LastName | string |
Required |
|
| string |
Required |
||
| PhoneNumber | string |
Required Data type: PhoneNumber Matching regular expression pattern: ^\(?([0-9]{3})\)?[-. ]?([0-9]{3})[-. ]?([0-9]{4})$ |
|
| DialCode | string |
None. |
|
| ReferenceId | integer |
Required |
|
| GenderId | integer |
Required |
|
| LanguageId | integer |
Required |
|
| Password | string |
Required Data type: Password String length: inclusive between 6 and 100 |
|
| ConfirmPassword | string |
Data type: Password |
|
| DateOfBirth | date |
None. |
|
| CompanyId | integer |
None. |
|
| StateId | integer |
None. |
|
| Marketing | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"FirstName": "sample string 2",
"LastName": "sample string 3",
"Email": "sample string 4",
"PhoneNumber": "sample string 5",
"DialCode": "sample string 6",
"ReferenceId": 7,
"GenderId": 8,
"LanguageId": 9,
"Password": "sample string 10",
"ConfirmPassword": "sample string 11",
"DateOfBirth": "2026-03-17T21:42:28.7673082-04:00",
"CompanyId": 12,
"StateId": 1,
"Marketing": true
}
application/xml, text/xml
Sample:
<RegisterRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MWS.Customers.Api.Models"> <CompanyId>12</CompanyId> <ConfirmPassword>sample string 11</ConfirmPassword> <DateOfBirth>2026-03-17T21:42:28.7673082-04:00</DateOfBirth> <DialCode>sample string 6</DialCode> <Email>sample string 4</Email> <FirstName>sample string 2</FirstName> <GenderId>8</GenderId> <Id>1</Id> <LanguageId>9</LanguageId> <LastName>sample string 3</LastName> <Marketing>true</Marketing> <Password>sample string 10</Password> <PhoneNumber>sample string 5</PhoneNumber> <ReferenceId>7</ReferenceId> <StateId>1</StateId> </RegisterRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseModelOfCustomer| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Message | string |
None. |
|
| Data | Customer |
None. |
|
| Pagination | Pagination |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.