Operation

Get the list of services in a paged array.

Only accessible with permission of pms.integration.product


table {
width: 100%;
}
body.page-gadget {
padding-top: 20px;
}
.separator{
margin: 5px 0;
}



GET



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



Request

PropertyTypeRequiredType parameterDefault valueDescription
chainIdIntegertruepath parameter
Unique identificator of the chain.
propertyIdIntegertruepath parameter
Unique identificator of the property.
offsetIntegerfalserequest parameter0Offset of the array of results.
limitIntegerfalserequest parameter10Limit of results.
sortstringfalserequest parameteridProperty of the entity to sort by.
sortModestringfalserequest parameterascMode of sorting.


Example request

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



Response

Entity 

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

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
      } ]
}