GET api/GoldPrice
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
GoldPrice9999Struct| Name | Description | Type | Additional information |
|---|---|---|---|
| Time | string |
None. |
|
| Date | string |
None. |
|
| StrDate | string |
None. |
|
| Buy | string |
None. |
|
| Sell | string |
None. |
|
| TimeUpdate | date |
None. |
Response Formats
application/json, text/json
Sample:
{
"Buy": "sample string 1",
"Sell": "sample string 2",
"TimeUpdate": "2026-04-05T17:48:36.7074753+07:00",
"Time": "sample string 1",
"Date": "sample string 2",
"StrDate": "5 เมษายน 2026"
}
application/xml, text/xml
Sample:
<GoldPrice9999Struct xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPIGoldPrice9999.Controllers"> <Buy>sample string 1</Buy> <Date>sample string 2</Date> <Sell>sample string 2</Sell> <Time>sample string 1</Time> <TimeUpdate>2026-04-05T17:48:36.7074753+07:00</TimeUpdate> </GoldPrice9999Struct>