Whenever an Oracle Commerce Platform REST Web service is called, an HTTP status code is sent to indicate the result of each request. The HTTP status codes that are used with Oracle Commerce Platform REST Web Services are:

Code

Description

200 (OK)

The request was processed successfully. This does not mean that it had the result you intended. See information about how to determine success or failure in the instructions for specific operations.

201 (Created)

Returned only for POST requests that create repository items. The request was successful and the repository item was created.

400 (Bad Request)

The request could not be completed because the request URL and/or parameters were improperly formatted.

401 (Unauthorized)

The user session does not have the proper security credentials to execute the method, property, or access the repository for the requested resource.

403 (Forbidden)

The specified property has been configured as not writeable via the filtering configuration.

404 (Not Found)

The request could not be completed because it was made for a resource that does not exist.

410 (Gone)

Returned only for DELETE requests that remove repository items. The request was successful and the repository item was deleted.

500 (Internal Server Error)

The request could not be completed because an unexpected exception occurred.

For additional information on these and other HTTP status codes, refer to the W3 definitions, available at http://www.w3.org.


Copyright © 1997, 2015 Oracle and/or its affiliates. All rights reserved. Legal Notices