BAwarranty Server V1

<back to all web services

bacontract_upload

The following routes are available for this service:
POST/bacontract_upload
bacontract_upload Parameters:
NameParameterData TypeRequiredDescription
filetypebodystringYes
idciabodystringYes
idprojectbodystringYes
idcontractbodystringYes
usernamebodystringYes
codebodystringYes
filebodystringYes

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

HTTP + JSV

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

POST /jsv/reply/bacontract_upload HTTP/1.1 
Host: contractssl.buildersaccess.com 
Content-Type: text/jsv
Content-Length: length

{
	filetype: String,
	idcia: String,
	idproject: String,
	idcontract: String,
	username: String,
	code: String,
	file: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

(string)