BAwarranty Server V1

<back to all web services

newdraft

The following routes are available for this service:
All Verbs/newdraft
newdraft Parameters:
NameParameterData TypeRequiredDescription
tokenquerystringYes
tokensecretquerystringYes
idciaquerystringYes
idprojectquerystringYes
catidquerystringYes
categoryquerystringYes
servicenotesquerystringYes
photoquerystringYes
creabyquerystringYes
subcategory1querystringNo
subcategory2querystringNo
photoTimequerystringNo
photoTakerquerystringNo
photoLatquerystringNo
photoLngquerystringNo

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/oneway/newdraft HTTP/1.1 
Host: ssl.buildersaccess.com 
Content-Type: application/json
Content-Length: length

{"token":"String","tokensecret":"String","idcia":"String","idproject":"String","catid":"String","category":"String","servicenotes":"String","photo":"String","creaby":"String","subcategory1":"String","subcategory2":"String","photoTime":"String","photoTaker":"String","photoLat":"String","photoLng":"String"}