GET api/GoldPrice

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

GoldPrice9999Struct
NameDescriptionTypeAdditional 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": "2025-06-17T15:43:47.5365298+07:00",
  "Time": "sample string 1",
  "Date": "sample string 2",
  "StrDate": "17 มิถุนายน 2025"
}

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>2025-06-17T15:43:47.5365298+07:00</TimeUpdate>
</GoldPrice9999Struct>