POST api/Sellings

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
SInv
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "SellingId": 1,
  "SellingName": "sample string 2",
  "SellingVal": 3.1,
  "SellingDate": "2025-12-10T14:49:27.5149824-08:00",
  "SellingNotes": "sample string 5",
  "SellingType": "sample string 6",
  "CustomerID": 7,
  "CustomerName": "sample string 8",
  "PaidVal": 9.1,
  "RemainVal": 10.1,
  "SellingDiscRatio": 11.1,
  "SellingDisc": 12.1,
  "SellingTot": 13.1,
  "SellType": "sample string 14",
  "StoreId": 1,
  "StoreName": "sample string 15",
  "SellingNo": "sample string 16",
  "TreasuryId": 1,
  "AgentId": 1,
  "EntryUserId": 1,
  "EntryUserName": "sample string 17",
  "EntryUserDate": "sample string 18",
  "DiscValueExt": 1.1,
  "DiscRatioExt": 1.1,
  "uuid": "sample string 19",
  "longId": "sample string 20",
  "BranchId": 1,
  "BranchName": "sample string 21",
  "EnterpriseId": 1,
  "SaleTaxRatio": 1.1,
  "SaleTax": 1.1,
  "TotWithoutTax": 1.1,
  "TaxGainComRatio": 1.1,
  "TaxGainCom": 1.1,
  "HasTaxGainCom": true,
  "purchaseOrderReference": "sample string 22",
  "purchaseOrderDescription": "sample string 23",
  "salesOrderReference": "sample string 24",
  "salesOrderDescription": "sample string 25",
  "proformaInvoiceNumber": "sample string 26",
  "CurrId": "sample string 27",
  "CurrName": "sample string 28",
  "CurrVal": 1.1,
  "CurrRate": 1.1,
  "FreeOfSalesTax": true,
  "saleInvItems": [
    {
      "$id": "2",
      "SerNo": 1,
      "SellingId": 2,
      "ItemId": 3,
      "ItemNO": "sample string 4",
      "ItemName": "sample string 5",
      "ItemNameE": "sample string 6",
      "Price": 7.1,
      "DISC": 1.1,
      "AvailableQty": 8.1,
      "Qty": 9.1,
      "UnitId": 10,
      "UnitName": "sample string 11",
      "Tot": 12.1,
      "TotWithTax": 1.1,
      "PricWithTax": 1.1,
      "DetTaxSal": 1.1,
      "DiscRatio": 1.1,
      "DetTaxGainCom": 1.1,
      "DetItemDescription": "sample string 13",
      "SellingDetTaxTypes": [
        {
          "$id": "3",
          "SellingDetTaxTypeId": 1,
          "SerNo": 2,
          "TaxTypeID": 3,
          "TaxTypeRate": 1.1,
          "TaxTypeAmount": 1.1,
          "TaxTypeName": "sample string 4",
          "TaxTypeCalcWayId": 1
        },
        {
          "$ref": "3"
        },
        {
          "$ref": "3"
        }
      ]
    },
    {
      "$ref": "2"
    },
    {
      "$ref": "2"
    }
  ]
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{
  "SellingId": 1,
  "SellingName": "sample string 2",
  "SellingVal": 3.1,
  "SellingDate": "2025-12-10T14:49:27.5149824-08:00",
  "SellingNotes": "sample string 5",
  "SellingType": "sample string 6",
  "CustomerID": 7,
  "CustomerName": "sample string 8",
  "PaidVal": 9.1,
  "RemainVal": 10.1,
  "SellingDiscRatio": 11.1,
  "SellingDisc": 12.1,
  "SellingTot": 13.1,
  "SellType": "sample string 14",
  "StoreId": 1,
  "StoreName": "sample string 15",
  "SellingNo": "sample string 16",
  "TreasuryId": 1,
  "AgentId": 1,
  "EntryUserId": 1,
  "EntryUserName": "sample string 17",
  "EntryUserDate": "sample string 18",
  "DiscValueExt": 1.1,
  "DiscRatioExt": 1.1,
  "uuid": "sample string 19",
  "longId": "sample string 20",
  "BranchId": 1,
  "BranchName": "sample string 21",
  "EnterpriseId": 1,
  "SaleTaxRatio": 1.1,
  "SaleTax": 1.1,
  "TotWithoutTax": 1.1,
  "TaxGainComRatio": 1.1,
  "TaxGainCom": 1.1,
  "HasTaxGainCom": true,
  "purchaseOrderReference": "sample string 22",
  "purchaseOrderDescription": "sample string 23",
  "salesOrderReference": "sample string 24",
  "salesOrderDescription": "sample string 25",
  "proformaInvoiceNumber": "sample string 26",
  "CurrId": "sample string 27",
  "CurrName": "sample string 28",
  "CurrVal": 1.1,
  "CurrRate": 1.1,
  "FreeOfSalesTax": true,
  "saleInvItems": [
    {
      "$id": "2",
      "SerNo": 1,
      "SellingId": 2,
      "ItemId": 3,
      "ItemNO": "sample string 4",
      "ItemName": "sample string 5",
      "ItemNameE": "sample string 6",
      "Price": 7.1,
      "DISC": 1.1,
      "AvailableQty": 8.1,
      "Qty": 9.1,
      "UnitId": 10,
      "UnitName": "sample string 11",
      "Tot": 12.1,
      "TotWithTax": 1.1,
      "PricWithTax": 1.1,
      "DetTaxSal": 1.1,
      "DiscRatio": 1.1,
      "DetTaxGainCom": 1.1,
      "DetItemDescription": "sample string 13",
      "SellingDetTaxTypes": [
        {
          "$id": "3",
          "SellingDetTaxTypeId": 1,
          "SerNo": 2,
          "TaxTypeID": 3,
          "TaxTypeRate": 1.1,
          "TaxTypeAmount": 1.1,
          "TaxTypeName": "sample string 4",
          "TaxTypeCalcWayId": 1
        },
        {
          "$ref": "3"
        },
        {
          "$ref": "3"
        }
      ]
    },
    {
      "$ref": "2"
    },
    {
      "$ref": "2"
    }
  ]
}