Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Conventions and Practices

References

REST-based APIs for Entity Services

...

Code

Meaning

Returned When (Genericized)

400

Bad Request

The resource could not be accessed because the data sent in the request (typically in the entity body or in the query parameters) was bad, as determined by the service.

403

Forbidden

The resource could not be accessed because the client submitting the request was not authorized to accessed access it.

404

Not Found

The resource does not exist.

409

Conflict

The resource could not be created because the submitted data would create a duplicate (non-unique) resource, as determined by the service.

500

Internal Server Error

A service error prevented the resource from being accessed.

...