POST api/opera/charge

Request Information

URI Parameters

None.

Body Parameters

PostChargeRequest
NameDescriptionTypeAdditional information
accountId

string

None.

secId

string

None.

ReservationId

string

None.

Charges

Collection of ChargeLine

None.

CashierId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "accountId": "sample string 1",
  "secId": "sample string 2",
  "ReservationId": "sample string 3",
  "Charges": [
    {
      "TransactionCode": "sample string 1",
      "Amount": 2.0,
      "Reference": "sample string 3",
      "Remark": "sample string 4",
      "FolioWindowNo": 5,
      "Quantity": 6
    },
    {
      "TransactionCode": "sample string 1",
      "Amount": 2.0,
      "Reference": "sample string 3",
      "Remark": "sample string 4",
      "FolioWindowNo": 5,
      "Quantity": 6
    }
  ],
  "CashierId": 4
}

application/xml, text/xml

Sample:
<PostChargeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TranscendAPI.Controllers">
  <CashierId>4</CashierId>
  <Charges>
    <ChargeLine>
      <Amount>2</Amount>
      <FolioWindowNo>5</FolioWindowNo>
      <Quantity>6</Quantity>
      <Reference>sample string 3</Reference>
      <Remark>sample string 4</Remark>
      <TransactionCode>sample string 1</TransactionCode>
    </ChargeLine>
    <ChargeLine>
      <Amount>2</Amount>
      <FolioWindowNo>5</FolioWindowNo>
      <Quantity>6</Quantity>
      <Reference>sample string 3</Reference>
      <Remark>sample string 4</Remark>
      <TransactionCode>sample string 1</TransactionCode>
    </ChargeLine>
  </Charges>
  <ReservationId>sample string 3</ReservationId>
  <accountId>sample string 1</accountId>
  <secId>sample string 2</secId>
</PostChargeRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.