GET api/GarageService?UUID={UUID}&eventId={eventId}

Get list of services linked to a garage

Request Information

Parameters

NameDescriptionAdditional information
UUID
the id of device

Define this parameter in the request URI.

eventId
the id of the event

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "GarageServiceTypeId": 1.0,
    "GarageServiceTypeValue": "sample string 2",
    "GarageServiceTypePriority": 3,
    "GarageServiceList": [
      {
        "IsSelected": true,
        "Price": 2.1,
        "Priority": 3,
        "ServiceId": 4.0,
        "ServiceValue": "sample string 5"
      },
      {
        "IsSelected": true,
        "Price": 2.1,
        "Priority": 3,
        "ServiceId": 4.0,
        "ServiceValue": "sample string 5"
      },
      {
        "IsSelected": true,
        "Price": 2.1,
        "Priority": 3,
        "ServiceId": 4.0,
        "ServiceValue": "sample string 5"
      }
    ]
  },
  {
    "GarageServiceTypeId": 1.0,
    "GarageServiceTypeValue": "sample string 2",
    "GarageServiceTypePriority": 3,
    "GarageServiceList": [
      {
        "IsSelected": true,
        "Price": 2.1,
        "Priority": 3,
        "ServiceId": 4.0,
        "ServiceValue": "sample string 5"
      },
      {
        "IsSelected": true,
        "Price": 2.1,
        "Priority": 3,
        "ServiceId": 4.0,
        "ServiceValue": "sample string 5"
      },
      {
        "IsSelected": true,
        "Price": 2.1,
        "Priority": 3,
        "ServiceId": 4.0,
        "ServiceValue": "sample string 5"
      }
    ]
  },
  {
    "GarageServiceTypeId": 1.0,
    "GarageServiceTypeValue": "sample string 2",
    "GarageServiceTypePriority": 3,
    "GarageServiceList": [
      {
        "IsSelected": true,
        "Price": 2.1,
        "Priority": 3,
        "ServiceId": 4.0,
        "ServiceValue": "sample string 5"
      },
      {
        "IsSelected": true,
        "Price": 2.1,
        "Priority": 3,
        "ServiceId": 4.0,
        "ServiceValue": "sample string 5"
      },
      {
        "IsSelected": true,
        "Price": 2.1,
        "Priority": 3,
        "ServiceId": 4.0,
        "ServiceValue": "sample string 5"
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfGarageServiceType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Reservation.Models.Event">
  <GarageServiceType>
    <GarageServiceList xmlns="http://schemas.datacontract.org/2004/07/Reservation.Project.Models.Event">
      <GarageService>
        <IsSelected>true</IsSelected>
        <Price>2.1</Price>
        <Priority>3</Priority>
        <ServiceId>4</ServiceId>
        <ServiceValue>sample string 5</ServiceValue>
      </GarageService>
      <GarageService>
        <IsSelected>true</IsSelected>
        <Price>2.1</Price>
        <Priority>3</Priority>
        <ServiceId>4</ServiceId>
        <ServiceValue>sample string 5</ServiceValue>
      </GarageService>
      <GarageService>
        <IsSelected>true</IsSelected>
        <Price>2.1</Price>
        <Priority>3</Priority>
        <ServiceId>4</ServiceId>
        <ServiceValue>sample string 5</ServiceValue>
      </GarageService>
    </GarageServiceList>
    <GarageServiceTypeId xmlns="http://schemas.datacontract.org/2004/07/Reservation.Project.Models.Event">1</GarageServiceTypeId>
    <GarageServiceTypePriority xmlns="http://schemas.datacontract.org/2004/07/Reservation.Project.Models.Event">3</GarageServiceTypePriority>
    <GarageServiceTypeValue xmlns="http://schemas.datacontract.org/2004/07/Reservation.Project.Models.Event">sample string 2</GarageServiceTypeValue>
  </GarageServiceType>
  <GarageServiceType>
    <GarageServiceList xmlns="http://schemas.datacontract.org/2004/07/Reservation.Project.Models.Event">
      <GarageService>
        <IsSelected>true</IsSelected>
        <Price>2.1</Price>
        <Priority>3</Priority>
        <ServiceId>4</ServiceId>
        <ServiceValue>sample string 5</ServiceValue>
      </GarageService>
      <GarageService>
        <IsSelected>true</IsSelected>
        <Price>2.1</Price>
        <Priority>3</Priority>
        <ServiceId>4</ServiceId>
        <ServiceValue>sample string 5</ServiceValue>
      </GarageService>
      <GarageService>
        <IsSelected>true</IsSelected>
        <Price>2.1</Price>
        <Priority>3</Priority>
        <ServiceId>4</ServiceId>
        <ServiceValue>sample string 5</ServiceValue>
      </GarageService>
    </GarageServiceList>
    <GarageServiceTypeId xmlns="http://schemas.datacontract.org/2004/07/Reservation.Project.Models.Event">1</GarageServiceTypeId>
    <GarageServiceTypePriority xmlns="http://schemas.datacontract.org/2004/07/Reservation.Project.Models.Event">3</GarageServiceTypePriority>
    <GarageServiceTypeValue xmlns="http://schemas.datacontract.org/2004/07/Reservation.Project.Models.Event">sample string 2</GarageServiceTypeValue>
  </GarageServiceType>
  <GarageServiceType>
    <GarageServiceList xmlns="http://schemas.datacontract.org/2004/07/Reservation.Project.Models.Event">
      <GarageService>
        <IsSelected>true</IsSelected>
        <Price>2.1</Price>
        <Priority>3</Priority>
        <ServiceId>4</ServiceId>
        <ServiceValue>sample string 5</ServiceValue>
      </GarageService>
      <GarageService>
        <IsSelected>true</IsSelected>
        <Price>2.1</Price>
        <Priority>3</Priority>
        <ServiceId>4</ServiceId>
        <ServiceValue>sample string 5</ServiceValue>
      </GarageService>
      <GarageService>
        <IsSelected>true</IsSelected>
        <Price>2.1</Price>
        <Priority>3</Priority>
        <ServiceId>4</ServiceId>
        <ServiceValue>sample string 5</ServiceValue>
      </GarageService>
    </GarageServiceList>
    <GarageServiceTypeId xmlns="http://schemas.datacontract.org/2004/07/Reservation.Project.Models.Event">1</GarageServiceTypeId>
    <GarageServiceTypePriority xmlns="http://schemas.datacontract.org/2004/07/Reservation.Project.Models.Event">3</GarageServiceTypePriority>
    <GarageServiceTypeValue xmlns="http://schemas.datacontract.org/2004/07/Reservation.Project.Models.Event">sample string 2</GarageServiceTypeValue>
  </GarageServiceType>
</ArrayOfGarageServiceType>