POST API/AdvanceRefund/SaveData

Request Information

URI Parameters

None.

Body Parameters

AdvanceRefund
NameDescriptionTypeAdditional information
BookingCode

integer

None.

GuestName

string

None.

RefundToCart

decimal number

None.

VendorTariff

decimal number

None.

ServiceAmount

decimal number

None.

PropertyName

string

None.

RequestAmount

decimal number

None.

RequestedOn

string

None.

Id

integer

None.

AdvanceAmount

decimal number

None.

BookingId

integer

None.

AdvanceDetailsId

integer

None.

NoOfDays

integer

None.

UserId

integer

None.

NoOfDaysNew

integer

None.

Remarks

string

None.

Request Formats

application/json, text/json

Sample:
{
  "BookingCode": 1,
  "GuestName": "sample string 2",
  "RefundToCart": 3.0,
  "VendorTariff": 4.0,
  "ServiceAmount": 5.0,
  "PropertyName": "sample string 6",
  "RequestAmount": 7.0,
  "RequestedOn": "sample string 8",
  "Id": 9,
  "AdvanceAmount": 10.0,
  "BookingId": 11,
  "AdvanceDetailsId": 12,
  "NoOfDays": 13,
  "UserId": 14,
  "NoOfDaysNew": 15,
  "Remarks": "sample string 16"
}

application/xml, text/xml

Sample:
<AdvanceRefund xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Finance.Models">
  <AdvanceAmount>10</AdvanceAmount>
  <AdvanceDetailsId>12</AdvanceDetailsId>
  <BookingCode>1</BookingCode>
  <BookingId>11</BookingId>
  <GuestName>sample string 2</GuestName>
  <Id>9</Id>
  <NoOfDays>13</NoOfDays>
  <NoOfDaysNew>15</NoOfDaysNew>
  <PropertyName>sample string 6</PropertyName>
  <RefundToCart>3</RefundToCart>
  <Remarks>sample string 16</Remarks>
  <RequestAmount>7</RequestAmount>
  <RequestedOn>sample string 8</RequestedOn>
  <ServiceAmount>5</ServiceAmount>
  <UserId>14</UserId>
  <VendorTariff>4</VendorTariff>
</AdvanceRefund>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AdvanceRefund'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.