Bill Collection

Description

A collection (or list) of resources.

Properties

Property Description
items

A collection of resources returned in the current result set.

Property Description
amount

The public total for the bill.

currencyCode

The ISO currency code for amount.

date

The bill date, formatted for display.

description

The bill type name (e.g. Photo Plan, Marketplace).

id

The bill identifier used for receipt printing.

status

The human-readable bill status name.

type

The type of object represented.

links required read-only

Each property defines a hypertext link relationship as indicated by a link object or array of link objects. The target URL of each hypertext link relationship is related to the current resource according to the defined semantics of the link relationship property name.

meta read-only

Metadata describing the current result set.

Property Description
currentPage

The current page of results returned.

rows

The number of rows returned per page for the current result set.

totalItems

The total number of items in the result set. This may be affected by active search/filter parameters.

totalPages

The total number of pages in the result set. This is affected by the rows parameter (totalItems / rows == totalPages).

type

The type of resource represented.

OpenAPI Schema

The following schema is based on OpenAPI 3.0 and is provided in our downloadable OpenAPI document.

{
  "description": "A collection (or list) of resources.",
  "properties": {
    "items": {
      "description": "A collection of resources returned in the current result set.",
      "items": {
        "description": "A studio-viewable ShootProof subscription or marketplace bill.",
        "properties": {
          "amount": {
            "description": "The public total for the bill.",
            "type": "number"
          },
          "currencyCode": {
            "description": "The ISO currency code for `amount`.",
            "type": "string"
          },
          "date": {
            "description": "The bill date, formatted for display.",
            "type": "string"
          },
          "description": {
            "description": "The bill type name (e.g. Photo Plan, Marketplace).",
            "type": "string"
          },
          "id": {
            "description": "The bill identifier used for receipt printing.",
            "type": "integer"
          },
          "status": {
            "description": "The human-readable bill status name.",
            "type": "string"
          },
          "type": {
            "description": "The type of object represented.",
            "enum": [
              "bill"
            ],
            "type": "string"
          }
        },
        "required": [
          "type",
          "id",
          "date",
          "description",
          "amount",
          "currencyCode",
          "status"
        ],
        "title": "Bill",
        "type": "object"
      },
      "title": "Bill",
      "type": "array"
    },
    "links": {
      "$ref": "#/components/schemas/Links"
    },
    "meta": {
      "description": "Metadata describing the current result set.",
      "properties": {
        "currentPage": {
          "description": "The current page of results returned.",
          "type": "integer"
        },
        "rows": {
          "description": "The number of rows returned per page for the current result set.",
          "type": "integer"
        },
        "totalItems": {
          "description": "The total number of items in the result set. This may be\naffected by active search/filter parameters.",
          "type": "integer"
        },
        "totalPages": {
          "description": "The total number of pages in the result set. This is affected by\nthe `rows` parameter (`totalItems / rows == totalPages`).",
          "type": "integer"
        }
      },
      "readOnly": true,
      "type": "object"
    },
    "type": {
      "description": "The type of resource represented.",
      "enum": [
        "bill-collection"
      ],
      "example": "resource-type",
      "title": "Resource Type",
      "type": "string"
    }
  },
  "required": [
    "type",
    "items"
  ],
  "title": "Collection of bills",
  "type": "object"
}