DELETE api/Bookings?idBooking={idBooking}&idContainer={idContainer}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
idBooking

integer

Required

idContainer

integer

Required

Body Parameters

None.

Response Information

Resource Description

Booking
NameDescriptionTypeAdditional information
Id

integer

None.

countContainer

integer

None.

client

string

None.

Day

date

None.

NumBooking

string

None.

numReservation

integer

None.

Containers

Collection of Container

None.

DateofReservation

date

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "countContainer": 2,
  "client": "sample string 3",
  "Day": "2019-08-23T20:47:33.0145027+01:00",
  "NumBooking": "sample string 5",
  "numReservation": 6,
  "Containers": [
    {
      "$id": "2",
      "Id": 1,
      "numberContainer": "sample string 2",
      "Type": "sample string 3",
      "sousType": "sample string 4",
      "Plage": "2019-08-23T20:47:33.0145027+01:00",
      "Booking": {
        "$ref": "1"
      },
      "sousTypeEquip": "sample string 6"
    },
    {
      "$ref": "2"
    }
  ],
  "DateofReservation": "2019-08-23T20:47:33.0145027+01:00"
}