| All Verbs | /sch_pmSubmitSafetyViolationReport |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| token | query | string | No | |
| tokensecret | query | string | No | |
| idcia | query | string | No | |
| idproject | query | string | No | |
| nproject | query | string | No | |
| idvendor | query | string | No | |
| nvendor | query | string | No | |
| violationDate | query | string | No | |
| site | query | string | No | |
| subcontractor | query | string | No | |
| violationName | query | string | No | |
| violationLocation | query | string | No | |
| description | query | string | No | |
| issuedBy | query | string | No | |
| violation1 | query | string | No | |
| violations1 | query | string | No | |
| resultin | query | string | No | |
| subcontractorSignature | query | string | No | |
| contractorSignature | query | string | No | |
| signdate | query | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=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
}