Return Codes

Oracle FS System RESTful API requests return HTTP status codes to indicate either successful completion of the request, or problems incurred when fulfilling the request.

The following table lists the supported codes.
Table 1 Return codes
Code Definition POST PUT GET DELETE

200

OK

Standard response for successful HTTP requests

Not applicable for creating new resources

Supported for other commands

Supported

A resource has been modified

Supported

A resource has been returned

Supported

A resource has been deleted

201

Created

The request has been fulfilled and resulted in a new resource being created

Supported

A new resource has been created

Not applicable

Not applicable

Not applicable

400

Bad Request

The request cannot be fulfilled due to bad syntax

Supported

Supported

Supported

Supported

401

Unauthorized

Authentication has failed

Supported

User account is not authorized to perform request

Supported

User account is not authorized to perform request

Supported

User account is not authorized to perform request

Supported

User account is not authorized to perform request

404

Not Found

The requested resource could not be found

Supported when performing a command against a specific resource that is not found

Not applicable when creating new resource

Supported

Supported

Supported

405

Method not Allowed

A request was made of a resource using a request method not supported by that resource

Supported

Not applicable

Not applicable

Supported

409

Conflict

The request could not be completed due to a conflict with the current state of the resource

Supported

A request was made when a similar request is already being processed

This is also returned if the request prompts the user for a response

Not applicable

Not applicable

Not applicable

500

Internal Server Error

A generic error message, given when no more specific message is suitable

Supported

Supported

Supported

Supported

503

Service Unavailable

The server is unavailable

Supported

Supported

Supported

Supported