POST Quotation/CreateQuotationWithLineSheet

Request Information

URI Parameters

None.

Body Parameters

SaveQuotationWithLinesheetVM
NameDescriptionTypeAdditional information
LeadID

integer

None.

LeadOwnerID

integer

None.

UserID

integer

None.

CustomerID

integer

None.

AvgDisc

decimal number

None.

SubTotal

decimal number

None.

FinalDiscount

decimal number

None.

GST

integer

None.

GSTAmount

decimal number

None.

GrandTotal

decimal number

None.

FollowUpType

string

None.

LeadStatusID

string

None.

LeadCategoryID

integer

None.

LineID

integer

None.

NewFollowupDate

date

None.

Communication

string

None.

Remarks

string

None.

QuotationDetails

Collection of QuotationProductModel

None.

Request Formats

application/json, text/json

Sample:
{
  "LeadID": 1,
  "LeadOwnerID": 2,
  "UserID": 3,
  "CustomerID": 4,
  "AvgDisc": 5.1,
  "SubTotal": 6.1,
  "FinalDiscount": 7.1,
  "GST": 8,
  "GSTAmount": 9.1,
  "GrandTotal": 10.1,
  "FollowUpType": "sample string 11",
  "LeadStatusID": "sample string 12",
  "LeadCategoryID": 13,
  "LineID": 14,
  "NewFollowupDate": "2026-07-18T12:13:56.2340102+05:30",
  "Communication": "sample string 15",
  "Remarks": "sample string 16",
  "QuotationDetails": [
    {
      "ItemID": 1,
      "Description": "sample string 1",
      "ApproxArea": "sample string 2",
      "Quantity": 3.1,
      "UnitID": 4,
      "MRP": 5.1,
      "DiscPer": 6.1,
      "Rate": 7.1,
      "Amount": 8.1
    },
    {
      "ItemID": 1,
      "Description": "sample string 1",
      "ApproxArea": "sample string 2",
      "Quantity": 3.1,
      "UnitID": 4,
      "MRP": 5.1,
      "DiscPer": 6.1,
      "Rate": 7.1,
      "Amount": 8.1
    }
  ]
}

application/xml, text/xml

Sample:
<SaveQuotationWithLinesheetVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VarmoraInventory.Models">
  <AvgDisc>5.1</AvgDisc>
  <Communication>sample string 15</Communication>
  <CustomerID>4</CustomerID>
  <FinalDiscount>7.1</FinalDiscount>
  <FollowUpType>sample string 11</FollowUpType>
  <GST>8</GST>
  <GSTAmount>9.1</GSTAmount>
  <GrandTotal>10.1</GrandTotal>
  <LeadCategoryID>13</LeadCategoryID>
  <LeadID>1</LeadID>
  <LeadOwnerID>2</LeadOwnerID>
  <LeadStatusID>sample string 12</LeadStatusID>
  <LineID>14</LineID>
  <NewFollowupDate>2026-07-18T12:13:56.2340102+05:30</NewFollowupDate>
  <QuotationDetails>
    <QuotationProductModel>
      <Amount>8.1</Amount>
      <ApproxArea>sample string 2</ApproxArea>
      <Description>sample string 1</Description>
      <DiscPer>6.1</DiscPer>
      <ItemID>1</ItemID>
      <MRP>5.1</MRP>
      <Quantity>3.1</Quantity>
      <Rate>7.1</Rate>
      <UnitID>4</UnitID>
    </QuotationProductModel>
    <QuotationProductModel>
      <Amount>8.1</Amount>
      <ApproxArea>sample string 2</ApproxArea>
      <Description>sample string 1</Description>
      <DiscPer>6.1</DiscPer>
      <ItemID>1</ItemID>
      <MRP>5.1</MRP>
      <Quantity>3.1</Quantity>
      <Rate>7.1</Rate>
      <UnitID>4</UnitID>
    </QuotationProductModel>
  </QuotationDetails>
  <Remarks>sample string 16</Remarks>
  <SubTotal>6.1</SubTotal>
  <UserID>3</UserID>
</SaveQuotationWithLinesheetVM>

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

Response Information

Resource Description

ApiResponseOfObject
NameDescriptionTypeAdditional information
StatusCode

integer

None.

Status

boolean

None.

Message

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "StatusCode": 1,
  "Status": true,
  "Message": "sample string 3",
  "Data": {}
}

application/xml, text/xml

Sample:
<ApiResponseOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VarmoraInventory.Models">
  <Data />
  <Message>sample string 3</Message>
  <Status>true</Status>
  <StatusCode>1</StatusCode>
</ApiResponseOfanyType>