DSR WEB SERVICE API
 

This document highlights the workflow of the web service, data returned by the web service and the calls to be made to retrieve the new Samsung 5.0 data. The web service returns data in JSON format.


HTTP Status Codes and Headers

HTTP Status Status Message Description
200 OK The request is processed and returned successfully
204 No Content No matched content was found.
400 BAD_REQUEST bad_request - problem with the request, such as missing, invalid or type mismatched parameter.
invalid_parameter - Invalid Parameter
401 UNAUTHORIZED unauthorized - The request did not have valid authorization credentials.
auth_error - Invalid signature information
403 FORBIDDEN No grant to access requested data.
404 NOT_FOUND The requested URL is unknown or wrong, the requested resource doesn't exist.
405 METHOD_NOT_ALLOWED Not allowed http method ( Mostly only GET method allowed )
500 INTERNAL_SERVER_ERROR A generic error message will be given when no more specific message is suitable.
503 SERVICE_UNAVAILABLE The server is currently unable to handle the request due to a temporary overloading or maintenance of the server

HTTP Header Description Example
Content-Type Providing the request format will produce the correct barCode format. Either application/json or application/xhtml+xml
Accept Providing the list of acceptable barCode format will match the request format. text/html,application/xhtml+xml, application/xml, application/json
request-source Specify where the request is made. samsung.com or splus
samsungus-GUID GUID splus GUID

Back to Top


Authorization

Authorization Provides the function of specifying access rights to resources. Please input api_key above and click on "Authorize" to gain access to DSR API. Otherwise, response will be returned with 401 (Unauthorized).

Back to Top