POST api/RFP/SendBidEmail

Send mail

Request Information

URI Parameters

None.

Body Parameters

RFPBidSendMailRequestModel
NameDescriptionTypeAdditional information
RFPID

integer

None.

APIKey

string

None.

UserID

integer

None.

SendToCustomer

boolean

None.

SendToSubContractors

boolean

None.

SendToAdmin

boolean

None.

AdditionalMailbody

string

None.

IsSendUpdatedMail

boolean

None.

SendToApprover

boolean

None.

Request Formats

application/json, text/json, text/plain, text/html

Sample:
{
  "rfpid": 1,
  "apiKey": "sample string 2",
  "userID": 3,
  "sendToCustomer": true,
  "sendToSubContractors": true,
  "sendToAdmin": true,
  "additionalMailbody": "sample string 7",
  "isSendUpdatedMail": true,
  "sendToApprover": true
}

application/xml, text/xml

Sample:
<RFPBidSendMailRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.RequestModel">
  <APIKey>sample string 2</APIKey>
  <AdditionalMailbody>sample string 7</AdditionalMailbody>
  <IsSendUpdatedMail>true</IsSendUpdatedMail>
  <RFPID>1</RFPID>
  <SendToAdmin>true</SendToAdmin>
  <SendToApprover>true</SendToApprover>
  <SendToCustomer>true</SendToCustomer>
  <SendToSubContractors>true</SendToSubContractors>
  <UserID>3</UserID>
</RFPBidSendMailRequestModel>

multipart/form-data

Sample:
<RFPBidSendMailRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.RequestModel"><APIKey>sample string 2</APIKey><AdditionalMailbody>sample string 7</AdditionalMailbody><IsSendUpdatedMail>true</IsSendUpdatedMail><RFPID>1</RFPID><SendToAdmin>true</SendToAdmin><SendToApprover>true</SendToApprover><SendToCustomer>true</SendToCustomer><SendToSubContractors>true</SendToSubContractors><UserID>3</UserID></RFPBidSendMailRequestModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CommonResponseDataModel
NameDescriptionTypeAdditional 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>