POST api/ESB/PortfolioDelete
Delete portfolio from system.
Request Information
URI Parameters
None.
Body Parameters
PortfolioAction| Name | Description | Type | Additional information |
|---|---|---|---|
| TransactionId | string |
None. |
|
| Reason | string |
Max length: 200 |
|
| SendNotification | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"TransactionId": "sample string 1",
"Reason": "sample string 2",
"SendNotification": true
}
application/xml, text/xml
Sample:
<PortfolioAction xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MercantileEventHandler.ViewModels.ESB"> <Reason>sample string 2</Reason> <SendNotification>true</SendNotification> <TransactionId>sample string 1</TransactionId> </PortfolioAction>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ServiceResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Message | string |
None. |
|
| TransactionId | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Message": "sample string 2",
"TransactionId": "sample string 3"
}
application/xml, text/xml
Sample:
<ServiceResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MercantileEventHandler.ViewModels"> <Message>sample string 2</Message> <Success>true</Success> <TransactionId>sample string 3</TransactionId> </ServiceResponse>