TaxComm Platform Service

<back to all web services

GetInspectionReport

The following routes are available for this service:
GET,OPTIONS/v1/InspectionReport/{AgentUID}/{ContactUID}/

To override the Content-type in your clients 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/GetInspectionReport HTTP/1.1 
Host: taxcommapi.trendsic.net 
Content-Type: text/jsv
Content-Length: length

{
	AgentUID: 00000000000000000000000000000000,
	ContactUID: 00000000000000000000000000000000,
	InspectionReportUID: 00000000000000000000000000000000
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Result: 
	[
		{
			AgentUID: 00000000000000000000000000000000,
			ContactUID: 00000000000000000000000000000000,
			InspectionReportUID: 00000000000000000000000000000000,
			TradeName: String,
			BusinessPhone: String,
			StreetAddress: String,
			ZipCode: String,
			OwnersName: String,
			ComplianceStatus: 0,
			IsBusinessClassABeer: False,
			IsBusinessClassBBeer: False,
			IsBusinessClassALiquor: False,
			IsBusinessClassBLiquor: False,
			IsBusinessClassD: False,
			IsBusinessClassM: False,
			IsBusinessClassP: False,
			IsBusinessClassR: False,
			IsBusinessClassRAH: False,
			ClassBeerAccountNum: String,
			ClassBeerStateNum: String,
			ClassLiquorAccountNum: String,
			ClassLiquorStateNum: String,
			LicensedEmployees: 
			[
				{
					FirstName: String,
					MiddleName: String,
					LastName: String
				}
			],
			AgentName: String,
			ManagerSignature: {},
			ManagerName: String,
			ManagerPhone: String,
			InspectionDate: 0001-01-01
		}
	],
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String
			}
		]
	}
}