POST api/SiteHome/UserRegistration
Request Information
URI Parameters
None.
Body Parameters
UserVMName | Description | Type | Additional information |
---|---|---|---|
UserID | integer |
None. |
|
Username | string |
None. |
|
Firstname | string |
Required |
|
Lastname | string |
Required |
|
Mothername | string |
None. |
|
IDNumber | string |
None. |
|
ResidenceCardNo | string |
None. |
|
NationalityID | integer |
Required |
|
DateofBirth | date |
Required Data type: Date |
|
JobTitle | string |
None. |
|
SourceofFund | integer |
None. |
|
Address | string |
Data type: MultilineText |
|
CountryCode | string |
None. |
|
MobileNumber | string |
Required Matching regular expression pattern: ^([0-9]{10})$ |
|
string |
Required Data type: EmailAddress |
||
Gender | string |
None. |
|
Minor | string |
None. |
|
MartialStatus | integer |
None. |
|
MonthlyIncomeRange | integer |
None. |
|
ApproxMonthlyTradingVolume | decimal number |
None. |
|
ApproxAnnualTradingVolume | decimal number |
None. |
|
BanksyouDeal | string |
None. |
|
InvestmentExperience | integer |
None. |
|
RiskType | integer |
None. |
|
PreviousorPresentRelationship | string |
None. |
|
PoliticalActivity | string |
None. |
|
TradingAccountNumber | string |
Max length: 10 Min length: 8 |
|
Status | integer |
None. |
|
Comments | string |
Data type: MultilineText |
|
Banks | Collection of integer |
None. |
|
NationalIDFrontImage | HttpPostedFileBase |
None. |
|
NationalIDBackImage | HttpPostedFileBase |
None. |
|
SignatureDocumentPathImage | HttpPostedFileBase |
None. |
|
NationalIDCardFrontImage | string |
None. |
|
NationalIDCardBackImage | string |
None. |
|
SignatureImage | string |
None. |
|
ProfileImage | string |
None. |
|
NationalIDFrontFileName | string |
None. |
|
NationalIDBackFileName | string |
None. |
|
SignatureFileName | string |
None. |
|
ProfileImageFileName | string |
None. |
|
IsNfc | boolean |
None. |
|
IsMobile | boolean |
None. |
|
IsNotificationEnabled | boolean |
None. |
|
StatusEnabled | boolean |
None. |
|
AvailableAmount | decimal number |
None. |
|
IsActive | boolean |
None. |
|
IsUserRegistered | boolean |
None. |
|
BuyingAmount | decimal number |
None. |
|
OTP | integer |
None. |
|
OTPExpiryDate | date |
None. |
|
FirebaseClientID | string |
None. |
|
MPIN | integer |
None. |
|
LoginAttempts | integer |
None. |
|
IsOpenAccount | boolean |
None. |
|
City | string |
None. |
|
Password | string |
None. |
|
ConfirmPassword | string |
None. |
|
WebPassword | string |
Matching regular expression pattern: ^(?=.*[!@#$%^&*()_+,\-./:;<=>?@[\\\]^_`{|}~])(?=.*[A-Z])(?=.*[a-z])(?=.*\d).{8,}$ |
|
Language | string |
None. |
|
Passcode | string |
None. |
|
UserType | string |
None. |
|
UserTypeValue | integer |
None. |
|
Research_Report | boolean |
None. |
|
CreatedDate | date |
None. |
|
IsDailyReport | boolean |
None. |
|
IsWeeklyReport | boolean |
None. |
|
IsMonthlyReport | boolean |
None. |
|
IsCompanyReport | boolean |
None. |
|
IsProfitsReport | boolean |
None. |
|
IsDividendReport | boolean |
None. |
|
NameInArabic | string |
None. |
|
IsNonAppUser | boolean |
None. |
|
CountryString | string |
None. |
|
RSCommission | decimal number |
None. |
Request Formats
application/json, text/json
{ "UserID": 1, "Username": "sample string 1", "Firstname": "sample string 2", "Lastname": "sample string 3", "Mothername": "sample string 4", "IDNumber": "sample string 5", "ResidenceCardNo": "sample string 6", "NationalityID": 1, "DateofBirth": "2024-11-15T16:12:30.6873022+00:00", "JobTitle": "sample string 7", "SourceofFund": 1, "Address": "sample string 8", "CountryCode": "sample string 9", "MobileNumber": "sample string 10", "Email": "sample string 11", "Gender": "sample string 12", "Minor": "sample string 13", "MartialStatus": 1, "MonthlyIncomeRange": 1, "ApproxMonthlyTradingVolume": 1.0, "ApproxAnnualTradingVolume": 1.0, "BanksyouDeal": "sample string 14", "InvestmentExperience": 1, "RiskType": 1, "PreviousorPresentRelationship": "sample string 15", "PoliticalActivity": "sample string 16", "TradingAccountNumber": "sample string 17", "Status": 18, "Comments": "sample string 19", "Banks": [ 1, 2 ], "NationalIDFrontImage": null, "NationalIDBackImage": null, "SignatureDocumentPathImage": null, "NationalIDCardFrontImage": "sample string 20", "NationalIDCardBackImage": "sample string 21", "SignatureImage": "sample string 22", "ProfileImage": "sample string 23", "NationalIDFrontFileName": "sample string 24", "NationalIDBackFileName": "sample string 25", "SignatureFileName": "sample string 26", "ProfileImageFileName": "sample string 27", "IsNfc": true, "IsMobile": true, "IsNotificationEnabled": true, "StatusEnabled": true, "AvailableAmount": 1.0, "IsActive": true, "IsUserRegistered": true, "BuyingAmount": 1.0, "OTP": 1, "OTPExpiryDate": "2024-11-15T16:12:30.6873022+00:00", "FirebaseClientID": "sample string 30", "MPIN": 1, "LoginAttempts": 1, "IsOpenAccount": true, "City": "sample string 31", "Password": "sample string 32", "ConfirmPassword": "sample string 33", "WebPassword": "sample string 34", "Language": "sample string 35", "Passcode": "sample string 36", "UserType": "sample string 37", "UserTypeValue": 38, "Research_Report": true, "CreatedDate": "2024-11-15T16:12:30.6873022+00:00", "IsDailyReport": true, "IsWeeklyReport": true, "IsMonthlyReport": true, "IsCompanyReport": true, "IsProfitsReport": true, "IsDividendReport": true, "NameInArabic": "sample string 40", "IsNonAppUser": true, "CountryString": "sample string 41", "RSCommission": 1.0 }
application/xml, text/xml
<UserVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StockTrading.Entities.Models.Demo"> <Address>sample string 8</Address> <ApproxAnnualTradingVolume>1</ApproxAnnualTradingVolume> <ApproxMonthlyTradingVolume>1</ApproxMonthlyTradingVolume> <AvailableAmount>1</AvailableAmount> <Banks xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </Banks> <BanksyouDeal>sample string 14</BanksyouDeal> <BuyingAmount>1</BuyingAmount> <City>sample string 31</City> <Comments>sample string 19</Comments> <ConfirmPassword>sample string 33</ConfirmPassword> <CountryCode>sample string 9</CountryCode> <CountryString>sample string 41</CountryString> <CreatedDate>2024-11-15T16:12:30.6873022+00:00</CreatedDate> <DateofBirth>2024-11-15T16:12:30.6873022+00:00</DateofBirth> <Email>sample string 11</Email> <FirebaseClientID>sample string 30</FirebaseClientID> <Firstname>sample string 2</Firstname> <Gender>sample string 12</Gender> <IDNumber>sample string 5</IDNumber> <InvestmentExperience>1</InvestmentExperience> <IsActive>true</IsActive> <IsCompanyReport>true</IsCompanyReport> <IsDailyReport>true</IsDailyReport> <IsDividendReport>true</IsDividendReport> <IsMobile>true</IsMobile> <IsMonthlyReport>true</IsMonthlyReport> <IsNfc>true</IsNfc> <IsNonAppUser>true</IsNonAppUser> <IsNotificationEnabled>true</IsNotificationEnabled> <IsOpenAccount>true</IsOpenAccount> <IsProfitsReport>true</IsProfitsReport> <IsUserRegistered>true</IsUserRegistered> <IsWeeklyReport>true</IsWeeklyReport> <JobTitle>sample string 7</JobTitle> <Language>sample string 35</Language> <Lastname>sample string 3</Lastname> <LoginAttempts>1</LoginAttempts> <MPIN>1</MPIN> <MartialStatus>1</MartialStatus> <Minor>sample string 13</Minor> <MobileNumber>sample string 10</MobileNumber> <MonthlyIncomeRange>1</MonthlyIncomeRange> <Mothername>sample string 4</Mothername> <NameInArabic>sample string 40</NameInArabic> <NationalIDBackFileName>sample string 25</NationalIDBackFileName> <NationalIDBackImage xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Web" i:nil="true" /> <NationalIDCardBackImage>sample string 21</NationalIDCardBackImage> <NationalIDCardFrontImage>sample string 20</NationalIDCardFrontImage> <NationalIDFrontFileName>sample string 24</NationalIDFrontFileName> <NationalIDFrontImage xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Web" i:nil="true" /> <NationalityID>1</NationalityID> <OTP>1</OTP> <OTPExpiryDate>2024-11-15T16:12:30.6873022+00:00</OTPExpiryDate> <Passcode>sample string 36</Passcode> <Password>sample string 32</Password> <PoliticalActivity>sample string 16</PoliticalActivity> <PreviousorPresentRelationship>sample string 15</PreviousorPresentRelationship> <ProfileImage>sample string 23</ProfileImage> <ProfileImageFileName>sample string 27</ProfileImageFileName> <RSCommission>1</RSCommission> <Research_Report>true</Research_Report> <ResidenceCardNo>sample string 6</ResidenceCardNo> <RiskType>1</RiskType> <SignatureDocumentPathImage xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Web" i:nil="true" /> <SignatureFileName>sample string 26</SignatureFileName> <SignatureImage>sample string 22</SignatureImage> <SourceofFund>1</SourceofFund> <Status>18</Status> <StatusEnabled>true</StatusEnabled> <TradingAccountNumber>sample string 17</TradingAccountNumber> <UserID>1</UserID> <UserType>sample string 37</UserType> <UserTypeValue>38</UserTypeValue> <Username>sample string 1</Username> <WebPassword>sample string 34</WebPassword> </UserVM>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |