Trendsic Platform Service

<back to all web services

PostInspectionReportResponse

Requires Authentication
PostInspectionReportResponse Parameters:
NameParameterData TypeRequiredDescription
ResultqueryInspectionReportNo
ResponseStatusqueryResponseStatusNo
InspectionReport Parameters:
NameParameterData TypeRequiredDescription
AgentUIDformGuidNo
ContactUIDformGuidNo
InspectionReportUIDformGuidNo
TradeNameformstringNo
BusinessPhoneformstringNo
StreetAddressformstringNo
ZipCodeformstringNo
OwnersNameformstringNo
ComplianceStatusformbyteNo
IsBusinessClassABeerformboolNo
IsBusinessClassBBeerformboolNo
IsBusinessClassALiquorformboolNo
IsBusinessClassBLiquorformboolNo
IsBusinessClassDformboolNo
IsBusinessClassMformboolNo
IsBusinessClassPformboolNo
IsBusinessClassRformboolNo
IsBusinessClassRAHformboolNo
ClassBeerAccountNumformstringNo
ClassBeerStateNumformstringNo
ClassLiquorAccountNumformstringNo
ClassLiquorStateNumformstringNo
LicensedEmployeesformList<Employee>No
AgentNameformstringNo
ManagerSignatureformObjectNo
ManagerNameformstringNo
ManagerPhoneformstringNo
InspectionDateformDateTimeNo
Employee Parameters:
NameParameterData TypeRequiredDescription
FirstNameformstringNo
MiddleNameformstringNo
LastNameformstringNo

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

HTTP + OTHER

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

POST /jsonl/oneway/PostInspectionReportResponse HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsonl
Content-Type: text/jsonl
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-01T00:00:00.0000000"},"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}