POST api/ManageCoin?mode={mode}&key={key}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| mode | string |
Required |
|
| key | string |
Default value is |
Body Parameters
coinData| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| CoinName | string |
None. |
|
| Code | string |
None. |
|
| MarketCap | integer |
None. |
|
| Price | decimal number |
None. |
|
| Note | string |
None. |
|
| CoinURL | string |
None. |
|
| RateAPIURL | string |
None. |
|
| CoinPicURL | string |
None. |
|
| DisplayOrder | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"CoinName": "sample string 2",
"Code": "sample string 3",
"MarketCap": 4,
"Price": 5.0,
"Note": "sample string 6",
"CoinURL": "sample string 7",
"RateAPIURL": "sample string 8",
"CoinPicURL": "sample string 9",
"DisplayOrder": 10
}
application/xml, text/xml
Sample:
<coinData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApp.Models"> <Code>sample string 3</Code> <CoinName>sample string 2</CoinName> <CoinPicURL>sample string 9</CoinPicURL> <CoinURL>sample string 7</CoinURL> <DisplayOrder>10</DisplayOrder> <Id>1</Id> <MarketCap>4</MarketCap> <Note>sample string 6</Note> <Price>5</Price> <RateAPIURL>sample string 8</RateAPIURL> </coinData>
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.