POST api/CreateInvestment
Request Information
URI Parameters
None.
Body Parameters
CreateInvestmentRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| InvestmentID | string |
None. |
|
| CustomerNumber | string |
None. |
|
| AccountNumber | string |
None. |
|
| UnitPurchased | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"InvestmentID": "sample string 1",
"CustomerNumber": "sample string 2",
"AccountNumber": "sample string 3",
"UnitPurchased": 4.0
}
application/xml, text/xml
Sample:
<CreateInvestmentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SofriInvestAPI.Data.Model.DTO"> <AccountNumber>sample string 3</AccountNumber> <CustomerNumber>sample string 2</CustomerNumber> <InvestmentID>sample string 1</InvestmentID> <UnitPurchased>4</UnitPurchased> </CreateInvestmentRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.