POST api/GuestInvoice/updateGuestInvoice

Request Information

URI Parameters

None.

Body Parameters

GuestInvoice
NameDescriptionTypeAdditional information
GuestInvoiceID

integer

None.

ReservationID

integer

None.

GuestInvoiceTypeID

integer

None.

GuestInvoiceTypeName

string

None.

AmountInvoiced

decimal number

None.

AmountPaid

decimal number

None.

Comment

string

None.

DateSent

date

None.

DateDue

date

None.

DateCreated

date

None.

ExternalInvoiceNumber

string

None.

Request Formats

application/json, text/json

Sample:
{
  "GuestInvoiceID": 1,
  "ReservationID": 2,
  "GuestInvoiceTypeID": 3,
  "GuestInvoiceTypeName": "sample string 4",
  "AmountInvoiced": 5.0,
  "AmountPaid": 6.0,
  "Comment": "sample string 7",
  "DateSent": "2025-12-10T06:00:53.5063636+00:00",
  "DateDue": "2025-12-10T06:00:53.5063636+00:00",
  "DateCreated": "2025-12-10T06:00:53.5063636+00:00",
  "ExternalInvoiceNumber": "sample string 11"
}

application/xml, text/xml

Sample:
<GuestInvoice xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <GuestInvoiceID>1</GuestInvoiceID>
  <ReservationID>2</ReservationID>
  <GuestInvoiceTypeID>3</GuestInvoiceTypeID>
  <GuestInvoiceTypeName>sample string 4</GuestInvoiceTypeName>
  <AmountInvoiced>5</AmountInvoiced>
  <AmountPaid>6</AmountPaid>
  <Comment>sample string 7</Comment>
  <DateSent>2025-12-10T06:00:53.5063636+00:00</DateSent>
  <DateDue>2025-12-10T06:00:53.5063636+00:00</DateDue>
  <DateCreated>2025-12-10T06:00:53.5063636+00:00</DateCreated>
  <ExternalInvoiceNumber>sample string 11</ExternalInvoiceNumber>
</GuestInvoice>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.