Get the tender collection

get

{basePath}/tenders/collection

{basePath}/tenders/collection?orgShortName=tfoinc&locRef=fdmnh144&rvcRef=42

The tender collection is a list of tenders that can be used for payment when interacting with the checks endpoint. The API returns a collection of tenders for the specified revenue center.

Request

Supported Media Types
Query Parameters
Header Parameters
Back to Top

Response

Supported Media Types

200 Response

A collection of tenders
Headers
  • The current entity-tag for the selected representation. See RFC 7232 Section 2.3
  • A timestamp indicating the date and time at which the origin server believes the selected representation was last modified. See RFC 7232 Section 2.2
Body ()
Root Schema : TenderCollection
Type: object
Definition of a tenders that can be applied to a transaction.
Show Source
Nested Schema : items
Type: array
Show Source
  • TenderItem
    Definition of a tender that can be applied to a transaction. A tender can be either a 'service total' or a 'payment'. A 'service total' is used to submit an order without payment.
Nested Schema : OrgLocRvcProperties
Type: object
A collection of properties for orgShortName, locRef and rvcRef
Show Source
Nested Schema : TenderItem
Type: object
Definition of a tender that can be applied to a transaction. A tender can be either a 'service total' or a 'payment'. A 'service total' is used to submit an order without payment.
Show Source
Nested Schema : ConsumerContentProperties
Type: object
A collection of consumer based content
Show Source
Nested Schema : ExtensionData
Type: object
Additional Properties Allowed
Show Source
Container for extension data
Nested Schema : TranslatedString
Type: object
Additional Properties Allowed
Show Source
A string that contains translations into multiple languages Example:n`{ "en-US": "coffee", "de-DE": "kaffee"}`
Example:
{
    "en-US":"Coffee",
    "de-DE":"Kaffee"
}
Nested Schema : images
Type: array
Array of images.
Show Source
Nested Schema : additionalProperties
Type: object

304 Response

304 Not Modified

400 Response

400 Bad Request
Body ()
Root Schema : ConfigurationApiProblemDetails
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). The content type for this response is `application/problem+json`
Show Source
  • A human-readable explanation specific to this occurrence of the problem.
    Example: The OrgShortName value is required.
  • A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
    Example: required_value_missing
  • A short, human-readable summary of the problem type.
    Example: Required value not specified.
  • A URI reference that identifies the problem type. When this member is not present, its value is assumed to be "about:blank".
    Example: error:validation
Example:
{
    "type":"error:validation",
    "title":"Required value not specified.",
    "details":"The OrgShortName value is required.",
    "instance":"required_value_missing"
}
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:


{
  "orgShortName": "mymeal",
  "locRef": "store66",
  "rvcRef": 2,
  "items": [
    {
      "tenderId": 0,
      "name": "string",
      "type": "serviceTotal",
      "consumerName": {
        "en-US": "Coffee",
        "de-DE": "Kaffee",
        "ar-AR": "????????"
      },
      "consumerDescription": {
        "en-US": "Coffee",
        "de-DE": "Kaffee",
        "ar-AR": "????????"
      },
      "images": [
        {
          "index": "string",
          "url": "https://oracleObjectStore.com/images/coffee822815.jpg",
          "altText": "pizza",
          "description": "string",
          "isCloudImage": true,
          "size": "string"
        }
      ],
      "extensions": {
        "additionalProp1": "string",
        "additionalProp2": "string",
        "additionalProp3": "string"
      }
    }
  ]
}
Back to Top