POST api/groups

Request Information

URI Parameters

None.

Body Parameters

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.

Request Formats

application/json, text/json

Sample:
{
  "groupId": 1,
  "tourId": 2,
  "date": "2025-05-16T11:59:36.5253313+00:00",
  "time": "sample string 3",
  "availablePlaces": 1,
  "credit": 1.0,
  "pricePerPerson": 1.0
}

application/xml, text/xml

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

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-16T11:59:36.5253313+00:00",
  "time": "sample string 3",
  "availablePlaces": 1,
  "credit": 1.0,
  "pricePerPerson": 1.0
}

application/xml, text/xml

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