POST api/InquiryAPI/AddUpdateInquiry
Request Information
URI Parameters
None.
Body Parameters
ObjInquiry| Name | Description | Type | Additional information |
|---|---|---|---|
| InquiryId | integer |
None. |
|
| InquiryName | string |
Required |
|
| ProjectId | integer |
Required |
|
| CustomerName | integer |
Required |
|
| MEPContractor | integer |
None. |
|
| MainContractor | integer |
None. |
|
| DesignConsultant | integer |
None. |
|
| SupervisionConsultant | integer |
None. |
|
| StageId | integer |
Required |
|
| InquiryProbability | integer |
Required |
|
| ReceivedDate | date |
Required |
|
| QuotationEngineerId | integer |
Required |
|
| SalesEngineerId | integer |
Required |
|
| BusinessVertical | integer |
Required |
|
| BusinessCategory | integer |
None. |
|
| LostTo | string |
None. |
|
| Reason | integer |
None. |
|
| LOIMargin | string |
None. |
|
| POMargin | string |
None. |
|
| Revision | integer |
None. |
|
| RevisionNote | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"InquiryId": 1,
"InquiryName": "sample string 2",
"ProjectId": 3,
"CustomerName": 4,
"MEPContractor": 5,
"MainContractor": 6,
"DesignConsultant": 7,
"SupervisionConsultant": 8,
"StageId": 9,
"InquiryProbability": 10,
"ReceivedDate": "2025-12-06T07:38:20.8264189+03:00",
"QuotationEngineerId": 12,
"SalesEngineerId": 13,
"BusinessVertical": 14,
"BusinessCategory": 15,
"LostTo": "sample string 16",
"Reason": 17,
"LOIMargin": "sample string 18",
"POMargin": "sample string 19",
"Revision": 20,
"RevisionNote": "sample string 21"
}
application/xml, text/xml
Sample:
<ObjInquiry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Maven_CRM.Models"> <BusinessCategory>15</BusinessCategory> <BusinessVertical>14</BusinessVertical> <CustomerName>4</CustomerName> <DesignConsultant>7</DesignConsultant> <InquiryId>1</InquiryId> <InquiryName>sample string 2</InquiryName> <InquiryProbability>10</InquiryProbability> <LOIMargin>sample string 18</LOIMargin> <LostTo>sample string 16</LostTo> <MEPContractor>5</MEPContractor> <MainContractor>6</MainContractor> <POMargin>sample string 19</POMargin> <ProjectId>3</ProjectId> <QuotationEngineerId>12</QuotationEngineerId> <Reason>17</Reason> <ReceivedDate>2025-12-06T07:38:20.8264189+03:00</ReceivedDate> <Revision>20</Revision> <RevisionNote>sample string 21</RevisionNote> <SalesEngineerId>13</SalesEngineerId> <StageId>9</StageId> <SupervisionConsultant>8</SupervisionConsultant> </ObjInquiry>
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.