POST api/RFP/SaveBid
Api to save RFP
Request Information
URI Parameters
None.
Body Parameters
ProposalRequestModelName | Description | Type | Additional information |
---|---|---|---|
objRequestModel | Collection of RFPBidDetailsModel |
None. |
|
APIKey | string |
None. |
Request Formats
application/json, text/json, text/plain, text/html
Sample:
{ "objRequestModel": [ { "rfpBidID": 1, "rfpid": 1, "bidDate": "2025-07-17T05:05:38.6375369+00:00", "subContractorID": 1, "bidNotes": "sample string 1", "workLineItems": [ { "proposalWorkName": "sample string 1", "proposalWorkExpDeliveryDate": "2025-07-17T05:05:38.6375369+00:00", "proposalWorkNotes": "sample string 2", "proposalEstCompleteDate": "2025-07-17T05:05:38.6375369+00:00", "proposalEstAmount": 1.0, "proposalRemarks": "sample string 3", "unitPrice": 1.0, "quantity": 1.0, "isNetworkVendor": true, "adminFee": 1.0, "adminPercent": 1.0, "rfpItemID": 5, "uomid": 1, "rfpWorkItemID": 6, "costType": 1 }, { "proposalWorkName": "sample string 1", "proposalWorkExpDeliveryDate": "2025-07-17T05:05:38.6375369+00:00", "proposalWorkNotes": "sample string 2", "proposalEstCompleteDate": "2025-07-17T05:05:38.6375369+00:00", "proposalEstAmount": 1.0, "proposalRemarks": "sample string 3", "unitPrice": 1.0, "quantity": 1.0, "isNetworkVendor": true, "adminFee": 1.0, "adminPercent": 1.0, "rfpItemID": 5, "uomid": 1, "rfpWorkItemID": 6, "costType": 1 } ], "cmmsCompanyId": 2, "userID": 1, "isNetworkSubContractor": true, "subConEmailID": "sample string 4" }, { "rfpBidID": 1, "rfpid": 1, "bidDate": "2025-07-17T05:05:38.6375369+00:00", "subContractorID": 1, "bidNotes": "sample string 1", "workLineItems": [ { "proposalWorkName": "sample string 1", "proposalWorkExpDeliveryDate": "2025-07-17T05:05:38.6375369+00:00", "proposalWorkNotes": "sample string 2", "proposalEstCompleteDate": "2025-07-17T05:05:38.6375369+00:00", "proposalEstAmount": 1.0, "proposalRemarks": "sample string 3", "unitPrice": 1.0, "quantity": 1.0, "isNetworkVendor": true, "adminFee": 1.0, "adminPercent": 1.0, "rfpItemID": 5, "uomid": 1, "rfpWorkItemID": 6, "costType": 1 }, { "proposalWorkName": "sample string 1", "proposalWorkExpDeliveryDate": "2025-07-17T05:05:38.6375369+00:00", "proposalWorkNotes": "sample string 2", "proposalEstCompleteDate": "2025-07-17T05:05:38.6375369+00:00", "proposalEstAmount": 1.0, "proposalRemarks": "sample string 3", "unitPrice": 1.0, "quantity": 1.0, "isNetworkVendor": true, "adminFee": 1.0, "adminPercent": 1.0, "rfpItemID": 5, "uomid": 1, "rfpWorkItemID": 6, "costType": 1 } ], "cmmsCompanyId": 2, "userID": 1, "isNetworkSubContractor": true, "subConEmailID": "sample string 4" } ], "apiKey": "sample string 1" }
application/xml, text/xml
Sample:
<ProposalRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.RequestModel"> <APIKey>sample string 1</APIKey> <objRequestModel> <RFPBidDetailsModel> <BidDate>2025-07-17T05:05:38.6375369+00:00</BidDate> <BidNotes>sample string 1</BidNotes> <CMMSCompanyId>2</CMMSCompanyId> <IsNetworkSubContractor>true</IsNetworkSubContractor> <RFPBidID>1</RFPBidID> <RFPID>1</RFPID> <SubConEmailID>sample string 4</SubConEmailID> <SubContractorID>1</SubContractorID> <UserID>1</UserID> <WorkLineItems> <ProposalWorkLineItemModel> <AdminFee>1</AdminFee> <AdminPercent>1</AdminPercent> <CostType>1</CostType> <IsNetworkVendor>true</IsNetworkVendor> <ProposalEstAmount>1</ProposalEstAmount> <ProposalEstCompleteDate>2025-07-17T05:05:38.6375369+00:00</ProposalEstCompleteDate> <ProposalRemarks>sample string 3</ProposalRemarks> <ProposalWorkExpDeliveryDate>2025-07-17T05:05:38.6375369+00:00</ProposalWorkExpDeliveryDate> <ProposalWorkName>sample string 1</ProposalWorkName> <ProposalWorkNotes>sample string 2</ProposalWorkNotes> <Quantity>1</Quantity> <RFPItemID>5</RFPItemID> <RFPWorkItemID>6</RFPWorkItemID> <UOMID>1</UOMID> <UnitPrice>1</UnitPrice> </ProposalWorkLineItemModel> <ProposalWorkLineItemModel> <AdminFee>1</AdminFee> <AdminPercent>1</AdminPercent> <CostType>1</CostType> <IsNetworkVendor>true</IsNetworkVendor> <ProposalEstAmount>1</ProposalEstAmount> <ProposalEstCompleteDate>2025-07-17T05:05:38.6375369+00:00</ProposalEstCompleteDate> <ProposalRemarks>sample string 3</ProposalRemarks> <ProposalWorkExpDeliveryDate>2025-07-17T05:05:38.6375369+00:00</ProposalWorkExpDeliveryDate> <ProposalWorkName>sample string 1</ProposalWorkName> <ProposalWorkNotes>sample string 2</ProposalWorkNotes> <Quantity>1</Quantity> <RFPItemID>5</RFPItemID> <RFPWorkItemID>6</RFPWorkItemID> <UOMID>1</UOMID> <UnitPrice>1</UnitPrice> </ProposalWorkLineItemModel> </WorkLineItems> </RFPBidDetailsModel> <RFPBidDetailsModel> <BidDate>2025-07-17T05:05:38.6375369+00:00</BidDate> <BidNotes>sample string 1</BidNotes> <CMMSCompanyId>2</CMMSCompanyId> <IsNetworkSubContractor>true</IsNetworkSubContractor> <RFPBidID>1</RFPBidID> <RFPID>1</RFPID> <SubConEmailID>sample string 4</SubConEmailID> <SubContractorID>1</SubContractorID> <UserID>1</UserID> <WorkLineItems> <ProposalWorkLineItemModel> <AdminFee>1</AdminFee> <AdminPercent>1</AdminPercent> <CostType>1</CostType> <IsNetworkVendor>true</IsNetworkVendor> <ProposalEstAmount>1</ProposalEstAmount> <ProposalEstCompleteDate>2025-07-17T05:05:38.6375369+00:00</ProposalEstCompleteDate> <ProposalRemarks>sample string 3</ProposalRemarks> <ProposalWorkExpDeliveryDate>2025-07-17T05:05:38.6375369+00:00</ProposalWorkExpDeliveryDate> <ProposalWorkName>sample string 1</ProposalWorkName> <ProposalWorkNotes>sample string 2</ProposalWorkNotes> <Quantity>1</Quantity> <RFPItemID>5</RFPItemID> <RFPWorkItemID>6</RFPWorkItemID> <UOMID>1</UOMID> <UnitPrice>1</UnitPrice> </ProposalWorkLineItemModel> <ProposalWorkLineItemModel> <AdminFee>1</AdminFee> <AdminPercent>1</AdminPercent> <CostType>1</CostType> <IsNetworkVendor>true</IsNetworkVendor> <ProposalEstAmount>1</ProposalEstAmount> <ProposalEstCompleteDate>2025-07-17T05:05:38.6375369+00:00</ProposalEstCompleteDate> <ProposalRemarks>sample string 3</ProposalRemarks> <ProposalWorkExpDeliveryDate>2025-07-17T05:05:38.6375369+00:00</ProposalWorkExpDeliveryDate> <ProposalWorkName>sample string 1</ProposalWorkName> <ProposalWorkNotes>sample string 2</ProposalWorkNotes> <Quantity>1</Quantity> <RFPItemID>5</RFPItemID> <RFPWorkItemID>6</RFPWorkItemID> <UOMID>1</UOMID> <UnitPrice>1</UnitPrice> </ProposalWorkLineItemModel> </WorkLineItems> </RFPBidDetailsModel> </objRequestModel> </ProposalRequestModel>
multipart/form-data
Sample:
<ProposalRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.RequestModel"><APIKey>sample string 1</APIKey><objRequestModel><RFPBidDetailsModel><BidDate>2025-07-17T05:05:38.6375369+00:00</BidDate><BidNotes>sample string 1</BidNotes><CMMSCompanyId>2</CMMSCompanyId><IsNetworkSubContractor>true</IsNetworkSubContractor><RFPBidID>1</RFPBidID><RFPID>1</RFPID><SubConEmailID>sample string 4</SubConEmailID><SubContractorID>1</SubContractorID><UserID>1</UserID><WorkLineItems><ProposalWorkLineItemModel><AdminFee>1</AdminFee><AdminPercent>1</AdminPercent><CostType>1</CostType><IsNetworkVendor>true</IsNetworkVendor><ProposalEstAmount>1</ProposalEstAmount><ProposalEstCompleteDate>2025-07-17T05:05:38.6375369+00:00</ProposalEstCompleteDate><ProposalRemarks>sample string 3</ProposalRemarks><ProposalWorkExpDeliveryDate>2025-07-17T05:05:38.6375369+00:00</ProposalWorkExpDeliveryDate><ProposalWorkName>sample string 1</ProposalWorkName><ProposalWorkNotes>sample string 2</ProposalWorkNotes><Quantity>1</Quantity><RFPItemID>5</RFPItemID><RFPWorkItemID>6</RFPWorkItemID><UOMID>1</UOMID><UnitPrice>1</UnitPrice></ProposalWorkLineItemModel><ProposalWorkLineItemModel><AdminFee>1</AdminFee><AdminPercent>1</AdminPercent><CostType>1</CostType><IsNetworkVendor>true</IsNetworkVendor><ProposalEstAmount>1</ProposalEstAmount><ProposalEstCompleteDate>2025-07-17T05:05:38.6375369+00:00</ProposalEstCompleteDate><ProposalRemarks>sample string 3</ProposalRemarks><ProposalWorkExpDeliveryDate>2025-07-17T05:05:38.6375369+00:00</ProposalWorkExpDeliveryDate><ProposalWorkName>sample string 1</ProposalWorkName><ProposalWorkNotes>sample string 2</ProposalWorkNotes><Quantity>1</Quantity><RFPItemID>5</RFPItemID><RFPWorkItemID>6</RFPWorkItemID><UOMID>1</UOMID><UnitPrice>1</UnitPrice></ProposalWorkLineItemModel></WorkLineItems></RFPBidDetailsModel><RFPBidDetailsModel><BidDate>2025-07-17T05:05:38.6375369+00:00</BidDate><BidNotes>sample string 1</BidNotes><CMMSCompanyId>2</CMMSCompanyId><IsNetworkSubContractor>true</IsNetworkSubContractor><RFPBidID>1</RFPBidID><RFPID>1</RFPID><SubConEmailID>sample string 4</SubConEmailID><SubContractorID>1</SubContractorID><UserID>1</UserID><WorkLineItems><ProposalWorkLineItemModel><AdminFee>1</AdminFee><AdminPercent>1</AdminPercent><CostType>1</CostType><IsNetworkVendor>true</IsNetworkVendor><ProposalEstAmount>1</ProposalEstAmount><ProposalEstCompleteDate>2025-07-17T05:05:38.6375369+00:00</ProposalEstCompleteDate><ProposalRemarks>sample string 3</ProposalRemarks><ProposalWorkExpDeliveryDate>2025-07-17T05:05:38.6375369+00:00</ProposalWorkExpDeliveryDate><ProposalWorkName>sample string 1</ProposalWorkName><ProposalWorkNotes>sample string 2</ProposalWorkNotes><Quantity>1</Quantity><RFPItemID>5</RFPItemID><RFPWorkItemID>6</RFPWorkItemID><UOMID>1</UOMID><UnitPrice>1</UnitPrice></ProposalWorkLineItemModel><ProposalWorkLineItemModel><AdminFee>1</AdminFee><AdminPercent>1</AdminPercent><CostType>1</CostType><IsNetworkVendor>true</IsNetworkVendor><ProposalEstAmount>1</ProposalEstAmount><ProposalEstCompleteDate>2025-07-17T05:05:38.6375369+00:00</ProposalEstCompleteDate><ProposalRemarks>sample string 3</ProposalRemarks><ProposalWorkExpDeliveryDate>2025-07-17T05:05:38.6375369+00:00</ProposalWorkExpDeliveryDate><ProposalWorkName>sample string 1</ProposalWorkName><ProposalWorkNotes>sample string 2</ProposalWorkNotes><Quantity>1</Quantity><RFPItemID>5</RFPItemID><RFPWorkItemID>6</RFPWorkItemID><UOMID>1</UOMID><UnitPrice>1</UnitPrice></ProposalWorkLineItemModel></WorkLineItems></RFPBidDetailsModel></objRequestModel></ProposalRequestModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CommonResponseDataModelName | Description | Type | Additional information |
---|---|---|---|
ReturnID | integer |
Required |
|
Message | string |
Required |
|
Successful | boolean |
Required |
|
Code | integer |
None. |
|
TotalRecord | integer |
None. |
Response Formats
application/json, text/json, text/plain, text/html
Sample:
{ "returnID": 1, "message": "sample string 2", "successful": true, "code": 4, "totalRecord": 5 }
application/xml, text/xml
Sample:
<CommonResponseDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel"> <Code>4</Code> <Message>sample string 2</Message> <ReturnID>1</ReturnID> <Successful>true</Successful> <TotalRecord>5</TotalRecord> </CommonResponseDataModel>
multipart/form-data
Sample:
<CommonResponseDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel"><Code>4</Code><Message>sample string 2</Message><ReturnID>1</ReturnID><Successful>true</Successful><TotalRecord>5</TotalRecord></CommonResponseDataModel>