Methods

  • get - Get resource option
  • get - List resource options

Resource

{
    "description": "string",
    "id": "integer",
    "isMandatory": "boolean",
    "name": "string",
    "prices": [
        {
            "currency": {},
            "end_date": "date",
            "price": "number",
            "slot_option_id": "integer",
            "start_date": "date",
            "unit": "string"
        }
    ],
    "subtype": {
        "id": "integer",
        "key": "string",
        "value": "string"
    },
    "type": {
        "id": "integer",
        "key": "string",
        "value": "string"
    }
}

Properties

Name Type Description Additional
description string

Option description

Optional, read only.
id integer

Option ID

Optional, read only.
isMandatory boolean

Returns TRUE if the option is mandatory

Optional, read only.
name string

Option name

Optional, read only.
prices[] array Optional, read only.
prices[].currency object Optional, read only.
prices[].end_date date

The end date for the price period

Optional, read only.
prices[].price number

Price of option within the period

Optional, read only.
prices[].slot_option_id integer

The slot option ID

Optional, read only.
prices[].start_date date

The start date for the price period

Optional, read only.
prices[].unit string

The price may be fixed or may differ depending of the rental duration (accepted values are PURCHASE, HOUR, DAY, WEEK).

Optional, read only.
subtype object Optional, read only.
subtype.id integer

Option Subtype ID

Optional, read only.
subtype.key string

Option Subtype key

Optional, read only.
subtype.value string

Option Subtype value

Optional, read only.
type object Optional, read only.
type.id integer

Option Type ID

Optional, read only.
type.key string

Option Type key

Optional, read only.
type.value string

Option Type value

Optional, read only.