Get Stocks
Returns an array of stock options.
GET /api/MessageBoard/GetStocks
Query Parameters
| Parameter | Required | Type | Description |
|---|---|---|---|
| key | yes | string |
API key provided by Grandville Printing Company |
Reponse Body
interface {
success: boolean,
error: string,
data: string[]
}
Example
Request
curl 'https://{origin}/api/MessageBoard/GetStocks?key={secret}'
Response
{
"success": true,
"error": "",
"data": [
"Stock 55",
"Stock 44",
"Stock 40"
]
}