POST services/api/rest/v1/Save_Wastage_Master

Request Information

URI Parameters

None.

Body Parameters

RestCustomSales_Master
NameDescriptionTypeAdditional information
InvNo

integer

None.

InvDate

date

None.

InvTime

date

None.

CounterId

integer

None.

CashierId

integer

None.

CounterOpId

integer

None.

TotAmount

decimal number

None.

TotCash

decimal number

None.

TotCredit

decimal number

None.

TotCreditCard

decimal number

None.

CreditCardNo

string

None.

TotAltCurrency

decimal number

None.

AltCurrencyId

integer

None.

TransNo

integer

None.

Discount

decimal number

None.

ConvRate

decimal number

None.

AmountReceived

decimal number

None.

ExchangeRate

decimal number

None.

HoldFlag

boolean

None.

SalesType

boolean

None.

CustomerId

integer

None.

ResetNo

integer

None.

Balance

decimal number

None.

DayOpenId

integer

None.

TotalCredit

decimal number

None.

CustomerCode

integer

None.

TotalGiftVoucher

decimal number

None.

GiftVoucherNo

string

None.

NationalityCode

integer

None.

TableNo

integer

None.

TakeAway

integer

None.

Delivery

integer

None.

Name

string

None.

Address

string

None.

PhoneNo

string

None.

Merged

integer

None.

Split

integer

None.

CupType

integer

None.

Company

string

None.

IdNo

string

None.

PAX

integer

None.

TableSubNo

integer

None.

AirmilesCardNo

string

None.

TotOnlinePayment

decimal number

None.

ProviderId

integer

None.

Status

integer

None.

VatAmt

decimal number

None.

LocId

integer

None.

RoomType

integer

None.

TicketNo

string

None.

DeliveryCharges

decimal number

None.

PaymentMode

integer

None.

AreaId

integer

None.

AddressId

integer

None.

Source

string

None.

TotPayLater

decimal number

None.

TotSecurityDeposit

decimal number

None.

DeliveryDate

date

None.

ReminderBefore

decimal number

None.

IsOrderTaken

boolean

None.

ReservationId

integer

None.

TipsAmount

decimal number

None.

TipsPercentage

decimal number

None.

PaymentList

Collection of PaymentList

None.

SalesDetails

Collection of RestSales_Details

None.

PredefinedDiscId

integer

None.

DiscountNarration

string

None.

MaxNoofPax

integer

None.

TotCreditNote

decimal number

None.

CreditNoteRefNo

string

None.

ExtraDiscount

decimal number

None.

OrderNote

string

None.

DeliveryType

string

None.

DeliveryRemark

string

None.

IsPrePaid

boolean

None.

Loyalty

RestLoyalty_Master

None.

Request Formats

application/json, text/json

Sample:
{
  "InvNo": 1,
  "InvDate": "2026-09-09T14:59:48.0420432+04:00",
  "InvTime": "2026-09-09T14:59:48.0420432+04:00",
  "CounterId": 4,
  "CashierId": 5,
  "CounterOpId": 6,
  "TotAmount": 7.0,
  "TotCash": 8.0,
  "TotCredit": 9.0,
  "TotCreditCard": 10.0,
  "CreditCardNo": "sample string 11",
  "TotAltCurrency": 12.0,
  "AltCurrencyId": 13,
  "TransNo": 14,
  "Discount": 15.0,
  "ConvRate": 16.0,
  "AmountReceived": 17.0,
  "ExchangeRate": 18.0,
  "HoldFlag": true,
  "SalesType": true,
  "CustomerId": 21,
  "ResetNo": 22,
  "Balance": 23.0,
  "DayOpenId": 24,
  "TotalCredit": 25.0,
  "CustomerCode": 26,
  "TotalGiftVoucher": 27.0,
  "GiftVoucherNo": "sample string 28",
  "NationalityCode": 29,
  "TableNo": 30,
  "TakeAway": 31,
  "Delivery": 32,
  "Name": "sample string 33",
  "Address": "sample string 34",
  "PhoneNo": "sample string 35",
  "Merged": 36,
  "Split": 37,
  "CupType": 38,
  "Company": "sample string 39",
  "IdNo": "sample string 40",
  "PAX": 41,
  "TableSubNo": 42,
  "AirmilesCardNo": "sample string 43",
  "TotOnlinePayment": 44.0,
  "ProviderId": 45,
  "Status": 46,
  "VatAmt": 47.0,
  "LocId": 48,
  "RoomType": 49,
  "TicketNo": "sample string 50",
  "DeliveryCharges": 51.0,
  "PaymentMode": 52,
  "AreaId": 53,
  "AddressId": 54,
  "Source": "sample string 55",
  "TotPayLater": 56.0,
  "TotSecurityDeposit": 57.0,
  "DeliveryDate": "2026-09-09T14:59:48.0420432+04:00",
  "ReminderBefore": 59.0,
  "IsOrderTaken": true,
  "ReservationId": 61,
  "TipsAmount": 62.0,
  "TipsPercentage": 63.0,
  "PaymentList": [
    {
      "InvNo": 1,
      "LocId": 2,
      "PaymentId": 3,
      "PaymentType": "sample string 4",
      "Name": "sample string 5",
      "Description": "sample string 6",
      "ReferenceNo": "sample string 7",
      "Amount": 8.0,
      "SlNo": 9
    },
    {
      "InvNo": 1,
      "LocId": 2,
      "PaymentId": 3,
      "PaymentType": "sample string 4",
      "Name": "sample string 5",
      "Description": "sample string 6",
      "ReferenceNo": "sample string 7",
      "Amount": 8.0,
      "SlNo": 9
    }
  ],
  "SalesDetails": [
    {
      "SlNo": 1,
      "InvNo": 2,
      "Barcode": "sample string 3",
      "Qty": 4.1,
      "UnitId": 5,
      "Rate": 6.0,
      "Discount": 7.0,
      "BatchNo": "sample string 8",
      "KitchenNote": "sample string 9",
      "KotStatus": 10,
      "KotOrderTime": "2026-09-09T14:59:48.0420432+04:00",
      "TypeCaption": "sample string 12",
      "LocId": 13,
      "ActualRate": 14.0,
      "SeatNo": 15,
      "ComboSalesDetails": [
        {
          "slno": 1,
          "pslno": 2,
          "invno": 3,
          "barcode": "sample string 4",
          "qty": 5.1,
          "unitId": 6,
          "rate": 7.0,
          "discount": 8.0,
          "batchNo": "sample string 9",
          "kitchenNote": "sample string 10",
          "kotStatus": 11,
          "kotOrdertime": "2026-09-09T14:59:48.0420432+04:00",
          "typeCaption": "sample string 13",
          "locId": 14,
          "ActualRate": 15.0,
          "ComboModifierSales": [
            {
              "SlNo": 1,
              "InvNo": 2,
              "PslNo": 3,
              "LocId": 4,
              "ModifierCode": "sample string 5",
              "ModifierName": "sample string 6",
              "ArabicName": "sample string 7",
              "Qty": 8.0,
              "Price": 9.0,
              "Description": "sample string 10",
              "KOTStatus": 11,
              "KOTOrderTime": "2026-09-09T14:59:48.0420432+04:00",
              "TypeCaption": "sample string 13"
            },
            {
              "SlNo": 1,
              "InvNo": 2,
              "PslNo": 3,
              "LocId": 4,
              "ModifierCode": "sample string 5",
              "ModifierName": "sample string 6",
              "ArabicName": "sample string 7",
              "Qty": 8.0,
              "Price": 9.0,
              "Description": "sample string 10",
              "KOTStatus": 11,
              "KOTOrderTime": "2026-09-09T14:59:48.0420432+04:00",
              "TypeCaption": "sample string 13"
            }
          ]
        },
        {
          "slno": 1,
          "pslno": 2,
          "invno": 3,
          "barcode": "sample string 4",
          "qty": 5.1,
          "unitId": 6,
          "rate": 7.0,
          "discount": 8.0,
          "batchNo": "sample string 9",
          "kitchenNote": "sample string 10",
          "kotStatus": 11,
          "kotOrdertime": "2026-09-09T14:59:48.0420432+04:00",
          "typeCaption": "sample string 13",
          "locId": 14,
          "ActualRate": 15.0,
          "ComboModifierSales": [
            {
              "SlNo": 1,
              "InvNo": 2,
              "PslNo": 3,
              "LocId": 4,
              "ModifierCode": "sample string 5",
              "ModifierName": "sample string 6",
              "ArabicName": "sample string 7",
              "Qty": 8.0,
              "Price": 9.0,
              "Description": "sample string 10",
              "KOTStatus": 11,
              "KOTOrderTime": "2026-09-09T14:59:48.0420432+04:00",
              "TypeCaption": "sample string 13"
            },
            {
              "SlNo": 1,
              "InvNo": 2,
              "PslNo": 3,
              "LocId": 4,
              "ModifierCode": "sample string 5",
              "ModifierName": "sample string 6",
              "ArabicName": "sample string 7",
              "Qty": 8.0,
              "Price": 9.0,
              "Description": "sample string 10",
              "KOTStatus": 11,
              "KOTOrderTime": "2026-09-09T14:59:48.0420432+04:00",
              "TypeCaption": "sample string 13"
            }
          ]
        }
      ],
      "KitchenNotes": [
        {
          "Barcode": "sample string 1",
          "Remarks": "sample string 2",
          "LocId": 3,
          "UserId": 1
        },
        {
          "Barcode": "sample string 1",
          "Remarks": "sample string 2",
          "LocId": 3,
          "UserId": 1
        }
      ],
      "TaxDetails": [
        {
          "TaxPercent": 1.0,
          "Description": "sample string 2",
          "TaxAmt": 3.0,
          "SlNo": 4,
          "InvNo": 5,
          "TaxId": 6,
          "TaxName": "sample string 7"
        },
        {
          "TaxPercent": 1.0,
          "Description": "sample string 2",
          "TaxAmt": 3.0,
          "SlNo": 4,
          "InvNo": 5,
          "TaxId": 6,
          "TaxName": "sample string 7"
        }
      ],
      "ModifierSales": [
        {
          "SlNo": 1,
          "InvNo": 2,
          "PslNo": 3,
          "LocId": 4,
          "ModifierCode": "sample string 5",
          "ModifierName": "sample string 6",
          "ArabicName": "sample string 7",
          "Qty": 8.0,
          "Price": 9.0,
          "Description": "sample string 10",
          "KOTStatus": 11,
          "KOTOrderTime": "2026-09-09T14:59:48.0420432+04:00",
          "TypeCaption": "sample string 13"
        },
        {
          "SlNo": 1,
          "InvNo": 2,
          "PslNo": 3,
          "LocId": 4,
          "ModifierCode": "sample string 5",
          "ModifierName": "sample string 6",
          "ArabicName": "sample string 7",
          "Qty": 8.0,
          "Price": 9.0,
          "Description": "sample string 10",
          "KOTStatus": 11,
          "KOTOrderTime": "2026-09-09T14:59:48.0420432+04:00",
          "TypeCaption": "sample string 13"
        }
      ],
      "DiscountCode": "sample string 16"
    },
    {
      "SlNo": 1,
      "InvNo": 2,
      "Barcode": "sample string 3",
      "Qty": 4.1,
      "UnitId": 5,
      "Rate": 6.0,
      "Discount": 7.0,
      "BatchNo": "sample string 8",
      "KitchenNote": "sample string 9",
      "KotStatus": 10,
      "KotOrderTime": "2026-09-09T14:59:48.0420432+04:00",
      "TypeCaption": "sample string 12",
      "LocId": 13,
      "ActualRate": 14.0,
      "SeatNo": 15,
      "ComboSalesDetails": [
        {
          "slno": 1,
          "pslno": 2,
          "invno": 3,
          "barcode": "sample string 4",
          "qty": 5.1,
          "unitId": 6,
          "rate": 7.0,
          "discount": 8.0,
          "batchNo": "sample string 9",
          "kitchenNote": "sample string 10",
          "kotStatus": 11,
          "kotOrdertime": "2026-09-09T14:59:48.0420432+04:00",
          "typeCaption": "sample string 13",
          "locId": 14,
          "ActualRate": 15.0,
          "ComboModifierSales": [
            {
              "SlNo": 1,
              "InvNo": 2,
              "PslNo": 3,
              "LocId": 4,
              "ModifierCode": "sample string 5",
              "ModifierName": "sample string 6",
              "ArabicName": "sample string 7",
              "Qty": 8.0,
              "Price": 9.0,
              "Description": "sample string 10",
              "KOTStatus": 11,
              "KOTOrderTime": "2026-09-09T14:59:48.0420432+04:00",
              "TypeCaption": "sample string 13"
            },
            {
              "SlNo": 1,
              "InvNo": 2,
              "PslNo": 3,
              "LocId": 4,
              "ModifierCode": "sample string 5",
              "ModifierName": "sample string 6",
              "ArabicName": "sample string 7",
              "Qty": 8.0,
              "Price": 9.0,
              "Description": "sample string 10",
              "KOTStatus": 11,
              "KOTOrderTime": "2026-09-09T14:59:48.0420432+04:00",
              "TypeCaption": "sample string 13"
            }
          ]
        },
        {
          "slno": 1,
          "pslno": 2,
          "invno": 3,
          "barcode": "sample string 4",
          "qty": 5.1,
          "unitId": 6,
          "rate": 7.0,
          "discount": 8.0,
          "batchNo": "sample string 9",
          "kitchenNote": "sample string 10",
          "kotStatus": 11,
          "kotOrdertime": "2026-09-09T14:59:48.0420432+04:00",
          "typeCaption": "sample string 13",
          "locId": 14,
          "ActualRate": 15.0,
          "ComboModifierSales": [
            {
              "SlNo": 1,
              "InvNo": 2,
              "PslNo": 3,
              "LocId": 4,
              "ModifierCode": "sample string 5",
              "ModifierName": "sample string 6",
              "ArabicName": "sample string 7",
              "Qty": 8.0,
              "Price": 9.0,
              "Description": "sample string 10",
              "KOTStatus": 11,
              "KOTOrderTime": "2026-09-09T14:59:48.0420432+04:00",
              "TypeCaption": "sample string 13"
            },
            {
              "SlNo": 1,
              "InvNo": 2,
              "PslNo": 3,
              "LocId": 4,
              "ModifierCode": "sample string 5",
              "ModifierName": "sample string 6",
              "ArabicName": "sample string 7",
              "Qty": 8.0,
              "Price": 9.0,
              "Description": "sample string 10",
              "KOTStatus": 11,
              "KOTOrderTime": "2026-09-09T14:59:48.0420432+04:00",
              "TypeCaption": "sample string 13"
            }
          ]
        }
      ],
      "KitchenNotes": [
        {
          "Barcode": "sample string 1",
          "Remarks": "sample string 2",
          "LocId": 3,
          "UserId": 1
        },
        {
          "Barcode": "sample string 1",
          "Remarks": "sample string 2",
          "LocId": 3,
          "UserId": 1
        }
      ],
      "TaxDetails": [
        {
          "TaxPercent": 1.0,
          "Description": "sample string 2",
          "TaxAmt": 3.0,
          "SlNo": 4,
          "InvNo": 5,
          "TaxId": 6,
          "TaxName": "sample string 7"
        },
        {
          "TaxPercent": 1.0,
          "Description": "sample string 2",
          "TaxAmt": 3.0,
          "SlNo": 4,
          "InvNo": 5,
          "TaxId": 6,
          "TaxName": "sample string 7"
        }
      ],
      "ModifierSales": [
        {
          "SlNo": 1,
          "InvNo": 2,
          "PslNo": 3,
          "LocId": 4,
          "ModifierCode": "sample string 5",
          "ModifierName": "sample string 6",
          "ArabicName": "sample string 7",
          "Qty": 8.0,
          "Price": 9.0,
          "Description": "sample string 10",
          "KOTStatus": 11,
          "KOTOrderTime": "2026-09-09T14:59:48.0420432+04:00",
          "TypeCaption": "sample string 13"
        },
        {
          "SlNo": 1,
          "InvNo": 2,
          "PslNo": 3,
          "LocId": 4,
          "ModifierCode": "sample string 5",
          "ModifierName": "sample string 6",
          "ArabicName": "sample string 7",
          "Qty": 8.0,
          "Price": 9.0,
          "Description": "sample string 10",
          "KOTStatus": 11,
          "KOTOrderTime": "2026-09-09T14:59:48.0420432+04:00",
          "TypeCaption": "sample string 13"
        }
      ],
      "DiscountCode": "sample string 16"
    }
  ],
  "PredefinedDiscId": 64,
  "DiscountNarration": "sample string 65",
  "MaxNoofPax": 66,
  "TotCreditNote": 67.0,
  "CreditNoteRefNo": "sample string 68",
  "ExtraDiscount": 69.0,
  "OrderNote": "sample string 70",
  "DeliveryType": "sample string 71",
  "DeliveryRemark": "sample string 72",
  "IsPrePaid": true,
  "Loyalty": {
    "Points": 1.0
  }
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Wastage_Master
NameDescriptionTypeAdditional information
DayOpenId

integer

None.

CounterOpenId

integer

None.

CounterId

integer

None.

CashierId

integer

None.

Barcode

string

None.

Qty

decimal number

None.

Rate

decimal number

None.

Remark

string

None.

LocId

integer

None.

UserId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "CounterOpenId": 1,
  "CounterId": 2,
  "CashierId": 3,
  "Barcode": "sample string 4",
  "Qty": 5.0,
  "Rate": 6.0,
  "Remark": "sample string 7",
  "LocId": 8,
  "UserId": 9,
  "DayOpenId": 1
}