GET api/groups

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of group
NameDescriptionTypeAdditional information
groupId

integer

None.

tourId

integer

None.

date

date

None.

time

string

None.

availablePlaces

integer

None.

credit

decimal number

None.

pricePerPerson

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "groupId": 1,
    "tourId": 2,
    "date": "2025-05-16T09:49:39.3909794+00:00",
    "time": "sample string 3",
    "availablePlaces": 1,
    "credit": 1.0,
    "pricePerPerson": 1.0
  },
  {
    "groupId": 1,
    "tourId": 2,
    "date": "2025-05-16T09:49:39.3909794+00:00",
    "time": "sample string 3",
    "availablePlaces": 1,
    "credit": 1.0,
    "pricePerPerson": 1.0
  }
]

application/xml, text/xml

Sample:
<ArrayOfgroup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/mustCnoAuth">
  <group>
    <availablePlaces>1</availablePlaces>
    <credit>1</credit>
    <date>2025-05-16T09:49:39.3909794+00:00</date>
    <groupId>1</groupId>
    <pricePerPerson>1</pricePerPerson>
    <time>sample string 3</time>
    <tourId>2</tourId>
  </group>
  <group>
    <availablePlaces>1</availablePlaces>
    <credit>1</credit>
    <date>2025-05-16T09:49:39.3909794+00:00</date>
    <groupId>1</groupId>
    <pricePerPerson>1</pricePerPerson>
    <time>sample string 3</time>
    <tourId>2</tourId>
  </group>
</ArrayOfgroup>