Get a list of organizations

get

{basePath}/organizations

{basePath}/organizations?offset=1&limit=2

The API returns a list of organizations with which the integrator is privileged to interact.

Request

Supported Media Types
Query Parameters
  • Minimum Value: 0
    The limit used for the current page.The maximum number of items to return in this request.
  • Minimum Value: 0
    The offset of the start of the current page in the collection. If offset is not included in the request then all objects returned.
Back to Top

Response

Supported Media Types

200 Response

OK
Body ()
Root Schema : organizations
Type: object
Read Only: true
A collection of Organizations
Show Source
Nested Schema : organization
Type: array
Array of Organization JSON objects. If there are no organizations configured, this array will be empty.
Show Source
  • Organization
    Title: Organization
    An organization is the overarching organizational entity for a specific customer in Oracle Food and Beverage Cloud Products. An organization includes one or more locations.
Nested Schema : Organization
Type: object
Title: Organization
An organization is the overarching organizational entity for a specific customer in Oracle Food and Beverage Cloud Products. An organization includes one or more locations.
Show Source
Example:
{
    "orgShortName":"tfoinc",
    "name":"The Food Organization Inc"
}

400 Response

400 Bad Request
Body ()
Root Schema : OrganizationApiProblemDetails
Type: object
Problem details is used as standard model for reporting details when HTTP error status code is returned. This definition is defined by [RFC7807](https://tools.ietf.org/html/rfc7807).
Show Source
  • A human-readable explanation specific to this occurrence of the problem.
  • A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
  • A short, human-readable summary of the problem type.
  • A URI reference [RFC3986](https://tools.ietf.org/html/rfc3986) that identifies the problem type. When this member is not present, its value is assumed to be "about:blank".
Example:
{
    "type":"error:validation",
    "title":"Required value not specified.",
    "details":"The OrgShortName value is required.",
    "instance":"required_value_missing"
}

401 Response

401 Unauthorized

403 Response

403 Forbidden

404 Response

404 Requested resource not found
Back to Top

Examples

Example Request Body

Not applicable for this endpoint.

Example Response Body

The following example shows the contents of the response body in JSON format:


{
  "limit": 0,
  "offset": 0,
  "count": 0,
  "items": [
    {
      "orgShortName": "tfoinc",
      "name": "The Food Organization Inc"
    }
  ]
}
Back to Top