Service List Items[GET]

Operation

Get the list of services in a paged array.

GET
https://{environment}.ulysescloud.com/public/api/{version}/con/chain/{chainId}/property/{propertyId}/service/item


Request

PropertyTypeRequiredType parameterDefault valueDescription
chainIdIntegertruepath parameter
Unique identificator of the chain.
propertyIdIntegertruepath parameter
Unique identificator of the property.

Example request

GET https://publicapi-providers.ulysescloud.com:9797/public/api/v1/con/chain/1/property/1/service/item


Response

List of Entity 

The entity returned is a Page with a list of Product's. Description of the Service entity:


FieldTypeRequiredDescription
idinttrueUnique identifier for the Product.
codeStringtrueCode of the Product.
nameStringtrueName of the Product.
productTypeProductTypetrueType of Product (payment, service, accomodation...
nameI18nStringfalse
itemListItemfalseList of Items. Only show if you call of Services Endpoint

Example response

[
  {
    "id": 55,
    "code": "MB",
    "name": "Minibar",
    "productType": {
      "id": 2,
      "code": "SER",
      "name": "Service",
      "nameI18n": "Service"
    },
    "itemList": [
      {
        "id": 2,
        "code": "AG",
        "name": "AGUA SIN GAS",
        "nameI18n": "AGUA SIN GAS",
        "description": null,
        "descriptionI18n": null,
        "imageURL": null,
        "amountAfterTax": 2.5,
        "active": true,
        "quantity": null
      },
      {
        "id": 3,
        "code": "AGG",
        "name": "AGUA CON GAS",
        "nameI18n": "AGUA CON GAS",
        "description": null,
        "descriptionI18n": null,
        "imageURL": null,
        "amountAfterTax": 2.5,
        "active": true,
        "quantity": null
      },
      {
        "id": 1,
        "code": "COC",
        "name": "COCA COLA",
        "nameI18n": "COCA COLA",
        "description": null,
        "descriptionI18n": null,
        "imageURL": null,
        "amountAfterTax": 3.5,
        "active": true,
        "quantity": null
      },
      {
        "id": 6,
        "code": "CER",
        "name": "CERVEZA",
        "nameI18n": "CERVEZA",
        "description": null,
        "descriptionI18n": null,
        "imageURL": null,
        "amountAfterTax": 3.5,
        "active": true,
        "quantity": null
      },
      {
        "id": 8,
        "code": "FANL",
        "name": "FANTA LIMÓN",
        "nameI18n": "FANTA LIMÓN",
        "description": null,
        "descriptionI18n": null,
        "imageURL": null,
        "amountAfterTax": 3.5,
        "active": true,
        "quantity": null
      },
      {
        "id": 9,
        "code": "ALM",
        "name": "ALMENDRAS",
        "nameI18n": "ALMENDRAS",
        "description": null,
        "descriptionI18n": null,
        "imageURL": null,
        "amountAfterTax": 2.5,
        "active": true,
        "quantity": null
      },
      {
        "id": 4,
        "code": "APE",
        "name": "APERITIVO",
        "nameI18n": "APERITIVO",
        "description": null,
        "descriptionI18n": null,
        "imageURL": null,
        "amountAfterTax": 2.5,
        "active": true,
        "quantity": null
      },
      {
        "id": 7,
        "code": "FANN",
        "name": "FANTA NARANJA",
        "nameI18n": "FANTA NARANJA",
        "description": null,
        "descriptionI18n": null,
        "imageURL": null,
        "amountAfterTax": 3.5,
        "active": true,
        "quantity": null
      },
      {
        "id": 5,
        "code": "ZUM",
        "name": "ZUMO",
        "nameI18n": "ZUMO",
        "description": null,
        "descriptionI18n": null,
        "imageURL": null,
        "amountAfterTax": 3.5,
        "active": true,
        "quantity": null
      }
    ]
  }
]