BAwarranty Server V1

<back to all web services

sch_pmSubmitSafetyViolationReport

The following routes are available for this service:
All Verbs/sch_pmSubmitSafetyViolationReport
sch_pmSubmitSafetyViolationReport Parameters:
NameParameterData TypeRequiredDescription
tokenquerystringNo
tokensecretquerystringNo
idciaquerystringNo
idprojectquerystringNo
nprojectquerystringNo
idvendorquerystringNo
nvendorquerystringNo
violationDatequerystringNo
sitequerystringNo
subcontractorquerystringNo
violationNamequerystringNo
violationLocationquerystringNo
descriptionquerystringNo
issuedByquerystringNo
violation1querystringNo
violations1querystringNo
resultinquerystringNo
subcontractorSignaturequerystringNo
contractorSignaturequerystringNo
signdatequerystringNo

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/sch_pmSubmitSafetyViolationReport HTTP/1.1 
Host: ssl.buildersaccess.com 
Content-Type: text/jsv
Content-Length: length

{
	token: String,
	tokensecret: String,
	idcia: String,
	idproject: String,
	nproject: String,
	idvendor: String,
	nvendor: String,
	violationDate: String,
	site: String,
	subcontractor: String,
	violationName: String,
	violationLocation: String,
	description: String,
	issuedBy: String,
	violation1: String,
	violations1: String,
	resultin: String,
	subcontractorSignature: String,
	contractorSignature: String,
	signdate: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	validtoken: String,
	found: String,
	message: String
}