ApexERPHost

<back to all web services

GetSpecProductById

Requires Authentication
The following routes are available for this service:
GET/RS/Spec/SpecProducts/{ProductID}
GetSpecProductById Parameters:
NameParameterData TypeRequiredDescription
ProductIDpathintNo
PSeriesquerystringNo
GetSpecProductsResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
SpecProductsformList<SpecProduct>No
SpecProduct Parameters:
NameParameterData TypeRequiredDescription
IDformintNo
GOODS_NAMEformstringNo
SSN_CODEformstringNo
SSF_CODEformstringNo
UNIT_TYPEformstringNo
EXCISE_RATEformdecimalNo
DISPLAY_NAMEformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /RS/Spec/SpecProducts/{ProductID} HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"SpecProducts":[{"ID":0,"GOODS_NAME":"String","SSN_CODE":"String","SSF_CODE":"String","UNIT_TYPE":"String","EXCISE_RATE":0,"DISPLAY_NAME":"String"}]}