POST api/InquiryAPI/AddupdateInquiryProduct

Request Information

URI Parameters

None.

Body Parameters

ObjAddUpdateInquiryProduct
NameDescriptionTypeAdditional information
ObjInqProduct

Collection of ObjInquiryProduct

None.

InquiryId

integer

Required

DiscountValue

decimal number

None.

TotalQuotedSalesValue

decimal number

None.

TotalReportedQuotedSalesValue

decimal number

None.

QuotedDate

date

Required

DeliveryPeriod

integer

None.

IncoTerms

integer

None.

ExpOrderDate

date

Required

Application

integer

None.

QuoteMargin

decimal number

Range: inclusive between 0 and 100

ReportedCurrencyRate

decimal number

None.

FreightAmountQAR

decimal number

None.

FreightRemark

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ObjInqProduct": [
    {
      "RowNo": 1,
      "InquiryProductId": 2,
      "ProductId": 3,
      "ProductBrandName": 4,
      "Origin": "sample string 5",
      "Specified": true,
      "Qty": 7,
      "UnitType": 8,
      "Price": 9.0,
      "GrossValue": 10.0,
      "DiscountPer": 1.0,
      "TotalDiscountValue": 1.0,
      "TotalPrice": 11.0,
      "TotalPriceQAR": 12.0,
      "VatRate": 1.0,
      "VatValue": 1.0,
      "TotalPriceWithVat": 1.0,
      "TotalPriceQARWithVat": 1.0,
      "Competitor": "sample string 13",
      "Remark": "sample string 14",
      "Status": 1
    },
    {
      "RowNo": 1,
      "InquiryProductId": 2,
      "ProductId": 3,
      "ProductBrandName": 4,
      "Origin": "sample string 5",
      "Specified": true,
      "Qty": 7,
      "UnitType": 8,
      "Price": 9.0,
      "GrossValue": 10.0,
      "DiscountPer": 1.0,
      "TotalDiscountValue": 1.0,
      "TotalPrice": 11.0,
      "TotalPriceQAR": 12.0,
      "VatRate": 1.0,
      "VatValue": 1.0,
      "TotalPriceWithVat": 1.0,
      "TotalPriceQARWithVat": 1.0,
      "Competitor": "sample string 13",
      "Remark": "sample string 14",
      "Status": 1
    }
  ],
  "InquiryId": 1,
  "DiscountValue": 1.0,
  "TotalQuotedSalesValue": 1.0,
  "TotalReportedQuotedSalesValue": 1.0,
  "QuotedDate": "2025-12-06T07:50:12.6897104+03:00",
  "DeliveryPeriod": 1,
  "IncoTerms": 1,
  "ExpOrderDate": "2025-12-06T07:50:12.6897104+03:00",
  "Application": 4,
  "QuoteMargin": 5.0,
  "ReportedCurrencyRate": 6.0,
  "FreightAmountQAR": 7.0,
  "FreightRemark": "sample string 8"
}

application/xml, text/xml

Sample:
<ObjAddUpdateInquiryProduct xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Maven_CRM.Models">
  <Application>4</Application>
  <DeliveryPeriod>1</DeliveryPeriod>
  <DiscountValue>1</DiscountValue>
  <ExpOrderDate>2025-12-06T07:50:12.6897104+03:00</ExpOrderDate>
  <FreightAmountQAR>7</FreightAmountQAR>
  <FreightRemark>sample string 8</FreightRemark>
  <IncoTerms>1</IncoTerms>
  <InquiryId>1</InquiryId>
  <ObjInqProduct>
    <ObjInquiryProduct>
      <Competitor>sample string 13</Competitor>
      <DiscountPer>1</DiscountPer>
      <GrossValue>10</GrossValue>
      <InquiryProductId>2</InquiryProductId>
      <Origin>sample string 5</Origin>
      <Price>9</Price>
      <ProductBrandName>4</ProductBrandName>
      <ProductId>3</ProductId>
      <Qty>7</Qty>
      <Remark>sample string 14</Remark>
      <RowNo>1</RowNo>
      <Specified>true</Specified>
      <Status>1</Status>
      <TotalDiscountValue>1</TotalDiscountValue>
      <TotalPrice>11</TotalPrice>
      <TotalPriceQAR>12</TotalPriceQAR>
      <TotalPriceQARWithVat>1</TotalPriceQARWithVat>
      <TotalPriceWithVat>1</TotalPriceWithVat>
      <UnitType>8</UnitType>
      <VatRate>1</VatRate>
      <VatValue>1</VatValue>
    </ObjInquiryProduct>
    <ObjInquiryProduct>
      <Competitor>sample string 13</Competitor>
      <DiscountPer>1</DiscountPer>
      <GrossValue>10</GrossValue>
      <InquiryProductId>2</InquiryProductId>
      <Origin>sample string 5</Origin>
      <Price>9</Price>
      <ProductBrandName>4</ProductBrandName>
      <ProductId>3</ProductId>
      <Qty>7</Qty>
      <Remark>sample string 14</Remark>
      <RowNo>1</RowNo>
      <Specified>true</Specified>
      <Status>1</Status>
      <TotalDiscountValue>1</TotalDiscountValue>
      <TotalPrice>11</TotalPrice>
      <TotalPriceQAR>12</TotalPriceQAR>
      <TotalPriceQARWithVat>1</TotalPriceQARWithVat>
      <TotalPriceWithVat>1</TotalPriceWithVat>
      <UnitType>8</UnitType>
      <VatRate>1</VatRate>
      <VatValue>1</VatValue>
    </ObjInquiryProduct>
  </ObjInqProduct>
  <QuoteMargin>5</QuoteMargin>
  <QuotedDate>2025-12-06T07:50:12.6897104+03:00</QuotedDate>
  <ReportedCurrencyRate>6</ReportedCurrencyRate>
  <TotalQuotedSalesValue>1</TotalQuotedSalesValue>
  <TotalReportedQuotedSalesValue>1</TotalReportedQuotedSalesValue>
</ObjAddUpdateInquiryProduct>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of Object

None.

Response Formats

application/json, text/json

Sample:

Sample not available.