BAwarranty Server V1

<back to all web services

sch_pmsaveProjectInspectionByArea

The following routes are available for this service:
All Verbs/sch_pmsaveProjectInspectionByArea
sch_pmsaveProjectInspectionByArea Parameters:
NameParameterData TypeRequiredDescription
tokenquerystringNo
tokensecretquerystringNo
idciaquerystringNo
idprojectquerystringNo
idprojectinspection1querystringNo
inspectionAreaquerySch_projectInspectionAreaNo
finishynqueryboolNo
completeynqueryboolNo
idvendorquerystringNo
Sch_projectInspectionArea Parameters:
NameParameterData TypeRequiredDescription
idnumberformstringNo
itemformstringNo
titleformstringNo
creabyformstringNo
creatimeformstringNo
categoryformList<Sch_projectInspectionCategory>No
photosformList<Sch_projectInspectionPhoto>No

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

{
	token: String,
	tokensecret: String,
	idcia: String,
	idproject: String,
	idprojectinspection1: String,
	inspectionArea: 
	{
		idnumber: String,
		item: String,
		title: String,
		creaby: String,
		creatime: String,
		category: 
		[
			{
				idnumber: String,
				item: String,
				title: String,
				creaby: String,
				creatime: String,
				comment: 
				{
					idnumber: String,
					room: String,
					item: String,
					comment: String,
					creaby: String,
					creatime: String
				},
				inspectionitems: 
				[
					{
						idnumber: String,
						item: String,
						title: String,
						pic: False,
						creaby: String,
						creatime: String,
						failyn: False,
						completeyn: False,
						nayn: False,
						showyn: False,
						photos: 
						[
							{
								idnumber: String,
								idx: 0,
								creaby: String,
								creatime: String,
								walkno: String,
								failyn: False
							}
						]
					}
				]
			}
		],
		photos: 
		[
			{
				idnumber: String,
				idx: 0,
				creaby: String,
				creatime: String,
				walkno: String,
				failyn: False
			}
		]
	},
	finishyn: False,
	completeyn: False,
	idvendor: String
}