POST api/Order/AddRetOrder

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
data
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "DeActiveCustomer": true,
  "ProductID": 2,
  "ProductQtyID": 3,
  "CustomerName": "sample string 4",
  "OrderID": 5,
  "InvoiceNumber": "sample string 6",
  "CustomerID": 7,
  "Tax": "sample string 8",
  "ShipTo": "sample string 9",
  "BillTo": "sample string 10",
  "OrderDate": "2026-01-17T09:07:53.8174743+05:30",
  "PODate": "2026-01-17T09:07:53.8174743+05:30",
  "PONumber": "sample string 11",
  "OrderNote": "sample string 12",
  "IsFinalised": true,
  "FinaOrderlTotal": 14.0,
  "TotalDiscount": 15.0,
  "CreatedBy": 1,
  "CreatedOn": "2026-01-17T09:07:53.8174743+05:30",
  "UpdatedBy": 1,
  "UpdatedOn": "2026-01-17T09:07:53.8174743+05:30",
  "IsDelete": true,
  "DeleteItems": "sample string 16",
  "IsTCSApplicable": true,
  "lstOrderQty": [
    {
      "OrderQtyID": 1,
      "ProductID": 2,
      "Tax": 3.0,
      "TaxAmount": 4.0,
      "TotalAmount": 5.0,
      "HSNNumber": "sample string 6",
      "CategoryTypeID": 7,
      "ProductQtyID": 8,
      "Quantity": 9,
      "UpdateQuantity": 10,
      "ProductPrice": 11.0,
      "ProductMRP": 12.0,
      "ArticleCode": "sample string 13",
      "DiscountPrice": 14.0,
      "DiscountPer": 15.0,
      "ProductName": "sample string 16"
    },
    {
      "OrderQtyID": 1,
      "ProductID": 2,
      "Tax": 3.0,
      "TaxAmount": 4.0,
      "TotalAmount": 5.0,
      "HSNNumber": "sample string 6",
      "CategoryTypeID": 7,
      "ProductQtyID": 8,
      "Quantity": 9,
      "UpdateQuantity": 10,
      "ProductPrice": 11.0,
      "ProductMRP": 12.0,
      "ArticleCode": "sample string 13",
      "DiscountPrice": 14.0,
      "DiscountPer": 15.0,
      "ProductName": "sample string 16"
    },
    {
      "OrderQtyID": 1,
      "ProductID": 2,
      "Tax": 3.0,
      "TaxAmount": 4.0,
      "TotalAmount": 5.0,
      "HSNNumber": "sample string 6",
      "CategoryTypeID": 7,
      "ProductQtyID": 8,
      "Quantity": 9,
      "UpdateQuantity": 10,
      "ProductPrice": 11.0,
      "ProductMRP": 12.0,
      "ArticleCode": "sample string 13",
      "DiscountPrice": 14.0,
      "DiscountPer": 15.0,
      "ProductName": "sample string 16"
    }
  ]
}

application/xml, text/xml

Sample:
<RetOrderViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/vb.Data">
  <BillTo>sample string 10</BillTo>
  <CreatedBy>1</CreatedBy>
  <CreatedOn>2026-01-17T09:07:53.8174743+05:30</CreatedOn>
  <CustomerID>7</CustomerID>
  <CustomerName>sample string 4</CustomerName>
  <DeActiveCustomer>true</DeActiveCustomer>
  <DeleteItems>sample string 16</DeleteItems>
  <FinaOrderlTotal>14</FinaOrderlTotal>
  <InvoiceNumber>sample string 6</InvoiceNumber>
  <IsDelete>true</IsDelete>
  <IsFinalised>true</IsFinalised>
  <IsTCSApplicable>true</IsTCSApplicable>
  <OrderDate>2026-01-17T09:07:53.8174743+05:30</OrderDate>
  <OrderID>5</OrderID>
  <OrderNote>sample string 12</OrderNote>
  <PODate>2026-01-17T09:07:53.8174743+05:30</PODate>
  <PONumber>sample string 11</PONumber>
  <ProductID>2</ProductID>
  <ProductQtyID>3</ProductQtyID>
  <ShipTo>sample string 9</ShipTo>
  <Tax>sample string 8</Tax>
  <TotalDiscount>15</TotalDiscount>
  <UpdatedBy>1</UpdatedBy>
  <UpdatedOn>2026-01-17T09:07:53.8174743+05:30</UpdatedOn>
  <lstOrderQty>
    <RetOrderQtyViewModel>
      <ArticleCode>sample string 13</ArticleCode>
      <CategoryTypeID>7</CategoryTypeID>
      <DiscountPer>15</DiscountPer>
      <DiscountPrice>14</DiscountPrice>
      <HSNNumber>sample string 6</HSNNumber>
      <OrderQtyID>1</OrderQtyID>
      <ProductID>2</ProductID>
      <ProductMRP>12</ProductMRP>
      <ProductName>sample string 16</ProductName>
      <ProductPrice>11</ProductPrice>
      <ProductQtyID>8</ProductQtyID>
      <Quantity>9</Quantity>
      <Tax>3</Tax>
      <TaxAmount>4</TaxAmount>
      <TotalAmount>5</TotalAmount>
      <UpdateQuantity>10</UpdateQuantity>
    </RetOrderQtyViewModel>
    <RetOrderQtyViewModel>
      <ArticleCode>sample string 13</ArticleCode>
      <CategoryTypeID>7</CategoryTypeID>
      <DiscountPer>15</DiscountPer>
      <DiscountPrice>14</DiscountPrice>
      <HSNNumber>sample string 6</HSNNumber>
      <OrderQtyID>1</OrderQtyID>
      <ProductID>2</ProductID>
      <ProductMRP>12</ProductMRP>
      <ProductName>sample string 16</ProductName>
      <ProductPrice>11</ProductPrice>
      <ProductQtyID>8</ProductQtyID>
      <Quantity>9</Quantity>
      <Tax>3</Tax>
      <TaxAmount>4</TaxAmount>
      <TotalAmount>5</TotalAmount>
      <UpdateQuantity>10</UpdateQuantity>
    </RetOrderQtyViewModel>
    <RetOrderQtyViewModel>
      <ArticleCode>sample string 13</ArticleCode>
      <CategoryTypeID>7</CategoryTypeID>
      <DiscountPer>15</DiscountPer>
      <DiscountPrice>14</DiscountPrice>
      <HSNNumber>sample string 6</HSNNumber>
      <OrderQtyID>1</OrderQtyID>
      <ProductID>2</ProductID>
      <ProductMRP>12</ProductMRP>
      <ProductName>sample string 16</ProductName>
      <ProductPrice>11</ProductPrice>
      <ProductQtyID>8</ProductQtyID>
      <Quantity>9</Quantity>
      <Tax>3</Tax>
      <TaxAmount>4</TaxAmount>
      <TotalAmount>5</TotalAmount>
      <UpdateQuantity>10</UpdateQuantity>
    </RetOrderQtyViewModel>
  </lstOrderQty>
</RetOrderViewModel>

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