POST api/InquiryAPI/AddupdateInquiryProduct
Request Information
URI Parameters
None.
Body Parameters
ObjAddUpdateInquiryProduct| Name | Description | Type | Additional information |
|---|---|---|---|
| ObjInqProduct | Collection of ObjInquiryProduct |
None. |
|
| InquiryId | integer |
Required |
|
| DiscountValue | decimal number |
None. |
|
| TotalQuotedSalesValue | decimal number |
None. |
|
| TotalReportedQuotedSalesValue | decimal number |
None. |
|
| QuotedDate | date |
Required |
|
| DeliveryTerms | integer |
None. |
|
| IncoTerms | integer |
None. |
|
| ExpOrderDate | date |
Required |
|
| Application | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ObjInqProduct": [
{
"InquiryProductId": 1,
"ProductId": 2,
"Origin": "sample string 3",
"Specified": true,
"Qty": 5,
"UnitType": 6,
"Price": 7.0,
"GrossValue": 8.0,
"DiscountPer": 9.0,
"TotalPrice": 10.0,
"TotalPriceQAR": 11.0,
"Competitor": "sample string 12",
"Remark": "sample string 13"
},
{
"InquiryProductId": 1,
"ProductId": 2,
"Origin": "sample string 3",
"Specified": true,
"Qty": 5,
"UnitType": 6,
"Price": 7.0,
"GrossValue": 8.0,
"DiscountPer": 9.0,
"TotalPrice": 10.0,
"TotalPriceQAR": 11.0,
"Competitor": "sample string 12",
"Remark": "sample string 13"
}
],
"InquiryId": 1,
"DiscountValue": 2.0,
"TotalQuotedSalesValue": 3.0,
"TotalReportedQuotedSalesValue": 4.0,
"QuotedDate": "2025-12-06T07:35:35.6536333+03:00",
"DeliveryTerms": 6,
"IncoTerms": 7,
"ExpOrderDate": "2025-12-06T07:35:35.6536333+03:00",
"Application": 9
}
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>9</Application>
<DeliveryTerms>6</DeliveryTerms>
<DiscountValue>2</DiscountValue>
<ExpOrderDate>2025-12-06T07:35:35.6536333+03:00</ExpOrderDate>
<IncoTerms>7</IncoTerms>
<InquiryId>1</InquiryId>
<ObjInqProduct>
<ObjInquiryProduct>
<Competitor>sample string 12</Competitor>
<DiscountPer>9</DiscountPer>
<GrossValue>8</GrossValue>
<InquiryProductId>1</InquiryProductId>
<Origin>sample string 3</Origin>
<Price>7</Price>
<ProductId>2</ProductId>
<Qty>5</Qty>
<Remark>sample string 13</Remark>
<Specified>true</Specified>
<TotalPrice>10</TotalPrice>
<TotalPriceQAR>11</TotalPriceQAR>
<UnitType>6</UnitType>
</ObjInquiryProduct>
<ObjInquiryProduct>
<Competitor>sample string 12</Competitor>
<DiscountPer>9</DiscountPer>
<GrossValue>8</GrossValue>
<InquiryProductId>1</InquiryProductId>
<Origin>sample string 3</Origin>
<Price>7</Price>
<ProductId>2</ProductId>
<Qty>5</Qty>
<Remark>sample string 13</Remark>
<Specified>true</Specified>
<TotalPrice>10</TotalPrice>
<TotalPriceQAR>11</TotalPriceQAR>
<UnitType>6</UnitType>
</ObjInquiryProduct>
</ObjInqProduct>
<QuotedDate>2025-12-06T07:35:35.6536333+03:00</QuotedDate>
<TotalQuotedSalesValue>3</TotalQuotedSalesValue>
<TotalReportedQuotedSalesValue>4</TotalReportedQuotedSalesValue>
</ObjAddUpdateInquiryProduct>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of ObjectNone.
Response Formats
application/json, text/json
Sample:
Sample not available.