POST api/CreateReservationSettlement

Request Information

URI Parameters

None.

Body Parameters

CreateReservationSettlementVm
NameDescriptionTypeAdditional information
ReservationId

integer

None.

IsSettled

boolean

None.

SettledOn

string

None.

DepositReturned

decimal number

None.

SettlementRemark

string

None.

ChequeNumber

string

None.

ChequeDate

string

None.

NetAmount

decimal number

None.

TotalAmount

decimal number

None.

Cgst

decimal number

None.

CgstInPercentage

decimal number

None.

Sgst

decimal number

None.

SgstInPercentage

decimal number

None.

Igst

decimal number

None.

IgstInPercentage

decimal number

None.

Tds

decimal number

None.

TdsInPercentage

decimal number

None.

TaxAmount

decimal number

None.

ServiceTax

decimal number

None.

ServiceTaxInPercentage

decimal number

None.

PaymentType

string

None.

TaxType

string

None.

LedgerToId

integer

None.

Narration

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ReservationId": 1,
  "IsSettled": true,
  "SettledOn": "sample string 3",
  "DepositReturned": 4.1,
  "SettlementRemark": "sample string 5",
  "ChequeNumber": "sample string 6",
  "ChequeDate": "sample string 7",
  "NetAmount": 8.1,
  "TotalAmount": 9.1,
  "Cgst": 10.1,
  "CgstInPercentage": 11.1,
  "Sgst": 12.1,
  "SgstInPercentage": 13.1,
  "Igst": 14.1,
  "IgstInPercentage": 15.1,
  "Tds": 16.1,
  "TdsInPercentage": 17.1,
  "TaxAmount": 18.1,
  "ServiceTax": 19.1,
  "ServiceTaxInPercentage": 20.1,
  "PaymentType": "sample string 21",
  "TaxType": "sample string 22",
  "LedgerToId": 23,
  "Narration": "sample string 24"
}

application/xml, text/xml

Sample:
<CreateReservationSettlementVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BrokerServer.Services.PG">
  <Cgst>10.1</Cgst>
  <CgstInPercentage>11.1</CgstInPercentage>
  <ChequeDate>sample string 7</ChequeDate>
  <ChequeNumber>sample string 6</ChequeNumber>
  <DepositReturned>4.1</DepositReturned>
  <Igst>14.1</Igst>
  <IgstInPercentage>15.1</IgstInPercentage>
  <IsSettled>true</IsSettled>
  <LedgerToId>23</LedgerToId>
  <Narration>sample string 24</Narration>
  <NetAmount>8.1</NetAmount>
  <PaymentType>sample string 21</PaymentType>
  <ReservationId>1</ReservationId>
  <ServiceTax>19.1</ServiceTax>
  <ServiceTaxInPercentage>20.1</ServiceTaxInPercentage>
  <SettledOn>sample string 3</SettledOn>
  <SettlementRemark>sample string 5</SettlementRemark>
  <Sgst>12.1</Sgst>
  <SgstInPercentage>13.1</SgstInPercentage>
  <TaxAmount>18.1</TaxAmount>
  <TaxType>sample string 22</TaxType>
  <Tds>16.1</Tds>
  <TdsInPercentage>17.1</TdsInPercentage>
  <TotalAmount>9.1</TotalAmount>
</CreateReservationSettlementVm>

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 'CreateReservationSettlementVm'.

Response Information

Resource Description

Response
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

Description

string

None.

Data

Object

None.

Count

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Message": "sample string 2",
  "Description": "sample string 3",
  "Data": {},
  "Count": 5
}

application/xml, text/xml

Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BrokerServer.Models">
  <Count>5</Count>
  <Data />
  <Description>sample string 3</Description>
  <Message>sample string 2</Message>
  <Success>true</Success>
</Response>