| GET | /v1/SalesPackage |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| SalesPackage | query | List<SalesPackage> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ID | form | int | No | |
| PackageName | form | string | No | |
| HashingPower | form | string | No | |
| ControllerType | form | int | No | |
| ControllerQuantity | form | int | No | |
| MinerType | form | int | No | |
| MinerQuantity | form | int | No | |
| Price | form | decimal | No | |
| Description | form | string | No | |
| ImageURL | form | string | No | |
| SpecialSaleText | form | string | No | |
| ShipPrice | form | decimal | No | |
| DiscountPrice | form | decimal | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| SalesPackage | form | List<SalesPackage> | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1/SalesPackage HTTP/1.1 Host: api.dev.dynamics.trendsic.com Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"SalesPackage":[{"ID":0,"PackageName":"String","HashingPower":"String","ControllerType":0,"ControllerQuantity":0,"MinerType":0,"MinerQuantity":0,"Price":0,"Description":"String","ImageURL":"String","SpecialSaleText":"String","ShipPrice":0,"DiscountPrice":0}]}