BAwarranty Server V1

<back to all web services

bacontract_sendToEmail

The following routes are available for this service:
All Verbs/bacontract_sendToEmail
bacontract_sendToEmail Parameters:
NameParameterData TypeRequiredDescription
idcontract1querystringYes
emailbodyquerystringYes
whichbuyerquerystringYes1: buyer1, 2: buyer2, 0: buyer1 and buyer2

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

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

{"idcontract1":"String","emailbody":"String","whichbuyer":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"message":"String","result":"String"}