To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
HTTP + JSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/WPMGetAuctionsRequest HTTP/1.1
Host: cdnapidev.greysheet.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
PickNum: String,
TP_Country_Num: 0,
CountryName: String,
SubValues:
[
String
],
GradeFrom: 0,
GradeTo: 0,
DisplayRegularNotesOnly: False,
Exclude99: False,
ExcludeEbay: False,
GradedBy: String,
Source: String,
SortBy: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Auctions:
[
{
PickNum: String,
Grade: 0,
Price: 0,
Date: 0001-01-01,
GradedBy: String,
PQ: String,
Repl: String,
Source: String,
Comments: String,
Pack: String,
Sheet: String,
LotNum: String
}
]
}