POST api/ManagePortfolio?mode={mode}&key={key}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| mode | string |
Required |
|
| key | string |
Default value is |
Body Parameters
portfolio| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| Note | string |
None. |
|
| SourceNote | string |
None. |
|
| IsDeleted | integer |
None. |
|
| DisplayOrder | integer |
None. |
|
| IsStar | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Name": "sample string 2",
"Note": "sample string 3",
"SourceNote": "sample string 4",
"IsDeleted": 5,
"DisplayOrder": 6,
"IsStar": 7
}
application/xml, text/xml
Sample:
<portfolio xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApp.Models"> <DisplayOrder>6</DisplayOrder> <Id>1</Id> <IsDeleted>5</IsDeleted> <IsStar>7</IsStar> <Name>sample string 2</Name> <Note>sample string 3</Note> <SourceNote>sample string 4</SourceNote> </portfolio>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
DataTable| Name | Description | Type | Additional information |
|---|---|---|---|
| CaseSensitive | boolean |
None. |
|
| IsInitialized | boolean |
None. |
|
| RemotingFormat | SerializationFormat |
None. |
|
| ChildRelations | Collection of Object |
None. |
|
| Columns | Collection of Object |
None. |
|
| Constraints | Collection of Object |
None. |
|
| DataSet | DataSet |
None. |
|
| DefaultView | Collection of Object |
None. |
|
| DisplayExpression | string |
None. |
|
| ExtendedProperties | Dictionary of Object [key] and Object [value] |
None. |
|
| HasErrors | boolean |
None. |
|
| Locale | CultureInfo |
None. |
|
| MinimumCapacity | integer |
None. |
|
| ParentRelations | Collection of Object |
None. |
|
| PrimaryKey | Collection of DataColumn |
None. |
|
| Rows | Collection of Object |
None. |
|
| TableName | string |
None. |
|
| Namespace | string |
None. |
|
| Prefix | string |
None. |
|
| Site | ISite |
None. |
|
| Container | IContainer |
None. |
|
| DesignMode | boolean |
None. |
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.