BAwarranty Server V1

<back to all web services

bacontract_SendEmail

The following routes are available for this service:
All Verbs/bacontract_SendEmail
bacontract_SendEmail Parameters:
NameParameterData TypeRequiredDescription
salesemailquerystringNo
salesnamequerystringNo
idciaquerystringNo
idcontractquerystringYes
EmailToquerystringYes
EmailCcquerystringNo
SubjectquerystringNo
BodyquerystringNo
Attachment1querystringNo
Attachment2querystringNo
Attachment3querystringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /xml/reply/bacontract_SendEmail HTTP/1.1 
Host: contractssl.buildersaccess.com 
Content-Type: application/xml
Content-Length: length

<bacontract_SendEmail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServerSDK1">
  <Attachment1>String</Attachment1>
  <Attachment2>String</Attachment2>
  <Attachment3>String</Attachment3>
  <Body>String</Body>
  <EmailCc>String</EmailCc>
  <EmailTo>String</EmailTo>
  <Subject>String</Subject>
  <idcia>String</idcia>
  <idcontract>String</idcontract>
  <salesemail>String</salesemail>
  <salesname>String</salesname>
</bacontract_SendEmail>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">false</boolean>