GET | /RS/Spec/SpecProducts/{ProductID} |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ProductID | path | int | No | |
PSeries | query | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ResponseStatus | form | ResponseStatus | No | |
SpecProducts | form | List<SpecProduct> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ID | form | int | No | |
GOODS_NAME | form | string | No | |
SSN_CODE | form | string | No | |
SSF_CODE | form | string | No | |
UNIT_TYPE | form | string | No | |
EXCISE_RATE | form | decimal | No | |
DISPLAY_NAME | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
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: application/json
HTTP/1.1 200 OK Content-Type: application/json 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"}]}