POST api/Investor/SaveInvestor
Request Information
URI Parameters
None.
Body Parameters
InvestorModel| Name | Description | Type | Additional information |
|---|---|---|---|
| UserID | integer |
None. |
|
| InvestorID | integer |
None. |
|
| CompanyID | integer |
None. |
|
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| GenderID | integer |
None. |
|
| Percentage | decimal number |
None. |
|
| MobileNumber | string |
None. |
|
| string |
None. |
||
| CountryID | integer |
None. |
|
| StateID | integer |
None. |
|
| City | string |
None. |
|
| IsActive | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserID": 1,
"InvestorID": 2,
"CompanyID": 3,
"FirstName": "sample string 4",
"LastName": "sample string 5",
"GenderID": 1,
"Percentage": 1.0,
"MobileNumber": "sample string 6",
"Email": "sample string 7",
"CountryID": 1,
"StateID": 1,
"City": "sample string 8",
"IsActive": 1
}
application/xml, text/xml
Sample:
<InvestorModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MfgProj.BusinessObject"> <City>sample string 8</City> <CompanyID>3</CompanyID> <CountryID>1</CountryID> <Email>sample string 7</Email> <FirstName>sample string 4</FirstName> <GenderID>1</GenderID> <InvestorID>2</InvestorID> <IsActive>1</IsActive> <LastName>sample string 5</LastName> <MobileNumber>sample string 6</MobileNumber> <Percentage>1</Percentage> <StateID>1</StateID> <UserID>1</UserID> </InvestorModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | 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. |