POST api/InquiryAPI/AddProjectInquiry
Request Information
URI Parameters
None.
Body Parameters
ObjProjectInquiry| Name | Description | Type | Additional information |
|---|---|---|---|
| InquiryId | integer |
None. |
|
| ProjectName | string |
Required String length: inclusive between 3 and 100 |
|
| ProjectSource | integer |
Required |
|
| Territory | integer |
Required |
|
| InquiryName | string |
Required String length: inclusive between 3 and 100 |
|
| 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 | integer |
None. |
|
| Reason | integer |
None. |
|
| LOIMargin | decimal number |
None. |
|
| SOMargin | decimal number |
None. |
|
| QuoteMargin | decimal number |
None. |
|
| Revision | integer |
None. |
|
| RevisionNote | string |
None. |
|
| ExpOrderDate | date |
None. |
|
| QuotedDate | date |
None. |
|
| LostReason | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"InquiryId": 1,
"ProjectName": "sample string 2",
"ProjectSource": 3,
"Territory": 4,
"InquiryName": "sample string 5",
"CustomerName": 6,
"MEPContractor": 7,
"MainContractor": 8,
"DesignConsultant": 9,
"SupervisionConsultant": 10,
"StageId": 11,
"InquiryProbability": 12,
"ReceivedDate": "2025-12-06T07:46:31.5636133+03:00",
"QuotationEngineerId": 14,
"SalesEngineerId": 15,
"BusinessVertical": 16,
"BusinessCategory": 17,
"LostTo": 18,
"Reason": 19,
"LOIMargin": 20.0,
"SOMargin": 21.0,
"QuoteMargin": 22.0,
"Revision": 23,
"RevisionNote": "sample string 24",
"ExpOrderDate": "2025-12-06T07:46:31.5636133+03:00",
"QuotedDate": "2025-12-06T07:46:31.5636133+03:00",
"LostReason": "sample string 25"
}
application/xml, text/xml
Sample:
<ObjProjectInquiry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Maven_CRM.Models"> <BusinessCategory>17</BusinessCategory> <BusinessVertical>16</BusinessVertical> <CustomerName>6</CustomerName> <DesignConsultant>9</DesignConsultant> <ExpOrderDate>2025-12-06T07:46:31.5636133+03:00</ExpOrderDate> <InquiryId>1</InquiryId> <InquiryName>sample string 5</InquiryName> <InquiryProbability>12</InquiryProbability> <LOIMargin>20</LOIMargin> <LostReason>sample string 25</LostReason> <LostTo>18</LostTo> <MEPContractor>7</MEPContractor> <MainContractor>8</MainContractor> <ProjectName>sample string 2</ProjectName> <ProjectSource>3</ProjectSource> <QuotationEngineerId>14</QuotationEngineerId> <QuoteMargin>22</QuoteMargin> <QuotedDate>2025-12-06T07:46:31.5636133+03:00</QuotedDate> <Reason>19</Reason> <ReceivedDate>2025-12-06T07:46:31.5636133+03:00</ReceivedDate> <Revision>23</Revision> <RevisionNote>sample string 24</RevisionNote> <SOMargin>21</SOMargin> <SalesEngineerId>15</SalesEngineerId> <StageId>11</StageId> <SupervisionConsultant>10</SupervisionConsultant> <Territory>4</Territory> </ObjProjectInquiry>
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.