POST UserAccount/RegistrationBasedOnShop
Request Information
URI Parameters
None.
Body Parameters
UserAccount| Name | Description | Type | Additional information |
|---|---|---|---|
| FirstName | string |
Required Matching regular expression pattern: [-a-zA-Z' ']* String length: inclusive between 0 and 20 |
|
| LastName | string |
Matching regular expression pattern: [-a-zA-Z' ']* String length: inclusive between 0 and 20 |
|
| UserName | string |
Required Matching regular expression pattern: \w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)* |
|
| Password | string |
Required |
|
| PhoneNumber | string |
None. |
|
| ShopName | string |
Required |
|
| Currency | string |
None. |
|
| IsWhatsappNumber | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"FirstName": "sample string 1",
"LastName": "sample string 2",
"UserName": "sample string 3",
"Password": "sample string 4",
"PhoneNumber": "sample string 5",
"ShopName": "sample string 6",
"Currency": "sample string 7",
"IsWhatsappNumber": true
}
application/xml, text/xml
Sample:
<UserAccount xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AstroVed.Api.DAL.Account"> <Currency>sample string 7</Currency> <FirstName>sample string 1</FirstName> <IsWhatsappNumber>true</IsWhatsappNumber> <LastName>sample string 2</LastName> <Password>sample string 4</Password> <PhoneNumber>sample string 5</PhoneNumber> <ShopName>sample string 6</ShopName> <UserName>sample string 3</UserName> </UserAccount>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.