POST api/TransactionDetail

Request Information

URI Parameters

None.

Body Parameters

TransactionDetail
NameDescriptionTypeAdditional information
LineId

globally unique identifier

None.

PosTransactionId

globally unique identifier

None.

Status

integer

None.

LineNumber

integer

None.

ParentLineNumber

integer

None.

ItemDate

date

None.

ProductCode

string

None.

ProductDescription

string

None.

ProductCategory

string

None.

Quantity

decimal number

None.

UnitAmount

decimal number

None.

TotalAmount

decimal number

None.

TaxAmount

decimal number

None.

EffectiveDate

date

None.

AddOnType

string

None.

ItemType

string

None.

ServiceChargeAmount

decimal number

None.

Comments

string

None.

IsPaid

boolean

None.

RequestedDate

date

None.

RequestedUserId

string

None.

AssignedDate

date

None.

AssignedByUserId

string

None.

AssignedToUserId

string

None.

PriceState

integer

None.

LastUpdatedBy

string

None.

Request Formats

application/json, text/json

Sample:
{
  "LineId": "48fabb32-96e6-46e8-9bc2-18c5d0e38f0a",
  "PosTransactionId": "849782f5-4525-4162-bd52-806ad4da7c04",
  "Status": 3,
  "LineNumber": 4,
  "ParentLineNumber": 5,
  "ItemDate": "2025-04-22T03:13:09.0351431",
  "ProductCode": "sample string 6",
  "ProductDescription": "sample string 7",
  "ProductCategory": "sample string 8",
  "Quantity": 1.0,
  "UnitAmount": 1.0,
  "TotalAmount": 1.0,
  "TaxAmount": 1.0,
  "EffectiveDate": "2025-04-22T03:13:09.0351431",
  "AddOnType": "sample string 9",
  "ItemType": "sample string 10",
  "ServiceChargeAmount": 1.0,
  "Comments": "sample string 11",
  "IsPaid": true,
  "RequestedDate": "2025-04-22T03:13:09.0351431",
  "RequestedUserId": "sample string 12",
  "AssignedDate": "2025-04-22T03:13:09.0351431",
  "AssignedByUserId": "sample string 13",
  "AssignedToUserId": "sample string 14",
  "PriceState": 1,
  "LastUpdatedBy": "sample string 15"
}

application/xml, text/xml

Sample:
<TransactionDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bba.Reservations.Models">
  <AddOnType>sample string 9</AddOnType>
  <AssignedByUserId>sample string 13</AssignedByUserId>
  <AssignedDate>2025-04-22T03:13:09.0351431+00:00</AssignedDate>
  <AssignedToUserId>sample string 14</AssignedToUserId>
  <Comments>sample string 11</Comments>
  <EffectiveDate>2025-04-22T03:13:09.0351431+00:00</EffectiveDate>
  <IsPaid>true</IsPaid>
  <ItemDate>2025-04-22T03:13:09.0351431+00:00</ItemDate>
  <ItemType>sample string 10</ItemType>
  <LastUpdatedBy>sample string 15</LastUpdatedBy>
  <LineId>48fabb32-96e6-46e8-9bc2-18c5d0e38f0a</LineId>
  <LineNumber>4</LineNumber>
  <ParentLineNumber>5</ParentLineNumber>
  <PosTransactionId>849782f5-4525-4162-bd52-806ad4da7c04</PosTransactionId>
  <PriceState>1</PriceState>
  <ProductCategory>sample string 8</ProductCategory>
  <ProductCode>sample string 6</ProductCode>
  <ProductDescription>sample string 7</ProductDescription>
  <Quantity>1</Quantity>
  <RequestedDate>2025-04-22T03:13:09.0351431+00:00</RequestedDate>
  <RequestedUserId>sample string 12</RequestedUserId>
  <ServiceChargeAmount>1</ServiceChargeAmount>
  <Status>3</Status>
  <TaxAmount>1</TaxAmount>
  <TotalAmount>1</TotalAmount>
  <UnitAmount>1</UnitAmount>
</TransactionDetail>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.