Call our help line: 1 866-787-2548

JSON Reference

  • Download JSDoc Helper
  • © 2021 Trak-iT Wireless Inc.
  • Updated Wednesday August 21, 2024 09:50AM
  • Version 4.37.13

Assets

Behaviours

Billing

Companies

Dispatch

File Hosting

Maintenance

Messaging

Providers and Configurations

Reports

Users and Groups

White-labelling

API Definitions

bytenumber

8bit unsigned integer
Format
Value range:
0
to
255

codifiedstring

Codified names
A lower-case string with all the apostrophes and quotation marks [", ', `, , and ] removed, and all non-alphanumeric character sequences replaced with a single minus sign. Diacritics such as ®, é, and ç are also replaced with their alhpabetic equivalents (r, e, and c).
Examples
InputOutput
Trucktruck
Truck 13truck-13
Truck #19truck-19
Dave's Truck (#36)daves-truck-36
Greg's "Rusty" Truck (#42)gregs-rusty-truck-42

colourstring

Colour
A string that contains only a valid CSS colour.
Read more: CSS Colours
Pattern
FormatDescription
#RGB[A] Shorthand hexadecimal colour notation [with alpha (transparency)].
#RRGGBB[AA] Hexadecimal colour notation [with alpha (transparency)].
rgb[a](R, G, B[, A]) Function call notation [with alpha (transparency)]. Each of the RGB values is specified as a number from 0 to 255. The alpha value is specified as a decimal between 0 and 1 with three digits of precision.
rgb[a](R%, G%, B%[, A]) Function call notation [with alpha (transparency)]. Each of the RGB values is specified as a number from 0% to 100%. The alpha value is specified as a decimal between 0 and 1 with three digits of precision.
hsl[a](H, S%, L%[, A]) Hue-Saturation-Lightness function call notation [with alpha (transparency)]. Hue is given as a number between 0 and 360. Saturation is given as a number between 0% and 100%. Lightness is given as a number between 0% and 100%. The alpha value is specified as a decimal between 0 and 1 with three digits of precision.
hsv[a](H, S%, L%[, A]) Hue-Saturation-Value function call notation [with alpha (transparency)]. Hue is given as a number between 0 and 360. Value is given as a number between 0% and 100%. Value is given as a number between 0% and 100%. The alpha value is specified as a decimal between 0 and 1 with three digits of precision.
Legend
FlagMeaning
RRed
GGreen
BBlue
AAlpha (transparency)
HHue
SSaturation
LLightness
VValue

datetimestring

Date and Time
A serialized-string representation of a date and time in ISO-8601 format. Square brackets [] are used to show optional format information. All other non-alphabetic characters are required.
Format
yyyy-MM-ddTHH:mm:ss[.fff]Z
Legend
FlagMeaning
yyyyFour digit year.
MMTwo digit month.
ddTwo digit day of the month.
TSeparator between date and time.
HHTwo digit hours ranging from 00 to 23.
mmTwo digit minute.
ssTwo digit second.
fffOptional three digit millisecond.
ZA terminator representing the UTC timezone.

datetimetemplatestring

Date and Time formatting
These formats define the text representation of dates and times.
Legend
FlagMeaning
yyTwo digit year.
yyyyFour digit year.
MOne or two digit month.
MMTwo digit month.
MMMAbbreviated month name (ie: Jan).
MMMMMonth name.
dOne or two digit day of the month.
ddTwo digit day of the month.
dddAbbreviated day name (ie: Mon).
ddddDay name (ie: Monday).
hOne or two digit hour ranging from 1 to 12.
HOne or two digit hour ranging from 0 to 23.
hhTwo digit hour ranging from 01 to 12.
HHTwo digit hours ranging from 00 to 23.
mOne or two digit minute.
mmTwo digit minute.
sOne or two digit second
ssTwo digit second.
fOne digit millisecond.
ffTwo digit millisecond.
fffThree digit millisecond.
tFirst letter of meridium (ie: a or p).
TFirst letter of meridium (ie: A or P).
ttMeridium (ie: am or pm).
TTMeridium (ie: AM or PM).
\Escape the next character.
Examples
InputOutput
ddd MMM d, yyyyTue Oct 19, 2021
h:mm:ss tt1:42:15 pm
H\h m\m13h 42m
yyyy-MM-dd\THH:mm:ss.fffZ2021-10-19T17:42:15.843Z

doublenumber

Double-precision floating point number
Format
Value range:
-1.7976931348623157e+308
to
1.7976931348623157e+308

emailstring

Email address (RFC 2822)
An email address identifies a mailbox to which messages are delivered. We follow the RFC 2822 pattern for addresses.
Read more: RFC 2822
Format
user@domain.tld

ErrorCodeuint16number

The possible errors returned by the system.
ValueDescription
0Success! Operation completed without error.
1An unknown error, or some kind or error by the client.
2Service error not because of client input.
3Invalid data. Client input could not be properly parsed.
4
Deprecated
Not a valid PermissionType.
5Permission denied. The operation not successful because access is restricted.
6Version keys sent with request do not match service version. In these cases, treat the service version as most recent.
61Unknown command.
62Timezone not found.
105Command not processed due to flooding.
108The long-running operation is queued, and will run when resources are ready.
109The long-running operation is currently executing.
110The long-running operation has failed; see message and errorDetails for more information.
125The object or operation has not changed since the last request.
126The collection has no content or the operation produced no results.
130Invalid operation. Due to either the request or the objects' state, the operation cannot be performed.
Assets
20Asset not found.
21Asset not deleted.
22One or more Assets in the list not found.
63AssetMessage not found.
96Asset suspended.
97Asset not suspended.
101AssetMessage not deleted.
Behaviours
23BehaviourScript not found.
24BehaviourScript not deleted.
25BehaviourScript currently implemented by one or more Behaviours. In order to delete a BehaviourScript, all Behaviours implementing the script must be deleted first.
26Behaviour not found.
27Behaviour not deleted.
Billing
111BillingProfile not found.
112BillingProfile not deleted.
113BillableHostingRule not found.
114BillableHostingRule not deleted.
117BillableHostingLicense not found.
118BillableHostingLicense not deleted.
119BillingReport not found.
120BillingReport not deleted.
Companies
28Company not found.
29Company not deleted.
58
Deprecated
Company.labels codes must be unique.
59
Deprecated
Company.tags codes must be unique.
Contacts
31Contact not found.
32Contact not deleted.
121Contact currently in use by one or more Users and/or Assets. In order to delete a Contact, all Users/Assets must first be altered or deleted.
Dispatch
64DispatchTask not found.
80There was an error retrieving the address' coordinates. Check the errorDetails for more information.
81No coordinates could be found for the given address. Ensure the address is correct, or try again without postal code.
82There was an error calculating the directions or too many stops were given. Check the errorDetails for more information.
83Directions could not be calculated between two or more stops. Ensure the each stop is correct, or try a shorter route.
100DispatchTask not deleted.
137DispatchTemplate not found.
138DispatchTemplate not deleted.
139DispatchJob not found.
140DispatchJob not deleted.
File Hosting
33Icon not found.
34Icon not deleted.
68Picture not found.
69One or more Pictures in the list not found.
70Picture not deleted.
90Unsupported MIME type.
91File is too large.
122Document not found.
123Document not deleted.
124One or more Documents in the list not found.
132FormTemplate not found.
133FormTemplate not deleted.
134FormResult not found.
135FormResult not deleted.
136One or more FormResults in the list not found.
141One or more DispatchJobs in the list not found.
142FormTemplate currently in use by one or more FormResults. In order to delete a FormTemplate, all FormResults must first be expired or deleted.
Hours of Service
76HosCarrier not found.
77HosCarrier not deleted.
78HosInspection not found.
79HosInspection not deleted.
84HosEvent not found.
Maintenance
35MaintenanceJob not found.
36MaintenanceJob not deleted.
37MaintenanceSchedule not found.
38MaintenanceSchedule not deleted.
39
Deprecated
MaintenanceSchedule currently in use by one or more MaintenanceJobs. In order to delete a MaintenanceSchedule, all MaintenanceJobs referencing this schedule must be deleted first.
Places
40Place not found.
41Place not deleted.
42One or more Places in the list not found.
Providers and Configurations
43Provider not found.
44Provider not deleted.
45One or more Providers in the list not found.
46
Deprecated
Cannot access deleted Provider.
Throws providerNotFound instead.
47ProviderConfigurationType not found.
48ProviderConfig or ProviderConfiguration not found.
49ProviderConfig or ProviderConfiguration not deleted.
50ProviderConfig or ProviderConfiguration currently in use by one or more Providers. In order to delete a ProviderConfig/ProviderConfiguration, all Providers using the configuration must be deleted first, or have their configuration changed.
51Invalid ProviderConfiguration options.
86Trying to remove an expired or completed ProviderRegistration.
89ProviderRegistration timeout has elapsed.
92
Deprecated
Unknown or invalid ProviderType.
Use invalidData instead.
98Provider suspended.
99Provider not suspended.
102ProviderScript not found.
103ProviderScript not deleted.
104ProviderScript currently in use by one or more ProviderConfigs. In order to delete a ProviderScript, all ProviderConfigs must first be deleted.
Reports
52ReportTemplate not found.
53ReportTemplate not deleted.
67ReportResult not found.
75ReportResult not deleted.
93ReportSchedule not found.
94ReportSchedule not deleted.
95ReportResult not ready to serve ReportSummary or ReportBreakdown data.
Users and Groups
7User's session is expired or unknown.
8Please login before all other operations.
9User's session was forcibly killed by another user, or by SessionPolicy's rules.
10The session has ended.
11Invalid credentials.
12The given client UserAgent is not allowed.
13IPAddress not allowed. IP restrictions are in place, and the client IP is not in the allowed list.
14Session is active from another client, and the SessionPolicy's rules are set to SessionMultiUser.deny.
15Password doesn't comply with the password policy. See the PasswordPolicy for a reason as to why your password does not meet the criteria.
16Your password has expired. Please change your password. An expired password does not mean your session has expired. If you create a new session, it will ask you to update your password again.
17When changing a password, it must not be the same as the previous password.
18
Deprecated
Unable to Kill the session.
19Session not found.
30UserGroup not found.
54User not found.
55User not deleted.
56
Deprecated
Cannot access deleted User.
Throws userNotFound instead.
57Cannot kill your own Session, or delete/disable your own User.
60One or more UserGroups in the list not found.
65UserGroup currently in use by one or more Users. In order to delete a UserGroup, all Users must first be removed as members.
66UserGroup not deleted.
71Unable to perform operation because resulting Permissions would be greater than your own.
72A User with this login already exists.
73Session or connection not allowed due to flooding.
74One or more Users in the list not found.
85User has been disabled.
127Machine not found.
128Machine not deleted.
129The Machine cannot access the requested API.
131A client using a Machine is trying to access the system from an unknown URL.
White-labelling
106CompanyReseller not found.
107CompanyReseller not deleted.

expressionstring

Search expression patterns
A targeting pattern is a string that represents an in-the-moment search for objects. The operators used depend entirely on the context of the search, and compatibility with the sub-system.
Format
operator:terms terms
Examples

It's easiest to look at a few examples. Given the following...

Asset 1
{
	"id": 1234,
	"name": "Truck",
	"kind": "vehicle",
	"labels": [
		"east-coast",
		"head-office"
	]
}
Asset 2
{
	"id": 4567,
	"name": "Alex",
	"kind": "person",
	"labels": [
		"drivers",
		"head-office"
	]
}
Asset 3
{
	"id": 7890,
	"name": "Mike",
	"kind": "person",
	"labels": [
		"east-coast",
		"service"
	]
}
InputOutput
To match all East Coast assets (Asset 1 and 3)label:east-coast or labels:east-coast or label:"East Coast"
To match all East Coast assets (Asset 1 and 3)label:east-coast or labels:east-coast or label:"East Coast"
To match all people (Asset 2 and 3)person:*
To match Asset 1 specifically#1234
To match assets with the string "ike" in the name (Asset 3)ike
To match people labelled East Coast (Asset 3)person:* label:east-coast
To match all assets labelled East Coast and labelled Head Office (Asset 1) label:east-coast,head-office or label:east-coast label:head-office
To match all assets labelled East Coast or labelled Head Office (Asset 1, 2, and 3) label:"East Coast" | label:head-office
To match all assets without the East Coast label, use the negative operator. !label:east-coast
Negative searches also work for terms, not just operators. The following will match only Asset 1 because the name has no "e" in it. !e

guidstring

Universally Unique Identifier
Globally/Universally Unique Identifier. It is a 36 character long string made up of letters, numbers, and dashes. The letters can be transmitted as upper-case, lower-case, or a combination.
Read more: Guid Struct
Format
xxxxxxxx-xxxx-4xxx-xxxx-xxxxxxxxxxxx

HostedTotalobject

Summary information about hosted files and other media.
JSON description
PropertyTypeDescription
bytesuint64Total file size of all referenced files currently hosted.
countuint32Total number of referenced files currently hosted.
newestdatetimeTimestamp for the most recently added file.
oldestdatetimeTimestamp for the least recently added file.
JSON structure
{
	"bytes": number,
	"count": number,
	"newest": string,
	"oldest": string
}

int16number

16bit integer
Format
Value range:
-32768
to
32767

int32number

32bit integer
Format
Value range:
-2147483648
to
2147483647

int64number

64bit integer
Format
Value range:
-9223372036854775808
to
9223372036854775807

ipv4string

IP Address (IPv4 only)
A serialized-string representation of an IPv4 Address. Square brackets [] are used to show optional format information. All other non-alphabetic characters are required.
Format
n.n.n.n[/r]
Legend
FlagMeaning
n A number ranging from 0 to 255.
rCIDR notation to indicate a range of IPv4 addresses. The number ranges from 32 to 0.

LatLngobject

A coordinate on the globe
JSON description
PropertyTypeDescription
latdoubleLatitude
lngdoubleLongitude
JSON structure
{
	"lat": number,
	"lng": number
}

LatLngBoundsobject

A boundary on the globe
JSON description
PropertyTypeDescription
eastdoubleEastern longitude
northdoubleNorthern latitude
southdoubleSouthern latitude
westdoubleWestern longitude
JSON structure
{
	"east": number,
	"north": number,
	"south": number,
	"west": number
}

ParamNoOperationBaseParametersobject

Request description
PropertyTypeRequiredDescription
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"reqId": number
}

ParamTimezoneGetBaseParametersobject

Request description
PropertyTypeRequiredDescription
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
timezoneParamCodealwaysAn object to contain the "code" of the Timezone.
timezone.codestringalwaysA "code" identifying a resource.
Request structure
{
	"reqId": number,
	"timezone": {
		"code": string
	}
}

ParamTimezoneListBaseParametersobject

Request description
PropertyTypeRequiredDescription
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"reqId": number
}

ParamUnknownBaseParametersobject

Request description
PropertyTypeRequiredDescription
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"reqId": number
}

phonenumber

Phone Number
A phone number for a phone in Canada or the United States of America. All phone numbers start with a 1 and are eleven digits long.
Format
[1]AAALLLSSSS
Legend
FlagMeaning
1Prefix
AAAArea Code
LLLLocal switch number
SSSSSubscriber number (Line number)

Pointobject

A coordinate on a flat surface
JSON description
PropertyTypeDescription
xdoubleHorizontal coordinate
ydoubleVertical coordinate
JSON structure
{
	"x": number,
	"y": number
}

polylinestring

Encoded Polyline Algorithm Format
The algorithm is a lossy compression that stores a series of coordinates as a single string. All coordinates are rounded to six decimal places before encoding, but this should be accurate to within roughly one and a half meters.

RespNoOperationobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespTimezoneGetBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
timezoneTimezoneThe requested Timezone.
timezone.codecodifiedUnique timezone code
timezone.dstbooleanIndicates whether this timezone abides by daylight savings
timezone.namestringCommon timezone name
timezone.offsetint16Minutes offset from GMT
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number,
	"timezone": {
		"code": string,
		"dst": boolean,
		"name": string,
		"offset": number
	}
}

RespTimezoneListBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
timezonesArray.<Timezone>The list of valid system Timezones.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number,
	"timezones": [
		{
			"code": string,
			"dst": boolean,
			"name": string,
			"offset": number
		}
	]
}

RespUnknownBaseResponseobject

Response description
PropertyTypeDescription
commandNamestringName of the command you attempted to execute.
datastringThe first 100 characters of data sent with the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"commandName": string,
	"data": string,
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

sbytenumber

8bit integer
Format
Value range:
-128
to
127

singlenumber

Single-precision floating point number
Format
Value range:
-3.40282347E+38F
to
3.40282347E+38F

Sizeobject

Dimensions on a flat surface
JSON description
PropertyTypeDescription
heightdoubleHeight
widthdoubleWidth
JSON structure
{
	"height": number,
	"width": number
}

Squareobject

A boundary on a flat surface
JSON description
PropertyTypeDescription
bottomdoubleLowest vertical coordinate
leftdoubleLeft-most horizontal coordinate
rightdoubleRight-most horizontal coordinate
topdoubleHighest vertical coordinate
JSON structure
{
	"bottom": number,
	"left": number,
	"right": number,
	"top": number
}

timespanstring

Duration
A serialized-string representation of a duration of time. There are two possible formats when using a duration string. Square brackets [] are used to show optional format information. All other non-alphabetic characters are required.
Format
[-][d.]H:mm[:ss[.fff]]
[-]d
Legend
FlagMeaning
-Optional minus sign to indicate a negative duration.
d Optional days, ranging from 0 to 10675199.
HH One or two digit hours ranging from 0 to 23.
mmTwo digit minute
ssOptional two digit second
fff Optional three digit millisecond. When including milliseconds, the two-digit seconds are also required even if the value is 00.

Timezoneobject

Timezone definition
JSON description
PropertyTypeDescription
codecodifiedUnique timezone code
dstbooleanIndicates whether this timezone abides by daylight savings
namestringCommon timezone name
offsetint16Minutes offset from GMT
JSON structure
{
	"code": string,
	"dst": boolean,
	"name": string,
	"offset": number
}

uint16number

16bit unsigned integer
Format
Value range:
0
to
65535

uint32number

32bit unsigned integer
Format
Value range:
0
to
4294967295

uint64number

64bit unsigned integer
Format
Value range:
0
to
18446744073709551615

urlstring

URL (Uniform Resource Locator)
Most commonly a website address, but can also be any other type of locator like ssh:. We follow the RFC 1738 pattern for addresses.
Read more: RFC 1738
Format
http[s]://domain.tld/path?query#fragment
protocol:path?query

API Definitions - Errors

ErrorDetailobject Abstract

An object which contains details about the error.
JSON description
PropertyTypeDescription
kindstringA hint for deserializing the error's details.
JSON structure
{
	"kind": string
}

ErrorDetailBadIdsErrorDetailobject

These details contain unique identifiers that caused the failure.
JSON description
PropertyTypeValueDescription
invalidArray.<uint64>
kindstring"badIds"A hint for deserializing the error's details.
JSON structure
{
	"invalid": [
		number
	],
	"kind": string
}

ErrorDetailBadIndexesErrorDetailobject

These details contain array indexes that caused the failure.
JSON description
PropertyTypeValueDescription
invalidArray.<int32>
kindstring"badIndexes"A hint for deserializing the error's details.
JSON structure
{
	"invalid": [
		number
	],
	"kind": string
}

ErrorDetailBadKeysErrorDetailobject

These details contain a list of bad keys, labels or tags, or parameter names that caused the failure.
JSON description
PropertyTypeValueDescription
invalidArray.<string>
kindstring"badKeys"A hint for deserializing the error's details.
JSON structure
{
	"invalid": [
		string
	],
	"kind": string
}

ErrorDetailBatchErrorDetailobject

For batch commands, these are the errors thrown by the sub-command.
JSON description
PropertyTypeValueDescription
errorsArray.<ErrorDetailBatchInner>Index-presevered list of sub-command errors.
kindstring"batch"A hint for deserializing the error's details.
JSON structure
{
	"errors": [
		{
			"errorCode": number,
			"errorDetails": {
				"kind": string
			},
			"message": string
		}
	],
	"kind": string
}

ErrorDetailBatchInnerobject

The error responses as thrown by the sub-command.
JSON description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
JSON structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string
}

ErrorDetailContactInUseErrorDetailUserGroupInUseErrorDetailobject

Details for how many and which Assets and Users are still using this Contact.
JSON description
PropertyTypeValueDescription
assetsArray.<uint64>
for values see: Asset.id
A list of Assets currently being referenced.
kindstring"contactInUse"A hint for deserializing the error's details.
usersArray.<email>
for values see: User.login
A list of Users currently being referenced.
JSON structure
{
	"assets": [
		number
	],
	"kind": string,
	"users": [
		string
	]
}

ErrorDetailCountErrorDetailobject

These are the details when a number of things create the exception.
JSON description
PropertyTypeValueDescription
countint32The number of items that failed, or number of items preventing success
kindstring"count"A hint for deserializing the error's details.
JSON structure
{
	"count": number,
	"kind": string
}

ErrorDetailEnumErrorDetailInputErrorDetailobject

These are the details of an enum input that failed to parse.
JSON description
PropertyTypeValueDescription
inputstringThe given input which caused the error.
kindstring"enum"A hint for deserializing the error's details.
validArray.<string>This is a list of possible values the input should have been.
JSON structure
{
	"input": string,
	"kind": string,
	"valid": [
		string
	]
}

ErrorDetailEscalationErrorDetailobject

Details of a permission escallation error thrown when modifying a resource or user that would grant the following extra permissions.
JSON description
PropertyTypeValueDescription
escalationsArray.<PermissionEscalation>
for keys see: Company.id
This is a dictionary of company id and list of PermissionTypes.
kindstring"escalation"A hint for deserializing the error's details.
JSON structure
{
	"escalations": [
		{
			"after": {
				"labels": [
					string
				],
				"level": string
			},
			"before": {
				"labels": [
					string
				],
				"level": string
			},
			"company": number,
			"direction": string,
			"kind": string
		}
	],
	"kind": string
}

ErrorDetailExternalsErrorDetailobject

These are the errors/warnings taken from the output of some other system.
JSON description
PropertyTypeValueDescription
errorsArray.<string>List of errors.
kindstring"externals"A hint for deserializing the error's details.
messagesArray.<string>List of messages.
warningsArray.<string>List of warnings.
JSON structure
{
	"errors": [
		string
	],
	"kind": string,
	"messages": [
		string
	],
	"warnings": [
		string
	]
}

ErrorDetailFormTemplateInUseErrorDetailobject

Details for how many and which FormResults are still using this FormTemplate.
JSON description
PropertyTypeValueDescription
formResultsArray.<uint64>
for values see: FormResult.id
A list of FormResults currently being referenced.
kindstring"formTemplateInUse"A hint for deserializing the error's details.
JSON structure
{
	"formResults": [
		number
	],
	"kind": string
}

ErrorDetailInputErrorDetailobject

These are the details of an input or format exception.
JSON description
PropertyTypeValueDescription
inputstringThe given input which caused the error.
kindstring"input"A hint for deserializing the error's details.
JSON structure
{
	"input": string,
	"kind": string
}

ErrorDetailLockedErrorDetailobject

Details for how long a resource is locked, or if a command cannot be executed right away, how long until it can be executed.
JSON description
PropertyTypeValueDescription
kindstring"locked"A hint for deserializing the error's details.
timeouttimespanThe amount of time the resource is locked, or you are prevented from issuing the command.
untildatetimeThis timestamp represents the moment the resource becomes available again.
JSON structure
{
	"kind": string,
	"timeout": string,
	"until": string
}

ErrorDetailMinMaxErrorDetailMinMaxErrorDetailobject

These are the details of when a value needed to be within a certain range, and was not.
JSON description
PropertyTypeValueDescription
kindstring"minMax"A hint for deserializing the error's details.
maxdouble?
mindouble?
JSON structure
{
	"kind": string,
	"max": number,
	"min": number
}

ErrorDetailParentErrorDetailobject

Details for how a circular company tree would have been created.
JSON description
PropertyTypeValueDescription
descendantuint64ID of the child Company that would cause a circular reference.
kindstring"parent"A hint for deserializing the error's details.
parentuint64The Company.parent specified in the parameters.
JSON structure
{
	"descendant": number,
	"kind": string,
	"parent": number
}

ErrorDetailParseErrorDetailobject

These are the details of an exception while trying to parse the JSON input.
JSON description
PropertyTypeValueDescription
afterstringThe last sucessfully parsed object.
columnint32The character on which the failure occurred.
kindstring"parse"A hint for deserializing the error's details.
lineint32The line number in the input string.
JSON structure
{
	"after": string,
	"column": number,
	"kind": string,
	"line": number
}

ErrorDetailPhoneErrorDetailInputErrorDetailobject

These are the details of a phone number input that failed to parse.
JSON description
PropertyTypeValueDescription
inputstringThe given input which caused the error.
kindstring"phone"A hint for deserializing the error's details.
numberuint64The number that was parsed from the input.
usablestringThe digital characters used to try to parse the number.
JSON structure
{
	"input": string,
	"kind": string,
	"number": number,
	"usable": string
}

ErrorDetailStackErrorDetailobject

For unhandled exceptions, a full stack trace may be given.
JSON description
PropertyTypeValueDescription
kindstring"stack"A hint for deserializing the error's details.
messagestringException message.
stackstringThe full stack trace if available.
JSON structure
{
	"kind": string,
	"message": string,
	"stack": string
}

ErrorDetailThrottledErrorDetailobject

Each command or session being throttled needs to provide these details. Instead of using an anonymous class as errorDetails, use this one so we can write it out properly
JSON description
PropertyTypeValueDescription
commandstringThe name of the WebSocket command, or the RESTful route.
countint32How many times this command was invoked during the window. Alternatively, can be the maximum number of times this command can be invoked (like creating a session).
ghostIdguidThe session identifier being throttled.
ipipv4The client IP address.
kindstring"throttled"A hint for deserializing the error's details.
loginemailThe User being throttled.
timeouttimespanThe size of the window. If this throttled command has no window (ie; creating too many sessions) this value is null.
JSON structure
{
	"command": string,
	"count": number,
	"ghostId": string,
	"ip": string,
	"kind": string,
	"login": string,
	"timeout": string
}

ErrorDetailUserGroupInUseErrorDetailobject

Details for how many and which Users are still in the UserGroup.
JSON description
PropertyTypeValueDescription
kindstring"userGroupInUse"A hint for deserializing the error's details.
usersArray.<email>
for values see: User.login
A list of Users currently being referenced.
JSON structure
{
	"kind": string,
	"users": [
		string
	]
}

API Definitions - Requests

BaseParametersobject Abstract

Base class for all command parameters. All command parameter classes use this as the base.
JSON description
PropertyTypeDescription
reqIdint32?Identifier used by external system to correlate requests to responses.
JSON structure
{
	"reqId": number
}

ParamCodeobject

A container class used to house the "code" identifying a resource.
JSON description
PropertyTypeRequiredDescription
codestringalwaysA "code" identifying a resource.
JSON structure
{
	"code": string
}

ParamGuidobject

A container class used to house the guid identifying a resource.
JSON description
PropertyTypeRequiredDescription
guidguidalwaysThe global unique identifier.
JSON structure
{
	"guid": string
}

ParamHandleobject

A container class used to house the "handle" identifying a session.
JSON description
PropertyTypeRequiredDescription
handlestringalwaysA "handle" identifying a session.
JSON structure
{
	"handle": string
}

ParamIdobject

A container class used to house the id of the object requested.
JSON description
PropertyTypeRequiredDescription
iduint64alwaysIdentifier given as input for the command.
JSON structure
{
	"id": number
}

ParamIdentifierobject

A container class used to house the string identifying a Provider.
JSON description
PropertyTypeRequiredDescription
idstringalwaysThe Provider's identifier.
JSON structure
{
	"id": string
}

ParamKeyobject

A container class used to house the key identifying a Machine.
JSON description
PropertyTypeRequiredDescription
keystringalwaysThe Machine's login.
JSON structure
{
	"key": string
}

ParamLoginobject

A container class used to house the login identifying a User. Used specifically to get session details.
JSON description
PropertyTypeRequiredDescription
loginemailalwaysThe User's login.
JSON structure
{
	"login": string
}

API Definitions - Responses

BaseResponseobject Abstract

Base class for all responses from commands. All command response classes use this as the base.
JSON description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
JSON structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespAssetDeletedRespDeletedRespIdCompanyRespIdobject

For delete/restore commands, this contains the id, owning Asset.id, owning Company.id, and deleted state.
JSON description
PropertyTypeDescription
assetuint64Identifier of the Asset to which this object belongs.
companyuint64Identifier of the Company to which this object belongs.
deletedbooleanFlag showing if the object is deleted.
iduint64?Identifier given as input for the command.
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"asset": number,
	"company": number,
	"deleted": boolean,
	"id": number,
	"v": [
		number
	]
}

RespBlankBaseResponseobject

Blank response message for commands with no additional response members.
JSON description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
JSON structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespDeletedRespIdCompanyRespIdobject

For delete/restore commands, this contains the id, version keys, owning Company.id, and deleted state.
JSON description
PropertyTypeDescription
companyuint64Identifier of the Company to which this object belongs.
deletedbooleanFlag showing if the object is deleted.
iduint64?Identifier given as input for the command.
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"company": number,
	"deleted": boolean,
	"id": number,
	"v": [
		number
	]
}

RespIdobject

A container for the id of the object requested/created.
JSON description
PropertyTypeDescription
iduint64?Identifier given as input for the command.
JSON structure
{
	"id": number
}

RespIdAssetRespIdCompanyRespIdobject

A container for the id, owning Asset.id, and owning Company.id of the object requested/created.
JSON description
PropertyTypeDescription
assetuint64Identifier of the Asset to which this object belongs
companyuint64Identifier of the Company to which this object belongs.
iduint64?Identifier given as input for the command.
JSON structure
{
	"asset": number,
	"company": number,
	"id": number
}

RespIdBillingProfileRespIdCompanyRespIdobject

A container for the id, BillingProfile.id, and owning Company.id of the billing object requested/created.
JSON description
PropertyTypeDescription
companyuint64Identifier of the Company to which this object belongs.
iduint64?Identifier given as input for the command.
profileuint64Identifier of the BillingProfile to which this object belongs
JSON structure
{
	"company": number,
	"id": number,
	"profile": number
}

RespIdCompanyRespIdobject

A container for the id and owning Company.id of the object requested/created.
JSON description
PropertyTypeDescription
companyuint64Identifier of the Company to which this object belongs.
iduint64?Identifier given as input for the command.
JSON structure
{
	"company": number,
	"id": number
}

RespIdCompanyTemplateRespIdCompanyRespIdobject

A container for the id, owning ReportTemplate id, and owning Company.id of the report object requested/created.
JSON description
PropertyTypeDescription
companyuint64Identifier of the Company to which this object belongs.
iduint64?Identifier given as input for the command.
templateuint64?Identifier of the ReportTemplate the report object implements.
JSON structure
{
	"company": number,
	"id": number,
	"template": number
}

RespIdendifierobject

A container for the id of the Provider requested/created.
JSON description
PropertyTypeDescription
idstringIdentifier given as input for the command.
JSON structure
{
	"id": string
}

RespIdendifierAssetRespIdendifierCompanyRespIdendifierobject

A container for the id, Asset id, and owning Company.id of the Provider requested/created.
JSON description
PropertyTypeDescription
assetuint64?Identifier of the Asset to which this object belongs.
companyuint64Identifier of the Company to which this object belongs.
idstringIdentifier given as input for the command.
JSON structure
{
	"asset": number,
	"company": number,
	"id": string
}

RespIdendifierCompanyRespIdendifierobject

A container for the id and owning Company.id of the Provider requested/created.
JSON description
PropertyTypeDescription
companyuint64Identifier of the Company to which this object belongs.
idstringIdentifier given as input for the command.
JSON structure
{
	"company": number,
	"id": string
}

RespIdendifierDeletedRespIdendifierCompanyRespIdendifierobject

For delete/restore commands, this contains the Provider id, version keys, owning Company.id, and deleted state.
JSON description
PropertyTypeDescription
companyuint64Identifier of the Company to which this object belongs.
deletedbooleanFlag showing if the object is deleted.
idstringIdentifier given as input for the command.
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"company": number,
	"deleted": boolean,
	"id": string,
	"v": [
		number
	]
}

RespIdendifierSuspendedRespIdendifierCompanyRespIdendifierobject

For suspend/revive commands, this contains the Provider id, version keys, owning Company.id, and suspended state.
JSON description
PropertyTypeDescription
companyuint64Identifier of the Company to which this object belongs.
idstringIdentifier given as input for the command.
suspendedbooleanFlag showing if the object is suspended.
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"company": number,
	"id": string,
	"suspended": boolean,
	"v": [
		number
	]
}

RespIdParentRespIdobject

A container for the id and the requested/created Company.parent.
JSON description
PropertyTypeDescription
iduint64?Identifier given as input for the command.
parentuint64?Identifier of the parent to which this company belongs
JSON structure
{
	"id": number,
	"parent": number
}

RespIdScriptRespIdCompanyRespIdobject

A container for the id, script id, and owning Company.id of the object requested/created.
JSON description
PropertyTypeDescription
companyuint64Identifier of the Company to which this object belongs.
iduint64?Identifier given as input for the command.
scriptuint64Identifier of the script to which this object belongs.
JSON structure
{
	"company": number,
	"id": number,
	"script": number
}

RespKeyobject

A container for the key of the Machine requested/created.
JSON description
PropertyTypeDescription
keystringThe Machine's key.
JSON structure
{
	"key": string
}

RespKeyCompanyRespKeyobject

A container for the SelfMachine.key and owning Company.id of the Machine requested/created.
JSON description
PropertyTypeDescription
companyuint64Identifier of the Company to which the Machine belongs.
keystringThe Machine's key.
JSON structure
{
	"company": number,
	"key": string
}

RespKeyDeletedRespKeyCompanyRespKeyobject

For delete/restore commands, this contains the SelfMachine.key, version keys, owning Company.id, and deleted state.
JSON description
PropertyTypeDescription
companyuint64Identifier of the Company to which the Machine belongs.
deletedbooleanFlag showing if the object is deleted.
keystringThe Machine's key.
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"company": number,
	"deleted": boolean,
	"key": string,
	"v": [
		number
	]
}

RespLoginobject

A container for the login of the User requested/created.
JSON description
PropertyTypeDescription
loginstringThe User's login.
JSON structure
{
	"login": string
}

RespLoginCompanyRespLoginobject

A container for the User login and owning Company.id of the user requested/created.
JSON description
PropertyTypeDescription
companyuint64Identifier of the Company to which the User belongs.
loginstringThe User's login.
JSON structure
{
	"company": number,
	"login": string
}

RespLoginDeletedRespLoginCompanyRespLoginobject

For delete/restore commands, this contains the User login, version keys, owning Company.id, and deleted state.
JSON description
PropertyTypeDescription
companyuint64Identifier of the Company to which the User belongs.
deletedbooleanFlag showing if the object is deleted.
loginstringThe User's login.
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"company": number,
	"deleted": boolean,
	"login": string,
	"v": [
		number
	]
}

RespParentDeletedRespIdobject

For delete/restore commands, this contains the id, owning Company.parent, and deleted state.
JSON description
PropertyTypeDescription
deletedbooleanFlag showing if the object is deleted.
iduint64?Identifier given as input for the command.
parentuint64Identifier of the parent to which the Company is a child.
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"deleted": boolean,
	"id": number,
	"parent": number,
	"v": [
		number
	]
}

RespSuspendedRespIdCompanyRespIdobject

For suspend/revive commands, this contains the id, version keys, owning Company.id, and suspended state.
JSON description
PropertyTypeDescription
companyuint64Identifier of the Company to which this object belongs.
iduint64?Identifier given as input for the command.
suspendedbooleanFlag showing if the object is suspended.
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"company": number,
	"id": number,
	"suspended": boolean,
	"v": [
		number
	]
}

Assets

Assetobject

The full details of an Asset, containing all the properties from the AssetGeneral and AssetAdvanced objects.
JSON description
PropertyTypeDescription
attributesObject.<codified, AssetAttribute>
for keys see: AssetAttribute.name
A list of attributes given to this asset by the connection device such as wiring state, VBus, etc.
companyuint64The company to which this asset belongs.
dispatchAssetDispatchCurrent jobs dispatched and driving directions.
iconuint64
see: Icon.id
The icon that represents this asset on the map and in lists.
iduint64Unique identifier of this asset.
kindAssetTypeType of asset.
labelsArray.<codified>
for values see: LabelStyle.code
Codified label names.
messagesArray.<AssetMessage>A list of messages sent to or from this asset.
messagingAddressstring
maximum-length: 254
The fall-back address which is used to send Messages if the asset is a Person and has no Contact phone or email.
namestring
maximum-length: 100
This thing's name.
notesstringNotes about it.
odometerdoubleThe cumulative distance travelled in kilometres.
picturesArray.<uint64>
for values see: Picture.id
A list of photos of this thing.
placesObject.<uint64, AssetPlaceStatus>
for keys see: Place.id
The current state of this asset's interaction with known Places.
positionPositionThe things GPS coordinates including speed, bearing, and street information.
processedUtcdatetimeWhen the was change procesed.
providersArray.<string>
for values see: Provider.id
The list of devices providing events for this asset.
reference
Deprecated
string
maximum-length: 100
A custom field used to refer to an external system.
Use asset.references[AssetGeneral.REFERENCE] instead.
referencesObject.<string, string>
maximum-count: 10
maximum-length of keys: 20
maximum-length of values: 100
Name/value collections of custom fields used to refer to external systems.
relationshipsArray.<uint64>
for values see: Asset.id
A list of assets related to this one; like a Person for a Vehicle (driver).
tagsArray.<codified>
for values see: LabelStyle.code
The codified status tag names.
updatedby: login, from: monster
vArray.<int32>
fixed count: 3
Object version keys used to validate synchronization for all object properties.
v[0]int32The first element is for the AssetGeneral properties.
v[1]int32The second element is for the AssetAdvanced properties.
v[2]int32The third element is for the Asset.dispatch properties.
JSON structure
{
	"attributes": {
		string: {
			"asset": number,
			"complex": string,
			"dts": string,
			"global": boolean,
			"name": string,
			"provider": string,
			"raw": Object,
			"simple": string,
			"unit": string
		}
	},
	"company": number,
	"dispatch": {
		"company": number,
		"directions": [
			{
				"directions": [
					{ /* recursive DispatchDirection objects */ }
				],
				"distance": number,
				"duration": string,
				"instructions": string,
				"job": number,
				"path": string,
				"step": number
			}
		],
		"id": number,
		"jobs": [
			number
		],
		"lastDispatched": string,
		"processedUtc": string,
		"tasks": [
			{
				"address": string,
				"arrived": string,
				"asset": number,
				"attachments": [
					number
				],
				"company": number,
				"completed": string,
				"created": string,
				"duration": string,
				"eta": string,
				"id": number,
				"instructions": string,
				"latlng": {
					"lat": number,
					"lng": number
				},
				"name": string,
				"notes": string,
				"place": number,
				"processedUtc": string,
				"reference": string,
				"references": {
					string: string
				},
				"signatory": string,
				"signature": boolean,
				"status": string,
				"updated": {
				},
				"v": [
					number
				]
			}
		],
		"updated": {
		},
		"v": [
			number
		]
	},
	"icon": number,
	"id": number,
	"kind": string,
	"labels": [
		string
	],
	"messages": [
		{
			"asset": number,
			"body": string,
			"company": number,
			"delivered": string,
			"folder": string,
			"from": string,
			"id": number,
			"incoming": boolean,
			"kind": string,
			"processed": string,
			"processedUtc": string,
			"readBy": string,
			"status": string,
			"subject": string,
			"to": string,
			"updated": {
			},
			"user": string,
			"v": [
				number
			]
		}
	],
	"messagingAddress": string,
	"name": string,
	"notes": string,
	"odometer": number,
	"pictures": [
		number
	],
	"places": {
		string: {
			"enter": string,
			"kind": string,
			"latest": string
		}
	},
	"position": {
		"accuracy": number,
		"address": string,
		"altitude": number,
		"bearing": number,
		"dts": string,
		"lat": number,
		"lng": number,
		"origin": string,
		"speed": number,
		"speedLimit": number,
		"streetAddress": {
			"city": string,
			"country": string,
			"isToll": boolean,
			"number": string,
			"postal": string,
			"province": string,
			"region": string,
			"street": string
		}
	},
	"processedUtc": string,
	"providers": [
		string
	],
	"reference": string,
	"references": {
		string: string
	},
	"relationships": [
		number
	],
	"tags": [
		string
	],
	"updated": {
	},
	"v": [
		number
	]
}

AssetAdvancedobject

Often changing details about a thing.
JSON description
PropertyTypeDescription
attributesObject.<codified, AssetAttribute>
for keys see: AssetAttribute.name
A list of attributes given to this asset by the connection device such as wiring state, VBus, etc.
companyuint64The company to which this asset belongs.
iduint64Unique identifier of this asset.
odometerdoubleThe cumulative distance travelled in kilometres.
placesObject.<uint64, AssetPlaceStatus>
for keys see: Place.id
The current state of this asset's interaction with known Places.
positionPositionThe things GPS coordinates including speed, bearing, and street information.
processedUtcdatetimeWhen the was change procesed.
providersArray.<string>
for values see: Provider.id
The list of devices providing events for this asset.
relationshipsArray.<uint64>
for values see: Asset.id
A list of assets related to this one; like a Person for a Vehicle (driver).
tagsArray.<codified>
for values see: LabelStyle.code
The codified status tag names.
updatedby: login, from: monster
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"attributes": {
		string: {
			"asset": number,
			"complex": string,
			"dts": string,
			"global": boolean,
			"name": string,
			"provider": string,
			"raw": Object,
			"simple": string,
			"unit": string
		}
	},
	"company": number,
	"id": number,
	"odometer": number,
	"places": {
		string: {
			"enter": string,
			"kind": string,
			"latest": string
		}
	},
	"position": {
		"accuracy": number,
		"address": string,
		"altitude": number,
		"bearing": number,
		"dts": string,
		"lat": number,
		"lng": number,
		"origin": string,
		"speed": number,
		"speedLimit": number,
		"streetAddress": {
			"city": string,
			"country": string,
			"isToll": boolean,
			"number": string,
			"postal": string,
			"province": string,
			"region": string,
			"street": string
		}
	},
	"processedUtc": string,
	"providers": [
		string
	],
	"relationships": [
		number
	],
	"tags": [
		string
	],
	"updated": {
	},
	"v": [
		number
	]
}

AssetAttributeobject

An attribute given to an asset by a behaviour script.
JSON description
PropertyTypeDescription
assetuint64The related asset which provided this attribute.
complexstringParse-able/formatted string for complex display. May contain HTML.
dtsdatetimeDate/time stamp from when this attribute was recorded (or reported) by the device.
globalbooleanWhen false, indicates that this attribute is used by an internal system and should be left untouched.
namestring
maximum-length: 100
Display name of the attribute.
providerstringThe device which provided this attribute.
rawObjectRaw value like 3.76 (volts) or true (on).
simplestringComputed/contextual value from the behaviour. Like "3.76 volts" or "on".
unitstringText representation of unit like "°C" or "Km".
JSON structure
{
	"asset": number,
	"complex": string,
	"dts": string,
	"global": boolean,
	"name": string,
	"provider": string,
	"raw": Object,
	"simple": string,
	"unit": string
}

AssetDeletedobject

The message format for when a deleted Asset is retrieved
JSON description
PropertyTypeValueDescription
companyuint64The company to which this asset belongs.
deletedbooleantrueIndicates whether this Asset is deleted.
iconuint64
see: Icon.id
The icon that represents this asset on the map and in lists.
iduint64Unique identifier of this asset.
kindAssetTypeType of asset.
labelsArray.<codified>
for values see: LabelStyle.code
Codified label names.
namestring
maximum-length: 100
This thing's name.
notesstringNotes about it.
sincedatetimeA timestamp from the moment the object was deleted.
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"company": number,
	"deleted": boolean,
	"icon": number,
	"id": number,
	"kind": string,
	"labels": [
		string
	],
	"name": string,
	"notes": string,
	"since": string,
	"v": [
		number
	]
}

AssetGeneralobject

Seldom changing details about a thing.
JSON description
PropertyTypeDescription
companyuint64The company to which this asset belongs.
iconuint64
see: Icon.id
The icon that represents this asset on the map and in lists.
iduint64Unique identifier of this asset.
kindAssetTypeType of asset.
labelsArray.<codified>
for values see: LabelStyle.code
Codified label names.
messagingAddressstring
maximum-length: 254
The fall-back address which is used to send Messages if the asset is a Person and has no Contact phone or email.
namestring
maximum-length: 100
This thing's name.
notesstringNotes about it.
picturesArray.<uint64>
for values see: Picture.id
A list of photos of this thing.
processedUtcdatetimeWhen the was change procesed.
reference
Deprecated
string
maximum-length: 100
A custom field used to refer to an external system.
Use asset.references[AssetGeneral.REFERENCE] instead.
referencesObject.<string, string>
maximum-count: 10
maximum-length of keys: 20
maximum-length of values: 100
Name/value collections of custom fields used to refer to external systems.
updatedby: login, from: monster
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"company": number,
	"icon": number,
	"id": number,
	"kind": string,
	"labels": [
		string
	],
	"messagingAddress": string,
	"name": string,
	"notes": string,
	"pictures": [
		number
	],
	"processedUtc": string,
	"reference": string,
	"references": {
		string: string
	},
	"updated": {
	},
	"v": [
		number
	]
}

AssetPlaceStatusobject

A simple status for each place an Asset visits.
JSON description
PropertyTypeDescription
enterdatetimeThe date/time stamp for when the Asset first began interacting with the Place.
kindAssetPlaceStatusTypeThe kind of interaction.
latestdatetimeThe most recent date/time stamp for the interaction.
JSON structure
{
	"enter": string,
	"kind": string,
	"latest": string
}

AssetPlaceStatusTypestring

The kinds of interactions had with a Place.
ValueDescription
enterOccurs when an asset is outside a Place, then goes inside the boundary.
exitOccurs when an asset was inside the boundary of a Place, but then moves outside the boundary.
insideOccurs when the asset was inside the boundary before, and is still inside the boundary now.

AssetSuspendedobject

The message format for when a suspended Asset is retrieved
JSON description
PropertyTypeValueDescription
companyuint64The company to which this asset belongs.
iconuint64
see: Icon.id
The icon that represents this asset on the map and in lists.
iduint64Unique identifier of this asset.
kindAssetTypeType of asset.
labelsArray.<codified>
for values see: LabelStyle.code
Codified label names.
namestring
maximum-length: 100
This thing's name.
notesstringNotes about it.
sincedatetimeA timestamp from the moment the object was suspended.
suspendedbooleantrueIndicates whether this Asset is suspended from event processing.
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"company": number,
	"icon": number,
	"id": number,
	"kind": string,
	"labels": [
		string
	],
	"name": string,
	"notes": string,
	"since": string,
	"suspended": boolean,
	"v": [
		number
	]
}

AssetTypestring

The four supported types of trackable things.
ValueDescription
assetGeneric thing.
personHuman (or alien) Person.
trailerA towed vehicle without an engine.
vehicleA vehicle that moves with its own power.

ParamAssetAdvancedGetBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
assetParamIdalwaysAn object to contain the "id" of the Asset.
asset.iduint64alwaysIdentifier given as input for the command.
includeDeletedbooleanoptionalfalseWhen true, the command will also return a deleted Asset.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"asset": {
		"id": number
	},
	"includeDeleted": boolean,
	"reqId": number
}

ParamAssetAdvancedListByCompanyBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
companyParamIdalwaysAn object to contain the "id" of the Company.
company.iduint64alwaysIdentifier given as input for the command.
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
includeSuspendedbooleanoptionaltrueWhen true, the command will also return suspended AssetAdvanceds.
limituint16?optionalMaximum number of objects in this response.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"company": {
		"id": number
	},
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"includeSuspended": boolean,
	"limit": number,
	"reqId": number
}

ParamAssetAdvancedListByCompanyAndLabelsBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
companyParamIdalwaysAn object to contain the "id" of the Company.
company.iduint64alwaysIdentifier given as input for the command.
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
includeSuspendedbooleanoptionaltrueWhen true, the command will also return suspended AssetAdvanceds.
labelsArray.<string>optionalA list of label codes used to match Assets. All labels must match to include an Asset in the result.
limituint16?optionalMaximum number of objects in this response.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"company": {
		"id": number
	},
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"includeSuspended": boolean,
	"labels": [
		string
	],
	"limit": number,
	"reqId": number
}

ParamAssetAdvancedListByRefPairsBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
companyParamIdalwaysAn object to contain the "id" of the Company.
company.iduint64alwaysIdentifier given as input for the command.
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
includeSuspendedbooleanoptionaltrueWhen true, the command will also return suspended AssetAdvanceds.
limituint16?optionalMaximum number of objects in this response.
referencesObject.<string, string>optionalCase-insensitive reference pairs used to match Assets.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"company": {
		"id": number
	},
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"includeSuspended": boolean,
	"limit": number,
	"references": {
		string: string
	},
	"reqId": number
}

ParamAssetBatchDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
assetsArray.<ParamId>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"assets": [
		{
			"id": number
		}
	],
	"reqId": number
}

ParamAssetBatchMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
assetsArray.<ParameterContent>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"assets": [
		{
			"attributes": {
				string: {
					"asset": number,
					"complex": string,
					"dts": string,
					"global": boolean,
					"name": string,
					"provider": string,
					"raw": Object,
					"simple": string,
					"unit": string
				}
			},
			"colour": string,
			"company": number,
			"contact": number,
			"engineHours": number,
			"icon": number,
			"id": number,
			"kind": string,
			"labels": [
				string
			],
			"make": string,
			"messagingAddress": string,
			"model": string,
			"name": string,
			"notes": string,
			"odometer": number,
			"pictures": [
				number
			],
			"plate": string,
			"references": {
				string: string
			},
			"relationships": [
				number
			],
			"serial": string,
			"tags": [
				string
			],
			"v": [
				number
			],
			"vin": string,
			"year": number
		}
	],
	"reqId": number
}

ParamAssetBatchReviveBaseParametersobject

Request description
PropertyTypeRequiredDescription
assetsArray.<ParamId>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"assets": [
		{
			"id": number
		}
	],
	"reqId": number
}

ParamAssetBatchSuspendBaseParametersobject

Request description
PropertyTypeRequiredDescription
assetsArray.<ParamId>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"assets": [
		{
			"id": number
		}
	],
	"reqId": number
}

ParamAssetDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
assetParamIdalwaysAn object to contain the "id" of the Asset.
asset.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"asset": {
		"id": number
	},
	"reqId": number
}

ParamAssetDispatchGetBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
assetParamIdalwaysAn object to contain the "id" of the Asset.
asset.iduint64alwaysIdentifier given as input for the command.
includeDeletedbooleanoptionalfalseWhen true, the command will also return a deleted Asset.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"asset": {
		"id": number
	},
	"includeDeleted": boolean,
	"reqId": number
}

ParamAssetDispatchListByCompanyBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
companyParamIdalwaysAn object to contain the "id" of the Company.
company.iduint64alwaysIdentifier given as input for the command.
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
includeSuspendedbooleanoptionaltrueWhen true, the command will also return suspended AssetDispatches.
limituint16?optionalMaximum number of objects in this response.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"company": {
		"id": number
	},
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"includeSuspended": boolean,
	"limit": number,
	"reqId": number
}

ParamAssetDispatchListByCompanyAndLabelsBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
companyParamIdalwaysAn object to contain the "id" of the Company.
company.iduint64alwaysIdentifier given as input for the command.
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
includeSuspendedbooleanoptionaltrueWhen true, the command will also return suspended AssetDispatches.
labelsArray.<string>optionalA list of label codes used to match Assets. All labels must match to include an Asset in the result.
limituint16?optionalMaximum number of objects in this response.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"company": {
		"id": number
	},
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"includeSuspended": boolean,
	"labels": [
		string
	],
	"limit": number,
	"reqId": number
}

ParamAssetDispatchListByRefPairsBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
companyParamIdalwaysAn object to contain the "id" of the Company.
company.iduint64alwaysIdentifier given as input for the command.
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
includeSuspendedbooleanoptionaltrueWhen true, the command will also return suspended AssetDispatches.
limituint16?optionalMaximum number of objects in this response.
referencesObject.<string, string>optionalCase-insensitive reference pairs used to match Assets.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"company": {
		"id": number
	},
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"includeSuspended": boolean,
	"limit": number,
	"references": {
		string: string
	},
	"reqId": number
}

ParamAssetGeneralGetBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
assetParamIdalwaysAn object to contain the "id" of the Asset.
asset.iduint64alwaysIdentifier given as input for the command.
includeDeletedbooleanoptionalfalseWhen true, the command will also return a deleted Asset.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"asset": {
		"id": number
	},
	"includeDeleted": boolean,
	"reqId": number
}

ParamAssetGeneralListByCompanyBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
companyParamIdalwaysAn object to contain the "id" of the Company.
company.iduint64alwaysIdentifier given as input for the command.
highestuint64?optional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
includeSuspendedbooleanoptionaltrueWhen true, the command will also return suspended Assets.
limituint16?optionalMaximum number of objects in this response.
lowestuint64?optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"company": {
		"id": number
	},
	"highest": number,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"includeSuspended": boolean,
	"limit": number,
	"lowest": number,
	"reqId": number
}

ParamAssetGeneralListByCompanyAndLabelsBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
companyParamIdalwaysAn object to contain the "id" of the Company.
company.iduint64alwaysIdentifier given as input for the command.
highestuint64?optional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
includeSuspendedbooleanoptionaltrueWhen true, the command will also return suspended Assets.
labelsArray.<string>optionalA list of label codes used to match Assets. All labels must match to include an Asset in the result.
limituint16?optionalMaximum number of objects in this response.
lowestuint64?optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"company": {
		"id": number
	},
	"highest": number,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"includeSuspended": boolean,
	"labels": [
		string
	],
	"limit": number,
	"lowest": number,
	"reqId": number
}

ParamAssetGeneralListByRefPairsBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
companyParamIdalwaysAn object to contain the "id" of the Company.
company.iduint64alwaysIdentifier given as input for the command.
highestuint64?optional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
includeSuspendedbooleanoptionaltrueWhen true, the command will also return suspended Assets.
limituint16?optionalMaximum number of objects in this response.
lowestuint64?optional
referencesObject.<string, string>optionalCase-insensitive reference pairs used to match Assets.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"company": {
		"id": number
	},
	"highest": number,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"includeSuspended": boolean,
	"limit": number,
	"lowest": number,
	"references": {
		string: string
	},
	"reqId": number
}

ParamAssetGetBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
assetParamIdalwaysAn object to contain the "id" of the Asset.
asset.iduint64alwaysIdentifier given as input for the command.
includeDeletedbooleanoptionalfalseWhen true, the command will also return a deleted Asset.
includeMessagesbooleanoptionalfalseWhen true, the command will also return AssetMessages for the asset.
includeTasksbooleanoptionalfalseWhen true, the command will also return the AssetDispatch for the asset.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"asset": {
		"id": number
	},
	"includeDeleted": boolean,
	"includeMessages": boolean,
	"includeTasks": boolean,
	"reqId": number
}

ParamAssetListByCompanyBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
companyParamIdalwaysAn object to contain the "id" of the Company.
company.iduint64alwaysIdentifier given as input for the command.
highestuint64?optional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
includeMessagesbooleanoptionalfalseWhen true, the command will also return AssetMessages for the asset.
includeSuspendedbooleanoptionaltrueWhen true, the command will also return suspended Assets.
includeTasksbooleanoptionalfalseWhen true, the command will also return DispatchTasks for the asset.
limituint16?optionalMaximum number of objects in this response.
lowestuint64?optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"company": {
		"id": number
	},
	"highest": number,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"includeMessages": boolean,
	"includeSuspended": boolean,
	"includeTasks": boolean,
	"limit": number,
	"lowest": number,
	"reqId": number
}

ParamAssetListByCompanyAndLabelsBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
companyParamIdalwaysAn object to contain the "id" of the Company.
company.iduint64alwaysIdentifier given as input for the command.
highestuint64?optional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
includeMessagesbooleanoptionalfalseWhen true, the command will also return AssetMessages for the asset.
includeSuspendedbooleanoptionaltrueWhen true, the command will also return suspended Assets.
includeTasksbooleanoptionalfalseWhen true, the command will also return DispatchTasks for the asset.
labelsArray.<string>optionalA list of label codes used to match Assets. All labels must match to include an Asset in the result.
limituint16?optionalMaximum number of objects in this response.
lowestuint64?optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"company": {
		"id": number
	},
	"highest": number,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"includeMessages": boolean,
	"includeSuspended": boolean,
	"includeTasks": boolean,
	"labels": [
		string
	],
	"limit": number,
	"lowest": number,
	"reqId": number
}

ParamAssetListByRefBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
companyParamIdalwaysAn object to contain the "id" of the Company.
company.iduint64alwaysIdentifier given as input for the command.
highestuint64?optional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
includeMessagesbooleanoptionalfalseWhen true, the command will also return AssetMessages for the asset.
includeSuspendedbooleanoptionaltrueWhen true, the command will also return suspended Assets.
includeTasksbooleanoptionalfalseWhen true, the command will also return DispatchTasks for the asset.
limituint16?optionalMaximum number of objects in this response.
lowestuint64?optional
referencestringoptionalCase-insensitive reference used to match Assets.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"company": {
		"id": number
	},
	"highest": number,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"includeMessages": boolean,
	"includeSuspended": boolean,
	"includeTasks": boolean,
	"limit": number,
	"lowest": number,
	"reference": string,
	"reqId": number
}

ParamAssetListByRefPairsBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
companyParamIdalwaysAn object to contain the "id" of the Company.
company.iduint64alwaysIdentifier given as input for the command.
highestuint64?optional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
includeMessagesbooleanoptionalfalseWhen true, the command will also return AssetMessages for the asset.
includeSuspendedbooleanoptionaltrueWhen true, the command will also return suspended Assets.
includeTasksbooleanoptionalfalseWhen true, the command will also return DispatchTasks for the asset.
limituint16?optionalMaximum number of objects in this response.
lowestuint64?optional
referencesObject.<string, string>optionalCase-insensitive reference pairs used to match Assets.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"company": {
		"id": number
	},
	"highest": number,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"includeMessages": boolean,
	"includeSuspended": boolean,
	"includeTasks": boolean,
	"limit": number,
	"lowest": number,
	"references": {
		string: string
	},
	"reqId": number
}

ParamAssetMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
assetObject.<string, ?>alwaysA simple object to contain the Asset parameters.
asset.attributesObject.<string, AssetAttribute>optionalAllows you to add, remove, and replace attributes. For each AssetAttribute in the attributes object, the value will be replaced on the Asset. If value is null, the attribute is removed from the Asset. If the key in the attributes object is different from the codified(AssetAttribute.name) in the object, the attribute of the key is removed from the Asset, and one of the codified name is added to the Asset. If a new value or null is not provided for a current attribute, no change is made.
asset.colourcolour
maximum-length: 22
optionalThe pretty-pretty colour of this Vehicle or Trailer. Only applicable if asset.kind is AssetType.vehicle or AssetType.trailer.
asset.companyuint64?createThe identifier of the Company to which this Asset belongs. After creation, this value is read-only.
asset.contactuint64?create (for person)The contact card details for this Asset. Only applicable if asset.kind is AssetType.person.
asset.engineHoursdouble?optionalThe number of hours the engine has been running for this Vehicle. Only applicable if asset.kind is AssetType.vehicle.
asset.iconuint64?
see: Icon.id
createThe identifier of the Icon used to represent this Asset in the UI.
asset.iduint64?updateThe unique identifier of the Asset you want to update.
asset.kindAssetType?createThe kind of Asset being created. After creation, this value is read-only.
asset.labelsArray.<codified>
for values see: LabelStyle.code
optionalA list of codified label names to categorize/organize this Asset.
asset.makestringoptionalThe manufacturer of this Vehicle or Trailer. Only applicable if asset.kind is AssetType.vehicle or AssetType.trailer.
asset.messagingAddressstringoptionalThe email address or phone number of this Asset when a Person's Contact card is blank, or the Provider's PND is not installed.
asset.modelstringoptionalThe model of this Vehicle or Trailer. Only applicable if asset.kind is AssetType.vehicle or AssetType.trailer.
asset.namestring
maximum-length: 100
createName for the Asset.
asset.notesstringoptionalNotes for the Asset.
asset.odometerdouble?optionalThe distance travelled by this Asset. Can be a GPS odometer, OBD-II odometer, or other depending on scripts.
asset.picturesArray.<uint64>
for values see: Picture.id
optionalThe identifiers of Pictures of this Asset.
asset.platestringoptionalThe license plate of this Vehicle or Trailer. Only applicable if asset.kind is AssetType.vehicle or AssetType.trailer.
asset.referencesObject.<string, string>optionalName/value collections of custom fields used to refer to external systems. If the value is null, the references are removed from the Asset.
asset.relationshipsArray.<uint64>
for values see: Asset.id
optionalA list of related asset identifiers like a driver for a Vehicle, or Trailer for a truck.
asset.serialstringoptionalThe manufacturer's identification number of this Trailer. Only applicable if asset.kind is AssetType.vehicle.
asset.tagsArray.<string>optionalReplaces the Asset's status tags with the given list of codified tags.
asset.vArray.<int32>optional
asset.vinstringoptionalThe Vehicle Identification Number of this Vehicle. Only applicable if asset.kind is AssetType.trailer.
asset.yearuint16?optionalThe year this Vehicle or Trailer was built. Only applicable if asset.kind is AssetType.vehicle or AssetType.trailer.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"asset": {
		"attributes": {
			string: {
				"asset": number,
				"complex": string,
				"dts": string,
				"global": boolean,
				"name": string,
				"provider": string,
				"raw": Object,
				"simple": string,
				"unit": string
			}
		},
		"colour": string,
		"company": number,
		"contact": number,
		"engineHours": number,
		"icon": number,
		"id": number,
		"kind": string,
		"labels": [
			string
		],
		"make": string,
		"messagingAddress": string,
		"model": string,
		"name": string,
		"notes": string,
		"odometer": number,
		"pictures": [
			number
		],
		"plate": string,
		"references": {
			string: string
		},
		"relationships": [
			number
		],
		"serial": string,
		"tags": [
			string
		],
		"v": [
			number
		],
		"vin": string,
		"year": number
	},
	"reqId": number
}

ParamAssetRestoreBaseParametersobject

Request description
PropertyTypeRequiredDescription
assetParamIdalwaysAn object to contain the "id" of the Asset.
asset.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"asset": {
		"id": number
	},
	"reqId": number
}

ParamAssetReviveBaseParametersobject

Request description
PropertyTypeRequiredDescription
assetParamIdalwaysAn object to contain the "id" of the Asset.
asset.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"asset": {
		"id": number
	},
	"reqId": number
}

ParamAssetSuspendBaseParametersobject

Request description
PropertyTypeRequiredDescription
assetParamIdalwaysAn object to contain the "id" of the Asset.
asset.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"asset": {
		"id": number
	},
	"reqId": number
}

PersonAssetobject

The full details of a Person, containing all the properties from the PersonGeneral and AssetAdvanced objects.
JSON description
PropertyTypeDescription
attributesObject.<codified, AssetAttribute>
for keys see: AssetAttribute.name
A list of attributes given to this asset by the connection device such as wiring state, VBus, etc.
companyuint64The company to which this asset belongs.
contactuint64A reference to their Company's Contact information.
dispatchAssetDispatchCurrent jobs dispatched and driving directions.
iconuint64
see: Icon.id
The icon that represents this asset on the map and in lists.
iduint64Unique identifier of this asset.
kindAssetTypeType of asset.
labelsArray.<codified>
for values see: LabelStyle.code
Codified label names.
messagesArray.<AssetMessage>A list of messages sent to or from this asset.
messagingAddressstring
maximum-length: 254
The fall-back address which is used to send Messages if the asset is a Person and has no Contact phone or email.
namestring
maximum-length: 100
This thing's name.
notesstringNotes about it.
odometerdoubleThe cumulative distance travelled in kilometres.
picturesArray.<uint64>
for values see: Picture.id
A list of photos of this thing.
placesObject.<uint64, AssetPlaceStatus>
for keys see: Place.id
The current state of this asset's interaction with known Places.
positionPositionThe things GPS coordinates including speed, bearing, and street information.
processedUtcdatetimeWhen the was change procesed.
providersArray.<string>
for values see: Provider.id
The list of devices providing events for this asset.
reference
Deprecated
string
maximum-length: 100
A custom field used to refer to an external system.
Use asset.references[AssetGeneral.REFERENCE] instead.
referencesObject.<string, string>
maximum-count: 10
maximum-length of keys: 20
maximum-length of values: 100
Name/value collections of custom fields used to refer to external systems.
relationshipsArray.<uint64>
for values see: Asset.id
A list of assets related to this one; like a Person for a Vehicle (driver).
tagsArray.<codified>
for values see: LabelStyle.code
The codified status tag names.
updatedby: login, from: monster
vArray.<int32>
fixed count: 3
Object version keys used to validate synchronization for all object properties.
v[0]int32The first element is for the AssetGeneral properties.
v[1]int32The second element is for the AssetAdvanced properties.
v[2]int32The third element is for the Asset.dispatch properties.
JSON structure
{
	"attributes": {
		string: {
			"asset": number,
			"complex": string,
			"dts": string,
			"global": boolean,
			"name": string,
			"provider": string,
			"raw": Object,
			"simple": string,
			"unit": string
		}
	},
	"company": number,
	"contact": number,
	"dispatch": {
		"company": number,
		"directions": [
			{
				"directions": [
					{ /* recursive DispatchDirection objects */ }
				],
				"distance": number,
				"duration": string,
				"instructions": string,
				"job": number,
				"path": string,
				"step": number
			}
		],
		"id": number,
		"jobs": [
			number
		],
		"lastDispatched": string,
		"processedUtc": string,
		"tasks": [
			{
				"address": string,
				"arrived": string,
				"asset": number,
				"attachments": [
					number
				],
				"company": number,
				"completed": string,
				"created": string,
				"duration": string,
				"eta": string,
				"id": number,
				"instructions": string,
				"latlng": {
					"lat": number,
					"lng": number
				},
				"name": string,
				"notes": string,
				"place": number,
				"processedUtc": string,
				"reference": string,
				"references": {
					string: string
				},
				"signatory": string,
				"signature": boolean,
				"status": string,
				"updated": {
				},
				"v": [
					number
				]
			}
		],
		"updated": {
		},
		"v": [
			number
		]
	},
	"icon": number,
	"id": number,
	"kind": string,
	"labels": [
		string
	],
	"messages": [
		{
			"asset": number,
			"body": string,
			"company": number,
			"delivered": string,
			"folder": string,
			"from": string,
			"id": number,
			"incoming": boolean,
			"kind": string,
			"processed": string,
			"processedUtc": string,
			"readBy": string,
			"status": string,
			"subject": string,
			"to": string,
			"updated": {
			},
			"user": string,
			"v": [
				number
			]
		}
	],
	"messagingAddress": string,
	"name": string,
	"notes": string,
	"odometer": number,
	"pictures": [
		number
	],
	"places": {
		string: {
			"enter": string,
			"kind": string,
			"latest": string
		}
	},
	"position": {
		"accuracy": number,
		"address": string,
		"altitude": number,
		"bearing": number,
		"dts": string,
		"lat": number,
		"lng": number,
		"origin": string,
		"speed": number,
		"speedLimit": number,
		"streetAddress": {
			"city": string,
			"country": string,
			"isToll": boolean,
			"number": string,
			"postal": string,
			"province": string,
			"region": string,
			"street": string
		}
	},
	"processedUtc": string,
	"providers": [
		string
	],
	"reference": string,
	"references": {
		string: string
	},
	"relationships": [
		number
	],
	"tags": [
		string
	],
	"updated": {
	},
	"v": [
		number
	]
}

PersonGeneralAssetGeneralobject

Seldom changing details about a person.
JSON description
PropertyTypeDescription
companyuint64The company to which this asset belongs.
contactuint64A reference to their Company's Contact information.
iconuint64
see: Icon.id
The icon that represents this asset on the map and in lists.
iduint64Unique identifier of this asset.
kindAssetTypeType of asset.
labelsArray.<codified>
for values see: LabelStyle.code
Codified label names.
messagingAddressstring
maximum-length: 254
The fall-back address which is used to send Messages if the asset is a Person and has no Contact phone or email.
namestring
maximum-length: 100
This thing's name.
notesstringNotes about it.
picturesArray.<uint64>
for values see: Picture.id
A list of photos of this thing.
processedUtcdatetimeWhen the was change procesed.
reference
Deprecated
string
maximum-length: 100
A custom field used to refer to an external system.
Use asset.references[AssetGeneral.REFERENCE] instead.
referencesObject.<string, string>
maximum-count: 10
maximum-length of keys: 20
maximum-length of values: 100
Name/value collections of custom fields used to refer to external systems.
updatedby: login, from: monster
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"company": number,
	"contact": number,
	"icon": number,
	"id": number,
	"kind": string,
	"labels": [
		string
	],
	"messagingAddress": string,
	"name": string,
	"notes": string,
	"pictures": [
		number
	],
	"processedUtc": string,
	"reference": string,
	"references": {
		string: string
	},
	"updated": {
	},
	"v": [
		number
	]
}

Positionobject

GPS position information
JSON description
PropertyTypeDescription
accuracyuint32?Threshold in meters for the accuracy of a position
addressstringThe road segment description
altitudedouble?Distance in meters from the sea level
bearinguint16?Direction of travel
dtsdatetimeThe Date/Time of the GPS reading
latdouble?Latitude
lngdouble?Longitude
originstringProvider Identifier
speeddouble?Speed
speedLimitdouble?The posted speed limit for the road segment
streetAddressStreetAddressA better description of the current road-segment
JSON structure
{
	"accuracy": number,
	"address": string,
	"altitude": number,
	"bearing": number,
	"dts": string,
	"lat": number,
	"lng": number,
	"origin": string,
	"speed": number,
	"speedLimit": number,
	"streetAddress": {
		"city": string,
		"country": string,
		"isToll": boolean,
		"number": string,
		"postal": string,
		"province": string,
		"region": string,
		"street": string
	}
}

RespAssetAdvancedGetBaseResponseobject

Response description
PropertyTypeDescription
assetAdvancedAssetAdvancedThe requested Asset.
assetAdvanced.attributesObject.<codified, AssetAttribute>
for keys see: AssetAttribute.name
A list of attributes given to this asset by the connection device such as wiring state, VBus, etc.
assetAdvanced.companyuint64The company to which this asset belongs.
assetAdvanced.iduint64Unique identifier of this asset.
assetAdvanced.odometerdoubleThe cumulative distance travelled in kilometres.
assetAdvanced.placesObject.<uint64, AssetPlaceStatus>
for keys see: Place.id
The current state of this asset's interaction with known Places.
assetAdvanced.positionPositionThe things GPS coordinates including speed, bearing, and street information.
assetAdvanced.position.accuracyuint32?Threshold in meters for the accuracy of a position
assetAdvanced.position.addressstringThe road segment description
assetAdvanced.position.altitudedouble?Distance in meters from the sea level
assetAdvanced.position.bearinguint16?Direction of travel
assetAdvanced.position.dtsdatetimeThe Date/Time of the GPS reading
assetAdvanced.position.latdouble?Latitude
assetAdvanced.position.lngdouble?Longitude
assetAdvanced.position.originstringProvider Identifier
assetAdvanced.position.speeddouble?Speed
assetAdvanced.position.speedLimitdouble?The posted speed limit for the road segment
assetAdvanced.position.streetAddressStreetAddressA better description of the current road-segment
assetAdvanced.position.streetAddress.citystringCity name.
assetAdvanced.position.streetAddress.countrystring
fixed length: 2
Country code. Codes should be a value from ISO 3166-1 alpha-2.
assetAdvanced.position.streetAddress.isTollbooleanIndicates that there is a toll for the current road segment.
assetAdvanced.position.streetAddress.numberstringHouse number.
assetAdvanced.position.streetAddress.postalstringPostal or zip code.
assetAdvanced.position.streetAddress.provincestring
fixed length: 2
Province or state code. Codes should be a value from ISO 3166-2.
assetAdvanced.position.streetAddress.regionstringRegion name.
assetAdvanced.position.streetAddress.streetstringFull street name.
assetAdvanced.processedUtcdatetimeWhen the was change procesed.
assetAdvanced.providersArray.<string>
for values see: Provider.id
The list of devices providing events for this asset.
assetAdvanced.relationshipsArray.<uint64>
for values see: Asset.id
A list of assets related to this one; like a Person for a Vehicle (driver).
assetAdvanced.tagsArray.<codified>
for values see: LabelStyle.code
The codified status tag names.
assetAdvanced.updatedby: login, from: monster
assetAdvanced.vArray.<uint32>Object version keys used to validate synchronization for all object properties.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"assetAdvanced": {
		"attributes": {
			string: {
				"asset": number,
				"complex": string,
				"dts": string,
				"global": boolean,
				"name": string,
				"provider": string,
				"raw": Object,
				"simple": string,
				"unit": string
			}
		},
		"company": number,
		"id": number,
		"odometer": number,
		"places": {
			string: {
				"enter": string,
				"kind": string,
				"latest": string
			}
		},
		"position": {
			"accuracy": number,
			"address": string,
			"altitude": number,
			"bearing": number,
			"dts": string,
			"lat": number,
			"lng": number,
			"origin": string,
			"speed": number,
			"speedLimit": number,
			"streetAddress": {
				"city": string,
				"country": string,
				"isToll": boolean,
				"number": string,
				"postal": string,
				"province": string,
				"region": string,
				"street": string
			}
		},
		"processedUtc": string,
		"providers": [
			string
		],
		"relationships": [
			number
		],
		"tags": [
			string
		],
		"updated": {
		},
		"v": [
			number
		]
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespAssetAdvancedListByCompanyBaseResponseobject

Response description
PropertyTypeDescription
assetAdvancedsArray.<AssetAdvanced>The list of requested Assets.
companyRespIdAn object to contain the "id" of the Company to which the array of Assets belong.
company.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"assetAdvanceds": [
		{
			"attributes": {
				string: {
					"asset": number,
					"complex": string,
					"dts": string,
					"global": boolean,
					"name": string,
					"provider": string,
					"raw": Object,
					"simple": string,
					"unit": string
				}
			},
			"company": number,
			"id": number,
			"odometer": number,
			"places": {
				string: {
					"enter": string,
					"kind": string,
					"latest": string
				}
			},
			"position": {
				"accuracy": number,
				"address": string,
				"altitude": number,
				"bearing": number,
				"dts": string,
				"lat": number,
				"lng": number,
				"origin": string,
				"speed": number,
				"speedLimit": number,
				"streetAddress": {
					"city": string,
					"country": string,
					"isToll": boolean,
					"number": string,
					"postal": string,
					"province": string,
					"region": string,
					"street": string
				}
			},
			"processedUtc": string,
			"providers": [
				string
			],
			"relationships": [
				number
			],
			"tags": [
				string
			],
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"company": {
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespAssetAdvancedListByCompanyAndLabelsBaseResponseobject

Response description
PropertyTypeDescription
assetAdvancedsArray.<AssetAdvanced>The list of requested Assets.
companyRespIdAn object to contain the "id" of the Company to which the array of Assets belong.
company.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
labelsArray.<string>The labels given as input.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"assetAdvanceds": [
		{
			"attributes": {
				string: {
					"asset": number,
					"complex": string,
					"dts": string,
					"global": boolean,
					"name": string,
					"provider": string,
					"raw": Object,
					"simple": string,
					"unit": string
				}
			},
			"company": number,
			"id": number,
			"odometer": number,
			"places": {
				string: {
					"enter": string,
					"kind": string,
					"latest": string
				}
			},
			"position": {
				"accuracy": number,
				"address": string,
				"altitude": number,
				"bearing": number,
				"dts": string,
				"lat": number,
				"lng": number,
				"origin": string,
				"speed": number,
				"speedLimit": number,
				"streetAddress": {
					"city": string,
					"country": string,
					"isToll": boolean,
					"number": string,
					"postal": string,
					"province": string,
					"region": string,
					"street": string
				}
			},
			"processedUtc": string,
			"providers": [
				string
			],
			"relationships": [
				number
			],
			"tags": [
				string
			],
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"company": {
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"labels": [
		string
	],
	"message": string,
	"reqId": number
}

RespAssetAdvancedListByRefPairsBaseResponseobject

Response description
PropertyTypeDescription
assetAdvancedsArray.<AssetAdvanced>The list of requested Assets.
companyRespIdAn object to contain the "id" of the Company to which the array of Assets belong.
company.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
referencesObject.<string, string>The reference string given as input.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"assetAdvanceds": [
		{
			"attributes": {
				string: {
					"asset": number,
					"complex": string,
					"dts": string,
					"global": boolean,
					"name": string,
					"provider": string,
					"raw": Object,
					"simple": string,
					"unit": string
				}
			},
			"company": number,
			"id": number,
			"odometer": number,
			"places": {
				string: {
					"enter": string,
					"kind": string,
					"latest": string
				}
			},
			"position": {
				"accuracy": number,
				"address": string,
				"altitude": number,
				"bearing": number,
				"dts": string,
				"lat": number,
				"lng": number,
				"origin": string,
				"speed": number,
				"speedLimit": number,
				"streetAddress": {
					"city": string,
					"country": string,
					"isToll": boolean,
					"number": string,
					"postal": string,
					"province": string,
					"region": string,
					"street": string
				}
			},
			"processedUtc": string,
			"providers": [
				string
			],
			"relationships": [
				number
			],
			"tags": [
				string
			],
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"company": {
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"references": {
		string: string
	},
	"reqId": number
}

RespAssetBatchDeleteBaseResponseobject

Response description
PropertyTypeDescription
assetsArray.<RespDeleted>Array or responses successfully processed by the sub-command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"assets": [
		{
			"company": number,
			"deleted": boolean,
			"id": number,
			"v": [
				number
			]
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespAssetBatchMergeBaseResponseobject

Response description
PropertyTypeDescription
assetsArray.<RespIdCompany>Array or responses successfully processed by the sub-command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"assets": [
		{
			"company": number,
			"id": number
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespAssetBatchReviveBaseResponseobject

Response description
PropertyTypeDescription
assetsArray.<RespSuspended>Array or responses successfully processed by the sub-command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"assets": [
		{
			"company": number,
			"id": number,
			"suspended": boolean,
			"v": [
				number
			]
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespAssetBatchSuspendBaseResponseobject

Response description
PropertyTypeDescription
assetsArray.<RespSuspended>Array or responses successfully processed by the sub-command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"assets": [
		{
			"company": number,
			"id": number,
			"suspended": boolean,
			"v": [
				number
			]
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespAssetDeleteBaseResponseobject

Response description
PropertyTypeDescription
assetRespDeletedAn object which contains the Asset's id, owning Company id, and deleted status.
asset.companyuint64Identifier of the Company to which this object belongs.
asset.deletedbooleanFlag showing if the object is deleted.
asset.iduint64?Identifier given as input for the command.
asset.vArray.<uint32>
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"asset": {
		"company": number,
		"deleted": boolean,
		"id": number,
		"v": [
			number
		]
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespAssetDispatchGetBaseResponseobject

Response description
PropertyTypeDescription
assetDispatchAssetDispatchThe requested AssetDispatch.
assetDispatch.companyuint64The company to which this asset belongs.
assetDispatch.directionsArray.<DispatchDirection>Driving directions and route path details.
assetDispatch.iduint64Unique identifier of this asset.
assetDispatch.jobsArray.<uint64>The current list of DispatchJobs assigned to the asset.
assetDispatch.lastDispatcheddatetimeTimestamp from the last update to this AssetDispatch by a User, Machine, Asset, or an assigned DispatchJob.
assetDispatch.processedUtcdatetimeWhen the was change procesed.
assetDispatch.tasks
Deprecated
Array.<DispatchTask>The current list of tasks assigned to this asset.
assetDispatch.updatedby: login, from: monster
assetDispatch.vArray.<uint32>Object version keys used to validate synchronization for all object properties.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"assetDispatch": {
		"company": number,
		"directions": [
			{
				"directions": [
					{ /* recursive DispatchDirection objects */ }
				],
				"distance": number,
				"duration": string,
				"instructions": string,
				"job": number,
				"path": string,
				"step": number
			}
		],
		"id": number,
		"jobs": [
			number
		],
		"lastDispatched": string,
		"processedUtc": string,
		"tasks": [
			{
				"address": string,
				"arrived": string,
				"asset": number,
				"attachments": [
					number
				],
				"company": number,
				"completed": string,
				"created": string,
				"duration": string,
				"eta": string,
				"id": number,
				"instructions": string,
				"latlng": {
					"lat": number,
					"lng": number
				},
				"name": string,
				"notes": string,
				"place": number,
				"processedUtc": string,
				"reference": string,
				"references": {
					string: string
				},
				"signatory": string,
				"signature": boolean,
				"status": string,
				"updated": {
				},
				"v": [
					number
				]
			}
		],
		"updated": {
		},
		"v": [
			number
		]
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespAssetDispatchListByCompanyBaseResponseobject

Response description
PropertyTypeDescription
assetDispatchesArray.<AssetDispatch>The list of requested Assets.
companyRespIdAn object to contain the "id" of the Company to which the array of Assets belong.
company.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"assetDispatches": [
		{
			"company": number,
			"directions": [
				{
					"directions": [
						{ /* recursive DispatchDirection objects */ }
					],
					"distance": number,
					"duration": string,
					"instructions": string,
					"job": number,
					"path": string,
					"step": number
				}
			],
			"id": number,
			"jobs": [
				number
			],
			"lastDispatched": string,
			"processedUtc": string,
			"tasks": [
				{
					"address": string,
					"arrived": string,
					"asset": number,
					"attachments": [
						number
					],
					"company": number,
					"completed": string,
					"created": string,
					"duration": string,
					"eta": string,
					"id": number,
					"instructions": string,
					"latlng": {
						"lat": number,
						"lng": number
					},
					"name": string,
					"notes": string,
					"place": number,
					"processedUtc": string,
					"reference": string,
					"references": {
						string: string
					},
					"signatory": string,
					"signature": boolean,
					"status": string,
					"updated": {
					},
					"v": [
						number
					]
				}
			],
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"company": {
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespAssetDispatchListByCompanyAndLabelsBaseResponseobject

Response description
PropertyTypeDescription
assetDispatchesArray.<AssetDispatch>The list of requested Assets.
companyRespIdAn object to contain the "id" of the Company to which the array of Assets belong.
company.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
labelsArray.<string>The labels given as input.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"assetDispatches": [
		{
			"company": number,
			"directions": [
				{
					"directions": [
						{ /* recursive DispatchDirection objects */ }
					],
					"distance": number,
					"duration": string,
					"instructions": string,
					"job": number,
					"path": string,
					"step": number
				}
			],
			"id": number,
			"jobs": [
				number
			],
			"lastDispatched": string,
			"processedUtc": string,
			"tasks": [
				{
					"address": string,
					"arrived": string,
					"asset": number,
					"attachments": [
						number
					],
					"company": number,
					"completed": string,
					"created": string,
					"duration": string,
					"eta": string,
					"id": number,
					"instructions": string,
					"latlng": {
						"lat": number,
						"lng": number
					},
					"name": string,
					"notes": string,
					"place": number,
					"processedUtc": string,
					"reference": string,
					"references": {
						string: string
					},
					"signatory": string,
					"signature": boolean,
					"status": string,
					"updated": {
					},
					"v": [
						number
					]
				}
			],
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"company": {
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"labels": [
		string
	],
	"message": string,
	"reqId": number
}

RespAssetDispatchListByRefPairsBaseResponseobject

Response description
PropertyTypeDescription
assetDispatchesArray.<AssetDispatch>The list of requested Assets.
companyRespIdAn object to contain the "id" of the Company to which the array of Assets belong.
company.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
referencesObject.<string, string>The reference string given as input.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"assetDispatches": [
		{
			"company": number,
			"directions": [
				{
					"directions": [
						{ /* recursive DispatchDirection objects */ }
					],
					"distance": number,
					"duration": string,
					"instructions": string,
					"job": number,
					"path": string,
					"step": number
				}
			],
			"id": number,
			"jobs": [
				number
			],
			"lastDispatched": string,
			"processedUtc": string,
			"tasks": [
				{
					"address": string,
					"arrived": string,
					"asset": number,
					"attachments": [
						number
					],
					"company": number,
					"completed": string,
					"created": string,
					"duration": string,
					"eta": string,
					"id": number,
					"instructions": string,
					"latlng": {
						"lat": number,
						"lng": number
					},
					"name": string,
					"notes": string,
					"place": number,
					"processedUtc": string,
					"reference": string,
					"references": {
						string: string
					},
					"signatory": string,
					"signature": boolean,
					"status": string,
					"updated": {
					},
					"v": [
						number
					]
				}
			],
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"company": {
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"references": {
		string: string
	},
	"reqId": number
}

RespAssetGeneralGetBaseResponseobject

Response description
PropertyTypeDescription
assetGeneralAssetGeneralThe requested Asset.
assetGeneral.companyuint64The company to which this asset belongs.
assetGeneral.iconuint64
see: Icon.id
The icon that represents this asset on the map and in lists.
assetGeneral.iduint64Unique identifier of this asset.
assetGeneral.kindAssetTypeType of asset.
assetGeneral.labelsArray.<codified>
for values see: LabelStyle.code
Codified label names.
assetGeneral.messagingAddressstring
maximum-length: 254
The fall-back address which is used to send Messages if the asset is a Person and has no Contact phone or email.
assetGeneral.namestring
maximum-length: 100
This thing's name.
assetGeneral.notesstringNotes about it.
assetGeneral.picturesArray.<uint64>
for values see: Picture.id
A list of photos of this thing.
assetGeneral.processedUtcdatetimeWhen the was change procesed.
assetGeneral.reference
Deprecated
string
maximum-length: 100
A custom field used to refer to an external system.
Use asset.references[AssetGeneral.REFERENCE] instead.
assetGeneral.referencesObject.<string, string>
maximum-count: 10
maximum-length of keys: 20
maximum-length of values: 100
Name/value collections of custom fields used to refer to external systems.
assetGeneral.updatedby: login, from: monster
assetGeneral.vArray.<uint32>Object version keys used to validate synchronization for all object properties.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"assetGeneral": {
		"company": number,
		"icon": number,
		"id": number,
		"kind": string,
		"labels": [
			string
		],
		"messagingAddress": string,
		"name": string,
		"notes": string,
		"pictures": [
			number
		],
		"processedUtc": string,
		"reference": string,
		"references": {
			string: string
		},
		"updated": {
		},
		"v": [
			number
		]
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespAssetGeneralListByCompanyBaseResponseobject

Response description
PropertyTypeDescription
assetGeneralsArray.<AssetGeneral>The list of requested Assets.
companyRespIdAn object to contain the "id" of the Company to which the array of Assets belong.
company.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"assetGenerals": [
		{
			"company": number,
			"icon": number,
			"id": number,
			"kind": string,
			"labels": [
				string
			],
			"messagingAddress": string,
			"name": string,
			"notes": string,
			"pictures": [
				number
			],
			"processedUtc": string,
			"reference": string,
			"references": {
				string: string
			},
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"company": {
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespAssetGeneralListByCompanyAndLabelsBaseResponseobject

Response description
PropertyTypeDescription
assetGeneralsArray.<AssetGeneral>The list of requested Assets.
companyRespIdAn object to contain the "id" of the Company to which the array of Assets belong.
company.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
labelsArray.<string>The labels given as input.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"assetGenerals": [
		{
			"company": number,
			"icon": number,
			"id": number,
			"kind": string,
			"labels": [
				string
			],
			"messagingAddress": string,
			"name": string,
			"notes": string,
			"pictures": [
				number
			],
			"processedUtc": string,
			"reference": string,
			"references": {
				string: string
			},
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"company": {
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"labels": [
		string
	],
	"message": string,
	"reqId": number
}

RespAssetGeneralListByRefPairsBaseResponseobject

Response description
PropertyTypeDescription
assetGeneralsArray.<AssetGeneral>The list of requested Assets.
companyRespIdAn object to contain the "id" of the Company to which the array of Assets belong.
company.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
referencesObject.<string, string>The reference string given as input.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"assetGenerals": [
		{
			"company": number,
			"icon": number,
			"id": number,
			"kind": string,
			"labels": [
				string
			],
			"messagingAddress": string,
			"name": string,
			"notes": string,
			"pictures": [
				number
			],
			"processedUtc": string,
			"reference": string,
			"references": {
				string: string
			},
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"company": {
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"references": {
		string: string
	},
	"reqId": number
}

RespAssetGetBaseResponseobject

Response description
PropertyTypeDescription
assetAssetThe requested Asset.
asset.attributesObject.<codified, AssetAttribute>
for keys see: AssetAttribute.name
A list of attributes given to this asset by the connection device such as wiring state, VBus, etc.
asset.companyuint64The company to which this asset belongs.
asset.dispatchAssetDispatchCurrent jobs dispatched and driving directions.
asset.dispatch.companyuint64The company to which this asset belongs.
asset.dispatch.directionsArray.<DispatchDirection>Driving directions and route path details.
asset.dispatch.iduint64Unique identifier of this asset.
asset.dispatch.jobsArray.<uint64>The current list of DispatchJobs assigned to the asset.
asset.dispatch.lastDispatcheddatetimeTimestamp from the last update to this AssetDispatch by a User, Machine, Asset, or an assigned DispatchJob.
asset.dispatch.processedUtcdatetimeWhen the was change procesed.
asset.dispatch.tasks
Deprecated
Array.<DispatchTask>The current list of tasks assigned to this asset.
asset.dispatch.updatedby: login, from: monster
asset.dispatch.vArray.<uint32>Object version keys used to validate synchronization for all object properties.
asset.iconuint64
see: Icon.id
The icon that represents this asset on the map and in lists.
asset.iduint64Unique identifier of this asset.
asset.kindAssetTypeType of asset.
asset.labelsArray.<codified>
for values see: LabelStyle.code
Codified label names.
asset.messagesArray.<AssetMessage>A list of messages sent to or from this asset.
asset.messagingAddressstring
maximum-length: 254
The fall-back address which is used to send Messages if the asset is a Person and has no Contact phone or email.
asset.namestring
maximum-length: 100
This thing's name.
asset.notesstringNotes about it.
asset.odometerdoubleThe cumulative distance travelled in kilometres.
asset.picturesArray.<uint64>
for values see: Picture.id
A list of photos of this thing.
asset.placesObject.<uint64, AssetPlaceStatus>
for keys see: Place.id
The current state of this asset's interaction with known Places.
asset.positionPositionThe things GPS coordinates including speed, bearing, and street information.
asset.position.accuracyuint32?Threshold in meters for the accuracy of a position
asset.position.addressstringThe road segment description
asset.position.altitudedouble?Distance in meters from the sea level
asset.position.bearinguint16?Direction of travel
asset.position.dtsdatetimeThe Date/Time of the GPS reading
asset.position.latdouble?Latitude
asset.position.lngdouble?Longitude
asset.position.originstringProvider Identifier
asset.position.speeddouble?Speed
asset.position.speedLimitdouble?The posted speed limit for the road segment
asset.position.streetAddressStreetAddressA better description of the current road-segment
asset.position.streetAddress.citystringCity name.
asset.position.streetAddress.countrystring
fixed length: 2
Country code. Codes should be a value from ISO 3166-1 alpha-2.
asset.position.streetAddress.isTollbooleanIndicates that there is a toll for the current road segment.
asset.position.streetAddress.numberstringHouse number.
asset.position.streetAddress.postalstringPostal or zip code.
asset.position.streetAddress.provincestring
fixed length: 2
Province or state code. Codes should be a value from ISO 3166-2.
asset.position.streetAddress.regionstringRegion name.
asset.position.streetAddress.streetstringFull street name.
asset.processedUtcdatetimeWhen the was change procesed.
asset.providersArray.<string>
for values see: Provider.id
The list of devices providing events for this asset.
asset.reference
Deprecated
string
maximum-length: 100
A custom field used to refer to an external system.
Use asset.references[AssetGeneral.REFERENCE] instead.
asset.referencesObject.<string, string>
maximum-count: 10
maximum-length of keys: 20
maximum-length of values: 100
Name/value collections of custom fields used to refer to external systems.
asset.relationshipsArray.<uint64>
for values see: Asset.id
A list of assets related to this one; like a Person for a Vehicle (driver).
asset.tagsArray.<codified>
for values see: LabelStyle.code
The codified status tag names.
asset.updatedby: login, from: monster
asset.vArray.<int32>
fixed count: 3
Object version keys used to validate synchronization for all object properties.
asset.v[0]int32The first element is for the AssetGeneral properties.
asset.v[1]int32The second element is for the AssetAdvanced properties.
asset.v[2]int32The third element is for the Asset.dispatch properties.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"asset": {
		"attributes": {
			string: {
				"asset": number,
				"complex": string,
				"dts": string,
				"global": boolean,
				"name": string,
				"provider": string,
				"raw": Object,
				"simple": string,
				"unit": string
			}
		},
		"company": number,
		"dispatch": {
			"company": number,
			"directions": [
				{
					"directions": [
						{ /* recursive DispatchDirection objects */ }
					],
					"distance": number,
					"duration": string,
					"instructions": string,
					"job": number,
					"path": string,
					"step": number
				}
			],
			"id": number,
			"jobs": [
				number
			],
			"lastDispatched": string,
			"processedUtc": string,
			"tasks": [
				{
					"address": string,
					"arrived": string,
					"asset": number,
					"attachments": [
						number
					],
					"company": number,
					"completed": string,
					"created": string,
					"duration": string,
					"eta": string,
					"id": number,
					"instructions": string,
					"latlng": {
						"lat": number,
						"lng": number
					},
					"name": string,
					"notes": string,
					"place": number,
					"processedUtc": string,
					"reference": string,
					"references": {
						string: string
					},
					"signatory": string,
					"signature": boolean,
					"status": string,
					"updated": {
					},
					"v": [
						number
					]
				}
			],
			"updated": {
			},
			"v": [
				number
			]
		},
		"icon": number,
		"id": number,
		"kind": string,
		"labels": [
			string
		],
		"messages": [
			{
				"asset": number,
				"body": string,
				"company": number,
				"delivered": string,
				"folder": string,
				"from": string,
				"id": number,
				"incoming": boolean,
				"kind": string,
				"processed": string,
				"processedUtc": string,
				"readBy": string,
				"status": string,
				"subject": string,
				"to": string,
				"updated": {
				},
				"user": string,
				"v": [
					number
				]
			}
		],
		"messagingAddress": string,
		"name": string,
		"notes": string,
		"odometer": number,
		"pictures": [
			number
		],
		"places": {
			string: {
				"enter": string,
				"kind": string,
				"latest": string
			}
		},
		"position": {
			"accuracy": number,
			"address": string,
			"altitude": number,
			"bearing": number,
			"dts": string,
			"lat": number,
			"lng": number,
			"origin": string,
			"speed": number,
			"speedLimit": number,
			"streetAddress": {
				"city": string,
				"country": string,
				"isToll": boolean,
				"number": string,
				"postal": string,
				"province": string,
				"region": string,
				"street": string
			}
		},
		"processedUtc": string,
		"providers": [
			string
		],
		"reference": string,
		"references": {
			string: string
		},
		"relationships": [
			number
		],
		"tags": [
			string
		],
		"updated": {
		},
		"v": [
			number
		]
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespAssetListByCompanyBaseResponseobject

Response description
PropertyTypeDescription
assetsArray.<Asset>The list of requested Assets.
companyRespIdAn object to contain the "id" of the Company to which the array of Assets belong.
company.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"assets": [
		{
			"attributes": {
				string: {
					"asset": number,
					"complex": string,
					"dts": string,
					"global": boolean,
					"name": string,
					"provider": string,
					"raw": Object,
					"simple": string,
					"unit": string
				}
			},
			"company": number,
			"dispatch": {
				"company": number,
				"directions": [
					{
						"directions": [
							{ /* recursive DispatchDirection objects */ }
						],
						"distance": number,
						"duration": string,
						"instructions": string,
						"job": number,
						"path": string,
						"step": number
					}
				],
				"id": number,
				"jobs": [
					number
				],
				"lastDispatched": string,
				"processedUtc": string,
				"tasks": [
					{
						"address": string,
						"arrived": string,
						"asset": number,
						"attachments": [
							number
						],
						"company": number,
						"completed": string,
						"created": string,
						"duration": string,
						"eta": string,
						"id": number,
						"instructions": string,
						"latlng": {
							"lat": number,
							"lng": number
						},
						"name": string,
						"notes": string,
						"place": number,
						"processedUtc": string,
						"reference": string,
						"references": {
							string: string
						},
						"signatory": string,
						"signature": boolean,
						"status": string,
						"updated": {
						},
						"v": [
							number
						]
					}
				],
				"updated": {
				},
				"v": [
					number
				]
			},
			"icon": number,
			"id": number,
			"kind": string,
			"labels": [
				string
			],
			"messages": [
				{
					"asset": number,
					"body": string,
					"company": number,
					"delivered": string,
					"folder": string,
					"from": string,
					"id": number,
					"incoming": boolean,
					"kind": string,
					"processed": string,
					"processedUtc": string,
					"readBy": string,
					"status": string,
					"subject": string,
					"to": string,
					"updated": {
					},
					"user": string,
					"v": [
						number
					]
				}
			],
			"messagingAddress": string,
			"name": string,
			"notes": string,
			"odometer": number,
			"pictures": [
				number
			],
			"places": {
				string: {
					"enter": string,
					"kind": string,
					"latest": string
				}
			},
			"position": {
				"accuracy": number,
				"address": string,
				"altitude": number,
				"bearing": number,
				"dts": string,
				"lat": number,
				"lng": number,
				"origin": string,
				"speed": number,
				"speedLimit": number,
				"streetAddress": {
					"city": string,
					"country": string,
					"isToll": boolean,
					"number": string,
					"postal": string,
					"province": string,
					"region": string,
					"street": string
				}
			},
			"processedUtc": string,
			"providers": [
				string
			],
			"reference": string,
			"references": {
				string: string
			},
			"relationships": [
				number
			],
			"tags": [
				string
			],
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"company": {
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespAssetListByCompanyAndLabelsBaseResponseobject

Response description
PropertyTypeDescription
assetsArray.<Asset>The list of requested Assets.
companyRespIdAn object to contain the "id" of the Company to which the array of Assets belong.
company.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
labelsArray.<string>The labels given as input.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"assets": [
		{
			"attributes": {
				string: {
					"asset": number,
					"complex": string,
					"dts": string,
					"global": boolean,
					"name": string,
					"provider": string,
					"raw": Object,
					"simple": string,
					"unit": string
				}
			},
			"company": number,
			"dispatch": {
				"company": number,
				"directions": [
					{
						"directions": [
							{ /* recursive DispatchDirection objects */ }
						],
						"distance": number,
						"duration": string,
						"instructions": string,
						"job": number,
						"path": string,
						"step": number
					}
				],
				"id": number,
				"jobs": [
					number
				],
				"lastDispatched": string,
				"processedUtc": string,
				"tasks": [
					{
						"address": string,
						"arrived": string,
						"asset": number,
						"attachments": [
							number
						],
						"company": number,
						"completed": string,
						"created": string,
						"duration": string,
						"eta": string,
						"id": number,
						"instructions": string,
						"latlng": {
							"lat": number,
							"lng": number
						},
						"name": string,
						"notes": string,
						"place": number,
						"processedUtc": string,
						"reference": string,
						"references": {
							string: string
						},
						"signatory": string,
						"signature": boolean,
						"status": string,
						"updated": {
						},
						"v": [
							number
						]
					}
				],
				"updated": {
				},
				"v": [
					number
				]
			},
			"icon": number,
			"id": number,
			"kind": string,
			"labels": [
				string
			],
			"messages": [
				{
					"asset": number,
					"body": string,
					"company": number,
					"delivered": string,
					"folder": string,
					"from": string,
					"id": number,
					"incoming": boolean,
					"kind": string,
					"processed": string,
					"processedUtc": string,
					"readBy": string,
					"status": string,
					"subject": string,
					"to": string,
					"updated": {
					},
					"user": string,
					"v": [
						number
					]
				}
			],
			"messagingAddress": string,
			"name": string,
			"notes": string,
			"odometer": number,
			"pictures": [
				number
			],
			"places": {
				string: {
					"enter": string,
					"kind": string,
					"latest": string
				}
			},
			"position": {
				"accuracy": number,
				"address": string,
				"altitude": number,
				"bearing": number,
				"dts": string,
				"lat": number,
				"lng": number,
				"origin": string,
				"speed": number,
				"speedLimit": number,
				"streetAddress": {
					"city": string,
					"country": string,
					"isToll": boolean,
					"number": string,
					"postal": string,
					"province": string,
					"region": string,
					"street": string
				}
			},
			"processedUtc": string,
			"providers": [
				string
			],
			"reference": string,
			"references": {
				string: string
			},
			"relationships": [
				number
			],
			"tags": [
				string
			],
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"company": {
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"labels": [
		string
	],
	"message": string,
	"reqId": number
}

RespAssetListByRefBaseResponseobject

Response description
PropertyTypeDescription
assetsArray.<Asset>The list of requested Assets.
companyRespIdAn object to contain the "id" of the Company to which the array of Assets belong.
company.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
referencestringThe reference string given as input.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"assets": [
		{
			"attributes": {
				string: {
					"asset": number,
					"complex": string,
					"dts": string,
					"global": boolean,
					"name": string,
					"provider": string,
					"raw": Object,
					"simple": string,
					"unit": string
				}
			},
			"company": number,
			"dispatch": {
				"company": number,
				"directions": [
					{
						"directions": [
							{ /* recursive DispatchDirection objects */ }
						],
						"distance": number,
						"duration": string,
						"instructions": string,
						"job": number,
						"path": string,
						"step": number
					}
				],
				"id": number,
				"jobs": [
					number
				],
				"lastDispatched": string,
				"processedUtc": string,
				"tasks": [
					{
						"address": string,
						"arrived": string,
						"asset": number,
						"attachments": [
							number
						],
						"company": number,
						"completed": string,
						"created": string,
						"duration": string,
						"eta": string,
						"id": number,
						"instructions": string,
						"latlng": {
							"lat": number,
							"lng": number
						},
						"name": string,
						"notes": string,
						"place": number,
						"processedUtc": string,
						"reference": string,
						"references": {
							string: string
						},
						"signatory": string,
						"signature": boolean,
						"status": string,
						"updated": {
						},
						"v": [
							number
						]
					}
				],
				"updated": {
				},
				"v": [
					number
				]
			},
			"icon": number,
			"id": number,
			"kind": string,
			"labels": [
				string
			],
			"messages": [
				{
					"asset": number,
					"body": string,
					"company": number,
					"delivered": string,
					"folder": string,
					"from": string,
					"id": number,
					"incoming": boolean,
					"kind": string,
					"processed": string,
					"processedUtc": string,
					"readBy": string,
					"status": string,
					"subject": string,
					"to": string,
					"updated": {
					},
					"user": string,
					"v": [
						number
					]
				}
			],
			"messagingAddress": string,
			"name": string,
			"notes": string,
			"odometer": number,
			"pictures": [
				number
			],
			"places": {
				string: {
					"enter": string,
					"kind": string,
					"latest": string
				}
			},
			"position": {
				"accuracy": number,
				"address": string,
				"altitude": number,
				"bearing": number,
				"dts": string,
				"lat": number,
				"lng": number,
				"origin": string,
				"speed": number,
				"speedLimit": number,
				"streetAddress": {
					"city": string,
					"country": string,
					"isToll": boolean,
					"number": string,
					"postal": string,
					"province": string,
					"region": string,
					"street": string
				}
			},
			"processedUtc": string,
			"providers": [
				string
			],
			"reference": string,
			"references": {
				string: string
			},
			"relationships": [
				number
			],
			"tags": [
				string
			],
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"company": {
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reference": string,
	"reqId": number
}

RespAssetListByRefPairsBaseResponseobject

Response description
PropertyTypeDescription
assetsArray.<Asset>The list of requested Assets.
companyRespIdAn object to contain the "id" of the Company to which the array of Assets belong.
company.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
referencesObject.<string, string>The reference string given as input.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"assets": [
		{
			"attributes": {
				string: {
					"asset": number,
					"complex": string,
					"dts": string,
					"global": boolean,
					"name": string,
					"provider": string,
					"raw": Object,
					"simple": string,
					"unit": string
				}
			},
			"company": number,
			"dispatch": {
				"company": number,
				"directions": [
					{
						"directions": [
							{ /* recursive DispatchDirection objects */ }
						],
						"distance": number,
						"duration": string,
						"instructions": string,
						"job": number,
						"path": string,
						"step": number
					}
				],
				"id": number,
				"jobs": [
					number
				],
				"lastDispatched": string,
				"processedUtc": string,
				"tasks": [
					{
						"address": string,
						"arrived": string,
						"asset": number,
						"attachments": [
							number
						],
						"company": number,
						"completed": string,
						"created": string,
						"duration": string,
						"eta": string,
						"id": number,
						"instructions": string,
						"latlng": {
							"lat": number,
							"lng": number
						},
						"name": string,
						"notes": string,
						"place": number,
						"processedUtc": string,
						"reference": string,
						"references": {
							string: string
						},
						"signatory": string,
						"signature": boolean,
						"status": string,
						"updated": {
						},
						"v": [
							number
						]
					}
				],
				"updated": {
				},
				"v": [
					number
				]
			},
			"icon": number,
			"id": number,
			"kind": string,
			"labels": [
				string
			],
			"messages": [
				{
					"asset": number,
					"body": string,
					"company": number,
					"delivered": string,
					"folder": string,
					"from": string,
					"id": number,
					"incoming": boolean,
					"kind": string,
					"processed": string,
					"processedUtc": string,
					"readBy": string,
					"status": string,
					"subject": string,
					"to": string,
					"updated": {
					},
					"user": string,
					"v": [
						number
					]
				}
			],
			"messagingAddress": string,
			"name": string,
			"notes": string,
			"odometer": number,
			"pictures": [
				number
			],
			"places": {
				string: {
					"enter": string,
					"kind": string,
					"latest": string
				}
			},
			"position": {
				"accuracy": number,
				"address": string,
				"altitude": number,
				"bearing": number,
				"dts": string,
				"lat": number,
				"lng": number,
				"origin": string,
				"speed": number,
				"speedLimit": number,
				"streetAddress": {
					"city": string,
					"country": string,
					"isToll": boolean,
					"number": string,
					"postal": string,
					"province": string,
					"region": string,
					"street": string
				}
			},
			"processedUtc": string,
			"providers": [
				string
			],
			"reference": string,
			"references": {
				string: string
			},
			"relationships": [
				number
			],
			"tags": [
				string
			],
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"company": {
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"references": {
		string: string
	},
	"reqId": number
}

RespAssetMergeBaseResponseobject

Response description
PropertyTypeDescription
assetRespIdCompanyAn object which contains the "id" and "company" keys.
asset.companyuint64Identifier of the Company to which this object belongs.
asset.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"asset": {
		"company": number,
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespAssetRestoreBaseResponseobject

Response description
PropertyTypeDescription
assetRespDeletedAn object which contains the Asset's id, owning Company id, and deleted status.
asset.companyuint64Identifier of the Company to which this object belongs.
asset.deletedbooleanFlag showing if the object is deleted.
asset.iduint64?Identifier given as input for the command.
asset.vArray.<uint32>
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"asset": {
		"company": number,
		"deleted": boolean,
		"id": number,
		"v": [
			number
		]
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespAssetReviveBaseResponseobject

Response description
PropertyTypeDescription
assetRespSuspendedAn object which contains the Asset's unique identifier and suspended status.
asset.companyuint64Identifier of the Company to which this object belongs.
asset.iduint64?Identifier given as input for the command.
asset.suspendedbooleanFlag showing if the object is suspended.
asset.vArray.<uint32>
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"asset": {
		"company": number,
		"id": number,
		"suspended": boolean,
		"v": [
			number
		]
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespAssetSuspendBaseResponseobject

Response description
PropertyTypeDescription
assetRespSuspendedAn object which contains the Asset's unique identifier and suspended status.
asset.companyuint64Identifier of the Company to which this object belongs.
asset.iduint64?Identifier given as input for the command.
asset.suspendedbooleanFlag showing if the object is suspended.
asset.vArray.<uint32>
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"asset": {
		"company": number,
		"id": number,
		"suspended": boolean,
		"v": [
			number
		]
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

StreetAddressobject

A road segment description
JSON description
PropertyTypeDescription
citystringCity name.
countrystring
fixed length: 2
Country code. Codes should be a value from ISO 3166-1 alpha-2.
isTollbooleanIndicates that there is a toll for the current road segment.
numberstringHouse number.
postalstringPostal or zip code.
provincestring
fixed length: 2
Province or state code. Codes should be a value from ISO 3166-2.
regionstringRegion name.
streetstringFull street name.
JSON structure
{
	"city": string,
	"country": string,
	"isToll": boolean,
	"number": string,
	"postal": string,
	"province": string,
	"region": string,
	"street": string
}

TrailerAssetobject

The full details of a Trailer, containing all the properties from the TrailerGeneral and AssetAdvanced objects.
JSON description
PropertyTypeDescription
attributesObject.<codified, AssetAttribute>
for keys see: AssetAttribute.name
A list of attributes given to this asset by the connection device such as wiring state, VBus, etc.
colourcolour
maximum-length: 22
Primary colour of the trailer (given in 24bit hex; #RRGGBB)
companyuint64The company to which this asset belongs.
dispatchAssetDispatchCurrent jobs dispatched and driving directions.
iconuint64
see: Icon.id
The icon that represents this asset on the map and in lists.
iduint64Unique identifier of this asset.
kindAssetTypeType of asset.
labelsArray.<codified>
for values see: LabelStyle.code
Codified label names.
makestring
maximum-length: 50
Manufacturer's name.
messagesArray.<AssetMessage>A list of messages sent to or from this asset.
messagingAddressstring
maximum-length: 254
The fall-back address which is used to send Messages if the asset is a Person and has no Contact phone or email.
modelstring
maximum-length: 50
Manufacturer's model name/number.
namestring
maximum-length: 100
This thing's name.
notesstringNotes about it.
odometerdoubleThe cumulative distance travelled in kilometres.
picturesArray.<uint64>
for values see: Picture.id
A list of photos of this thing.
placesObject.<uint64, AssetPlaceStatus>
for keys see: Place.id
The current state of this asset's interaction with known Places.
platestring
maximum-length: 50
The license plate.
positionPositionThe things GPS coordinates including speed, bearing, and street information.
processedUtcdatetimeWhen the was change procesed.
providersArray.<string>
for values see: Provider.id
The list of devices providing events for this asset.
reference
Deprecated
string
maximum-length: 100
A custom field used to refer to an external system.
Use asset.references[AssetGeneral.REFERENCE] instead.
referencesObject.<string, string>
maximum-count: 10
maximum-length of keys: 20
maximum-length of values: 100
Name/value collections of custom fields used to refer to external systems.
relationshipsArray.<uint64>
for values see: Asset.id
A list of assets related to this one; like a Person for a Vehicle (driver).
serialstring
maximum-length: 50
Manufacturer's unique identification number for this trailer.
tagsArray.<codified>
for values see: LabelStyle.code
The codified status tag names.
updatedby: login, from: monster
vArray.<int32>
fixed count: 3
Object version keys used to validate synchronization for all object properties.
v[0]int32The first element is for the AssetGeneral properties.
v[1]int32The second element is for the AssetAdvanced properties.
v[2]int32The third element is for the Asset.dispatch properties.
yearuint16Year of manufacturing.
JSON structure
{
	"attributes": {
		string: {
			"asset": number,
			"complex": string,
			"dts": string,
			"global": boolean,
			"name": string,
			"provider": string,
			"raw": Object,
			"simple": string,
			"unit": string
		}
	},
	"colour": string,
	"company": number,
	"dispatch": {
		"company": number,
		"directions": [
			{
				"directions": [
					{ /* recursive DispatchDirection objects */ }
				],
				"distance": number,
				"duration": string,
				"instructions": string,
				"job": number,
				"path": string,
				"step": number
			}
		],
		"id": number,
		"jobs": [
			number
		],
		"lastDispatched": string,
		"processedUtc": string,
		"tasks": [
			{
				"address": string,
				"arrived": string,
				"asset": number,
				"attachments": [
					number
				],
				"company": number,
				"completed": string,
				"created": string,
				"duration": string,
				"eta": string,
				"id": number,
				"instructions": string,
				"latlng": {
					"lat": number,
					"lng": number
				},
				"name": string,
				"notes": string,
				"place": number,
				"processedUtc": string,
				"reference": string,
				"references": {
					string: string
				},
				"signatory": string,
				"signature": boolean,
				"status": string,
				"updated": {
				},
				"v": [
					number
				]
			}
		],
		"updated": {
		},
		"v": [
			number
		]
	},
	"icon": number,
	"id": number,
	"kind": string,
	"labels": [
		string
	],
	"make": string,
	"messages": [
		{
			"asset": number,
			"body": string,
			"company": number,
			"delivered": string,
			"folder": string,
			"from": string,
			"id": number,
			"incoming": boolean,
			"kind": string,
			"processed": string,
			"processedUtc": string,
			"readBy": string,
			"status": string,
			"subject": string,
			"to": string,
			"updated": {
			},
			"user": string,
			"v": [
				number
			]
		}
	],
	"messagingAddress": string,
	"model": string,
	"name": string,
	"notes": string,
	"odometer": number,
	"pictures": [
		number
	],
	"places": {
		string: {
			"enter": string,
			"kind": string,
			"latest": string
		}
	},
	"plate": string,
	"position": {
		"accuracy": number,
		"address": string,
		"altitude": number,
		"bearing": number,
		"dts": string,
		"lat": number,
		"lng": number,
		"origin": string,
		"speed": number,
		"speedLimit": number,
		"streetAddress": {
			"city": string,
			"country": string,
			"isToll": boolean,
			"number": string,
			"postal": string,
			"province": string,
			"region": string,
			"street": string
		}
	},
	"processedUtc": string,
	"providers": [
		string
	],
	"reference": string,
	"references": {
		string: string
	},
	"relationships": [
		number
	],
	"serial": string,
	"tags": [
		string
	],
	"updated": {
	},
	"v": [
		number
	],
	"year": number
}

TrailerGeneralAssetGeneralobject

Seldom changing details about a trailer.
JSON description
PropertyTypeDescription
colourcolour
maximum-length: 22
Primary colour of the trailer (given in 24bit hex; #RRGGBB)
companyuint64The company to which this asset belongs.
iconuint64
see: Icon.id
The icon that represents this asset on the map and in lists.
iduint64Unique identifier of this asset.
kindAssetTypeType of asset.
labelsArray.<codified>
for values see: LabelStyle.code
Codified label names.
makestring
maximum-length: 50
Manufacturer's name.
messagingAddressstring
maximum-length: 254
The fall-back address which is used to send Messages if the asset is a Person and has no Contact phone or email.
modelstring
maximum-length: 50
Manufacturer's model name/number.
namestring
maximum-length: 100
This thing's name.
notesstringNotes about it.
picturesArray.<uint64>
for values see: Picture.id
A list of photos of this thing.
platestring
maximum-length: 50
The license plate.
processedUtcdatetimeWhen the was change procesed.
reference
Deprecated
string
maximum-length: 100
A custom field used to refer to an external system.
Use asset.references[AssetGeneral.REFERENCE] instead.
referencesObject.<string, string>
maximum-count: 10
maximum-length of keys: 20
maximum-length of values: 100
Name/value collections of custom fields used to refer to external systems.
serialstring
maximum-length: 50
Manufacturer's unique identification number for this trailer.
updatedby: login, from: monster
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
yearuint16Year of manufacturing.
JSON structure
{
	"colour": string,
	"company": number,
	"icon": number,
	"id": number,
	"kind": string,
	"labels": [
		string
	],
	"make": string,
	"messagingAddress": string,
	"model": string,
	"name": string,
	"notes": string,
	"pictures": [
		number
	],
	"plate": string,
	"processedUtc": string,
	"reference": string,
	"references": {
		string: string
	},
	"serial": string,
	"updated": {
	},
	"v": [
		number
	],
	"year": number
}

VehicleAssetobject

The full details of a Vehicle, containing all the properties from the VehicleGeneral and VehicleAdvanced objects.
JSON description
PropertyTypeDescription
attributesObject.<codified, AssetAttribute>
for keys see: AssetAttribute.name
A list of attributes given to this asset by the connection device such as wiring state, VBus, etc.
colourcolour
maximum-length: 22
Primary colour of the vehicle (given in 24bit hex; #RRGGBB)
companyuint64The company to which this asset belongs.
dispatchAssetDispatchCurrent jobs dispatched and driving directions.
engineHoursdoubleThe cumulative duration that the vehicle's engine has been running (in decimal hours).
iconuint64
see: Icon.id
The icon that represents this asset on the map and in lists.
iduint64Unique identifier of this asset.
kindAssetTypeType of asset.
labelsArray.<codified>
for values see: LabelStyle.code
Codified label names.
makestring
maximum-length: 50
Manufacturer's name.
messagesArray.<AssetMessage>A list of messages sent to or from this asset.
messagingAddressstring
maximum-length: 254
The fall-back address which is used to send Messages if the asset is a Person and has no Contact phone or email.
modelstring
maximum-length: 50
Manufacturer's model name/number.
namestring
maximum-length: 100
This thing's name.
notesstringNotes about it.
odometerdoubleThe cumulative distance travelled in kilometres.
picturesArray.<uint64>
for values see: Picture.id
A list of photos of this thing.
placesObject.<uint64, AssetPlaceStatus>
for keys see: Place.id
The current state of this asset's interaction with known Places.
platestring
maximum-length: 50
The license plate.
positionPositionThe things GPS coordinates including speed, bearing, and street information.
processedUtcdatetimeWhen the was change procesed.
providersArray.<string>
for values see: Provider.id
The list of devices providing events for this asset.
reference
Deprecated
string
maximum-length: 100
A custom field used to refer to an external system.
Use asset.references[AssetGeneral.REFERENCE] instead.
referencesObject.<string, string>
maximum-count: 10
maximum-length of keys: 20
maximum-length of values: 100
Name/value collections of custom fields used to refer to external systems.
relationshipsArray.<uint64>
for values see: Asset.id
A list of assets related to this one; like a Person for a Vehicle (driver).
tagsArray.<codified>
for values see: LabelStyle.code
The codified status tag names.
updatedby: login, from: monster
vArray.<int32>
fixed count: 3
Object version keys used to validate synchronization for all object properties.
v[0]int32The first element is for the AssetGeneral properties.
v[1]int32The second element is for the AssetAdvanced properties.
v[2]int32The third element is for the Asset.dispatch properties.
vinstring
maximum-length: 50
Manufacturer's unique identification number (Vehicle Identification Number).
yearuint16Year of manufacturing.
JSON structure
{
	"attributes": {
		string: {
			"asset": number,
			"complex": string,
			"dts": string,
			"global": boolean,
			"name": string,
			"provider": string,
			"raw": Object,
			"simple": string,
			"unit": string
		}
	},
	"colour": string,
	"company": number,
	"dispatch": {
		"company": number,
		"directions": [
			{
				"directions": [
					{ /* recursive DispatchDirection objects */ }
				],
				"distance": number,
				"duration": string,
				"instructions": string,
				"job": number,
				"path": string,
				"step": number
			}
		],
		"id": number,
		"jobs": [
			number
		],
		"lastDispatched": string,
		"processedUtc": string,
		"tasks": [
			{
				"address": string,
				"arrived": string,
				"asset": number,
				"attachments": [
					number
				],
				"company": number,
				"completed": string,
				"created": string,
				"duration": string,
				"eta": string,
				"id": number,
				"instructions": string,
				"latlng": {
					"lat": number,
					"lng": number
				},
				"name": string,
				"notes": string,
				"place": number,
				"processedUtc": string,
				"reference": string,
				"references": {
					string: string
				},
				"signatory": string,
				"signature": boolean,
				"status": string,
				"updated": {
				},
				"v": [
					number
				]
			}
		],
		"updated": {
		},
		"v": [
			number
		]
	},
	"engineHours": number,
	"icon": number,
	"id": number,
	"kind": string,
	"labels": [
		string
	],
	"make": string,
	"messages": [
		{
			"asset": number,
			"body": string,
			"company": number,
			"delivered": string,
			"folder": string,
			"from": string,
			"id": number,
			"incoming": boolean,
			"kind": string,
			"processed": string,
			"processedUtc": string,
			"readBy": string,
			"status": string,
			"subject": string,
			"to": string,
			"updated": {
			},
			"user": string,
			"v": [
				number
			]
		}
	],
	"messagingAddress": string,
	"model": string,
	"name": string,
	"notes": string,
	"odometer": number,
	"pictures": [
		number
	],
	"places": {
		string: {
			"enter": string,
			"kind": string,
			"latest": string
		}
	},
	"plate": string,
	"position": {
		"accuracy": number,
		"address": string,
		"altitude": number,
		"bearing": number,
		"dts": string,
		"lat": number,
		"lng": number,
		"origin": string,
		"speed": number,
		"speedLimit": number,
		"streetAddress": {
			"city": string,
			"country": string,
			"isToll": boolean,
			"number": string,
			"postal": string,
			"province": string,
			"region": string,
			"street": string
		}
	},
	"processedUtc": string,
	"providers": [
		string
	],
	"reference": string,
	"references": {
		string: string
	},
	"relationships": [
		number
	],
	"tags": [
		string
	],
	"updated": {
	},
	"v": [
		number
	],
	"vin": string,
	"year": number
}

VehicleAdvancedAssetAdvancedobject

Often changing details about a vehicle.
JSON description
PropertyTypeDescription
attributesObject.<codified, AssetAttribute>
for keys see: AssetAttribute.name
A list of attributes given to this asset by the connection device such as wiring state, VBus, etc.
companyuint64The company to which this asset belongs.
engineHoursdoubleThe cumulative duration that the vehicle's engine has been running (in decimal hours).
iduint64Unique identifier of this asset.
odometerdoubleThe cumulative distance travelled in kilometres.
placesObject.<uint64, AssetPlaceStatus>
for keys see: Place.id
The current state of this asset's interaction with known Places.
positionPositionThe things GPS coordinates including speed, bearing, and street information.
processedUtcdatetimeWhen the was change procesed.
providersArray.<string>
for values see: Provider.id
The list of devices providing events for this asset.
relationshipsArray.<uint64>
for values see: Asset.id
A list of assets related to this one; like a Person for a Vehicle (driver).
tagsArray.<codified>
for values see: LabelStyle.code
The codified status tag names.
updatedby: login, from: monster
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"attributes": {
		string: {
			"asset": number,
			"complex": string,
			"dts": string,
			"global": boolean,
			"name": string,
			"provider": string,
			"raw": Object,
			"simple": string,
			"unit": string
		}
	},
	"company": number,
	"engineHours": number,
	"id": number,
	"odometer": number,
	"places": {
		string: {
			"enter": string,
			"kind": string,
			"latest": string
		}
	},
	"position": {
		"accuracy": number,
		"address": string,
		"altitude": number,
		"bearing": number,
		"dts": string,
		"lat": number,
		"lng": number,
		"origin": string,
		"speed": number,
		"speedLimit": number,
		"streetAddress": {
			"city": string,
			"country": string,
			"isToll": boolean,
			"number": string,
			"postal": string,
			"province": string,
			"region": string,
			"street": string
		}
	},
	"processedUtc": string,
	"providers": [
		string
	],
	"relationships": [
		number
	],
	"tags": [
		string
	],
	"updated": {
	},
	"v": [
		number
	]
}

VehicleGeneralAssetGeneralobject

Seldom changing details about a vehicle.
JSON description
PropertyTypeDescription
colourcolour
maximum-length: 22
Primary colour of the vehicle (given in 24bit hex; #RRGGBB)
companyuint64The company to which this asset belongs.
iconuint64
see: Icon.id
The icon that represents this asset on the map and in lists.
iduint64Unique identifier of this asset.
kindAssetTypeType of asset.
labelsArray.<codified>
for values see: LabelStyle.code
Codified label names.
makestring
maximum-length: 50
Manufacturer's name.
messagingAddressstring
maximum-length: 254
The fall-back address which is used to send Messages if the asset is a Person and has no Contact phone or email.
modelstring
maximum-length: 50
Manufacturer's model name/number.
namestring
maximum-length: 100
This thing's name.
notesstringNotes about it.
picturesArray.<uint64>
for values see: Picture.id
A list of photos of this thing.
platestring
maximum-length: 50
The license plate.
processedUtcdatetimeWhen the was change procesed.
reference
Deprecated
string
maximum-length: 100
A custom field used to refer to an external system.
Use asset.references[AssetGeneral.REFERENCE] instead.
referencesObject.<string, string>
maximum-count: 10
maximum-length of keys: 20
maximum-length of values: 100
Name/value collections of custom fields used to refer to external systems.
updatedby: login, from: monster
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
vinstring
maximum-length: 50
Manufacturer's unique identification number (Vehicle Identification Number).
yearuint16Year of manufacturing.
JSON structure
{
	"colour": string,
	"company": number,
	"icon": number,
	"id": number,
	"kind": string,
	"labels": [
		string
	],
	"make": string,
	"messagingAddress": string,
	"model": string,
	"name": string,
	"notes": string,
	"pictures": [
		number
	],
	"plate": string,
	"processedUtc": string,
	"reference": string,
	"references": {
		string: string
	},
	"updated": {
	},
	"v": [
		number
	],
	"vin": string,
	"year": number
}

Behaviours

Behaviourobject

The applied behaviour which includes all parameters and targets specific assets.
JSON description
PropertyTypeDescription
companyuint64The company to which this behaviour belongs.
filtersexpressionA search pattern used to filter the providers which can implement this behaviour.
iduint64Unique identifier of this behaviour.
namestring
maximum-length: 100
The name of this behaviour.
notesstringNotes.
parametersObject.<string, BehaviourParameter>The list of defined variable name/value pairs for the script requires.
prioritybyteThe priority flag allows you to define an execution order for all behaviours for a provider.
processedUtcdatetimeWhen the was change procesed.
scriptuint64The script which this behaviour implements.
targetsexpressionThe search pattern used to target the assets which will embed this behaviour in their execution context.
updatedby: login, from: monster
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"company": number,
	"filters": string,
	"id": number,
	"name": string,
	"notes": string,
	"parameters": {
		string: {
			"context": string,
			"notes": string,
			"type": string,
			"value": string
		}
	},
	"priority": number,
	"processedUtc": string,
	"script": number,
	"targets": string,
	"updated": {
	},
	"v": [
		number
	]
}

BehaviourDeletedobject

The message format for when a deleted Behaviour is retrieved
JSON description
PropertyTypeValueDescription
companyuint64The company to which this behaviour belongs.
deletedbooleantrue
iduint64Unique identifier of this behaviour.
namestring
maximum-length: 100
The name of this behaviour.
notesstringNotes.
sincedatetimeA timestamp from the moment the object was deleted.
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"company": number,
	"deleted": boolean,
	"id": number,
	"name": string,
	"notes": string,
	"since": string,
	"v": [
		number
	]
}

BehaviourLogobject

A debug message available to script writers to help debug and trace output from a BehaviourScript.
JSON description
PropertyTypeDescription
assetuint64The asset which whose behaviours created this log entry.
behaviouruint64?The behaviour to which this log message belongs.
characteruint32?The character column where the error was generated.
companyuint64The company to which this log message belongs.
dtsdatetimeWhen the log entry was generated by the script.
iduint64Unique identifier of this log message.
kindBehaviourLogTypeThe category of message.
lineuint32The line number of the script which generated this message.
messagestringThe body of the message.
processedUtcdatetimeWhen the was change procesed.
scriptuint64The script which generated this log message.
updatedby: login, from: monster
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"asset": number,
	"behaviour": number,
	"character": number,
	"company": number,
	"dts": string,
	"id": number,
	"kind": string,
	"line": number,
	"message": string,
	"processedUtc": string,
	"script": number,
	"updated": {
	},
	"v": [
		number
	]
}

BehaviourLogDeletedobject

The message format for when a deleted BehaviourLog is retrieved
JSON description
PropertyTypeValueDescription
assetuint64The asset which whose behaviours created this log entry.
companyuint64The company to which this log message belongs.
deletedbooleantrue
iduint64Unique identifier of this log message.
kindBehaviourLogTypeThe category of message.
sincedatetimeA timestamp from the moment the object was deleted.
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"asset": number,
	"company": number,
	"deleted": boolean,
	"id": number,
	"kind": string,
	"since": string,
	"v": [
		number
	]
}

BehaviourLogTypestring

The type of logged message.
ValueDescription
errUsed for errors.
infoUsed for more important messages.
logUsed for general information messages.
warnUsed for warnings.

BehaviourParameterobject

Definition of an argument passed to a Behaviour Script.
JSON description
PropertyTypeDescription
contextstringGives a hint to the client on the best UI to use for editing. For example, "checkbox" is a good UI hint for boolean parameter types.
notesstringUsage notes.
typeBehaviourParameterTypeSimple type information for the compiler.
valuestringThe value is given as a string, but parsed into native type when compiled.
JSON structure
{
	"context": string,
	"notes": string,
	"type": string,
	"value": string
}

BehaviourParameterTypestring

Possible data-types given to BehaviourParameters.
ValueDescription
booleanTrue or false.
jsonObject or array literal.
numberNumeric value (signed double-precision floating point number).
stringText.

BehaviourScriptobject

Business logic run by the system to react to GPS events and device information.
JSON description
PropertyTypeDescription
companyuint64The company to which this script belongs.
compilesbooleanFlag set by the compiler if this code compiles
fillcolour
maximum-length: 22
The background colour given to this script for easy visual identification.
filtersexpressionA list of targeting expressions. These expressions are defaults for derived Behaviours.
globalbooleanIndicates whether this script is available to child companies.
graphiccodified
maximum-length: 22
The codified graphic name given to this script for easy visual identification.
iduint64Unique identifier of this script.
namestring
maximum-length: 100
The nickname given to this script.
notesstringUsage notes and instructions for users on how best to setup this script.
parametersObject.<string, BehaviourParameter>Listed parameters for the Behaviour function.
processedUtcdatetimeWhen the was change procesed.
sourcestring
maximum-length: 8060
The source code.
strokecolour
maximum-length: 22
The text/graphic colour given to this script for easy visual identification.
updatedby: login, from: monster
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"company": number,
	"compiles": boolean,
	"fill": string,
	"filters": string,
	"global": boolean,
	"graphic": string,
	"id": number,
	"name": string,
	"notes": string,
	"parameters": {
		string: {
			"context": string,
			"notes": string,
			"type": string,
			"value": string
		}
	},
	"processedUtc": string,
	"source": string,
	"stroke": string,
	"updated": {
	},
	"v": [
		number
	]
}

BehaviourScriptDeletedobject

The message format for when a deleted BehaviourScript is retrieved
JSON description
PropertyTypeValueDescription
companyuint64The company to which this script belongs.
deletedbooleantrue
iduint64Unique identifier of this script.
namestring
maximum-length: 100
The nickname given to this script.
notesstringUsage notes and instructions for users on how best to setup this script.
sincedatetimeA timestamp from the moment the object was deleted.
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"company": number,
	"deleted": boolean,
	"id": number,
	"name": string,
	"notes": string,
	"since": string,
	"v": [
		number
	]
}

ParamBehaviourBatchDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
behavioursArray.<ParamId>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"behaviours": [
		{
			"id": number
		}
	],
	"reqId": number
}

ParamBehaviourBatchMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
behavioursArray.<ParameterContent>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"behaviours": [
		{
			"company": number,
			"filters": string,
			"id": number,
			"name": string,
			"notes": string,
			"parameters": {
				string: {
					"context": string,
					"notes": string,
					"type": string,
					"value": string
				}
			},
			"priority": number,
			"script": number,
			"targets": string,
			"v": [
				number
			]
		}
	],
	"reqId": number
}

ParamBehaviourDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
behaviourParamIdalwaysAn object to contain the "id" key.
behaviour.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"behaviour": {
		"id": number
	},
	"reqId": number
}

ParamBehaviourGetBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
behaviourParamIdalwaysAn object to contain the "id" key.
behaviour.iduint64alwaysIdentifier given as input for the command.
includeDeletedbooleanoptionalfalseWhen true, the command will also return a deleted Behaviour.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"behaviour": {
		"id": number
	},
	"includeDeleted": boolean,
	"reqId": number
}

ParamBehaviourListByCompanyBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
companyParamIdalwaysAn object to contain the "id" of the Company.
company.iduint64alwaysIdentifier given as input for the command.
highestuint64?optional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
lowestuint64?optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"company": {
		"id": number
	},
	"highest": number,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"lowest": number,
	"reqId": number
}

ParamBehaviourListByScriptBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
behaviourScriptParamIdalwaysAn object to contain the "id" of the Company.
behaviourScript.iduint64alwaysIdentifier given as input for the command.
highestuint64?optional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
lowestuint64?optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"behaviourScript": {
		"id": number
	},
	"highest": number,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"lowest": number,
	"reqId": number
}

ParamBehaviourLogClearByAssetBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
assetParamIdalwaysAn object to contain the "id" of the Asset.
asset.iduint64alwaysIdentifier given as input for the command.
highestuint64?optional
includeArchivebooleanoptional
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
lowestuint64?optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"asset": {
		"id": number
	},
	"highest": number,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"lowest": number,
	"reqId": number
}

ParamBehaviourLogClearByBehaviourBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
behaviourParamIdalwaysAn object to contain the "id" of the Behaviour.
behaviour.iduint64alwaysIdentifier given as input for the command.
highestuint64?optional
includeArchivebooleanoptional
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
lowestuint64?optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"behaviour": {
		"id": number
	},
	"highest": number,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"lowest": number,
	"reqId": number
}

ParamBehaviourLogClearByScriptBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
behaviourScriptParamIdalwaysAn object to contain the "id" of the BehaviourScript.
behaviourScript.iduint64alwaysIdentifier given as input for the command.
highestuint64?optional
includeArchivebooleanoptional
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
lowestuint64?optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"behaviourScript": {
		"id": number
	},
	"highest": number,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"lowest": number,
	"reqId": number
}

ParamBehaviourLogListByAssetBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
assetParamIdalwaysAn object to contain the "id" of the Asset.
asset.iduint64alwaysIdentifier given as input for the command.
highestuint64?optional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
lowestuint64?optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"asset": {
		"id": number
	},
	"highest": number,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"lowest": number,
	"reqId": number
}

ParamBehaviourLogListByBehaviourBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
behaviourParamIdalwaysAn object to contain the "id" of the Behaviour.
behaviour.iduint64alwaysIdentifier given as input for the command.
highestuint64?optional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
lowestuint64?optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"behaviour": {
		"id": number
	},
	"highest": number,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"lowest": number,
	"reqId": number
}

ParamBehaviourLogListByScriptBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
behaviourScriptParamIdalwaysAn object to contain the "id" of the BehaviourScript.
behaviourScript.iduint64alwaysIdentifier given as input for the command.
highestuint64?optional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
lowestuint64?optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"behaviourScript": {
		"id": number
	},
	"highest": number,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"lowest": number,
	"reqId": number
}

ParamBehaviourMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
behaviourObject.<string, ?>alwaysA simple object to contain the Behaviour parameters.
behaviour.companyuint64?create
behaviour.filtersexpressionoptionalA search pattern used to select the assets which will embed this Behaviour in their execution context.
behaviour.iduint64?updateThe unique identifier of the Behaviour you want to update.
behaviour.namestring
maximum-length: 100
createName for the Behaviour.
behaviour.notesstringoptionalNotes for the Behaviour.
behaviour.parametersObject.<string, BehaviourParameter>optionalThe values needed to implement the script. Each key in this object is the name of a required script argument.
behaviour.prioritybyte?optionalThe order in which this Behaviour is executed.
behaviour.scriptuint64?createIdentifier of the BehaviourScript to which this Behaviour belongs. After creation, this value is read-only.
behaviour.targetsexpressionoptionalA search pattern used to select the providers which can implement this Behaviour.
behaviour.vArray.<int32>optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"behaviour": {
		"company": number,
		"filters": string,
		"id": number,
		"name": string,
		"notes": string,
		"parameters": {
			string: {
				"context": string,
				"notes": string,
				"type": string,
				"value": string
			}
		},
		"priority": number,
		"script": number,
		"targets": string,
		"v": [
			number
		]
	},
	"reqId": number
}

ParamBehaviourRestoreBaseParametersobject

Request description
PropertyTypeRequiredDescription
behaviourParamIdalwaysAn object to contain the "id" key.
behaviour.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"behaviour": {
		"id": number
	},
	"reqId": number
}

ParamBehaviourScriptBatchDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
behaviourScriptsArray.<ParamId>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"behaviourScripts": [
		{
			"id": number
		}
	],
	"reqId": number
}

ParamBehaviourScriptBatchMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
behaviourScriptsArray.<ParameterContent>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"behaviourScripts": [
		{
			"company": number,
			"fill": string,
			"filters": string,
			"global": boolean,
			"graphic": string,
			"id": number,
			"name": string,
			"notes": string,
			"parameters": {
				string: {
					"context": string,
					"notes": string,
					"type": string,
					"value": string
				}
			},
			"source": string,
			"stroke": string,
			"v": [
				number
			]
		}
	],
	"reqId": number
}

ParamBehaviourScriptDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
behaviourScriptParamIdalwaysAn object to contain the "id" key.
behaviourScript.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"behaviourScript": {
		"id": number
	},
	"reqId": number
}

ParamBehaviourScriptGetBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
behaviourScriptParamIdalwaysAn object to contain the "id" key.
behaviourScript.iduint64alwaysIdentifier given as input for the command.
includeDeletedbooleanoptionalfalseWhen true, the command will also return a deleted BehaviourScript.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"behaviourScript": {
		"id": number
	},
	"includeDeleted": boolean,
	"reqId": number
}

ParamBehaviourScriptListByCompanyBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
companyParamIdalwaysAn object to contain the "id" of the Company.
company.iduint64alwaysIdentifier given as input for the command.
highestuint64?optional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
lowestuint64?optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
treebooleanoptionalWhen true (default) the getter to retrieve the given Company's list of BehaviourScripts as well as any publicly available BehaviourScripts for the Company's parent(s).
Request structure
{
	"company": {
		"id": number
	},
	"highest": number,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"lowest": number,
	"reqId": number,
	"tree": boolean
}

ParamBehaviourScriptMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
behaviourScriptObject.<string, ?>alwaysA simple object to contain the BehaviourScript parameters.
behaviourScript.companyuint64?createIdentifier of the Company to which this BehaviourScript belongs. After creation, this value is read-only.
behaviourScript.fillstringoptionalBackground and fill colour in the UI.
behaviourScript.filtersexpressionoptionalA search pattern used to select the providers.
behaviourScript.globalbooleanoptionalWhen set to true, this Company as well as all child companies will be able to implement this BehaviourScript for that companies assets.
behaviourScript.graphicstringoptionalThe name of the symbol shown in the UI.
behaviourScript.iduint64?updateThe unique identifier of the BehaviourScript you want to update.
behaviourScript.namestring
maximum-length: 100
createName for the BehaviourScript.
behaviourScript.notesstringoptionalNotes for the BehaviourScript.
behaviourScript.parametersObject.<string, BehaviourParameter>optionalThe defined arguments for this BehaviourScript. Each key in the object is the name of an argument.
behaviourScript.sourcestringcreateSource code of the BehaviourScript.
behaviourScript.strokestringoptionalText and outline colour in the UI.
behaviourScript.vArray.<int32>optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"behaviourScript": {
		"company": number,
		"fill": string,
		"filters": string,
		"global": boolean,
		"graphic": string,
		"id": number,
		"name": string,
		"notes": string,
		"parameters": {
			string: {
				"context": string,
				"notes": string,
				"type": string,
				"value": string
			}
		},
		"source": string,
		"stroke": string,
		"v": [
			number
		]
	},
	"reqId": number
}

ParamBehaviourScriptRestoreBaseParametersobject

Request description
PropertyTypeRequiredDescription
behaviourScriptParamIdalwaysAn object to contain the "id" key.
behaviourScript.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"behaviourScript": {
		"id": number
	},
	"reqId": number
}

RespBehaviourBatchDeleteBaseResponseobject

Response description
PropertyTypeDescription
behavioursArray.<RespDeleted>Array or responses successfully processed by the sub-command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"behaviours": [
		{
			"company": number,
			"deleted": boolean,
			"id": number,
			"v": [
				number
			]
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespBehaviourBatchMergeBaseResponseobject

Response description
PropertyTypeDescription
behavioursArray.<RespIdScript>Array or responses successfully processed by the sub-command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"behaviours": [
		{
			"company": number,
			"id": number,
			"script": number
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespBehaviourDeleteBaseResponseobject

Response description
PropertyTypeDescription
behaviourRespDeletedAn object which contains the Behaviour's id, owning Company id, and deleted status.
behaviour.companyuint64Identifier of the Company to which this object belongs.
behaviour.deletedbooleanFlag showing if the object is deleted.
behaviour.iduint64?Identifier given as input for the command.
behaviour.vArray.<uint32>
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"behaviour": {
		"company": number,
		"deleted": boolean,
		"id": number,
		"v": [
			number
		]
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespBehaviourGetBaseResponseobject

Response description
PropertyTypeDescription
behaviourBehaviourThe requested Behaviour.
behaviour.companyuint64The company to which this behaviour belongs.
behaviour.filtersexpressionA search pattern used to filter the providers which can implement this behaviour.
behaviour.iduint64Unique identifier of this behaviour.
behaviour.namestring
maximum-length: 100
The name of this behaviour.
behaviour.notesstringNotes.
behaviour.parametersObject.<string, BehaviourParameter>The list of defined variable name/value pairs for the script requires.
behaviour.prioritybyteThe priority flag allows you to define an execution order for all behaviours for a provider.
behaviour.processedUtcdatetimeWhen the was change procesed.
behaviour.scriptuint64The script which this behaviour implements.
behaviour.targetsexpressionThe search pattern used to target the assets which will embed this behaviour in their execution context.
behaviour.updatedby: login, from: monster
behaviour.vArray.<uint32>Object version keys used to validate synchronization for all object properties.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"behaviour": {
		"company": number,
		"filters": string,
		"id": number,
		"name": string,
		"notes": string,
		"parameters": {
			string: {
				"context": string,
				"notes": string,
				"type": string,
				"value": string
			}
		},
		"priority": number,
		"processedUtc": string,
		"script": number,
		"targets": string,
		"updated": {
		},
		"v": [
			number
		]
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespBehaviourListByCompanyBaseResponseobject

Response description
PropertyTypeDescription
behavioursArray.<Behaviour>The list of reqested Behaviours.
companyRespIdAn object to contain the "id" of the Company to which the array of Behaviours belong.
company.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"behaviours": [
		{
			"company": number,
			"filters": string,
			"id": number,
			"name": string,
			"notes": string,
			"parameters": {
				string: {
					"context": string,
					"notes": string,
					"type": string,
					"value": string
				}
			},
			"priority": number,
			"processedUtc": string,
			"script": number,
			"targets": string,
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"company": {
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespBehaviourListByScriptBaseResponseobject

Response description
PropertyTypeDescription
behavioursArray.<Behaviour>The list of reqested Behaviours.
behaviourScriptRespIdCompanyAn object to contain the "id" of the Company to which the array of Behaviours belong.
behaviourScript.companyuint64Identifier of the Company to which this object belongs.
behaviourScript.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"behaviours": [
		{
			"company": number,
			"filters": string,
			"id": number,
			"name": string,
			"notes": string,
			"parameters": {
				string: {
					"context": string,
					"notes": string,
					"type": string,
					"value": string
				}
			},
			"priority": number,
			"processedUtc": string,
			"script": number,
			"targets": string,
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"behaviourScript": {
		"company": number,
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespBehaviourLogClearByAssetBaseResponseobject

Response description
PropertyTypeDescription
assetRespIdCompanyAn object to contain the "id" of the Asset to which the array of BehaviourLogs relates.
asset.companyuint64Identifier of the Company to which this object belongs.
asset.iduint64?Identifier given as input for the command.
countint32The total number of behaviour logs cleared.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"asset": {
		"company": number,
		"id": number
	},
	"count": number,
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespBehaviourLogClearByBehaviourBaseResponseobject

Response description
PropertyTypeDescription
behaviourRespIdScriptAn object to contain the "id" of the Behaviour to which the array of BehaviourLogs belong.
behaviour.companyuint64Identifier of the Company to which this object belongs.
behaviour.iduint64?Identifier given as input for the command.
behaviour.scriptuint64Identifier of the script to which this object belongs.
countint32The total number of behaviour logs cleared.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"behaviour": {
		"company": number,
		"id": number,
		"script": number
	},
	"count": number,
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespBehaviourLogClearByScriptBaseResponseobject

Response description
PropertyTypeDescription
behaviourScriptRespIdCompanyAn object to contain the "id" of the BehaviourScript to which the array of BehaviourLogs belong.
behaviourScript.companyuint64Identifier of the Company to which this object belongs.
behaviourScript.iduint64?Identifier given as input for the command.
countint32The total number of behaviour logs cleared.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"behaviourScript": {
		"company": number,
		"id": number
	},
	"count": number,
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespBehaviourLogListByAssetBaseResponseobject

Response description
PropertyTypeDescription
assetRespIdCompanyAn object to contain the "id" of the Asset to which the array of BehaviourLogs relates.
asset.companyuint64Identifier of the Company to which this object belongs.
asset.iduint64?Identifier given as input for the command.
behaviourLogsArray.<BehaviourLog>The list of requested BehaviourLogs.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"asset": {
		"company": number,
		"id": number
	},
	"behaviourLogs": [
		{
			"asset": number,
			"behaviour": number,
			"character": number,
			"company": number,
			"dts": string,
			"id": number,
			"kind": string,
			"line": number,
			"message": string,
			"processedUtc": string,
			"script": number,
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespBehaviourLogListByBehaviourBaseResponseobject

Response description
PropertyTypeDescription
behaviourRespIdScriptAn object to contain the "id" of the Behaviour to which the array of BehaviourLogs belong.
behaviour.companyuint64Identifier of the Company to which this object belongs.
behaviour.iduint64?Identifier given as input for the command.
behaviour.scriptuint64Identifier of the script to which this object belongs.
behaviourLogsArray.<BehaviourLog>The list of requested BehaviourLogs.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"behaviour": {
		"company": number,
		"id": number,
		"script": number
	},
	"behaviourLogs": [
		{
			"asset": number,
			"behaviour": number,
			"character": number,
			"company": number,
			"dts": string,
			"id": number,
			"kind": string,
			"line": number,
			"message": string,
			"processedUtc": string,
			"script": number,
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespBehaviourLogListByScriptBaseResponseobject

Response description
PropertyTypeDescription
behaviourLogsArray.<BehaviourLog>The list of requested BehaviourLogs.
behaviourScriptRespIdCompanyAn object to contain the "id" of the BehaviourScript to which the array of BehaviourLogs belong.
behaviourScript.companyuint64Identifier of the Company to which this object belongs.
behaviourScript.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"behaviourLogs": [
		{
			"asset": number,
			"behaviour": number,
			"character": number,
			"company": number,
			"dts": string,
			"id": number,
			"kind": string,
			"line": number,
			"message": string,
			"processedUtc": string,
			"script": number,
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"behaviourScript": {
		"company": number,
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespBehaviourMergeBaseResponseobject

Response description
PropertyTypeDescription
behaviourRespIdScriptAn object which contains the "id", "company", and "script" keys when there is no error.
behaviour.companyuint64Identifier of the Company to which this object belongs.
behaviour.iduint64?Identifier given as input for the command.
behaviour.scriptuint64Identifier of the script to which this object belongs.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"behaviour": {
		"company": number,
		"id": number,
		"script": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespBehaviourRestoreBaseResponseobject

Response description
PropertyTypeDescription
behaviourRespDeletedAn object which contains the Behaviour's id, owning Company id, and deleted status.
behaviour.companyuint64Identifier of the Company to which this object belongs.
behaviour.deletedbooleanFlag showing if the object is deleted.
behaviour.iduint64?Identifier given as input for the command.
behaviour.vArray.<uint32>
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"behaviour": {
		"company": number,
		"deleted": boolean,
		"id": number,
		"v": [
			number
		]
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespBehaviourScriptBatchDeleteBaseResponseobject

Response description
PropertyTypeDescription
behaviourScriptsArray.<RespDeleted>Array or responses successfully processed by the sub-command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"behaviourScripts": [
		{
			"company": number,
			"deleted": boolean,
			"id": number,
			"v": [
				number
			]
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespBehaviourScriptBatchMergeBaseResponseobject

Response description
PropertyTypeDescription
behaviourScriptsArray.<RespIdCompany>Array or responses successfully processed by the sub-command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"behaviourScripts": [
		{
			"company": number,
			"id": number
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespBehaviourScriptDeleteBaseResponseobject

Response description
PropertyTypeDescription
behaviourScriptRespDeletedAn object which contains the BehaviourScript's id, owning Company id, and deleted status.
behaviourScript.companyuint64Identifier of the Company to which this object belongs.
behaviourScript.deletedbooleanFlag showing if the object is deleted.
behaviourScript.iduint64?Identifier given as input for the command.
behaviourScript.vArray.<uint32>
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"behaviourScript": {
		"company": number,
		"deleted": boolean,
		"id": number,
		"v": [
			number
		]
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespBehaviourScriptGetBaseResponseobject

Response description
PropertyTypeDescription
behaviourScriptBehaviourScriptThe requested BehaviourScript.
behaviourScript.companyuint64The company to which this script belongs.
behaviourScript.compilesbooleanFlag set by the compiler if this code compiles
behaviourScript.fillcolour
maximum-length: 22
The background colour given to this script for easy visual identification.
behaviourScript.filtersexpressionA list of targeting expressions. These expressions are defaults for derived Behaviours.
behaviourScript.globalbooleanIndicates whether this script is available to child companies.
behaviourScript.graphiccodified
maximum-length: 22
The codified graphic name given to this script for easy visual identification.
behaviourScript.iduint64Unique identifier of this script.
behaviourScript.namestring
maximum-length: 100
The nickname given to this script.
behaviourScript.notesstringUsage notes and instructions for users on how best to setup this script.
behaviourScript.parametersObject.<string, BehaviourParameter>Listed parameters for the Behaviour function.
behaviourScript.processedUtcdatetimeWhen the was change procesed.
behaviourScript.sourcestring
maximum-length: 8060
The source code.
behaviourScript.strokecolour
maximum-length: 22
The text/graphic colour given to this script for easy visual identification.
behaviourScript.updatedby: login, from: monster
behaviourScript.vArray.<uint32>Object version keys used to validate synchronization for all object properties.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"behaviourScript": {
		"company": number,
		"compiles": boolean,
		"fill": string,
		"filters": string,
		"global": boolean,
		"graphic": string,
		"id": number,
		"name": string,
		"notes": string,
		"parameters": {
			string: {
				"context": string,
				"notes": string,
				"type": string,
				"value": string
			}
		},
		"processedUtc": string,
		"source": string,
		"stroke": string,
		"updated": {
		},
		"v": [
			number
		]
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespBehaviourScriptListByCompanyBaseResponseobject

Response description
PropertyTypeDescription
behaviourScriptsArray.<BehaviourScript>The list of requested BehaviourScripts.
companyRespIdAn object to contain the "id" of the Company to which the array of BehaviourScripts belong.
company.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"behaviourScripts": [
		{
			"company": number,
			"compiles": boolean,
			"fill": string,
			"filters": string,
			"global": boolean,
			"graphic": string,
			"id": number,
			"name": string,
			"notes": string,
			"parameters": {
				string: {
					"context": string,
					"notes": string,
					"type": string,
					"value": string
				}
			},
			"processedUtc": string,
			"source": string,
			"stroke": string,
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"company": {
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespBehaviourScriptMergeBaseResponseobject

Response description
PropertyTypeDescription
behaviourScriptRespIdCompanyAn object which contains the "id" and "company" keys when there is no error.
behaviourScript.companyuint64Identifier of the Company to which this object belongs.
behaviourScript.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"behaviourScript": {
		"company": number,
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespBehaviourScriptRestoreBaseResponseobject

Response description
PropertyTypeDescription
behaviourScriptRespDeletedAn object which contains the BehaviourScript's id, owning Company id, and deleted status.
behaviourScript.companyuint64Identifier of the Company to which this object belongs.
behaviourScript.deletedbooleanFlag showing if the object is deleted.
behaviourScript.iduint64?Identifier given as input for the command.
behaviourScript.vArray.<uint32>
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"behaviourScript": {
		"company": number,
		"deleted": boolean,
		"id": number,
		"v": [
			number
		]
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

Billing

BillableHostingLicenseobject

A hardware license for providers
JSON description
PropertyTypeDescription
amountdoubleCost per cycle for this plan
companyuint64Unique identifier of the Company that owns this hosting rule.
enddatetimeDate this billing rule is applied until; null means it never ends. These dates are used to determine how much of the cycle is billed.
iduint64Unique identifier of this hosting rule.
kindBillableLicenseTypeThe type of hardware license
limituint32?The number of units to which this billing rule applies. Should be a non-zero value; null means unlimited
namestring
maximum-length: 254
The name of this billing rule.
notesstringNotes about billing this rule.
processedUtcdatetimeWhen the was change procesed.
profileuint64Unique identifier of this rule's billing profile.
referencestring
maximum-length: 100
A custom field used to refer to an external system. Examples are a cost codes, SOCs, discount plans...
skustring
maximum-length: 20
SKU or SOC code
startdatetimeDate this billing rule takes effect. These dates are used to determine how much of the cycle is billed.
suspendedbooleanDoes this hosting rule apply to suspended resources
targetsexpressionWhich assets are targeted by this hosting rule
updatedby: login, from: monster
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"amount": number,
	"company": number,
	"end": string,
	"id": number,
	"kind": string,
	"limit": number,
	"name": string,
	"notes": string,
	"processedUtc": string,
	"profile": number,
	"reference": string,
	"sku": string,
	"start": string,
	"suspended": boolean,
	"targets": string,
	"updated": {
	},
	"v": [
		number
	]
}

BillableHostingLicenseDeletedobject

The message format for when a deleted BillableHostingLicense is retrieved
JSON description
PropertyTypeValueDescription
companyuint64Unique identifier of the Company that owns this hosting rule.
deletedbooleantrue
iduint64Unique identifier of this hosting rule.
kindBillableLicenseTypeThe type of hardware license
namestring
maximum-length: 254
The name of this billing rule.
notesstringNotes about billing this rule.
profileuint64Unique identifier of this rule's billing profile.
sincedatetimeA timestamp from the moment the object was deleted.
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"company": number,
	"deleted": boolean,
	"id": number,
	"kind": string,
	"name": string,
	"notes": string,
	"profile": number,
	"since": string,
	"v": [
		number
	]
}

BillableHostingRuleobject

A billing rule for assets
JSON description
PropertyTypeDescription
amountdoubleCost per cycle for this plan
companyuint64Unique identifier of the Company that owns this hosting rule.
enddatetimeDate this billing rule is applied until; null means it never ends. These dates are used to determine how much of the cycle is billed.
iduint64Unique identifier of this hosting rule.
limituint32?The number of units to which this billing rule applies. Should be a non-zero value; null means unlimited
namestring
maximum-length: 254
The name of this billing rule.
notesstringNotes about billing this rule.
processedUtcdatetimeWhen the was change procesed.
profileuint64Unique identifier of this rule's billing profile.
referencestring
maximum-length: 100
A custom field used to refer to an external system. Examples are a cost codes, SOCs, discount plans...
serviceBillableHostingTypeThe type of service being billed.
skustring
maximum-length: 20
SKU or SOC code
startdatetimeDate this billing rule takes effect. These dates are used to determine how much of the cycle is billed.
suspendedbooleanDoes this hosting rule apply to suspended resources
targetsexpressionWhich assets are targeted by this hosting rule
updatedby: login, from: monster
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"amount": number,
	"company": number,
	"end": string,
	"id": number,
	"limit": number,
	"name": string,
	"notes": string,
	"processedUtc": string,
	"profile": number,
	"reference": string,
	"service": string,
	"sku": string,
	"start": string,
	"suspended": boolean,
	"targets": string,
	"updated": {
	},
	"v": [
		number
	]
}

BillableHostingRuleDeletedobject

The message format for when a deleted BillableHostingRule is retrieved
JSON description
PropertyTypeValueDescription
companyuint64Unique identifier of the Company that owns this hosting rule.
deletedbooleantrue
iduint64Unique identifier of this hosting rule.
namestring
maximum-length: 254
The name of this billing rule.
notesstringNotes about billing this rule.
profileuint64Unique identifier of this rule's billing profile.
sincedatetimeA timestamp from the moment the object was deleted.
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"company": number,
	"deleted": boolean,
	"id": number,
	"name": string,
	"notes": string,
	"profile": number,
	"since": string,
	"v": [
		number
	]
}

BillableHostingTypestring

The kind of service being billed.
ValueDescription
assetGeneric dot-on-a-map tracking
dispatchTasks assignable to vehicles or persons
elogsFMCSA compliant E-Logs and Hours of Service
mobileEmployee/driver tracking
vehicleVehicle tracking (includes VBus data, and engine hours)

BillableLicenseTypestring

The kind of license being billed.
ValueDescription
bewhereBeWhere license fee
calampCalAmp PULS fee
smartwitnessSmartWitness data hosting fee

BillableSmsProfileobject

Description of a tiered SMS messaging limit
JSON description
PropertyTypeDescription
amountdoubleCost per SMS message sent. Received messages are free.
limituint32The maximum number of messages sent per cycle
JSON structure
{
	"amount": number,
	"limit": number
}

BillingCurrencystring

Used for invoices.
ValueDescription
CADCanadian dollars
EUROEurozone currency
USDAmerican dollars

BillingCyclestring

The type of repeating cycle used for generating bills.
ValueDescription
annuallyOnce per year
monthlyOnce a month
quarterlyEvery three months

BillingProfileobject

A profile used to generate billable orders for a customer.
JSON description
PropertyTypeDescription
billeeuint64Unique identifier of the Company receiving the bill. Most of the time, this value is the same as the target.
companyuint64Unique identifier of the Company that owns this profile and is sending the bill.
currencyBillingCurrencykind of money
cycleBillingCycleRepeating cycle used for generating bills
cycleEnddatetimeWhen should the cycle end (customer cancelled)
cyclePostDatedbooleanPro-rated, or post-dated.
cycleStartdatetimeWhen is the first day of the billing cycle
googleServicesEnabledbooleanAre the Google services available to be proxied by the service?
iduint64Unique identifier of this billing profile
messagesArray.<BillableSmsProfile>SMS messaging tiers
namestring
maximum-length: 254
The name for this profile
notesstring
maximum-length: 1000
Notes about the billing profile for the billee or target.
processedUtcdatetimeWhen the was change procesed.
targetuint64Unique identifier of the Company to which this rule pertains.
updatedby: login, from: monster
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"billee": number,
	"company": number,
	"currency": string,
	"cycle": string,
	"cycleEnd": string,
	"cyclePostDated": boolean,
	"cycleStart": string,
	"googleServicesEnabled": boolean,
	"id": number,
	"messages": [
		{
			"amount": number,
			"limit": number
		}
	],
	"name": string,
	"notes": string,
	"processedUtc": string,
	"target": number,
	"updated": {
	},
	"v": [
		number
	]
}

BillingProfileDeletedobject

The message format for when a deleted BillingProfile is retrieved
JSON description
PropertyTypeValueDescription
companyuint64Unique identifier of the Company that owns this profile and is sending the bill.
deletedbooleantrue
iduint64Unique identifier of this billing profile
namestring
maximum-length: 254
The name for this profile
notesstring
maximum-length: 1000
Notes about the billing profile for the billee or target.
sincedatetimeA timestamp from the moment the object was deleted.
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"company": number,
	"deleted": boolean,
	"id": number,
	"name": string,
	"notes": string,
	"since": string,
	"v": [
		number
	]
}

BillingReportobject

Report generated per billee company.
JSON description
PropertyTypeDescription
billeeuint64Unique identifier of the Company receiving the bill.
breakdownArray.<BillingReportBreakdown>Individual amounts per company, used to calculate the results of the report.
companyuint64The company to which this report belongs and is sending the bill.
currencyBillingCurrencyCurrency being billed in
endDatedatetimeLast day of the billing cycle
errorstring
maximum-length: 250
A field which contains report error details if the BillingReport.status is BillingReportStatus.failed.
iduint64Unique identifier
namestring
maximum-length: 100
Name of this report.
notesstringNotes about this report.
processedUtcdatetimeWhen the was change procesed.
profileuint64The profile to which this report belongs
startDatedatetimeFirst day of the billing cycle
statusBillingReportStatusThe processing status of this report.
summaryArray.<BillingReportSummary>Summary contains totals per target for this billee
totaldoubleTotal amount being billed.
updatedby: login, from: monster
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"billee": number,
	"breakdown": [
		{
			"licenses": [
				{
					"billableDays": number,
					"cost": number,
					"created": string,
					"deleted": string,
					"firmware": string,
					"kind": string,
					"name": string,
					"notes": string,
					"phoneNumber": number,
					"provider": string,
					"total": number
				}
			],
			"services": [
				{
					"asset": number,
					"billableDays": number,
					"cost": number,
					"created": string,
					"deleted": string,
					"kind": string,
					"labels": [
						string
					],
					"name": string,
					"notes": string,
					"phoneNumbers": [
						number
					],
					"providers": [
						string
					],
					"restored": string,
					"revived": string,
					"suspended": string,
					"suspendedCost": number,
					"suspendedDays": number,
					"total": number,
					"updatedDts": string
				}
			],
			"target": number
		}
	],
	"company": number,
	"currency": string,
	"endDate": string,
	"error": string,
	"id": number,
	"name": string,
	"notes": string,
	"processedUtc": string,
	"profile": number,
	"startDate": string,
	"status": string,
	"summary": [
		{
			"hosting": [
				{
					"cost": number,
					"count": number,
					"sku": string,
					"total": number
				}
			],
			"name": string,
			"notes": string,
			"parent": number,
			"target": number
		}
	],
	"total": number,
	"updated": {
	},
	"v": [
		number
	]
}

BillingReportBreakdownobject

Billing breakdown per target company.
JSON description
PropertyTypeDescription
licensesArray.<BillingReportLicenseBreakdown>Individual amounts for licensing per targeted providers.
servicesArray.<BillingReportServiceBreakdown>Individual amounts billed per targeted assets.
targetuint64The target company to which this breakdown instance belongs.
JSON structure
{
	"licenses": [
		{
			"billableDays": number,
			"cost": number,
			"created": string,
			"deleted": string,
			"firmware": string,
			"kind": string,
			"name": string,
			"notes": string,
			"phoneNumber": number,
			"provider": string,
			"total": number
		}
	],
	"services": [
		{
			"asset": number,
			"billableDays": number,
			"cost": number,
			"created": string,
			"deleted": string,
			"kind": string,
			"labels": [
				string
			],
			"name": string,
			"notes": string,
			"phoneNumbers": [
				number
			],
			"providers": [
				string
			],
			"restored": string,
			"revived": string,
			"suspended": string,
			"suspendedCost": number,
			"suspendedDays": number,
			"total": number,
			"updatedDts": string
		}
	],
	"target": number
}

BillingReportDeletedobject

The message format for when a deleted BillingReport is retrieved
JSON description
PropertyTypeValueDescription
companyuint64The company to which this report belongs and is sending the bill.
deletedbooleantrueIndicates whether this report is deleted.
iduint64Unique identifier
namestring
maximum-length: 100
Name of this report.
notesstringNotes about this report.
profileuint64The profile to which this report belongs
sincedatetimeA timestamp from the moment the object was deleted.
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"company": number,
	"deleted": boolean,
	"id": number,
	"name": string,
	"notes": string,
	"profile": number,
	"since": string,
	"v": [
		number
	]
}

BillingReportHostingSummaryobject

Amount billed for a type of hosting (service or license) per target company.
JSON description
PropertyTypeDescription
costdoubleCost per billing cycle for this SKU.
countdoubleNumber of items for this SKU.
skustringSKU being billed
totaldoubleTotal amount being billed for this SKU.
JSON structure
{
	"cost": number,
	"count": number,
	"sku": string,
	"total": number
}

BillingReportLicenseBreakdownobject

Full breakdown of licensing details per targeted provider.
JSON description
PropertyTypeDescription
billableDaysdoubleNumber of days this Provider is being billed for.
costdoubleLicensing cost per billing cycle for this provider.
createddatetimeIndicates when this Provider was created.
deleteddatetimeIndicates when this Provider was deleted.
firmwarestring
maximum-length: 100
The firmware/application version number.
kindProviderTypeType of provider.
namestring
maximum-length: 100
Provider name.
notesstringNotes about the provider.
phoneNumberuint64?The phone number for this provider.
providerstringThe provider to which this breakdown instance belongs.
totaldoubleTotal amount being billed for this provider.
JSON structure
{
	"billableDays": number,
	"cost": number,
	"created": string,
	"deleted": string,
	"firmware": string,
	"kind": string,
	"name": string,
	"notes": string,
	"phoneNumber": number,
	"provider": string,
	"total": number
}

BillingReportServiceBreakdownobject

Full breakdown of billable details per targeted asset.
JSON description
PropertyTypeDescription
assetuint64The asset to which this breakdown instance belongs.
billableDaysdoubleNumber of days this Asset is being billed for.
costdoubleCost per billing cycle for this asset.
createddatetimeIndicates when this Asset was created.
deleteddatetimeIndicates when this Asset was deleted.
kindAssetTypeType of asset.
labelsArray.<codified>
for values see: LabelStyle.code
Codified label names.
namestring
maximum-length: 100
Asset's name.
notesstringNotes about the asset.
phoneNumbersArray.<phone>The list of phone numbers for this asset.
providersArray.<string>The list of devices providing events for this asset.
restoreddatetimeIndicates when this Asset was restored after being deleted.
reviveddatetimeIndicates when this Asset was revived after being suspended.
suspendeddatetimeIndicates when this Asset wass suspended from event processing.
suspendedCostdoubleCost per billing cycle for suspended asset.
suspendedDaysdoubleNumber of days this Asset was suspended.
totaldoubleTotal amount being billed for this asset.
updatedDtsdatetimeIndicates when this Asset was last updated.
JSON structure
{
	"asset": number,
	"billableDays": number,
	"cost": number,
	"created": string,
	"deleted": string,
	"kind": string,
	"labels": [
		string
	],
	"name": string,
	"notes": string,
	"phoneNumbers": [
		number
	],
	"providers": [
		string
	],
	"restored": string,
	"revived": string,
	"suspended": string,
	"suspendedCost": number,
	"suspendedDays": number,
	"total": number,
	"updatedDts": string
}

BillingReportStatusstring

The lifetime of building a BillingReport.
ValueDescription
completedThe BillingReport is available for retrieval.
createdThe BillingReport has been requested, but not yet begun processing.
failedThere was an error processing the BillingReport; see the BillingReport.error for a description.
queuedThe BillingReport is waiting for required resources to begin processing.
runningThe BillingReport is currently being processed.

BillingReportSummaryobject

Summarized bill per target.
JSON description
PropertyTypeDescription
hostingArray.<BillingReportHostingSummary>Summary contains totals per type of hosting (services and licenses) for this target
namestring
maximum-length: 100
Target's name.
notesstringNotes about the target.
parentuint64The target company's parent.
targetuint64The target company to which this summary instance belongs.
JSON structure
{
	"hosting": [
		{
			"cost": number,
			"count": number,
			"sku": string,
			"total": number
		}
	],
	"name": string,
	"notes": string,
	"parent": number,
	"target": number
}

BillingSkuTypestring

The kind of SKU being billed.
ValueDescription
licenseHardware license for providers
ratePlanCellular/data rate plan
serviceHosting service
supportSupport contract

ParamBillingProfileBatchDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
billingProfilesArray.<ParamId>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"billingProfiles": [
		{
			"id": number
		}
	],
	"reqId": number
}

ParamBillingProfileBatchMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
billingProfilesArray.<ParameterContent>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"billingProfiles": [
		{
			"billee": number,
			"company": number,
			"currency": string,
			"cycle": string,
			"cycleEnd": string,
			"cyclePostDated": boolean,
			"cycleStart": string,
			"googleServicesEnabled": boolean,
			"id": number,
			"messages": [
				{
					"amount": number,
					"limit": number
				}
			],
			"name": string,
			"notes": string,
			"target": number,
			"v": [
				number
			]
		}
	],
	"reqId": number
}

ParamBillingProfileDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
billingProfileParamIdalwaysAn object to contain the "id" of the BillingProfile.
billingProfile.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"billingProfile": {
		"id": number
	},
	"reqId": number
}

ParamBillingProfileGetBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
billingProfileParamIdalwaysAn object to contain the "id" of the BillingProfile.
billingProfile.iduint64alwaysIdentifier given as input for the command.
includeDeletedbooleanoptionalfalseWhen true, the command will also return a deleted BillingProfile.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"billingProfile": {
		"id": number
	},
	"includeDeleted": boolean,
	"reqId": number
}

ParamBillingProfileListByCompanyBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
companyParamIdalwaysAn object to contain the "id" of the Company.
company.iduint64alwaysIdentifier given as input for the command.
highestuint64?optional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
lowestuint64?optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"company": {
		"id": number
	},
	"highest": number,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"lowest": number,
	"reqId": number
}

ParamBillingProfileMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
billingProfileObject.<string, ?>alwaysA simple object to contain the BillingProfile parameters.
billingProfile.billeeuint64?optionalUnique identifier of the Company receiving the bill.
billingProfile.companyuint64?optionalUnique identifier of the Company that owns this BillingProfile and is sending the bill.
billingProfile.currencyBillingCurrency?optionalKind of money.
billingProfile.cycleBillingCycle?optionalRepeating cycle used for generating bills.
billingProfile.cycleEnddatetimeoptionalWhen should the cycle end (customer cancelled); null means it never ends.
billingProfile.cyclePostDatedbooleanoptionalPro-rated, or post-dated.
billingProfile.cycleStartdatetimeoptionalWhen is the first day of the billing cycle.
billingProfile.googleServicesEnabledbooleanoptionalAre the Google services available to be proxied by the service?
billingProfile.iduint64?optionalUnique identifier of the BillingProfile you want to update.
billingProfile.messagesArray.<BillableSmsProfile>optionalSMS messaging tiers.
billingProfile.namestringoptionalName for the BillingProfile
billingProfile.notesstringoptionalNotes about the BillingProfile for the billee or target.
billingProfile.targetuint64?optionalUnique identifier of the Company to which this rule pertains.
billingProfile.vArray.<int32>optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"billingProfile": {
		"billee": number,
		"company": number,
		"currency": string,
		"cycle": string,
		"cycleEnd": string,
		"cyclePostDated": boolean,
		"cycleStart": string,
		"googleServicesEnabled": boolean,
		"id": number,
		"messages": [
			{
				"amount": number,
				"limit": number
			}
		],
		"name": string,
		"notes": string,
		"target": number,
		"v": [
			number
		]
	},
	"reqId": number
}

ParamBillingProfileRestoreBaseParametersobject

Request description
PropertyTypeRequiredDescription
billingProfileParamIdalwaysAn object to contain the "id" of the BillingProfile.
billingProfile.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"billingProfile": {
		"id": number
	},
	"reqId": number
}

ParamBillingReportBatchDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
billingReportsArray.<ParamId>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"billingReports": [
		{
			"id": number
		}
	],
	"reqId": number
}

ParamBillingReportDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
billingReportParamIdalwaysAn object to contain the "id" of the BillingReport.
billingReport.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"billingReport": {
		"id": number
	},
	"reqId": number
}

ParamBillingReportGetBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
billingReportParamIdalwaysAn object to contain the "id" of the BillingReport.
billingReport.iduint64alwaysIdentifier given as input for the command.
includeDeletedbooleanoptionalfalseWhen true, the command will also return a deleted BillingReport.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"billingReport": {
		"id": number
	},
	"includeDeleted": boolean,
	"reqId": number
}

ParamBillingReportListByBillingProfileBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
afterdatetimeoptional
beforedatetimeoptional
billingProfileParamIdalwaysAn object to contain the "id" of the BillingProfile.
billingProfile.iduint64alwaysIdentifier given as input for the command.
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"after": string,
	"before": string,
	"billingProfile": {
		"id": number
	},
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"reqId": number
}

ParamBillingReportListByCompanyBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
afterdatetimeoptional
beforedatetimeoptional
companyParamIdalwaysAn object to contain the "id" of the Company.
company.iduint64alwaysIdentifier given as input for the command.
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"after": string,
	"before": string,
	"company": {
		"id": number
	},
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"reqId": number
}

ParamBillingReportRestoreBaseParametersobject

Request description
PropertyTypeRequiredDescription
billingReportParamIdalwaysAn object to contain the "id" of the BillingReport.
billingReport.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"billingReport": {
		"id": number
	},
	"reqId": number
}

ParamHostingLicenseBatchDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
hostingLicensesArray.<ParamId>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"hostingLicenses": [
		{
			"id": number
		}
	],
	"reqId": number
}

ParamHostingLicenseBatchMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
hostingLicensesArray.<ParameterContent>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"hostingLicenses": [
		{
			"amount": number,
			"end": string,
			"id": number,
			"kind": string,
			"limit": number,
			"name": string,
			"notes": string,
			"profile": number,
			"reference": string,
			"start": string,
			"suspended": boolean,
			"targets": string,
			"v": [
				number
			]
		}
	],
	"reqId": number
}

ParamHostingLicenseDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
hostingLicenseParamIdalwaysAn object to contain the "id" of the BillableHostingLicense.
hostingLicense.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"hostingLicense": {
		"id": number
	},
	"reqId": number
}

ParamHostingLicenseGetBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
hostingLicenseParamIdalwaysAn object to contain the "id" of the BillableHostingLicense.
hostingLicense.iduint64alwaysIdentifier given as input for the command.
includeDeletedbooleanoptionalfalseWhen true, the command will also return a deleted BillableHostingLicense.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"hostingLicense": {
		"id": number
	},
	"includeDeleted": boolean,
	"reqId": number
}

ParamHostingLicenseListByBillingProfileBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
billingProfileParamIdalwaysAn object to contain the "id" of the BillingProfile.
billingProfile.iduint64alwaysIdentifier given as input for the command.
highestuint64?optional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
lowestuint64?optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"billingProfile": {
		"id": number
	},
	"highest": number,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"lowest": number,
	"reqId": number
}

ParamHostingLicenseMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
hostingLicenseObject.<string, ?>alwaysA simple object to contain the BillableHostingLicense parameters.
hostingLicense.amountdouble?optionalCost per cycle for this plan
hostingLicense.enddatetimeoptionalDate this BillableHostingLicense is applied until; null means it never ends.
hostingLicense.iduint64?updateUnique identifier of the BillableHostingLicense you want to update.
hostingLicense.kindBillableLicenseType?createThe type of hardware BillableLicenseType.
hostingLicense.limituint32?optionalThe number of units to which this BillableHostingLicense applies. Should be a non-zero value; null means unlimited
hostingLicense.namestringcreateName for the BillableHostingLicense
hostingLicense.notesstringoptionalNotes about the BillableHostingLicense.
hostingLicense.profileuint64?createUnique identifier of this BillableHostingLicense's BillingProfile.
hostingLicense.referencestringoptionalA custom field used to refer to an external system. Examples are a cost codes, SOCs, discount plans...
hostingLicense.startdatetimeoptionalDate this BillableHostingLicense takes effect.
hostingLicense.suspendedbooleanoptionalDoes this BillableHostingLicense apply to suspended resources
hostingLicense.targetsexpressionoptionalWhich assets are targetted by this BillableHostingLicense
hostingLicense.vArray.<int32>optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"hostingLicense": {
		"amount": number,
		"end": string,
		"id": number,
		"kind": string,
		"limit": number,
		"name": string,
		"notes": string,
		"profile": number,
		"reference": string,
		"start": string,
		"suspended": boolean,
		"targets": string,
		"v": [
			number
		]
	},
	"reqId": number
}

ParamHostingLicenseRestoreBaseParametersobject

Request description
PropertyTypeRequiredDescription
hostingLicenseParamIdalwaysAn object to contain the "id" of the BillableHostingLicense.
hostingLicense.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"hostingLicense": {
		"id": number
	},
	"reqId": number
}

ParamHostingRuleBatchDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
hostingRulesArray.<ParamId>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"hostingRules": [
		{
			"id": number
		}
	],
	"reqId": number
}

ParamHostingRuleBatchMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
hostingRulesArray.<ParameterContent>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"hostingRules": [
		{
			"amount": number,
			"end": string,
			"id": number,
			"limit": number,
			"name": string,
			"notes": string,
			"profile": number,
			"reference": string,
			"service": string,
			"start": string,
			"suspended": boolean,
			"targets": string,
			"v": [
				number
			]
		}
	],
	"reqId": number
}

ParamHostingRuleDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
hostingRuleParamIdalwaysAn object to contain the "id" of the BillableHostingRule.
hostingRule.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"hostingRule": {
		"id": number
	},
	"reqId": number
}

ParamHostingRuleGetBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
hostingRuleParamIdalwaysAn object to contain the "id" of the BillableHostingRule.
hostingRule.iduint64alwaysIdentifier given as input for the command.
includeDeletedbooleanoptionalfalseWhen true, the command will also return a deleted BillableHostingRule.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"hostingRule": {
		"id": number
	},
	"includeDeleted": boolean,
	"reqId": number
}

ParamHostingRuleListByBillingProfileBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
billingProfileParamIdalwaysAn object to contain the "id" of the BillingProfile.
billingProfile.iduint64alwaysIdentifier given as input for the command.
highestuint64?optional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
lowestuint64?optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"billingProfile": {
		"id": number
	},
	"highest": number,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"lowest": number,
	"reqId": number
}

ParamHostingRuleMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
hostingRuleObject.<string, ?>alwaysA simple object to contain the BillableHostingRule parameters.
hostingRule.amountdouble?optionalCost per cycle for this plan
hostingRule.enddatetimecreateDate this BillableHostingRule is applied until; null means it never ends.
hostingRule.iduint64?updateUnique identifier of the BillableHostingRule you want to update.
hostingRule.limituint32?optionalThe number of units to which this BillableHostingRule applies. Should be a non-zero value; null means unlimited
hostingRule.namestringcreateName for the BillableHostingRule
hostingRule.notesstringoptionalNotes about the BillableHostingRule.
hostingRule.profileuint64?createUnique identifier of this BillableHostingRule's BillingProfile.
hostingRule.referencestringoptionalA custom field used to refer to an external system. Examples are a cost codes, SOCs, discount plans...
hostingRule.serviceBillableHostingType?createThe type of service being billed.
hostingRule.startdatetimecreateDate this BillableHostingRule takes effect.
hostingRule.suspendedbooleanoptionalDoes this BillableHostingRule apply to suspended resources
hostingRule.targetsexpressionoptionalWhich assets are targetted by this BillableHostingRule
hostingRule.vArray.<int32>optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"hostingRule": {
		"amount": number,
		"end": string,
		"id": number,
		"limit": number,
		"name": string,
		"notes": string,
		"profile": number,
		"reference": string,
		"service": string,
		"start": string,
		"suspended": boolean,
		"targets": string,
		"v": [
			number
		]
	},
	"reqId": number
}

ParamHostingRuleRestoreBaseParametersobject

Request description
PropertyTypeRequiredDescription
hostingRuleParamIdalwaysAn object to contain the "id" of the BillableHostingRule.
hostingRule.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"hostingRule": {
		"id": number
	},
	"reqId": number
}

RespBillingProfileBatchDeleteBaseResponseobject

Response description
PropertyTypeDescription
billingProfilesArray.<RespDeleted>Array or responses successfully processed by the sub-command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"billingProfiles": [
		{
			"company": number,
			"deleted": boolean,
			"id": number,
			"v": [
				number
			]
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespBillingProfileBatchMergeBaseResponseobject

Response description
PropertyTypeDescription
billingProfilesArray.<RespIdCompany>Array or responses successfully processed by the sub-command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"billingProfiles": [
		{
			"company": number,
			"id": number
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespBillingProfileDeleteBaseResponseobject

Response description
PropertyTypeDescription
billingProfileRespDeletedAn object which contains the BillingProfile's unique identifier and deleted status.
billingProfile.companyuint64Identifier of the Company to which this object belongs.
billingProfile.deletedbooleanFlag showing if the object is deleted.
billingProfile.iduint64?Identifier given as input for the command.
billingProfile.vArray.<uint32>
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"billingProfile": {
		"company": number,
		"deleted": boolean,
		"id": number,
		"v": [
			number
		]
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespBillingProfileGetBaseResponseobject

Response description
PropertyTypeDescription
billingProfileBillingProfileThe requested BillingProfile.
billingProfile.billeeuint64Unique identifier of the Company receiving the bill. Most of the time, this value is the same as the target.
billingProfile.companyuint64Unique identifier of the Company that owns this profile and is sending the bill.
billingProfile.currencyBillingCurrencykind of money
billingProfile.cycleBillingCycleRepeating cycle used for generating bills
billingProfile.cycleEnddatetimeWhen should the cycle end (customer cancelled)
billingProfile.cyclePostDatedbooleanPro-rated, or post-dated.
billingProfile.cycleStartdatetimeWhen is the first day of the billing cycle
billingProfile.googleServicesEnabledbooleanAre the Google services available to be proxied by the service?
billingProfile.iduint64Unique identifier of this billing profile
billingProfile.messagesArray.<BillableSmsProfile>SMS messaging tiers
billingProfile.namestring
maximum-length: 254
The name for this profile
billingProfile.notesstring
maximum-length: 1000
Notes about the billing profile for the billee or target.
billingProfile.processedUtcdatetimeWhen the was change procesed.
billingProfile.targetuint64Unique identifier of the Company to which this rule pertains.
billingProfile.updatedby: login, from: monster
billingProfile.vArray.<uint32>Object version keys used to validate synchronization for all object properties.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"billingProfile": {
		"billee": number,
		"company": number,
		"currency": string,
		"cycle": string,
		"cycleEnd": string,
		"cyclePostDated": boolean,
		"cycleStart": string,
		"googleServicesEnabled": boolean,
		"id": number,
		"messages": [
			{
				"amount": number,
				"limit": number
			}
		],
		"name": string,
		"notes": string,
		"processedUtc": string,
		"target": number,
		"updated": {
		},
		"v": [
			number
		]
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespBillingProfileListByCompanyBaseResponseobject

Response description
PropertyTypeDescription
billingProfilesArray.<BillingProfile>The list of requested BillingProfiles.
companyRespIdAn object to contain the "id" of the Company to which the array of BillingProfiles belong.
company.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"billingProfiles": [
		{
			"billee": number,
			"company": number,
			"currency": string,
			"cycle": string,
			"cycleEnd": string,
			"cyclePostDated": boolean,
			"cycleStart": string,
			"googleServicesEnabled": boolean,
			"id": number,
			"messages": [
				{
					"amount": number,
					"limit": number
				}
			],
			"name": string,
			"notes": string,
			"processedUtc": string,
			"target": number,
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"company": {
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespBillingProfileMergeBaseResponseobject

Response description
PropertyTypeDescription
billingProfileRespIdCompanyAn object which contains the "id", "company", and "profile" keys.
billingProfile.companyuint64Identifier of the Company to which this object belongs.
billingProfile.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"billingProfile": {
		"company": number,
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespBillingProfileRestoreBaseResponseobject

Response description
PropertyTypeDescription
billingProfileRespDeletedAn object which contains the BillingProfile's unique identifier and deleted status.
billingProfile.companyuint64Identifier of the Company to which this object belongs.
billingProfile.deletedbooleanFlag showing if the object is deleted.
billingProfile.iduint64?Identifier given as input for the command.
billingProfile.vArray.<uint32>
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"billingProfile": {
		"company": number,
		"deleted": boolean,
		"id": number,
		"v": [
			number
		]
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespBillingReportBatchDeleteBaseResponseobject

Response description
PropertyTypeDescription
billingReportsArray.<RespDeleted>Array or responses successfully processed by the sub-command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"billingReports": [
		{
			"company": number,
			"deleted": boolean,
			"id": number,
			"v": [
				number
			]
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespBillingReportDeleteBaseResponseobject

Response description
PropertyTypeDescription
billingReportRespDeletedAn object which contains the BillingReport's unique identifier and deleted status.
billingReport.companyuint64Identifier of the Company to which this object belongs.
billingReport.deletedbooleanFlag showing if the object is deleted.
billingReport.iduint64?Identifier given as input for the command.
billingReport.vArray.<uint32>
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"billingReport": {
		"company": number,
		"deleted": boolean,
		"id": number,
		"v": [
			number
		]
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespBillingReportGetBaseResponseobject

Response description
PropertyTypeDescription
billingReportBillingReportThe requested BillingReport.
billingReport.billeeuint64Unique identifier of the Company receiving the bill.
billingReport.breakdownArray.<BillingReportBreakdown>Individual amounts per company, used to calculate the results of the report.
billingReport.companyuint64The company to which this report belongs and is sending the bill.
billingReport.currencyBillingCurrencyCurrency being billed in
billingReport.endDatedatetimeLast day of the billing cycle
billingReport.errorstring
maximum-length: 250
A field which contains report error details if the BillingReport.status is BillingReportStatus.failed.
billingReport.iduint64Unique identifier
billingReport.namestring
maximum-length: 100
Name of this report.
billingReport.notesstringNotes about this report.
billingReport.processedUtcdatetimeWhen the was change procesed.
billingReport.profileuint64The profile to which this report belongs
billingReport.startDatedatetimeFirst day of the billing cycle
billingReport.statusBillingReportStatusThe processing status of this report.
billingReport.summaryArray.<BillingReportSummary>Summary contains totals per target for this billee
billingReport.totaldoubleTotal amount being billed.
billingReport.updatedby: login, from: monster
billingReport.vArray.<uint32>Object version keys used to validate synchronization for all object properties.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"billingReport": {
		"billee": number,
		"breakdown": [
			{
				"licenses": [
					{
						"billableDays": number,
						"cost": number,
						"created": string,
						"deleted": string,
						"firmware": string,
						"kind": string,
						"name": string,
						"notes": string,
						"phoneNumber": number,
						"provider": string,
						"total": number
					}
				],
				"services": [
					{
						"asset": number,
						"billableDays": number,
						"cost": number,
						"created": string,
						"deleted": string,
						"kind": string,
						"labels": [
							string
						],
						"name": string,
						"notes": string,
						"phoneNumbers": [
							number
						],
						"providers": [
							string
						],
						"restored": string,
						"revived": string,
						"suspended": string,
						"suspendedCost": number,
						"suspendedDays": number,
						"total": number,
						"updatedDts": string
					}
				],
				"target": number
			}
		],
		"company": number,
		"currency": string,
		"endDate": string,
		"error": string,
		"id": number,
		"name": string,
		"notes": string,
		"processedUtc": string,
		"profile": number,
		"startDate": string,
		"status": string,
		"summary": [
			{
				"hosting": [
					{
						"cost": number,
						"count": number,
						"sku": string,
						"total": number
					}
				],
				"name": string,
				"notes": string,
				"parent": number,
				"target": number
			}
		],
		"total": number,
		"updated": {
		},
		"v": [
			number
		]
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespBillingReportListByBillingProfileBaseResponseobject

Response description
PropertyTypeDescription
billingProfileRespIdCompanyAn object to contain the "id" of the BillingProfile to which the array of BillableHostingRules belong.
billingProfile.companyuint64Identifier of the Company to which this object belongs.
billingProfile.iduint64?Identifier given as input for the command.
billingReportsArray.<BillingReport>The list of requested BillingReports.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"billingProfile": {
		"company": number,
		"id": number
	},
	"billingReports": [
		{
			"billee": number,
			"breakdown": [
				{
					"licenses": [
						{
							"billableDays": number,
							"cost": number,
							"created": string,
							"deleted": string,
							"firmware": string,
							"kind": string,
							"name": string,
							"notes": string,
							"phoneNumber": number,
							"provider": string,
							"total": number
						}
					],
					"services": [
						{
							"asset": number,
							"billableDays": number,
							"cost": number,
							"created": string,
							"deleted": string,
							"kind": string,
							"labels": [
								string
							],
							"name": string,
							"notes": string,
							"phoneNumbers": [
								number
							],
							"providers": [
								string
							],
							"restored": string,
							"revived": string,
							"suspended": string,
							"suspendedCost": number,
							"suspendedDays": number,
							"total": number,
							"updatedDts": string
						}
					],
					"target": number
				}
			],
			"company": number,
			"currency": string,
			"endDate": string,
			"error": string,
			"id": number,
			"name": string,
			"notes": string,
			"processedUtc": string,
			"profile": number,
			"startDate": string,
			"status": string,
			"summary": [
				{
					"hosting": [
						{
							"cost": number,
							"count": number,
							"sku": string,
							"total": number
						}
					],
					"name": string,
					"notes": string,
					"parent": number,
					"target": number
				}
			],
			"total": number,
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespBillingReportListByCompanyBaseResponseobject

Response description
PropertyTypeDescription
billingReportsArray.<BillingReport>The list of requested BillingReports.
companyRespIdAn object to contain the "id" of the Company to which the array of BillingReports belong.
company.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"billingReports": [
		{
			"billee": number,
			"breakdown": [
				{
					"licenses": [
						{
							"billableDays": number,
							"cost": number,
							"created": string,
							"deleted": string,
							"firmware": string,
							"kind": string,
							"name": string,
							"notes": string,
							"phoneNumber": number,
							"provider": string,
							"total": number
						}
					],
					"services": [
						{
							"asset": number,
							"billableDays": number,
							"cost": number,
							"created": string,
							"deleted": string,
							"kind": string,
							"labels": [
								string
							],
							"name": string,
							"notes": string,
							"phoneNumbers": [
								number
							],
							"providers": [
								string
							],
							"restored": string,
							"revived": string,
							"suspended": string,
							"suspendedCost": number,
							"suspendedDays": number,
							"total": number,
							"updatedDts": string
						}
					],
					"target": number
				}
			],
			"company": number,
			"currency": string,
			"endDate": string,
			"error": string,
			"id": number,
			"name": string,
			"notes": string,
			"processedUtc": string,
			"profile": number,
			"startDate": string,
			"status": string,
			"summary": [
				{
					"hosting": [
						{
							"cost": number,
							"count": number,
							"sku": string,
							"total": number
						}
					],
					"name": string,
					"notes": string,
					"parent": number,
					"target": number
				}
			],
			"total": number,
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"company": {
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespBillingReportRestoreBaseResponseobject

Response description
PropertyTypeDescription
billingReportRespDeletedAn object which contains the BillingReport's unique identifier and deleted status.
billingReport.companyuint64Identifier of the Company to which this object belongs.
billingReport.deletedbooleanFlag showing if the object is deleted.
billingReport.iduint64?Identifier given as input for the command.
billingReport.vArray.<uint32>
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"billingReport": {
		"company": number,
		"deleted": boolean,
		"id": number,
		"v": [
			number
		]
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespHostingLicenseBatchDeleteBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
hostingLicensesArray.<RespDeleted>Array or responses successfully processed by the sub-command.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"hostingLicenses": [
		{
			"company": number,
			"deleted": boolean,
			"id": number,
			"v": [
				number
			]
		}
	],
	"message": string,
	"reqId": number
}

RespHostingLicenseBatchMergeBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
hostingLicensesArray.<RespIdBillingProfile>Array or responses successfully processed by the sub-command.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"hostingLicenses": [
		{
			"company": number,
			"id": number,
			"profile": number
		}
	],
	"message": string,
	"reqId": number
}

RespHostingLicenseDeleteBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
hostingLicenseRespDeletedAn object which contains the BillableHostingLicense's unique identifier and deleted status.
hostingLicense.companyuint64Identifier of the Company to which this object belongs.
hostingLicense.deletedbooleanFlag showing if the object is deleted.
hostingLicense.iduint64?Identifier given as input for the command.
hostingLicense.vArray.<uint32>
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"hostingLicense": {
		"company": number,
		"deleted": boolean,
		"id": number,
		"v": [
			number
		]
	},
	"message": string,
	"reqId": number
}

RespHostingLicenseGetBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
hostingLicenseBillableHostingLicenseThe requested BillableHostingLicense.
hostingLicense.amountdoubleCost per cycle for this plan
hostingLicense.companyuint64Unique identifier of the Company that owns this hosting rule.
hostingLicense.enddatetimeDate this billing rule is applied until; null means it never ends. These dates are used to determine how much of the cycle is billed.
hostingLicense.iduint64Unique identifier of this hosting rule.
hostingLicense.kindBillableLicenseTypeThe type of hardware license
hostingLicense.limituint32?The number of units to which this billing rule applies. Should be a non-zero value; null means unlimited
hostingLicense.namestring
maximum-length: 254
The name of this billing rule.
hostingLicense.notesstringNotes about billing this rule.
hostingLicense.processedUtcdatetimeWhen the was change procesed.
hostingLicense.profileuint64Unique identifier of this rule's billing profile.
hostingLicense.referencestring
maximum-length: 100
A custom field used to refer to an external system. Examples are a cost codes, SOCs, discount plans...
hostingLicense.skustring
maximum-length: 20
SKU or SOC code
hostingLicense.startdatetimeDate this billing rule takes effect. These dates are used to determine how much of the cycle is billed.
hostingLicense.suspendedbooleanDoes this hosting rule apply to suspended resources
hostingLicense.targetsexpressionWhich assets are targeted by this hosting rule
hostingLicense.updatedby: login, from: monster
hostingLicense.vArray.<uint32>Object version keys used to validate synchronization for all object properties.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"hostingLicense": {
		"amount": number,
		"company": number,
		"end": string,
		"id": number,
		"kind": string,
		"limit": number,
		"name": string,
		"notes": string,
		"processedUtc": string,
		"profile": number,
		"reference": string,
		"sku": string,
		"start": string,
		"suspended": boolean,
		"targets": string,
		"updated": {
		},
		"v": [
			number
		]
	},
	"message": string,
	"reqId": number
}

RespHostingLicenseListByBillingProfileBaseResponseobject

Response description
PropertyTypeDescription
billingProfileRespIdCompanyAn object to contain the "id" of the BillingProfile to which the array of BillableHostingLicenses belong.
billingProfile.companyuint64Identifier of the Company to which this object belongs.
billingProfile.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
hostingLicensesArray.<BillableHostingLicense>The list of BillableHostingLicenses.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"billingProfile": {
		"company": number,
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"hostingLicenses": [
		{
			"amount": number,
			"company": number,
			"end": string,
			"id": number,
			"kind": string,
			"limit": number,
			"name": string,
			"notes": string,
			"processedUtc": string,
			"profile": number,
			"reference": string,
			"sku": string,
			"start": string,
			"suspended": boolean,
			"targets": string,
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"message": string,
	"reqId": number
}

RespHostingLicenseMergeBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
hostingLicenseRespIdBillingProfileAn object which contains the "id", "company", and "profile" keys.
hostingLicense.companyuint64Identifier of the Company to which this object belongs.
hostingLicense.iduint64?Identifier given as input for the command.
hostingLicense.profileuint64Identifier of the BillingProfile to which this object belongs
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"hostingLicense": {
		"company": number,
		"id": number,
		"profile": number
	},
	"message": string,
	"reqId": number
}

RespHostingLicenseRestoreBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
hostingLicenseRespDeletedAn object which contains the BillableHostingLicense's unique identifier and deleted status.
hostingLicense.companyuint64Identifier of the Company to which this object belongs.
hostingLicense.deletedbooleanFlag showing if the object is deleted.
hostingLicense.iduint64?Identifier given as input for the command.
hostingLicense.vArray.<uint32>
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"hostingLicense": {
		"company": number,
		"deleted": boolean,
		"id": number,
		"v": [
			number
		]
	},
	"message": string,
	"reqId": number
}

RespHostingRuleBatchDeleteBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
hostingRulesArray.<RespDeleted>Array or responses successfully processed by the sub-command.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"hostingRules": [
		{
			"company": number,
			"deleted": boolean,
			"id": number,
			"v": [
				number
			]
		}
	],
	"message": string,
	"reqId": number
}

RespHostingRuleBatchMergeBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
hostingRulesArray.<RespIdBillingProfile>Array or responses successfully processed by the sub-command.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"hostingRules": [
		{
			"company": number,
			"id": number,
			"profile": number
		}
	],
	"message": string,
	"reqId": number
}

RespHostingRuleDeleteBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
hostingRuleRespDeletedAn object which contains the BillableHostingRule's unique identifier and deleted status.
hostingRule.companyuint64Identifier of the Company to which this object belongs.
hostingRule.deletedbooleanFlag showing if the object is deleted.
hostingRule.iduint64?Identifier given as input for the command.
hostingRule.vArray.<uint32>
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"hostingRule": {
		"company": number,
		"deleted": boolean,
		"id": number,
		"v": [
			number
		]
	},
	"message": string,
	"reqId": number
}

RespHostingRuleGetBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
hostingRuleBillableHostingRuleThe requested BillableHostingRule.
hostingRule.amountdoubleCost per cycle for this plan
hostingRule.companyuint64Unique identifier of the Company that owns this hosting rule.
hostingRule.enddatetimeDate this billing rule is applied until; null means it never ends. These dates are used to determine how much of the cycle is billed.
hostingRule.iduint64Unique identifier of this hosting rule.
hostingRule.limituint32?The number of units to which this billing rule applies. Should be a non-zero value; null means unlimited
hostingRule.namestring
maximum-length: 254
The name of this billing rule.
hostingRule.notesstringNotes about billing this rule.
hostingRule.processedUtcdatetimeWhen the was change procesed.
hostingRule.profileuint64Unique identifier of this rule's billing profile.
hostingRule.referencestring
maximum-length: 100
A custom field used to refer to an external system. Examples are a cost codes, SOCs, discount plans...
hostingRule.serviceBillableHostingTypeThe type of service being billed.
hostingRule.skustring
maximum-length: 20
SKU or SOC code
hostingRule.startdatetimeDate this billing rule takes effect. These dates are used to determine how much of the cycle is billed.
hostingRule.suspendedbooleanDoes this hosting rule apply to suspended resources
hostingRule.targetsexpressionWhich assets are targeted by this hosting rule
hostingRule.updatedby: login, from: monster
hostingRule.vArray.<uint32>Object version keys used to validate synchronization for all object properties.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"hostingRule": {
		"amount": number,
		"company": number,
		"end": string,
		"id": number,
		"limit": number,
		"name": string,
		"notes": string,
		"processedUtc": string,
		"profile": number,
		"reference": string,
		"service": string,
		"sku": string,
		"start": string,
		"suspended": boolean,
		"targets": string,
		"updated": {
		},
		"v": [
			number
		]
	},
	"message": string,
	"reqId": number
}

RespHostingRuleListByBillingProfileBaseResponseobject

Response description
PropertyTypeDescription
billingProfileRespIdCompanyAn object to contain the "id" of the BillingProfile to which the array of BillableHostingRules belong.
billingProfile.companyuint64Identifier of the Company to which this object belongs.
billingProfile.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
hostingRulesArray.<BillableHostingRule>The list of requested BillableHostingRules.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"billingProfile": {
		"company": number,
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"hostingRules": [
		{
			"amount": number,
			"company": number,
			"end": string,
			"id": number,
			"limit": number,
			"name": string,
			"notes": string,
			"processedUtc": string,
			"profile": number,
			"reference": string,
			"service": string,
			"sku": string,
			"start": string,
			"suspended": boolean,
			"targets": string,
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"message": string,
	"reqId": number
}

RespHostingRuleMergeBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
hostingRuleRespIdBillingProfileAn object which contains the "id", "company", and "profile" keys.
hostingRule.companyuint64Identifier of the Company to which this object belongs.
hostingRule.iduint64?Identifier given as input for the command.
hostingRule.profileuint64Identifier of the BillingProfile to which this object belongs
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"hostingRule": {
		"company": number,
		"id": number,
		"profile": number
	},
	"message": string,
	"reqId": number
}

RespHostingRuleRestoreBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
hostingRuleRespDeletedAn object which contains the BillableHostingRule's unique identifier and deleted status.
hostingRule.companyuint64Identifier of the Company to which this object belongs.
hostingRule.deletedbooleanFlag showing if the object is deleted.
hostingRule.iduint64?Identifier given as input for the command.
hostingRule.vArray.<uint32>
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"hostingRule": {
		"company": number,
		"deleted": boolean,
		"id": number,
		"v": [
			number
		]
	},
	"message": string,
	"reqId": number
}

Companies

Companyobject

The full company object which contains all fields.
JSON description
PropertyTypeDescription
directoryObject.<string, Array.<uint64>>
for value-values see: Contact.id
The list of Contacts from this and other companies broken down by contact role.
iduint64Unique identifier of the Company.
labelsObject.<codified, LabelStyle>
for keys see: LabelStyle.code
The styles for labels added to Assets, Places, and other things.
namestring
maximum-length: 100
The organizational name.
notesstringNotes.
parentuint64The unique identifier of this company's parent organization.
passwordPolicyPasswordPolicyThe password complexity and expiry policy.
processedUtcdatetimeWhen the was change procesed.
referencesObject.<string, string>
maximum-count: 10
maximum-length of keys: 20
maximum-length of values: 100
Name/value collections of custom fields used to refer to external systems.
resellerCompanyResellerIf this company is a reseller, then they have their own theme, support and billing information.
sessionPolicySessionPolicyThe session lifetime policy.
tagsObject.<codified, LabelStyle>
for keys see: LabelStyle.code
The styles for status tags added to Assets.
updatedby: login, from: monster
userGroupsArray.<UserGroup>A list of user groups that belong to this company. A user can only belong to groups from their own company.
vArray.<int32>
fixed count: 6
Object version keys used to validate synchronization for all object properties.
v[0]int32The first element is for the general properties
v[1]int32The second element is not used (yet)
v[2]int32The third element is not used (yet)
v[3]int32The fourth element is for the style properties
v[4]int32The fifth element is for the policy properties
v[5]int32The sixth element is for the reseller properties
JSON structure
{
	"directory": {
		string: [
			number
		]
	},
	"id": number,
	"labels": {
		string: {
			"code": string,
			"fill": string,
			"graphic": string,
			"name": string,
			"notes": string,
			"stroke": string
		}
	},
	"name": string,
	"notes": string,
	"parent": number,
	"passwordPolicy": {
		"expireMode": string,
		"expireThreshold": number,
		"includeLetters": boolean,
		"includeNumbers": boolean,
		"includeSpecial": boolean,
		"includeUpperLower": boolean,
		"minimumLength": number
	},
	"processedUtc": string,
	"references": {
		string: string
	},
	"reseller": {
		"contactInfo": {
			string: number
		},
		"domain": string,
		"favourite": string,
		"gamut": {
			string: {
				"fill": string,
				"stroke": string
			}
		},
		"graphics": {
			string: string
		},
		"icon": string,
		"id": number,
		"languages": [
			string
		],
		"logo": string,
		"notifyEmail": {
			"incomingAddress": string,
			"incomingLogin": string,
			"incomingMessageNumber": number,
			"incomingPort": number,
			"incomingSecure": boolean,
			"incomingType": string,
			"outgoingAddress": string,
			"outgoingLogin": string,
			"outgoingPort": number,
			"outgoingReplyTo": string,
			"outgoingSecure": boolean,
			"outgoingType": string
		},
		"notifySms": {
			"notifyLimit": number,
			"phoneNumbers": {
				string: [
					number
				]
			}
		},
		"parent": number,
		"processedUtc": string,
		"recoverBody": string,
		"recoverIsHtml": boolean,
		"recoverSubject": string,
		"serviceName": string,
		"termsPreamble": string,
		"termsUpdated": string,
		"updated": {
		},
		"v": [
			number
		],
		"website": {
			string: string
		}
	},
	"sessionPolicy": {
		"applications": [
			string
		],
		"expireTimeout": number,
		"idleAllowed": boolean,
		"ipv4Ranges": [
			string
		],
		"maxSessions": number,
		"multiUser": string
	},
	"tags": {
		string: {
			"code": string,
			"fill": string,
			"graphic": string,
			"name": string,
			"notes": string,
			"stroke": string
		}
	},
	"updated": {
	},
	"userGroups": [
		{
			"company": number,
			"id": number,
			"name": string,
			"notes": string,
			"permissions": [
				{
					"company": number,
					"kind": string,
					"labels": [
						string
					],
					"level": string,
					"method": string,
					"type": string
				}
			],
			"processedUtc": string,
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"v": [
		number
	]
}

CompanyDeletedobject

The message format for when a deleted Company is retrieved
JSON description
PropertyTypeValueDescription
deletedbooleantrue
iduint64Unique identifier of the Company.
namestring
maximum-length: 100
The organizational name.
notesstringNotes.
parentuint64The unique identifier of this company's parent organization.
sincedatetimeA timestamp from the moment the object was deleted.
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"deleted": boolean,
	"id": number,
	"name": string,
	"notes": string,
	"parent": number,
	"since": string,
	"v": [
		number
	]
}

CompanyGeneralobject

General details about a company.
JSON description
PropertyTypeDescription
iduint64Unique identifier of the Company.
namestring
maximum-length: 100
The organizational name.
notesstringNotes.
parentuint64The unique identifier of this company's parent organization.
processedUtcdatetimeWhen the was change procesed.
referencesObject.<string, string>
maximum-count: 10
maximum-length of keys: 20
maximum-length of values: 100
Name/value collections of custom fields used to refer to external systems.
updatedby: login, from: monster
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"id": number,
	"name": string,
	"notes": string,
	"parent": number,
	"processedUtc": string,
	"references": {
		string: string
	},
	"updated": {
	},
	"v": [
		number
	]
}

CompanyPoliciesobject

The password and session lifetime policies for this Company.
JSON description
PropertyTypeDescription
iduint64Unique identifier of the Company.
parentuint64The unique identifier of this company's parent organization.
passwordPolicyPasswordPolicyThe password complexity and expiry policy.
processedUtcdatetimeWhen the was change procesed.
sessionPolicySessionPolicyThe session lifetime policy.
updatedby: login, from: monster
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"id": number,
	"parent": number,
	"passwordPolicy": {
		"expireMode": string,
		"expireThreshold": number,
		"includeLetters": boolean,
		"includeNumbers": boolean,
		"includeSpecial": boolean,
		"includeUpperLower": boolean,
		"minimumLength": number
	},
	"processedUtc": string,
	"sessionPolicy": {
		"applications": [
			string
		],
		"expireTimeout": number,
		"idleAllowed": boolean,
		"ipv4Ranges": [
			string
		],
		"maxSessions": number,
		"multiUser": string
	},
	"updated": {
	},
	"v": [
		number
	]
}

CompanyStylesobject

The colours and styles used by this company to tag and label Assets, Places, and other things.
JSON description
PropertyTypeDescription
iduint64Unique identifier of the Company.
labelsObject.<codified, LabelStyle>
for keys see: LabelStyle.code
The styles for labels added to Assets, Places, and other things.
parentuint64The unique identifier of this company's parent organization.
processedUtcdatetimeWhen the was change procesed.
tagsObject.<codified, LabelStyle>
for keys see: LabelStyle.code
The styles for status tags added to Assets.
updatedby: login, from: monster
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"id": number,
	"labels": {
		string: {
			"code": string,
			"fill": string,
			"graphic": string,
			"name": string,
			"notes": string,
			"stroke": string
		}
	},
	"parent": number,
	"processedUtc": string,
	"tags": {
		string: {
			"code": string,
			"fill": string,
			"graphic": string,
			"name": string,
			"notes": string,
			"stroke": string
		}
	},
	"updated": {
	},
	"v": [
		number
	]
}

LabelStyleobject

Visual style identification helper.
JSON description
PropertyTypeDescription
codecodifiedThe codified name of this style
fillcolour
maximum-length: 22
The background colour given to this style for easy visual identification.
graphiccodified
maximum-length: 22
The codified graphic name given to this script for easy visual identification.
namestring
maximum-length: 100
The name of this visual style.
notesstringNotes!
strokecolour
maximum-length: 22
The text/graphic colour given to this style for easy visual identification.
JSON structure
{
	"code": string,
	"fill": string,
	"graphic": string,
	"name": string,
	"notes": string,
	"stroke": string
}

ParamCompanyBatchDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
companiesArray.<ParamId>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"companies": [
		{
			"id": number
		}
	],
	"reqId": number
}

ParamCompanyBatchMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
companiesArray.<ParameterContent>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"companies": [
		{
			"directory": {
				string: [
					number
				]
			},
			"id": number,
			"labels": {
				string: {
					"code": string,
					"fill": string,
					"graphic": string,
					"name": string,
					"notes": string,
					"stroke": string
				}
			},
			"name": string,
			"notes": string,
			"parent": number,
			"passwordPolicy": {
				"expireMode": string,
				"expireThreshold": number,
				"includeLetters": boolean,
				"includeNumbers": boolean,
				"includeSpecial": boolean,
				"includeUpperLower": boolean,
				"minimumLength": number
			},
			"references": {
				string: string
			},
			"sessionPolicy": {
				"applications": [
					string
				],
				"expireTimeout": number,
				"idleAllowed": boolean,
				"ipv4Ranges": [
					string
				],
				"maxSessions": number,
				"multiUser": string
			},
			"tags": {
				string: {
					"code": string,
					"fill": string,
					"graphic": string,
					"name": string,
					"notes": string,
					"stroke": string
				}
			},
			"v": [
				number
			]
		}
	],
	"reqId": number
}

ParamCompanyDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
companyParamIdalwaysAn object to contain the "id" key.
company.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"company": {
		"id": number
	},
	"reqId": number
}

ParamCompanyDirectoryListByParentBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"reqId": number
}

ParamCompanyDirectoryListByRefPairsBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
companyParamIdalways
company.iduint64alwaysIdentifier given as input for the command.
highestuint64?optional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
includeParentbooleanoptional
limituint16?optionalMaximum number of objects in this response.
lowestuint64?optional
referencesObject.<string, string>optionalCase-insensitive reference pairs used to match Companys.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
treebooleanoptional
Request structure
{
	"company": {
		"id": number
	},
	"highest": number,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"includeParent": boolean,
	"limit": number,
	"lowest": number,
	"references": {
		string: string
	},
	"reqId": number,
	"tree": boolean
}

ParamCompanyGeneralListByParentBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"reqId": number
}

ParamCompanyGeneralListByRefPairsBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
companyParamIdalways
company.iduint64alwaysIdentifier given as input for the command.
highestuint64?optional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
includeParentbooleanoptional
limituint16?optionalMaximum number of objects in this response.
lowestuint64?optional
referencesObject.<string, string>optionalCase-insensitive reference pairs used to match Companys.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
treebooleanoptional
Request structure
{
	"company": {
		"id": number
	},
	"highest": number,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"includeParent": boolean,
	"limit": number,
	"lowest": number,
	"references": {
		string: string
	},
	"reqId": number,
	"tree": boolean
}

ParamCompanyGetBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
companyParamIdalwaysAn object to contain the "id" key.
company.iduint64alwaysIdentifier given as input for the command.
includeDeletedbooleanoptionalfalseWhen true, the command will also return a deleted Company.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"company": {
		"id": number
	},
	"includeDeleted": boolean,
	"reqId": number
}

ParamCompanyLabelsListByParentBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"reqId": number
}

ParamCompanyLabelsListByRefPairsBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
companyParamIdalways
company.iduint64alwaysIdentifier given as input for the command.
highestuint64?optional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
includeParentbooleanoptional
limituint16?optionalMaximum number of objects in this response.
lowestuint64?optional
referencesObject.<string, string>optionalCase-insensitive reference pairs used to match Companys.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
treebooleanoptional
Request structure
{
	"company": {
		"id": number
	},
	"highest": number,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"includeParent": boolean,
	"limit": number,
	"lowest": number,
	"references": {
		string: string
	},
	"reqId": number,
	"tree": boolean
}

ParamCompanyListByParentBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"reqId": number
}

ParamCompanyListByRefPairsBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
companyParamIdalways
company.iduint64alwaysIdentifier given as input for the command.
highestuint64?optional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
includeParentbooleanoptional
limituint16?optionalMaximum number of objects in this response.
lowestuint64?optional
referencesObject.<string, string>optionalCase-insensitive reference pairs used to match Companys.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
treebooleanoptional
Request structure
{
	"company": {
		"id": number
	},
	"highest": number,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"includeParent": boolean,
	"limit": number,
	"lowest": number,
	"references": {
		string: string
	},
	"reqId": number,
	"tree": boolean
}

ParamCompanyMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
companyObject.<string, ?>alwaysA simple object to contain the company parameters.
company.directoryObject.<string, Array.<uint64>>
for value-values see: Contact.id
optionalThe list of Contacts from this and other companies broken down by contact role.
company.iduint64?updateUnique identifier of the Company.
company.labelsObject.<string, LabelStyle>optionalThe styles for labels added to Assets, Places, and other things.
company.namestring
maximum-length: 100
createThe organizational name.
company.notesstringoptionalNotes.
company.parentuint64?createThe unique identifier of this company's parent organization.
company.passwordPolicyObject.<string, ?>alwaysThe password complexity and expiry policy.
company.passwordPolicy.expireModePasswordExpiryMode?optionalDefines how passwords expire.
company.passwordPolicy.expireThresholdbyte?optionalThe threshold for expiry (in days).
company.passwordPolicy.includeLettersbooleanoptionalDo passwords require alphabetical characters.
company.passwordPolicy.includeNumbersbooleanoptionalDo passwords require numeric characters.
company.passwordPolicy.includeSpecialbooleanoptionalDo passwords require non-alphanumeric characters.
company.passwordPolicy.includeUpperLowerbooleanoptionalDo passwords require upper-case and lower-case letters.
company.passwordPolicy.minimumLengthbyte?optionalThe minimum number of characters required.
company.referencesObject.<string, string>optionalName/value collections of custom fields used to refer to external systems. If the value is null, the references are removed from the Company.
company.sessionPolicyObject.<string, ?>alwaysThe session lifetime policy.
company.sessionPolicy.applicationsArray.<string>optionalThe list of applications users are allowed to use to create sessions.
company.sessionPolicy.expireTimeoutuint16?optionalThe lifetime duration of a session in minutes.
company.sessionPolicy.idleAllowedbooleanoptionalDefines whether a session should be automatically killed when the connection breaks.
company.sessionPolicy.ipv4RangesArray.<ipv4>
maximum-length of values: 19
optionalRestrict session creation to only the provided IPv4 ranges (using CIDR slash-notation). Leave blank for Internet access.
company.sessionPolicy.maxSessionsbyte?optionalThe maximum number of sessions allowed per user.
company.sessionPolicy.multiUserSessionMultiUser?optionalDefines the behaviour of the system when a user creates multiple sessions.
company.tagsObject.<string, LabelStyle>optionalThe styles for status tags added to Assets.
company.vArray.<int32>optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"company": {
		"directory": {
			string: [
				number
			]
		},
		"id": number,
		"labels": {
			string: {
				"code": string,
				"fill": string,
				"graphic": string,
				"name": string,
				"notes": string,
				"stroke": string
			}
		},
		"name": string,
		"notes": string,
		"parent": number,
		"passwordPolicy": {
			"expireMode": string,
			"expireThreshold": number,
			"includeLetters": boolean,
			"includeNumbers": boolean,
			"includeSpecial": boolean,
			"includeUpperLower": boolean,
			"minimumLength": number
		},
		"references": {
			string: string
		},
		"sessionPolicy": {
			"applications": [
				string
			],
			"expireTimeout": number,
			"idleAllowed": boolean,
			"ipv4Ranges": [
				string
			],
			"maxSessions": number,
			"multiUser": string
		},
		"tags": {
			string: {
				"code": string,
				"fill": string,
				"graphic": string,
				"name": string,
				"notes": string,
				"stroke": string
			}
		},
		"v": [
			number
		]
	},
	"reqId": number
}

ParamCompanyPoliciesListByParentBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"reqId": number
}

ParamCompanyPoliciesListByRefPairsBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
companyParamIdalways
company.iduint64alwaysIdentifier given as input for the command.
highestuint64?optional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
includeParentbooleanoptional
limituint16?optionalMaximum number of objects in this response.
lowestuint64?optional
referencesObject.<string, string>optionalCase-insensitive reference pairs used to match Companys.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
treebooleanoptional
Request structure
{
	"company": {
		"id": number
	},
	"highest": number,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"includeParent": boolean,
	"limit": number,
	"lowest": number,
	"references": {
		string: string
	},
	"reqId": number,
	"tree": boolean
}

ParamCompanyRestoreBaseParametersobject

Request description
PropertyTypeRequiredDescription
companyParamIdalwaysAn object to contain the "id" key.
company.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"company": {
		"id": number
	},
	"reqId": number
}

ParamPasswordPolicyobject

Parameter values for creating a new or updating an existing PasswordPolicy.
JSON description
PropertyTypeDescription
expireModePasswordExpiryMode?Defines how passwords expire.
expireThresholdbyte?The threshold for expiry (in days).
includeLettersbooleanDo passwords require alphabetical characters.
includeNumbersbooleanDo passwords require numeric characters.
includeSpecialbooleanDo passwords require non-alphanumeric characters.
includeUpperLowerbooleanDo passwords require upper-case and lower-case letters.
minimumLengthbyte?The minimum number of characters required.
JSON structure
{
	"expireMode": string,
	"expireThreshold": number,
	"includeLetters": boolean,
	"includeNumbers": boolean,
	"includeSpecial": boolean,
	"includeUpperLower": boolean,
	"minimumLength": number
}

ParamSessionPolicyobject

Parameter values for creating a new or updating an existing SessionPolicy.
JSON description
PropertyTypeDescription
applicationsArray.<string>The list of applications users are allowed to use to create sessions.
expireTimeoutuint16?The lifetime duration of a session in minutes.
idleAllowedbooleanDefines whether a session should be automatically killed when the connection breaks.
ipv4RangesArray.<ipv4>
maximum-length of values: 19
Restrict session creation to only the provided IPv4 ranges (using CIDR slash-notation). Leave blank for Internet access.
maxSessionsbyte?The maximum number of sessions allowed per user.
multiUserSessionMultiUser?Defines the behaviour of the system when a user creates multiple sessions.
JSON structure
{
	"applications": [
		string
	],
	"expireTimeout": number,
	"idleAllowed": boolean,
	"ipv4Ranges": [
		string
	],
	"maxSessions": number,
	"multiUser": string
}

PasswordExpiryModestring

Defines how User passwords expire.
ValueDescription
daysPasswords expire after a defined number of days.
neverPasswords never expire.
sessionsPasswords expire after a defined number of successful logins.

PasswordPolicyobject

The password complexity and expiry policy.
JSON description
PropertyTypeDescription
expireModePasswordExpiryModeDefines how passwords expire.
expireThresholdbyteThe threshold for expiry.
includeLettersbooleanDo passwords require alphabetical characters.
includeNumbersbooleanDo passwords require numeric characters.
includeSpecialbooleanDo passwords require non-alphanumeric characters.
includeUpperLowerbooleanDo passwords require upper-case and lower-case letters.
minimumLengthbyteThe minimum number of characters required.
JSON structure
{
	"expireMode": string,
	"expireThreshold": number,
	"includeLetters": boolean,
	"includeNumbers": boolean,
	"includeSpecial": boolean,
	"includeUpperLower": boolean,
	"minimumLength": number
}

RespCompanyBatchDeleteBaseResponseobject

Response description
PropertyTypeDescription
companiesArray.<RespParentDeleted>Array or responses successfully processed by the sub-command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"companies": [
		{
			"deleted": boolean,
			"id": number,
			"parent": number,
			"v": [
				number
			]
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespCompanyBatchMergeBaseResponseobject

Response description
PropertyTypeDescription
companiesArray.<RespIdParent>Array or responses successfully processed by the sub-command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"companies": [
		{
			"id": number,
			"parent": number
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespCompanyDeleteBaseResponseobject

Response description
PropertyTypeDescription
companyRespParentDeletedAn object which contains the Company's unique identifier and deleted status.
company.deletedbooleanFlag showing if the object is deleted.
company.iduint64?Identifier given as input for the command.
company.parentuint64Identifier of the parent to which the Company is a child.
company.vArray.<uint32>
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"company": {
		"deleted": boolean,
		"id": number,
		"parent": number,
		"v": [
			number
		]
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespCompanyDirectoryListByParentBaseResponseobject

Response description
PropertyTypeDescription
companyDirectoriesArray.<>The list of requested companies.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"companyDirectories": [
		{
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespCompanyDirectoryListByRefPairsBaseResponseobject

Response description
PropertyTypeDescription
companyDirectoriesArray.<>The list of requested companies.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
referencesObject.<string, string>The reference string given as input.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"companyDirectories": [
		{
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"references": {
		string: string
	},
	"reqId": number
}

RespCompanyGeneralListByParentBaseResponseobject

Response description
PropertyTypeDescription
companyGeneralsArray.<CompanyGeneral>The list of requested companies.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"companyGenerals": [
		{
			"id": number,
			"name": string,
			"notes": string,
			"parent": number,
			"processedUtc": string,
			"references": {
				string: string
			},
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespCompanyGeneralListByRefPairsBaseResponseobject

Response description
PropertyTypeDescription
companyGeneralsArray.<CompanyGeneral>The list of requested companies.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
referencesObject.<string, string>The reference string given as input.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"companyGenerals": [
		{
			"id": number,
			"name": string,
			"notes": string,
			"parent": number,
			"processedUtc": string,
			"references": {
				string: string
			},
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"references": {
		string: string
	},
	"reqId": number
}

RespCompanyGetBaseResponseobject

Response description
PropertyTypeDescription
companyCompanyThe requested Company.
company.directoryObject.<string, Array.<uint64>>
for value-values see: Contact.id
The list of Contacts from this and other companies broken down by contact role.
company.iduint64Unique identifier of the Company.
company.labelsObject.<codified, LabelStyle>
for keys see: LabelStyle.code
The styles for labels added to Assets, Places, and other things.
company.namestring
maximum-length: 100
The organizational name.
company.notesstringNotes.
company.parentuint64The unique identifier of this company's parent organization.
company.passwordPolicyPasswordPolicyThe password complexity and expiry policy.
company.passwordPolicy.expireModePasswordExpiryModeDefines how passwords expire.
company.passwordPolicy.expireThresholdbyteThe threshold for expiry.
company.passwordPolicy.includeLettersbooleanDo passwords require alphabetical characters.
company.passwordPolicy.includeNumbersbooleanDo passwords require numeric characters.
company.passwordPolicy.includeSpecialbooleanDo passwords require non-alphanumeric characters.
company.passwordPolicy.includeUpperLowerbooleanDo passwords require upper-case and lower-case letters.
company.passwordPolicy.minimumLengthbyteThe minimum number of characters required.
company.processedUtcdatetimeWhen the was change procesed.
company.referencesObject.<string, string>
maximum-count: 10
maximum-length of keys: 20
maximum-length of values: 100
Name/value collections of custom fields used to refer to external systems.
company.resellerCompanyResellerIf this company is a reseller, then they have their own theme, support and billing information.
company.reseller.contactInfoObject.<string, uint64>
maximum-count of keys: 100
for values see: Contact.id
A list of Contacts for company specific things like Technical Support, Billing, etc...
company.reseller.domainstring
maximum-length: 100
The URN and path to the instance of v4. It does not contain the protocol because all instances are required to be HTTPS.
company.reseller.favouritestring
maximum-length: 200
The name of the icon file used for browser bookmarks.
company.reseller.gamutObject.<string, ColourStyle>
maximum-length of keys: 25
Colours used as templates for status tags, labels, and places.
company.reseller.graphicsObject.<string, codified>
maximum-length of keys: 25
maximum-length of values: 30
A list of symbol names and their corresponding FontAwesome icon names.
company.reseller.iconstring
maximum-length: 200
The name of the image uploaded as the logo (used for collapsed/mobile view).
company.reseller.iduint64Unique identifier of the Company.
company.reseller.languagesArray.<codified>
maximum-length of values: 5
A list of supported languages for your customers.
company.reseller.notifyEmailNotificationServerEmailThe server used for notification and conversational email messages sent and received by the system.
company.reseller.notifyEmail.incomingAddressstringThe domain or IP address of the incoming email server.
company.reseller.notifyEmail.incomingLoginstringThe username used to login to the incoming email server.
company.reseller.notifyEmail.incomingMessageNumberuint32IMAP message sequence number so only recent messages are retrieved.
company.reseller.notifyEmail.incomingPortuint16The port number of the incoming email server.
company.reseller.notifyEmail.incomingSecurebooleanIs the incoming email server using a secure SSL/TLS connection (it should).
company.reseller.notifyEmail.incomingTypestringThe type of incoming protocol to use (IMAP or POP3).
company.reseller.notifyEmail.outgoingAddressstringThe domain or IP address of the outgoing email server.
company.reseller.notifyEmail.outgoingLoginstringThe username used to login to the outgoing email server.
company.reseller.notifyEmail.outgoingPortuint16The port number of the outgoing email server.
company.reseller.notifyEmail.outgoingReplyToemailAn optional field which can be set as the "sent from" and/or "reply-to" address.
company.reseller.notifyEmail.outgoingSecurebooleanIs the outgoing email server using a secure SSL/TLS connection (it should).
company.reseller.notifyEmail.outgoingTypestringThe type of outgoing protocol to use (only SMTP).
company.reseller.notifySmsNotificationServerSmsDefinition for load-balanced outbound SMS numbers for the reseller.
company.reseller.notifySms.notifyLimituint16A per-number/per-day limit on the amount of Notifications sent.
company.reseller.notifySms.phoneNumbersObject.<string, Array.<phone>>
fixed length of keys: 2
All phone numbers listed by the country (using two-digit ISO 3166-1 alpha-2 country codes) they each serve.
company.reseller.parentuint64The unique identifier of this company's parent organization.
company.reseller.processedUtcdatetimeWhen the was change procesed.
company.reseller.recoverBodystringThe body of the email sent to a user requesting a password reset.
company.reseller.recoverIsHtmlboolean
company.reseller.recoverSubjectstringThe subject of the email sent to a user requesting a password reset.
company.reseller.serviceNamestring
maximum-length: 150
The name of the branded service being provided to the seller's customers.
company.reseller.termsPreamblestringA preamble to the general terms and conditions offered by Fleet Freedom.
company.reseller.termsUpdateddatetimeThe date and time when the terms were updated. This will promt users who are logging-in to re-agree to the new terms
company.reseller.updatedby: login, from: monster
company.reseller.vArray.<uint32>Object version keys used to validate synchronization for all object properties.
company.reseller.websiteObject.<string, colour>
maximum-length of keys: 25
maximum-length of values: 22
Themed colours used in the web-based UI.
company.sessionPolicySessionPolicyThe session lifetime policy.
company.sessionPolicy.applicationsArray.<string>The list of applications users are allowed to use to create sessions.
company.sessionPolicy.expireTimeoutuint16The lifetime duration of a session in minutes.
company.sessionPolicy.idleAllowedbooleanDefines whether a session should be automatically killed when the connection breaks.
company.sessionPolicy.ipv4RangesArray.<ipv4>
maximum-length of values: 19
Restrict session creation to only the provided IPv4 ranges (using CIDR slash-notation). Leave blank for Internet access.
company.sessionPolicy.maxSessionsbyteThe maximum number of sessions allowed per user.
company.sessionPolicy.multiUserSessionMultiUserDefines the behaviour of the system when a user creates multiple sessions.
company.tagsObject.<codified, LabelStyle>
for keys see: LabelStyle.code
The styles for status tags added to Assets.
company.updatedby: login, from: monster
company.userGroupsArray.<UserGroup>A list of user groups that belong to this company. A user can only belong to groups from their own company.
company.vArray.<int32>
fixed count: 6
Object version keys used to validate synchronization for all object properties.
company.v[0]int32The first element is for the general properties
company.v[1]int32The second element is not used (yet)
company.v[2]int32The third element is not used (yet)
company.v[3]int32The fourth element is for the style properties
company.v[4]int32The fifth element is for the policy properties
company.v[5]int32The sixth element is for the reseller properties
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"company": {
		"directory": {
			string: [
				number
			]
		},
		"id": number,
		"labels": {
			string: {
				"code": string,
				"fill": string,
				"graphic": string,
				"name": string,
				"notes": string,
				"stroke": string
			}
		},
		"name": string,
		"notes": string,
		"parent": number,
		"passwordPolicy": {
			"expireMode": string,
			"expireThreshold": number,
			"includeLetters": boolean,
			"includeNumbers": boolean,
			"includeSpecial": boolean,
			"includeUpperLower": boolean,
			"minimumLength": number
		},
		"processedUtc": string,
		"references": {
			string: string
		},
		"reseller": {
			"contactInfo": {
				string: number
			},
			"domain": string,
			"favourite": string,
			"gamut": {
				string: {
					"fill": string,
					"stroke": string
				}
			},
			"graphics": {
				string: string
			},
			"icon": string,
			"id": number,
			"languages": [
				string
			],
			"logo": string,
			"notifyEmail": {
				"incomingAddress": string,
				"incomingLogin": string,
				"incomingMessageNumber": number,
				"incomingPort": number,
				"incomingSecure": boolean,
				"incomingType": string,
				"outgoingAddress": string,
				"outgoingLogin": string,
				"outgoingPort": number,
				"outgoingReplyTo": string,
				"outgoingSecure": boolean,
				"outgoingType": string
			},
			"notifySms": {
				"notifyLimit": number,
				"phoneNumbers": {
					string: [
						number
					]
				}
			},
			"parent": number,
			"processedUtc": string,
			"recoverBody": string,
			"recoverIsHtml": boolean,
			"recoverSubject": string,
			"serviceName": string,
			"termsPreamble": string,
			"termsUpdated": string,
			"updated": {
			},
			"v": [
				number
			],
			"website": {
				string: string
			}
		},
		"sessionPolicy": {
			"applications": [
				string
			],
			"expireTimeout": number,
			"idleAllowed": boolean,
			"ipv4Ranges": [
				string
			],
			"maxSessions": number,
			"multiUser": string
		},
		"tags": {
			string: {
				"code": string,
				"fill": string,
				"graphic": string,
				"name": string,
				"notes": string,
				"stroke": string
			}
		},
		"updated": {
		},
		"userGroups": [
			{
				"company": number,
				"id": number,
				"name": string,
				"notes": string,
				"permissions": [
					{
						"company": number,
						"kind": string,
						"labels": [
							string
						],
						"level": string,
						"method": string,
						"type": string
					}
				],
				"processedUtc": string,
				"updated": {
				},
				"v": [
					number
				]
			}
		],
		"v": [
			number
		]
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespCompanyLabelsListByParentBaseResponseobject

Response description
PropertyTypeDescription
companyLabelsArray.<CompanyStyles>The list of requested companies.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"companyLabels": [
		{
			"id": number,
			"labels": {
				string: {
					"code": string,
					"fill": string,
					"graphic": string,
					"name": string,
					"notes": string,
					"stroke": string
				}
			},
			"parent": number,
			"processedUtc": string,
			"tags": {
				string: {
					"code": string,
					"fill": string,
					"graphic": string,
					"name": string,
					"notes": string,
					"stroke": string
				}
			},
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespCompanyLabelsListByRefPairsBaseResponseobject

Response description
PropertyTypeDescription
companyLabelsArray.<CompanyStyles>The list of requested companies.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
referencesObject.<string, string>The reference string given as input.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"companyLabels": [
		{
			"id": number,
			"labels": {
				string: {
					"code": string,
					"fill": string,
					"graphic": string,
					"name": string,
					"notes": string,
					"stroke": string
				}
			},
			"parent": number,
			"processedUtc": string,
			"tags": {
				string: {
					"code": string,
					"fill": string,
					"graphic": string,
					"name": string,
					"notes": string,
					"stroke": string
				}
			},
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"references": {
		string: string
	},
	"reqId": number
}

RespCompanyListByParentBaseResponseobject

Response description
PropertyTypeDescription
companiesArray.<CompanyGeneral>The list of requested companies.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"companies": [
		{
			"id": number,
			"name": string,
			"notes": string,
			"parent": number,
			"processedUtc": string,
			"references": {
				string: string
			},
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespCompanyListByRefPairsBaseResponseobject

Response description
PropertyTypeDescription
companiesArray.<CompanyGeneral>The list of requested companies.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
referencesObject.<string, string>The reference string given as input.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"companies": [
		{
			"id": number,
			"name": string,
			"notes": string,
			"parent": number,
			"processedUtc": string,
			"references": {
				string: string
			},
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"references": {
		string: string
	},
	"reqId": number
}

RespCompanyMergeBaseResponseobject

Response description
PropertyTypeDescription
companyRespIdParentAn object which contains the "id" and "parent" keys.
company.iduint64?Identifier given as input for the command.
company.parentuint64?Identifier of the parent to which this company belongs
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"company": {
		"id": number,
		"parent": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespCompanyPoliciesListByParentBaseResponseobject

Response description
PropertyTypeDescription
companyPoliciesArray.<CompanyPolicies>The list of requested companies.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"companyPolicies": [
		{
			"id": number,
			"parent": number,
			"passwordPolicy": {
				"expireMode": string,
				"expireThreshold": number,
				"includeLetters": boolean,
				"includeNumbers": boolean,
				"includeSpecial": boolean,
				"includeUpperLower": boolean,
				"minimumLength": number
			},
			"processedUtc": string,
			"sessionPolicy": {
				"applications": [
					string
				],
				"expireTimeout": number,
				"idleAllowed": boolean,
				"ipv4Ranges": [
					string
				],
				"maxSessions": number,
				"multiUser": string
			},
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespCompanyPoliciesListByRefPairsBaseResponseobject

Response description
PropertyTypeDescription
companyPoliciesArray.<CompanyPolicies>The list of requested companies.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
referencesObject.<string, string>The reference string given as input.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"companyPolicies": [
		{
			"id": number,
			"parent": number,
			"passwordPolicy": {
				"expireMode": string,
				"expireThreshold": number,
				"includeLetters": boolean,
				"includeNumbers": boolean,
				"includeSpecial": boolean,
				"includeUpperLower": boolean,
				"minimumLength": number
			},
			"processedUtc": string,
			"sessionPolicy": {
				"applications": [
					string
				],
				"expireTimeout": number,
				"idleAllowed": boolean,
				"ipv4Ranges": [
					string
				],
				"maxSessions": number,
				"multiUser": string
			},
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"references": {
		string: string
	},
	"reqId": number
}

RespCompanyRestoreBaseResponseobject

Response description
PropertyTypeDescription
companyRespParentDeletedAn object which contains the Company's unique identifier and deleted status.
company.deletedbooleanFlag showing if the object is deleted.
company.iduint64?Identifier given as input for the command.
company.parentuint64Identifier of the parent to which the Company is a child.
company.vArray.<uint32>
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"company": {
		"deleted": boolean,
		"id": number,
		"parent": number,
		"v": [
			number
		]
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

SessionMultiUserstring

Defines the behaviour of the system when a user creates multiple sessions.
ValueDescription
allowAllow users to create multiple simultaneous sessions.
denyDeny users from creating new sessions if they already have an active session.
replaceAllow users to create a new session, but automatically kill the previous session.

SessionPolicyobject

The session lifetime policy.
JSON description
PropertyTypeDescription
applicationsArray.<string>The list of applications users are allowed to use to create sessions.
expireTimeoutuint16The lifetime duration of a session in minutes.
idleAllowedbooleanDefines whether a session should be automatically killed when the connection breaks.
ipv4RangesArray.<ipv4>
maximum-length of values: 19
Restrict session creation to only the provided IPv4 ranges (using CIDR slash-notation). Leave blank for Internet access.
maxSessionsbyteThe maximum number of sessions allowed per user.
multiUserSessionMultiUserDefines the behaviour of the system when a user creates multiple sessions.
JSON structure
{
	"applications": [
		string
	],
	"expireTimeout": number,
	"idleAllowed": boolean,
	"ipv4Ranges": [
		string
	],
	"maxSessions": number,
	"multiUser": string
}

Dispatch

AssetDispatchobject

The current state of an asset's DispatchJob route progress.
JSON description
PropertyTypeDescription
companyuint64The company to which this asset belongs.
directionsArray.<DispatchDirection>Driving directions and route path details.
iduint64Unique identifier of this asset.
jobsArray.<uint64>The current list of DispatchJobs assigned to the asset.
lastDispatcheddatetimeTimestamp from the last update to this AssetDispatch by a User, Machine, Asset, or an assigned DispatchJob.
processedUtcdatetimeWhen the was change procesed.
tasks
Deprecated
Array.<DispatchTask>The current list of tasks assigned to this asset.
updatedby: login, from: monster
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"company": number,
	"directions": [
		{
			"directions": [
				{ /* recursive DispatchDirection objects */ }
			],
			"distance": number,
			"duration": string,
			"instructions": string,
			"job": number,
			"path": string,
			"step": number
		}
	],
	"id": number,
	"jobs": [
		number
	],
	"lastDispatched": string,
	"processedUtc": string,
	"tasks": [
		{
			"address": string,
			"arrived": string,
			"asset": number,
			"attachments": [
				number
			],
			"company": number,
			"completed": string,
			"created": string,
			"duration": string,
			"eta": string,
			"id": number,
			"instructions": string,
			"latlng": {
				"lat": number,
				"lng": number
			},
			"name": string,
			"notes": string,
			"place": number,
			"processedUtc": string,
			"reference": string,
			"references": {
				string: string
			},
			"signatory": string,
			"signature": boolean,
			"status": string,
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"updated": {
	},
	"v": [
		number
	]
}

DispatchDirectionobject

Driving directions and details like duration and distance.
JSON description
PropertyTypeDescription
directionsArray.<DispatchDirection>For complex routes, the sub-directions provide a breakdown or additional details.
distancedouble?The total distance of these directions (including sub-directions if applicable).
durationtimespanThe total duration of these directions (including sub-directions if applicable).
instructionsstringText hint for the driver for the action to perform.
jobuint64?Unique identifier of the DispatchJob or DispatchTask.
pathpolylineA route path to display on a map.
stepuint64?The DispatchStep.id, if this direction is for DispatchJobs.
JSON structure
{
	"directions": [
		{ /* recursive DispatchDirection objects */ }
	],
	"distance": number,
	"duration": string,
	"instructions": string,
	"job": number,
	"path": string,
	"step": number
}

DispatchJobobject

Some work that needs to be done by performing one or more DispatchSteps.
JSON description
PropertyTypeDescription
assetuint64?The Asset to which this job belongs. This value is null when unassigned.
attachmentsArray.<uint64>
maximum-count: 10
for values see: Document.id
A list of hosted Document identifiers attached to this job.
companyuint64The company to which this job belongs.
createddatetimeWhen this job was originally created.
driverstringClocked-in driver name who made the update. Null if not clocked-in, or no changes have been made.
formsArray.<uint64>
maximum-count: 10
for values see: FormResult.id
A list of hosted FormResult identifiers attached to this job.
iduint64Unique identifier of this job.
instructionsstringInstructions (filled out by dispatcher) for the field-employee to help them complete the job.
labelsArray.<codified>
for values see: LabelStyle.code
Codified label names used to relate (unassigned) jobs to Assets.
namestring
maximum-length: 100
A name for the work needed to be performed.
priorityDispatchJobPriorityThe importance of this job when scheduling for an asset.
processedUtcdatetimeWhen the was change procesed.
referencesObject.<string, string>
maximum-count: 10
maximum-length of keys: 20
maximum-length of values: 100
Name/value collections of custom fields used to refer to external systems.
stepsArray.<DispatchStep>A list of coordinates to visit in order to carry out the work for this job.
tagsArray.<codified>
for values see: LabelStyle.code
The codified status tag names reflecting the conditions of this job.
updatedby: login, from: monster
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"asset": number,
	"attachments": [
		number
	],
	"company": number,
	"created": string,
	"driver": string,
	"forms": [
		number
	],
	"id": number,
	"instructions": string,
	"labels": [
		string
	],
	"name": string,
	"priority": string,
	"processedUtc": string,
	"references": {
		string: string
	},
	"steps": [
		{
			"address": string,
			"duration": string,
			"eta": string,
			"id": number,
			"latlng": {
				"lat": number,
				"lng": number
			},
			"name": string,
			"notes": string,
			"place": number,
			"signatory": string,
			"signature": boolean,
			"states": {
				string: {
					"latlng": {
						"lat": number,
						"lng": number
					},
					"updated": string
				}
			}
		}
	],
	"tags": [
		string
	],
	"updated": {
	},
	"v": [
		number
	]
}

DispatchJobDeletedobject

The message format for when a deleted DispatchJob is retrieved
JSON description
PropertyTypeValueDescription
companyuint64The company to which this job belongs.
deletedbooleantrue
iduint64Unique identifier of this job.
instructionsstringInstructions (filled out by dispatcher) for the field-employee to help them complete the job.
labelsArray.<codified>
for values see: LabelStyle.code
Codified label names used to relate (unassigned) jobs to Assets.
namestring
maximum-length: 100
A name for the work needed to be performed.
sincedatetimeA timestamp from the moment the object was deleted.
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"company": number,
	"deleted": boolean,
	"id": number,
	"instructions": string,
	"labels": [
		string
	],
	"name": string,
	"since": string,
	"v": [
		number
	]
}

DispatchJobPrioritystring

A value assigned to DispatchJobs in order to weigh them when optimizing a route.
ValueDescription
highMore important job that will be routed to first unless the next high importance job is much farther away.
lowLow priority jobs are assigned towards the end of a dispatch, unless they are in very close proximity to another job.
mediumA normal job that will be done at the first opportunity.
standbyWill be done last, after all others, if at all.
urgentMust be done first, before all others.

DispatchStepobject

A portion of work for a DispatchJob.
JSON description
PropertyTypeDescription
addressstring
maximum-length: 500
The street address of where the step must be completed.
durationtimespanThe optional expected duration of the work for this step.
etadatetimeThe optional estimated time of arrival for the asset.
iduint64Identifier for this DispatchStep. This value is unique per DispatchJob, but is not unique system-wide.
latlngLatLngThe lat/long coordinates of where the step must be DispatchStepStatus.completed.
namestring
maximum-length: 100
A name for the work needed to be performed.
notesstringNotes about the status of the work filled in by field-employee.
placeuint64?An optional place which can be used as a template instead of providing lat/long coordinates and a street address.
signatorystring
maximum-length: 100
The name of the person who signed the step's completion.
signaturebooleanIndicates whether this step requires a signature.
statesObject.<DispatchStepStatus, DispatchStepState>The progress of this step.
JSON structure
{
	"address": string,
	"duration": string,
	"eta": string,
	"id": number,
	"latlng": {
		"lat": number,
		"lng": number
	},
	"name": string,
	"notes": string,
	"place": number,
	"signatory": string,
	"signature": boolean,
	"states": {
		string: {
			"latlng": {
				"lat": number,
				"lng": number
			},
			"updated": string
		}
	}
}

DispatchStepStateobject

Details about the lifetime of a DispatchStep.
JSON description
PropertyTypeDescription
latlngLatLngThe coordinates from the Asset when the update happened.
updateddatetimeA timestamp from when the lifetime was updated.
JSON structure
{
	"latlng": {
		"lat": number,
		"lng": number
	},
	"updated": string
}

DispatchStepStatusstring

The lifetime of all DispatchSteps (in order).
ValueDescription
arrivedThe asset has arrived at the DispatchStep's location.
completedThe DispatchStep is done (or the asset has departed the location).
onRouteThe asset is on the way to the DispatchStep's location next.
pendingThe DispatchStep has not yet been started.

DispatchTaskobject Deprecated: Use DispatchJob instead.

A task assigned to an asset which represents a coordinate on the map which must be visited.
JSON description
PropertyTypeDescription
addressstring
maximum-length: 500
The street address of where the task must be completed.
arriveddatetimeThe date/time stamp of when the asset arrived at this task.
assetuint64The asset to which this task belongs.
attachmentsArray.<uint64>
maximum-count: 10
for values see: Document.id
A list of hosted Document identifiers attached to this task.
companyuint64The company to which this task belongs.
completeddatetimeThe date/time stamp of when this task was completed.
createddatetimeWhen this task was created.
durationtimespanThe optional expected duration of the work for this task.
etadatetimeThe optional estimated time of arrival for the asset.
iduint64Unique identifier of this task.
instructionsstringInstructions (filled out by dispatcher) for the field-employee to help them completed the task.
latlngLatLngThe lat/long coordinates of where the task must be completed.
namestring
maximum-length: 100
The name of this task or the work needed to be performed.
notesstringNotes about the status of the work filled in by field-employee.
placeuint64?An optional place which can be used as a template instead of providing lat/long coordinates and a street address.
processedUtcdatetimeWhen the was change procesed.
reference
Deprecated
string
maximum-length: 100
A custom field used to refer to an external system. Examples are a work order, pick-up, waybill, etc...
Use dispatchTask.references[DispatchTask.REFERENCE] instead.
referencesObject.<string, string>
maximum-count: 10
maximum-length of keys: 20
maximum-length of values: 100
Name/value collections of custom fields used to refer to external systems.
signatorystring
maximum-length: 100
The name of the person who signed the task's completion.
signaturebooleanIndicates whether the task has a signature.
status
Deprecated
TaskStatusThe progress of this task.
Use DispatchStepStatus instead.
updatedby: login, from: monster
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"address": string,
	"arrived": string,
	"asset": number,
	"attachments": [
		number
	],
	"company": number,
	"completed": string,
	"created": string,
	"duration": string,
	"eta": string,
	"id": number,
	"instructions": string,
	"latlng": {
		"lat": number,
		"lng": number
	},
	"name": string,
	"notes": string,
	"place": number,
	"processedUtc": string,
	"reference": string,
	"references": {
		string: string
	},
	"signatory": string,
	"signature": boolean,
	"status": string,
	"updated": {
	},
	"v": [
		number
	]
}

DispatchTaskDeletedobject Deprecated: Use DispatchJob instead.

The message format for when a deleted DispatchTask is retrieved
JSON description
PropertyTypeValueDescription
assetuint64The asset to which this task belongs.
companyuint64The company to which this task belongs.
deletedbooleantrue
iduint64Unique identifier of this task.
instructionsstringInstructions (filled out by dispatcher) for the field-employee to help them completed the task.
namestring
maximum-length: 100
The name of this task or the work needed to be performed.
sincedatetimeA timestamp from the moment the object was deleted.
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"asset": number,
	"company": number,
	"deleted": boolean,
	"id": number,
	"instructions": string,
	"name": string,
	"since": string,
	"v": [
		number
	]
}

DispatchTemplateobject

A pre-built set of jobs and steps to quickly dispatch for an Asset.
JSON description
PropertyTypeDescription
assetuint64?The Asset to which the created DispatchJobs would be assigned.
companyuint64The company to which this template belongs.
directionsArray.<DispatchDirection>Driving directions and route path details.
iduint64Unique identifier of this template.
jobsArray.<DispatchTemplateJob>The list of jobs to create when deploying this template.
labelsArray.<codified>
for values see: LabelStyle.code
Codified label names used to target applicable Assets for this dispatch.
namestring
maximum-length: 100
The name of this template.
notesstringNotes about this template.
processedUtcdatetimeWhen the was change procesed.
referencesObject.<string, string>
maximum-count: 10
maximum-length of keys: 20
maximum-length of values: 100
Name/value collections of custom fields used to refer to external systems.
updatedby: login, from: monster
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"asset": number,
	"company": number,
	"directions": [
		{
			"directions": [
				{ /* recursive DispatchDirection objects */ }
			],
			"distance": number,
			"duration": string,
			"instructions": string,
			"job": number,
			"path": string,
			"step": number
		}
	],
	"id": number,
	"jobs": [
		{
			"attachments": [
				number
			],
			"forms": [
				number
			],
			"instructions": string,
			"name": string,
			"priority": string,
			"references": {
				string: string
			},
			"steps": [
				{
					"address": string,
					"duration": string,
					"eta": string,
					"id": number,
					"latlng": {
						"lat": number,
						"lng": number
					},
					"name": string,
					"notes": string,
					"place": number,
					"signatory": string,
					"signature": boolean,
					"states": {
						string: {
							"latlng": {
								"lat": number,
								"lng": number
							},
							"updated": string
						}
					}
				}
			]
		}
	],
	"labels": [
		string
	],
	"name": string,
	"notes": string,
	"processedUtc": string,
	"references": {
		string: string
	},
	"updated": {
	},
	"v": [
		number
	]
}

DispatchTemplateDeletedobject

The message format for when a deleted DispatchTemplate is retrieved
JSON description
PropertyTypeValueDescription
companyuint64The company to which this template belongs.
deletedbooleantrue
iduint64Unique identifier of this template.
labelsArray.<codified>
for values see: LabelStyle.code
Codified label names used to target applicable Assets for this dispatch.
namestring
maximum-length: 100
The name of this template.
notesstringNotes about this template.
sincedatetimeA timestamp from the moment the object was deleted.
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"company": number,
	"deleted": boolean,
	"id": number,
	"labels": [
		string
	],
	"name": string,
	"notes": string,
	"since": string,
	"v": [
		number
	]
}

DispatchTemplateJobobject

A reusable template of work that needs to be done by performing one or more DispatchSteps.
JSON description
PropertyTypeDescription
attachmentsArray.<uint64>
maximum-count: 10
for values see: Document.id
A list of hosted Document identifiers attached to this template.
formsArray.<uint64>
maximum-count: 10
for values see: FormResult.id
A list of hosted FormResult identifiers attached to this template.
instructionsstringInstructions (filled out by dispatcher) for the field-employee to help them completed the job.
namestring
maximum-length: 100
The name of this template or the work needed to be performed.
priorityDispatchJobPriorityThe importance of this job when scheduling for an asset.
referencesObject.<string, string>
maximum-count: 10
maximum-length of keys: 20
maximum-length of values: 100
Name/value collections of custom fields used to refer to external systems.
stepsArray.<DispatchStep>A list of coordinates to visit in order to carry out the work for the created DispatchJob.
JSON structure
{
	"attachments": [
		number
	],
	"forms": [
		number
	],
	"instructions": string,
	"name": string,
	"priority": string,
	"references": {
		string: string
	},
	"steps": [
		{
			"address": string,
			"duration": string,
			"eta": string,
			"id": number,
			"latlng": {
				"lat": number,
				"lng": number
			},
			"name": string,
			"notes": string,
			"place": number,
			"signatory": string,
			"signature": boolean,
			"states": {
				string: {
					"latlng": {
						"lat": number,
						"lng": number
					},
					"updated": string
				}
			}
		}
	]
}

ParamAssetDispatchBatchMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
assetDispatchesArray.<ParameterContent>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"assetDispatches": [
		{
			"directions": [
				{
					"directions": [
						{ /* recursive DispatchDirection objects */ }
					],
					"distance": number,
					"duration": string,
					"instructions": string,
					"job": number,
					"path": string,
					"step": number
				}
			],
			"id": number,
			"jobs": [
				number
			],
			"optimize": boolean,
			"v": [
				number
			]
		}
	],
	"reqId": number
}

ParamAssetDispatchMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
assetDispatchObject.<string, ?>alwaysA simple object to contain the AssetDispatch parameters.
assetDispatch.directionsArray.<DispatchDirection>optionalDriving directions and route path details.
assetDispatch.iduint64alwaysThe unique identifier of the asset you want to update.
assetDispatch.jobsArray.<uint64>optionalThe list of DispatchJobs to be assigned to this asset.
assetDispatch.optimizebooleanoptionalIndicates whether the jobs should be optimized based on distance and priority.
assetDispatch.vArray.<int32>optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"assetDispatch": {
		"directions": [
			{
				"directions": [
					{ /* recursive DispatchDirection objects */ }
				],
				"distance": number,
				"duration": string,
				"instructions": string,
				"job": number,
				"path": string,
				"step": number
			}
		],
		"id": number,
		"jobs": [
			number
		],
		"optimize": boolean,
		"v": [
			number
		]
	},
	"reqId": number
}

ParamDispatchJobBatchDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
dispatchJobsArray.<ParamId>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"dispatchJobs": [
		{
			"id": number
		}
	],
	"reqId": number
}

ParamDispatchJobBatchMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
dispatchJobsArray.<ParameterContent>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"dispatchJobs": [
		{
			"asset": number,
			"attachments": [
				number
			],
			"company": number,
			"forms": [
				number
			],
			"id": number,
			"instructions": string,
			"labels": [
				string
			],
			"name": string,
			"priority": string,
			"references": {
				string: string
			},
			"steps": [
				{
					"address": string,
					"duration": string,
					"eta": string,
					"id": number,
					"latlng": {
						"lat": number,
						"lng": number
					},
					"name": string,
					"place": number,
					"signature": boolean
				}
			],
			"v": [
				number
			]
		}
	],
	"reqId": number
}

ParamDispatchJobChangeBaseParametersobject

Request description
PropertyTypeRequiredDescription
dispatchJobObject.<string, ?>alwaysThe details of a DispatchJob either for creation or update.
dispatchJob.driverstringoptionalName of the driver who completed the DispatchJob.
dispatchJob.iduint64alwaysThe unique identifier of the DispatchJob you want to update.
dispatchJob.stepsArray.<ParamDispatchStepChange>optionalA list of notes and signatories from the completion of the DispatchJob.
dispatchJob.tagsArray.<codified>
for values see: LabelStyle.code
optionalThe codified status tag names reflecting the conditions of the DispatchJob.
dispatchJob.vArray.<int32>optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"dispatchJob": {
		"driver": string,
		"id": number,
		"steps": [
			{
				"id": number,
				"notes": string,
				"signatory": string,
				"status": string
			}
		],
		"tags": [
			string
		],
		"v": [
			number
		]
	},
	"reqId": number
}

ParamDispatchJobDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
dispatchJobParamIdalwaysIdentifier object to contain the DispatchJob's identifier.
dispatchJob.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"dispatchJob": {
		"id": number
	},
	"reqId": number
}

ParamDispatchJobGetBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
dispatchJobParamIdalwaysIdentifier object to contain the DispatchJob's identifier.
dispatchJob.iduint64alwaysIdentifier given as input for the command.
includeDeletedbooleanoptionalfalseWhen true, the command will also return a deleted DispatchTask.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"dispatchJob": {
		"id": number
	},
	"includeDeleted": boolean,
	"reqId": number
}

ParamDispatchJobListByAssetBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
afterdatetimeoptional
assetParamIdalwaysAn object to contain the "id" of the Asset.
asset.iduint64alwaysIdentifier given as input for the command.
beforedatetimeoptional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"after": string,
	"asset": {
		"id": number
	},
	"before": string,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"reqId": number
}

ParamDispatchJobListByAssetAndRefPairsBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
afterdatetimeoptional
assetParamIdalwaysAn object to contain the "id" of the Asset.
asset.iduint64alwaysIdentifier given as input for the command.
beforedatetimeoptional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
referencesObject.<string, string>optionalCase-insensitive reference pairs used to match jobs.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"after": string,
	"asset": {
		"id": number
	},
	"before": string,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"references": {
		string: string
	},
	"reqId": number
}

ParamDispatchJobListByCompanyBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
afterdatetimeoptional
beforedatetimeoptional
companyParamIdalwaysAn object to contain the "id" of the Company.
company.iduint64alwaysIdentifier given as input for the command.
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"after": string,
	"before": string,
	"company": {
		"id": number
	},
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"reqId": number
}

ParamDispatchJobListByCompanyAndLabelsBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
afterdatetimeoptional
beforedatetimeoptional
companyParamIdalwaysAn object to contain the "id" of the Company.
company.iduint64alwaysIdentifier given as input for the command.
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
labelsArray.<string>optionalA list of label codes used to match DispatchJobs. All labels must match to include a DispatchJob in the result.
limituint16?optionalMaximum number of objects in this response.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"after": string,
	"before": string,
	"company": {
		"id": number
	},
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"labels": [
		string
	],
	"limit": number,
	"reqId": number
}

ParamDispatchJobListByCompanyAndRefPairsBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
afterdatetimeoptional
beforedatetimeoptional
companyParamIdalwaysAn object to contain the "id" of the Company.
company.iduint64alwaysIdentifier given as input for the command.
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
referencesObject.<string, string>optionalCase-insensitive reference pairs used to match jobs.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"after": string,
	"before": string,
	"company": {
		"id": number
	},
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"references": {
		string: string
	},
	"reqId": number
}

ParamDispatchJobListByCompanyNoAssetBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
afterdatetimeoptional
beforedatetimeoptional
companyParamIdalwaysAn object to contain the "id" of the Company.
company.iduint64alwaysIdentifier given as input for the command.
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"after": string,
	"before": string,
	"company": {
		"id": number
	},
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"reqId": number
}

ParamDispatchJobListByCompanyNoAssetAndRefPairsBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
afterdatetimeoptional
beforedatetimeoptional
companyParamIdalwaysAn object to contain the "id" of the Company.
company.iduint64alwaysIdentifier given as input for the command.
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
referencesObject.<string, string>optionalCase-insensitive reference pairs used to match jobs.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"after": string,
	"before": string,
	"company": {
		"id": number
	},
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"references": {
		string: string
	},
	"reqId": number
}

ParamDispatchJobMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
dispatchJobObject.<string, ?>alwaysThe details of a DispatchJob either for creation or update.
dispatchJob.assetuint64?optionalThe identifier of the Asset assigned to the DispatchJob.
dispatchJob.attachmentsArray.<uint64>
for values see: Document.id
optionalA list of Document identifiers to attach to the DispatchJob.
dispatchJob.companyuint64?createThe identifier of the Company to which the DispatchJob belongs. After creation, this value is read-only.
dispatchJob.formsArray.<uint64>
for values see: FormResult.id
optionalA list of FormResult identifiers to attach to the DispatchJob.
dispatchJob.iduint64?updateThe unique identifier of the DispatchJob you want to update.
dispatchJob.instructionsstringoptionalInstructions for the driver to help them complete the DispatchJob. Such as which door to use, a buzz code to enter the facility, etc...
dispatchJob.labelsArray.<codified>
for values see: LabelStyle.code
optionalA list of codified label names used to relate (unassigned) DispatchJobs to Assets.
dispatchJob.namestring
maximum-length: 100
createName for the DispatchJob.
dispatchJob.priorityDispatchJobPriority?optionalThe importance of the DispatchJob when scheduling for an asset.
dispatchJob.referencesObject.<string, string>optionalA custom field used to refer the DispatchJob to an external system. Examples are a work order, pick-up, waybill, etc... If value is null, the field is removed from the DispatchJob. If a new value or null is not provided for a current attribute, no change is made.
dispatchJob.stepsArray.<ParamDispatchStep>createA list of coordinates to visit in order to carry out the work for the DispatchJob.
dispatchJob.vArray.<int32>optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"dispatchJob": {
		"asset": number,
		"attachments": [
			number
		],
		"company": number,
		"forms": [
			number
		],
		"id": number,
		"instructions": string,
		"labels": [
			string
		],
		"name": string,
		"priority": string,
		"references": {
			string: string
		},
		"steps": [
			{
				"address": string,
				"duration": string,
				"eta": string,
				"id": number,
				"latlng": {
					"lat": number,
					"lng": number
				},
				"name": string,
				"place": number,
				"signature": boolean
			}
		],
		"v": [
			number
		]
	},
	"reqId": number
}

ParamDispatchJobRestoreBaseParametersobject

Request description
PropertyTypeRequiredDescription
dispatchJobParamIdalwaysIdentifier object to contain the DispatchJob's identifier.
dispatchJob.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"dispatchJob": {
		"id": number
	},
	"reqId": number
}

ParamDispatchStepobject

Parameter values for updating the DispatchStep for a DispatchJob.
JSON description
PropertyTypeDescription
addressstringThe street address of where the step must be completed.
durationtimespanThe optional expected duration of the work for this step.
etadatetimeThe optional estimated time of arrival for the asset.
iduint64?The identifier of the step. Identifiers are unique to a DispatchJob, but are not unique system-wide.
latlngLatLngThe lat/long coordinates of where the step must be DispatchStepStatus.completed.
latlng.latdoubleLatitude
latlng.lngdoubleLongitude
namestringA name for the work needed to be performed.
placeuint64?An optional place which can be used as a template instead of providing lat/long coordinates and a street address.
signaturebooleanWhen true, will mean a signature is required to complete this DispatchStep.
JSON structure
{
	"address": string,
	"duration": string,
	"eta": string,
	"id": number,
	"latlng": {
		"lat": number,
		"lng": number
	},
	"name": string,
	"place": number,
	"signature": boolean
}

ParamDispatchStepChangeobject

Parameter values for completing all DispatchSteps in a DispatchJob.
JSON description
PropertyTypeDescription
iduint64The identifier of the step. Identifiers are unique to a DispatchJob, but are not unique system-wide.
notesstringNotes about the status of the work.
signatorystringThe name of the person who signed the DispatchStep's completion.
statusDispatchStepStatus?Update to the DispatchStepState of the DispatchStep. However, the DispatchStepState.latlng is set to null.
JSON structure
{
	"id": number,
	"notes": string,
	"signatory": string,
	"status": string
}

ParamDispatchTaskBatchDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
dispatchTasksArray.<ParamId>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"dispatchTasks": [
		{
			"id": number
		}
	],
	"reqId": number
}

ParamDispatchTaskBatchMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
dispatchTasksArray.<ParameterContent>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"dispatchTasks": [
		{
			"address": string,
			"asset": number,
			"attachments": [
				number
			],
			"duration": string,
			"eta": string,
			"id": number,
			"instructions": string,
			"latlng": {
				"lat": number,
				"lng": number
			},
			"name": string,
			"notes": string,
			"place": number,
			"references": {
				string: string
			},
			"status": string,
			"v": [
				number
			]
		}
	],
	"reqId": number
}

ParamDispatchTaskDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
dispatchTaskParamIdalwaysIdentifier object to contain the DispatchTask's identifier.
dispatchTask.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"dispatchTask": {
		"id": number
	},
	"reqId": number
}

ParamDispatchTaskGetBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
dispatchTaskParamIdalwaysIdentifier object to contain the DispatchTask's identifier.
dispatchTask.iduint64alwaysIdentifier given as input for the command.
includeDeletedbooleanoptionalfalseWhen true, the command will also return a deleted DispatchTask.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"dispatchTask": {
		"id": number
	},
	"includeDeleted": boolean,
	"reqId": number
}

ParamDispatchTaskListByAssetBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
afterdatetimeoptional
assetParamIdalwaysAn object to contain the "id" of the Asset.
asset.iduint64alwaysIdentifier given as input for the command.
beforedatetimeoptional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"after": string,
	"asset": {
		"id": number
	},
	"before": string,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"reqId": number
}

ParamDispatchTaskListByAssetAndRefBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
afterdatetimeoptional
assetParamIdalwaysAn object to contain the "id" of the Asset.
asset.iduint64alwaysIdentifier given as input for the command.
beforedatetimeoptional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
referencestringoptionalThe "Reference" field value to match.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"after": string,
	"asset": {
		"id": number
	},
	"before": string,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"reference": string,
	"reqId": number
}

ParamDispatchTaskListByAssetAndRefPairsBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
afterdatetimeoptional
assetParamIdalwaysAn object to contain the "id" of the Asset.
asset.iduint64alwaysIdentifier given as input for the command.
beforedatetimeoptional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
referencesObject.<string, string>optionalCase-insensitive reference pairs used to match tasks.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"after": string,
	"asset": {
		"id": number
	},
	"before": string,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"references": {
		string: string
	},
	"reqId": number
}

ParamDispatchTaskListByCompanyBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
afterdatetimeoptional
beforedatetimeoptional
companyParamIdalwaysAn object to contain the "id" of the Company.
company.iduint64alwaysIdentifier given as input for the command.
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"after": string,
	"before": string,
	"company": {
		"id": number
	},
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"reqId": number
}

ParamDispatchTaskListByCompanyAndRefBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
afterdatetimeoptional
beforedatetimeoptional
companyParamIdalwaysAn object to contain the "id" of the Company.
company.iduint64alwaysIdentifier given as input for the command.
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
referencestringoptionalThe "Reference" field value to match.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"after": string,
	"before": string,
	"company": {
		"id": number
	},
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"reference": string,
	"reqId": number
}

ParamDispatchTaskListByCompanyAndRefPairsBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
afterdatetimeoptional
beforedatetimeoptional
companyParamIdalwaysAn object to contain the "id" of the Company.
company.iduint64alwaysIdentifier given as input for the command.
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
referencesObject.<string, string>optionalCase-insensitive reference pairs used to match tasks.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"after": string,
	"before": string,
	"company": {
		"id": number
	},
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"references": {
		string: string
	},
	"reqId": number
}

ParamDispatchTaskMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
dispatchTaskObject.<string, ?>alwaysThe details of a DispatchTask either for creation or update.
dispatchTask.addressstringcreate (conditional)The street address of this DispatchTask. Condition: You must provide a place, a latlng, or an address. Note: If you ommit the address, the geocoder attempts to populate the field, but will not return an error if it fails.
dispatchTask.assetuint64?createThe identifier of the Asset assigned to this DispatchTask.
dispatchTask.attachmentsArray.<uint64>
for values see: Document.id
optionalA list of Document identifiers to attach to this DispatchTask for both driver and dispatcher review.
dispatchTask.durationtimespanoptionalThe duration on site, or how much time is expected to complete the DispatchTask. Used to help calculate other DispatchTask ETAs when routing is performed.
dispatchTask.etadatetimeoptionalEstimated time of arrival.
dispatchTask.iduint64?updateThe unique identifier of the DispatchTask you want to update.
dispatchTask.instructionsstringoptionalInstructions for the driver to help them complete the DispatchTask. Such as which door to use, a buzz code to enter the facility, etc...
dispatchTask.latlngLatLngcreate (conditional)The lat/long coordinates of the street address. Condition: You must provide a place, a latlng, or an address. Note: If you invoke the geocoder, the address is also replaced with the geocoded value.
dispatchTask.latlng.latdoubleoptionalLatitude
dispatchTask.latlng.lngdoubleoptionalLongitude
dispatchTask.namestring
maximum-length: 100
createName for the DispatchTask.
dispatchTask.notesstringoptionalNotes completed by the driver about the DispatchTask. Such as service notes, damaged goods upon pick-up, etc...
dispatchTask.placeuint64?create (conditional)An optional identifier of a Place for this DispatchTask. Using a Place makes detecting the "arrived" status more reliable. Condition: You must provide a place, a latlng, or an address. Note: If you invoke the geocoder, the address is also replaced with the geocoded value.
dispatchTask.referencesObject.<string, string>optionalA custom field used to refer this DispatchTask an external system. Examples are a work order, pick-up, waybill, etc... If value is null, the field is removed from the DispatchTask. If a new value or null is not provided for a current attribute, no change is made.
dispatchTask.statusTaskStatus?optionalDispatchTasks have a lifetime and each status represents a DispatchTask's progress through it's life.
dispatchTask.vArray.<int32>optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"dispatchTask": {
		"address": string,
		"asset": number,
		"attachments": [
			number
		],
		"duration": string,
		"eta": string,
		"id": number,
		"instructions": string,
		"latlng": {
			"lat": number,
			"lng": number
		},
		"name": string,
		"notes": string,
		"place": number,
		"references": {
			string: string
		},
		"status": string,
		"v": [
			number
		]
	},
	"reqId": number
}

ParamDispatchTaskRestoreBaseParametersobject

Request description
PropertyTypeRequiredDescription
dispatchTaskParamIdalwaysIdentifier object to contain the DispatchTask's identifier.
dispatchTask.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"dispatchTask": {
		"id": number
	},
	"reqId": number
}

RespAssetDispatchBatchMergeBaseResponseobject

Response description
PropertyTypeDescription
assetDispatchesArray.<RespIdCompany>Array or responses successfully processed by the sub-command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"assetDispatches": [
		{
			"company": number,
			"id": number
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespAssetDispatchMergeBaseResponseobject

Response description
PropertyTypeDescription
assetDispatchRespIdCompanyAn object which contains the "id" and "company" keys.
assetDispatch.companyuint64Identifier of the Company to which this object belongs.
assetDispatch.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"assetDispatch": {
		"company": number,
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespDispatchJobBatchDeleteBaseResponseobject

Response description
PropertyTypeDescription
dispatchJobsArray.<RespDeleted>Array or responses successfully processed by the sub-command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"dispatchJobs": [
		{
			"company": number,
			"deleted": boolean,
			"id": number,
			"v": [
				number
			]
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespDispatchJobBatchMergeBaseResponseobject

Response description
PropertyTypeDescription
dispatchJobsArray.<RespIdCompany>Array or responses successfully processed by the sub-command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"dispatchJobs": [
		{
			"company": number,
			"id": number
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespDispatchJobChangeBaseResponseobject

Response description
PropertyTypeDescription
dispatchJobRespIdCompanyThe id, owning Company id and owning Asset id of the object requested/created.
dispatchJob.companyuint64Identifier of the Company to which this object belongs.
dispatchJob.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"dispatchJob": {
		"company": number,
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespDispatchJobDeleteBaseResponseobject

Response description
PropertyTypeDescription
dispatchJobRespDeletedThe id, owning Asset id, owning Company id, and deleted state.
dispatchJob.companyuint64Identifier of the Company to which this object belongs.
dispatchJob.deletedbooleanFlag showing if the object is deleted.
dispatchJob.iduint64?Identifier given as input for the command.
dispatchJob.vArray.<uint32>
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"dispatchJob": {
		"company": number,
		"deleted": boolean,
		"id": number,
		"v": [
			number
		]
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespDispatchJobGetBaseResponseobject

Response description
PropertyTypeDescription
dispatchJobDispatchJobThe requested DispatchJob.
dispatchJob.assetuint64?The Asset to which this job belongs. This value is null when unassigned.
dispatchJob.attachmentsArray.<uint64>
maximum-count: 10
for values see: Document.id
A list of hosted Document identifiers attached to this job.
dispatchJob.companyuint64The company to which this job belongs.
dispatchJob.createddatetimeWhen this job was originally created.
dispatchJob.driverstringClocked-in driver name who made the update. Null if not clocked-in, or no changes have been made.
dispatchJob.formsArray.<uint64>
maximum-count: 10
for values see: FormResult.id
A list of hosted FormResult identifiers attached to this job.
dispatchJob.iduint64Unique identifier of this job.
dispatchJob.instructionsstringInstructions (filled out by dispatcher) for the field-employee to help them complete the job.
dispatchJob.labelsArray.<codified>
for values see: LabelStyle.code
Codified label names used to relate (unassigned) jobs to Assets.
dispatchJob.namestring
maximum-length: 100
A name for the work needed to be performed.
dispatchJob.priorityDispatchJobPriorityThe importance of this job when scheduling for an asset.
dispatchJob.processedUtcdatetimeWhen the was change procesed.
dispatchJob.referencesObject.<string, string>
maximum-count: 10
maximum-length of keys: 20
maximum-length of values: 100
Name/value collections of custom fields used to refer to external systems.
dispatchJob.stepsArray.<DispatchStep>A list of coordinates to visit in order to carry out the work for this job.
dispatchJob.tagsArray.<codified>
for values see: LabelStyle.code
The codified status tag names reflecting the conditions of this job.
dispatchJob.updatedby: login, from: monster
dispatchJob.vArray.<uint32>Object version keys used to validate synchronization for all object properties.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"dispatchJob": {
		"asset": number,
		"attachments": [
			number
		],
		"company": number,
		"created": string,
		"driver": string,
		"forms": [
			number
		],
		"id": number,
		"instructions": string,
		"labels": [
			string
		],
		"name": string,
		"priority": string,
		"processedUtc": string,
		"references": {
			string: string
		},
		"steps": [
			{
				"address": string,
				"duration": string,
				"eta": string,
				"id": number,
				"latlng": {
					"lat": number,
					"lng": number
				},
				"name": string,
				"notes": string,
				"place": number,
				"signatory": string,
				"signature": boolean,
				"states": {
					string: {
						"latlng": {
							"lat": number,
							"lng": number
						},
						"updated": string
					}
				}
			}
		],
		"tags": [
			string
		],
		"updated": {
		},
		"v": [
			number
		]
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespDispatchJobListByAssetBaseResponseobject

Response description
PropertyTypeDescription
assetRespIdCompanyAn object to contain the "id" of the Asset to which the array of DispatchJobs belong.
asset.companyuint64Identifier of the Company to which this object belongs.
asset.iduint64?Identifier given as input for the command.
dispatchJobsArray.<DispatchJob>The list of requested DispatchJobs.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"asset": {
		"company": number,
		"id": number
	},
	"dispatchJobs": [
		{
			"asset": number,
			"attachments": [
				number
			],
			"company": number,
			"created": string,
			"driver": string,
			"forms": [
				number
			],
			"id": number,
			"instructions": string,
			"labels": [
				string
			],
			"name": string,
			"priority": string,
			"processedUtc": string,
			"references": {
				string: string
			},
			"steps": [
				{
					"address": string,
					"duration": string,
					"eta": string,
					"id": number,
					"latlng": {
						"lat": number,
						"lng": number
					},
					"name": string,
					"notes": string,
					"place": number,
					"signatory": string,
					"signature": boolean,
					"states": {
						string: {
							"latlng": {
								"lat": number,
								"lng": number
							},
							"updated": string
						}
					}
				}
			],
			"tags": [
				string
			],
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespDispatchJobListByAssetAndRefPairsBaseResponseobject

Response description
PropertyTypeDescription
assetRespIdCompanyAn object to contain the "id" of the Asset to which the array of DispatchJobs belong.
asset.companyuint64Identifier of the Company to which this object belongs.
asset.iduint64?Identifier given as input for the command.
dispatchJobsArray.<DispatchJob>The list of requested DispatchJobs.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
referencesObject.<string, string>The reference string given as input.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"asset": {
		"company": number,
		"id": number
	},
	"dispatchJobs": [
		{
			"asset": number,
			"attachments": [
				number
			],
			"company": number,
			"created": string,
			"driver": string,
			"forms": [
				number
			],
			"id": number,
			"instructions": string,
			"labels": [
				string
			],
			"name": string,
			"priority": string,
			"processedUtc": string,
			"references": {
				string: string
			},
			"steps": [
				{
					"address": string,
					"duration": string,
					"eta": string,
					"id": number,
					"latlng": {
						"lat": number,
						"lng": number
					},
					"name": string,
					"notes": string,
					"place": number,
					"signatory": string,
					"signature": boolean,
					"states": {
						string: {
							"latlng": {
								"lat": number,
								"lng": number
							},
							"updated": string
						}
					}
				}
			],
			"tags": [
				string
			],
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"references": {
		string: string
	},
	"reqId": number
}

RespDispatchJobListByCompanyBaseResponseobject

Response description
PropertyTypeDescription
companyRespIdAn object to contain the "id" of the Company to which the array of DispatchJobs belong.
company.iduint64?Identifier given as input for the command.
dispatchJobsArray.<DispatchJob>The list of requested DispatchJobs.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"company": {
		"id": number
	},
	"dispatchJobs": [
		{
			"asset": number,
			"attachments": [
				number
			],
			"company": number,
			"created": string,
			"driver": string,
			"forms": [
				number
			],
			"id": number,
			"instructions": string,
			"labels": [
				string
			],
			"name": string,
			"priority": string,
			"processedUtc": string,
			"references": {
				string: string
			},
			"steps": [
				{
					"address": string,
					"duration": string,
					"eta": string,
					"id": number,
					"latlng": {
						"lat": number,
						"lng": number
					},
					"name": string,
					"notes": string,
					"place": number,
					"signatory": string,
					"signature": boolean,
					"states": {
						string: {
							"latlng": {
								"lat": number,
								"lng": number
							},
							"updated": string
						}
					}
				}
			],
			"tags": [
				string
			],
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespDispatchJobListByCompanyAndLabelsBaseResponseobject

Response description
PropertyTypeDescription
companyRespIdAn object to contain the "id" of the Company to which the array of DispatchJobs belong.
company.iduint64?Identifier given as input for the command.
dispatchJobsArray.<DispatchJob>The list of requested DispatchJobs.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
labelsArray.<string>The labels given as input.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"company": {
		"id": number
	},
	"dispatchJobs": [
		{
			"asset": number,
			"attachments": [
				number
			],
			"company": number,
			"created": string,
			"driver": string,
			"forms": [
				number
			],
			"id": number,
			"instructions": string,
			"labels": [
				string
			],
			"name": string,
			"priority": string,
			"processedUtc": string,
			"references": {
				string: string
			},
			"steps": [
				{
					"address": string,
					"duration": string,
					"eta": string,
					"id": number,
					"latlng": {
						"lat": number,
						"lng": number
					},
					"name": string,
					"notes": string,
					"place": number,
					"signatory": string,
					"signature": boolean,
					"states": {
						string: {
							"latlng": {
								"lat": number,
								"lng": number
							},
							"updated": string
						}
					}
				}
			],
			"tags": [
				string
			],
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"labels": [
		string
	],
	"message": string,
	"reqId": number
}

RespDispatchJobListByCompanyAndRefPairsBaseResponseobject

Response description
PropertyTypeDescription
companyRespIdAn object to contain the "id" of the Company to which the array of DispatchJobs belong.
company.iduint64?Identifier given as input for the command.
dispatchJobsArray.<DispatchJob>The list of requested DispatchJobs.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
referencesObject.<string, string>The reference string given as input.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"company": {
		"id": number
	},
	"dispatchJobs": [
		{
			"asset": number,
			"attachments": [
				number
			],
			"company": number,
			"created": string,
			"driver": string,
			"forms": [
				number
			],
			"id": number,
			"instructions": string,
			"labels": [
				string
			],
			"name": string,
			"priority": string,
			"processedUtc": string,
			"references": {
				string: string
			},
			"steps": [
				{
					"address": string,
					"duration": string,
					"eta": string,
					"id": number,
					"latlng": {
						"lat": number,
						"lng": number
					},
					"name": string,
					"notes": string,
					"place": number,
					"signatory": string,
					"signature": boolean,
					"states": {
						string: {
							"latlng": {
								"lat": number,
								"lng": number
							},
							"updated": string
						}
					}
				}
			],
			"tags": [
				string
			],
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"references": {
		string: string
	},
	"reqId": number
}

RespDispatchJobListByCompanyNoAssetBaseResponseobject

Response description
PropertyTypeDescription
companyRespIdAn object to contain the "id" of the Company to which the array of DispatchJobs belong.
company.iduint64?Identifier given as input for the command.
dispatchJobsArray.<DispatchJob>The list of requested DispatchJobs.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"company": {
		"id": number
	},
	"dispatchJobs": [
		{
			"asset": number,
			"attachments": [
				number
			],
			"company": number,
			"created": string,
			"driver": string,
			"forms": [
				number
			],
			"id": number,
			"instructions": string,
			"labels": [
				string
			],
			"name": string,
			"priority": string,
			"processedUtc": string,
			"references": {
				string: string
			},
			"steps": [
				{
					"address": string,
					"duration": string,
					"eta": string,
					"id": number,
					"latlng": {
						"lat": number,
						"lng": number
					},
					"name": string,
					"notes": string,
					"place": number,
					"signatory": string,
					"signature": boolean,
					"states": {
						string: {
							"latlng": {
								"lat": number,
								"lng": number
							},
							"updated": string
						}
					}
				}
			],
			"tags": [
				string
			],
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespDispatchJobListByCompanyNoAssetAndRefPairsBaseResponseobject

Response description
PropertyTypeDescription
companyRespIdAn object to contain the "id" of the Company to which the array of DispatchJobs belong.
company.iduint64?Identifier given as input for the command.
dispatchJobsArray.<DispatchJob>The list of requested DispatchJobs.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
referencesObject.<string, string>The reference string given as input.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"company": {
		"id": number
	},
	"dispatchJobs": [
		{
			"asset": number,
			"attachments": [
				number
			],
			"company": number,
			"created": string,
			"driver": string,
			"forms": [
				number
			],
			"id": number,
			"instructions": string,
			"labels": [
				string
			],
			"name": string,
			"priority": string,
			"processedUtc": string,
			"references": {
				string: string
			},
			"steps": [
				{
					"address": string,
					"duration": string,
					"eta": string,
					"id": number,
					"latlng": {
						"lat": number,
						"lng": number
					},
					"name": string,
					"notes": string,
					"place": number,
					"signatory": string,
					"signature": boolean,
					"states": {
						string: {
							"latlng": {
								"lat": number,
								"lng": number
							},
							"updated": string
						}
					}
				}
			],
			"tags": [
				string
			],
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"references": {
		string: string
	},
	"reqId": number
}

RespDispatchJobMergeBaseResponseobject

Response description
PropertyTypeDescription
dispatchJobRespIdCompanyThe id, owning Company id and owning Asset id of the object requested/created.
dispatchJob.companyuint64Identifier of the Company to which this object belongs.
dispatchJob.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"dispatchJob": {
		"company": number,
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespDispatchJobRestoreBaseResponseobject

Response description
PropertyTypeDescription
dispatchJobRespDeletedThe id, owning Asset id, owning Company id, and deleted state.
dispatchJob.companyuint64Identifier of the Company to which this object belongs.
dispatchJob.deletedbooleanFlag showing if the object is deleted.
dispatchJob.iduint64?Identifier given as input for the command.
dispatchJob.vArray.<uint32>
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"dispatchJob": {
		"company": number,
		"deleted": boolean,
		"id": number,
		"v": [
			number
		]
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespDispatchTaskBatchDeleteBaseResponseobject

Response description
PropertyTypeDescription
dispatchTasksArray.<RespAssetDeleted>Array or responses successfully processed by the sub-command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"dispatchTasks": [
		{
			"asset": number,
			"company": number,
			"deleted": boolean,
			"id": number,
			"v": [
				number
			]
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespDispatchTaskBatchMergeBaseResponseobject

Response description
PropertyTypeDescription
dispatchTasksArray.<RespIdAsset>Array or responses successfully processed by the sub-command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"dispatchTasks": [
		{
			"asset": number,
			"company": number,
			"id": number
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespDispatchTaskDeleteBaseResponseobject

Response description
PropertyTypeDescription
dispatchTaskRespAssetDeletedThe id, owning Asset id, owning Company id, and deleted state.
dispatchTask.assetuint64Identifier of the Asset to which this object belongs.
dispatchTask.companyuint64Identifier of the Company to which this object belongs.
dispatchTask.deletedbooleanFlag showing if the object is deleted.
dispatchTask.iduint64?Identifier given as input for the command.
dispatchTask.vArray.<uint32>
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"dispatchTask": {
		"asset": number,
		"company": number,
		"deleted": boolean,
		"id": number,
		"v": [
			number
		]
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespDispatchTaskGetBaseResponseobject

Response description
PropertyTypeDescription
dispatchTask
Deprecated
DispatchTaskThe requested DispatchTask.
Use DispatchJob instead.
dispatchTask.addressstring
maximum-length: 500
The street address of where the task must be completed.
dispatchTask.arriveddatetimeThe date/time stamp of when the asset arrived at this task.
dispatchTask.assetuint64The asset to which this task belongs.
dispatchTask.attachmentsArray.<uint64>
maximum-count: 10
for values see: Document.id
A list of hosted Document identifiers attached to this task.
dispatchTask.companyuint64The company to which this task belongs.
dispatchTask.completeddatetimeThe date/time stamp of when this task was completed.
dispatchTask.createddatetimeWhen this task was created.
dispatchTask.durationtimespanThe optional expected duration of the work for this task.
dispatchTask.etadatetimeThe optional estimated time of arrival for the asset.
dispatchTask.iduint64Unique identifier of this task.
dispatchTask.instructionsstringInstructions (filled out by dispatcher) for the field-employee to help them completed the task.
dispatchTask.latlngLatLngThe lat/long coordinates of where the task must be completed.
dispatchTask.latlng.latdoubleLatitude
dispatchTask.latlng.lngdoubleLongitude
dispatchTask.namestring
maximum-length: 100
The name of this task or the work needed to be performed.
dispatchTask.notesstringNotes about the status of the work filled in by field-employee.
dispatchTask.placeuint64?An optional place which can be used as a template instead of providing lat/long coordinates and a street address.
dispatchTask.processedUtcdatetimeWhen the was change procesed.
dispatchTask.reference
Deprecated
string
maximum-length: 100
A custom field used to refer to an external system. Examples are a work order, pick-up, waybill, etc...
Use dispatchTask.references[DispatchTask.REFERENCE] instead.
dispatchTask.referencesObject.<string, string>
maximum-count: 10
maximum-length of keys: 20
maximum-length of values: 100
Name/value collections of custom fields used to refer to external systems.
dispatchTask.signatorystring
maximum-length: 100
The name of the person who signed the task's completion.
dispatchTask.signaturebooleanIndicates whether the task has a signature.
dispatchTask.status
Deprecated
TaskStatusThe progress of this task.
Use DispatchStepStatus instead.
dispatchTask.updatedby: login, from: monster
dispatchTask.vArray.<uint32>Object version keys used to validate synchronization for all object properties.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"dispatchTask": {
		"address": string,
		"arrived": string,
		"asset": number,
		"attachments": [
			number
		],
		"company": number,
		"completed": string,
		"created": string,
		"duration": string,
		"eta": string,
		"id": number,
		"instructions": string,
		"latlng": {
			"lat": number,
			"lng": number
		},
		"name": string,
		"notes": string,
		"place": number,
		"processedUtc": string,
		"reference": string,
		"references": {
			string: string
		},
		"signatory": string,
		"signature": boolean,
		"status": string,
		"updated": {
		},
		"v": [
			number
		]
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespDispatchTaskListByAssetBaseResponseobject

Response description
PropertyTypeDescription
assetRespIdCompanyAn object to contain the "id" of the Asset to which the array of DispatchTasks belong.
asset.companyuint64Identifier of the Company to which this object belongs.
asset.iduint64?Identifier given as input for the command.
dispatchTasksArray.<DispatchTask>The list of requested DispatchTasks.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"asset": {
		"company": number,
		"id": number
	},
	"dispatchTasks": [
		{
			"address": string,
			"arrived": string,
			"asset": number,
			"attachments": [
				number
			],
			"company": number,
			"completed": string,
			"created": string,
			"duration": string,
			"eta": string,
			"id": number,
			"instructions": string,
			"latlng": {
				"lat": number,
				"lng": number
			},
			"name": string,
			"notes": string,
			"place": number,
			"processedUtc": string,
			"reference": string,
			"references": {
				string: string
			},
			"signatory": string,
			"signature": boolean,
			"status": string,
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespDispatchTaskListByAssetAndRefBaseResponseobject

Response description
PropertyTypeDescription
assetRespIdCompanyAn object to contain the "id" of the Asset to which the array of DispatchTasks belong.
asset.companyuint64Identifier of the Company to which this object belongs.
asset.iduint64?Identifier given as input for the command.
dispatchTasksArray.<DispatchTask>The list of requested DispatchTasks.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
referencestringThe "Reference" value given as input.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"asset": {
		"company": number,
		"id": number
	},
	"dispatchTasks": [
		{
			"address": string,
			"arrived": string,
			"asset": number,
			"attachments": [
				number
			],
			"company": number,
			"completed": string,
			"created": string,
			"duration": string,
			"eta": string,
			"id": number,
			"instructions": string,
			"latlng": {
				"lat": number,
				"lng": number
			},
			"name": string,
			"notes": string,
			"place": number,
			"processedUtc": string,
			"reference": string,
			"references": {
				string: string
			},
			"signatory": string,
			"signature": boolean,
			"status": string,
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reference": string,
	"reqId": number
}

RespDispatchTaskListByAssetAndRefPairsBaseResponseobject

Response description
PropertyTypeDescription
assetRespIdCompanyAn object to contain the "id" of the Asset to which the array of DispatchTasks belong.
asset.companyuint64Identifier of the Company to which this object belongs.
asset.iduint64?Identifier given as input for the command.
dispatchTasksArray.<DispatchTask>The list of requested DispatchTasks.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
referencesObject.<string, string>The reference string given as input.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"asset": {
		"company": number,
		"id": number
	},
	"dispatchTasks": [
		{
			"address": string,
			"arrived": string,
			"asset": number,
			"attachments": [
				number
			],
			"company": number,
			"completed": string,
			"created": string,
			"duration": string,
			"eta": string,
			"id": number,
			"instructions": string,
			"latlng": {
				"lat": number,
				"lng": number
			},
			"name": string,
			"notes": string,
			"place": number,
			"processedUtc": string,
			"reference": string,
			"references": {
				string: string
			},
			"signatory": string,
			"signature": boolean,
			"status": string,
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"references": {
		string: string
	},
	"reqId": number
}

RespDispatchTaskListByCompanyBaseResponseobject

Response description
PropertyTypeDescription
companyRespIdAn object to contain the "id" of the Company to which the array of DispatchTasks belong.
company.iduint64?Identifier given as input for the command.
dispatchTasksArray.<DispatchTask>The list of requested DispatchTasks.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"company": {
		"id": number
	},
	"dispatchTasks": [
		{
			"address": string,
			"arrived": string,
			"asset": number,
			"attachments": [
				number
			],
			"company": number,
			"completed": string,
			"created": string,
			"duration": string,
			"eta": string,
			"id": number,
			"instructions": string,
			"latlng": {
				"lat": number,
				"lng": number
			},
			"name": string,
			"notes": string,
			"place": number,
			"processedUtc": string,
			"reference": string,
			"references": {
				string: string
			},
			"signatory": string,
			"signature": boolean,
			"status": string,
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespDispatchTaskListByCompanyAndRefBaseResponseobject

Response description
PropertyTypeDescription
companyRespIdAn object to contain the "id" of the Company to which the array of DispatchTasks belong.
company.iduint64?Identifier given as input for the command.
dispatchTasksArray.<DispatchTask>The list of requested DispatchTasks.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
referencestringThe "Reference" value given as input.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"company": {
		"id": number
	},
	"dispatchTasks": [
		{
			"address": string,
			"arrived": string,
			"asset": number,
			"attachments": [
				number
			],
			"company": number,
			"completed": string,
			"created": string,
			"duration": string,
			"eta": string,
			"id": number,
			"instructions": string,
			"latlng": {
				"lat": number,
				"lng": number
			},
			"name": string,
			"notes": string,
			"place": number,
			"processedUtc": string,
			"reference": string,
			"references": {
				string: string
			},
			"signatory": string,
			"signature": boolean,
			"status": string,
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reference": string,
	"reqId": number
}

RespDispatchTaskListByCompanyAndRefPairsBaseResponseobject

Response description
PropertyTypeDescription
companyRespIdAn object to contain the "id" of the Company to which the array of DispatchTasks belong.
company.iduint64?Identifier given as input for the command.
dispatchTasksArray.<DispatchTask>The list of requested DispatchTasks.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
referencesObject.<string, string>The reference string given as input.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"company": {
		"id": number
	},
	"dispatchTasks": [
		{
			"address": string,
			"arrived": string,
			"asset": number,
			"attachments": [
				number
			],
			"company": number,
			"completed": string,
			"created": string,
			"duration": string,
			"eta": string,
			"id": number,
			"instructions": string,
			"latlng": {
				"lat": number,
				"lng": number
			},
			"name": string,
			"notes": string,
			"place": number,
			"processedUtc": string,
			"reference": string,
			"references": {
				string: string
			},
			"signatory": string,
			"signature": boolean,
			"status": string,
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"references": {
		string: string
	},
	"reqId": number
}

RespDispatchTaskMergeBaseResponseobject

Response description
PropertyTypeDescription
dispatchTaskRespIdAssetThe id, owning Asset id, and owning Company id of the object requested/created.
dispatchTask.assetuint64Identifier of the Asset to which this object belongs
dispatchTask.companyuint64Identifier of the Company to which this object belongs.
dispatchTask.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"dispatchTask": {
		"asset": number,
		"company": number,
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespDispatchTaskRestoreBaseResponseobject

Response description
PropertyTypeDescription
dispatchTaskRespAssetDeletedThe id, owning Asset id, owning Company id, and deleted state.
dispatchTask.assetuint64Identifier of the Asset to which this object belongs.
dispatchTask.companyuint64Identifier of the Company to which this object belongs.
dispatchTask.deletedbooleanFlag showing if the object is deleted.
dispatchTask.iduint64?Identifier given as input for the command.
dispatchTask.vArray.<uint32>
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"dispatchTask": {
		"asset": number,
		"company": number,
		"deleted": boolean,
		"id": number,
		"v": [
			number
		]
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

TaskStatusstring Deprecated: Use DispatchStepStatus instead.

Tasks have a lifetime and each status represents a task's progress through it's life.
ValueDescription
arrived
Deprecated
The asset has arrived at the task's location.
Use DispatchStepStatus instead.
cancelled
Deprecated
The task was cancelled by either the asset or a user.
Use DispatchStepStatus instead.
completed
Deprecated
The task is done.
Use DispatchStepStatus instead.
created
Deprecated
The task has been created, but not yet assigned to an asset.
Use DispatchStepStatus instead.
damaged
Deprecated
An item associated with this task is damaged.
Use DispatchStepStatus instead.
droppedOff
Deprecated
An item was dropped-off for this task.
Use DispatchStepStatus instead.
onRoute
Deprecated
The asset is on the way to the task's location next.
Use DispatchStepStatus instead.
pickedUp
Deprecated
An item was picked-up for this task.
Use DispatchStepStatus instead.
queued
Deprecated
The task has been given to an asset (and delivered to the asset's primary device).
Use DispatchStepStatus instead.
unsuccessful
Deprecated
The task couldn't be completed by the asset.
Use DispatchStepStatus instead.
waiting
Deprecated
The asset is waiting and can't complete the task.
Use DispatchStepStatus instead.

File Hosting

DashcamDataobject

An image or video received from a dashcam-enabled provider or asset.
JSON description
PropertyTypeDescription
altitudedoubleAltitude of the start of the resource.
assetuint64?Unique identifier of the asset tied to the provider at the time.
bytesuint64Number bytes in the dashcam media file.
camerabyteNumber assigned to the camera that took the image/video.
companyuint64Unique identifier of the company of the provider.
enddatetimeTimestamp of when this resource ended. For DashcamDataType.image media files, the start and end are the same.
eventNamestringThe reason why we're saving this image/video. Or the event name that triggered it.
fpssingle?For DashcamDataType.video media files, this indicates the frames-per-second.
guidguidUnique identifier of this resource.
headingdoubleHeading of the start of the resource.
kindDashcamDataTypeThe type of data being stored.
latitudedoubleLatitude of the start of the resource.
longitudedoubleLongitude of the start of the resource.
providerstringUnique identifier of the provider that sent the data.
sizeSizeResolution defined in pixels.
speeddoubleSpeed of the start of the resource.
startdatetimeTimestamp of when this resource started. For DashcamDataType.image media files, the start and end are the same.
JSON structure
{
	"altitude": number,
	"asset": number,
	"bytes": number,
	"camera": number,
	"company": number,
	"end": string,
	"eventName": string,
	"fps": number,
	"guid": string,
	"heading": number,
	"kind": string,
	"latitude": number,
	"longitude": number,
	"provider": string,
	"size": {
		"height": number,
		"width": number
	},
	"speed": number,
	"start": string
}

DashcamDataLiveobject

An live snapshot a dashcam-enabled provider or asset.
JSON description
PropertyTypeValueDescription
altitudedoubleAltitude of the start of the resource.
assetuint64?Unique identifier of the asset tied to the provider at the time.
bytesuint64Number bytes in the dashcam media file.
camerabyteNumber assigned to the camera that took the image/video.
companyuint64Unique identifier of the company of the provider.
dtsdatetimeTimestamp of this live camera image.
headingdoubleHeading of the start of the resource.
kindDashcamDataTypeDashcamDataType.imageThe type of data being stored.
latitudedoubleLatitude of the start of the resource.
longitudedoubleLongitude of the start of the resource.
providerstringUnique identifier of the provider that sent the data.
sizeSizeResolution defined in pixels.
speeddoubleSpeed of the start of the resource.
JSON structure
{
	"altitude": number,
	"asset": number,
	"bytes": number,
	"camera": number,
	"company": number,
	"dts": string,
	"heading": number,
	"kind": string,
	"latitude": number,
	"longitude": number,
	"provider": string,
	"size": {
		"height": number,
		"width": number
	},
	"speed": number
}

DashcamDataTypestring

The type of dashcam data being stored.
ValueDescription
imageImage
unknownUnknown or other.
videoVideo

Documentobject

A file stored temporarily by the system.
JSON description
PropertyTypeDescription
bytesuint64The file-size on the disk.
companyuint64The company to which this file belongs.
expirydatetimeThe date and time this fill will be automatically purged from our system.
iduint64Unique identifier of this file.
mimestring
maximum-length: 50
The MIME type of the file.
namestring
maximum-length: 100
The file name of this file.
notesstringNotes about this file.
processedUtcdatetimeWhen the was change procesed.
referencesObject.<string, string>
maximum-count: 10
maximum-length of keys: 20
maximum-length of values: 100
Name/value collections of custom fields used to refer to external systems.
srcstring
maximum-length: 200
The URL/path to find this file.
updatedby: login, from: monster
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"bytes": number,
	"company": number,
	"expiry": string,
	"id": number,
	"mime": string,
	"name": string,
	"notes": string,
	"processedUtc": string,
	"references": {
		string: string
	},
	"src": string,
	"updated": {
	},
	"v": [
		number
	]
}

DocumentDeletedobject

The message format for when a deleted Document is retrieved
JSON description
PropertyTypeValueDescription
companyuint64The company to which this file belongs.
deletedbooleantrue
iduint64Unique identifier of this file.
namestring
maximum-length: 100
The file name of this file.
notesstringNotes about this file.
sincedatetimeA timestamp from the moment the object was deleted.
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"company": number,
	"deleted": boolean,
	"id": number,
	"name": string,
	"notes": string,
	"since": string,
	"v": [
		number
	]
}

FormFieldAttachmentsFormFieldBaseobject

A control to allow the user to attach Pictures or Documents.
JSON description
PropertyTypeDescription
editablebooleanWhen false, this field's value is treated as read-only.
iduint64Identifier for this field. This value is unique per FormTemplate, but is not unique system-wide.
kindFormFieldTypeThe type of interface control that should be presented to the user.
maximumbyte?Maximum number of Documents and/or Pictures that must be attached.
minimumbyte?Minimum number of Documents and/or Pictures that must be attached.
namestringName of the field.
notesstringNotes or special instructions for this control.
requiredbooleanWhen true, a valid value must be given for this field.
valuestringThe default value for the field in the template.
JSON structure
{
	"editable": boolean,
	"id": number,
	"kind": string,
	"maximum": number,
	"minimum": number,
	"name": string,
	"notes": string,
	"required": boolean,
	"value": string
}

FormFieldBaseobject Abstract

A base class for the common form field UI members.
JSON description
PropertyTypeDescription
editablebooleanWhen false, this field's value is treated as read-only.
iduint64Identifier for this field. This value is unique per FormTemplate, but is not unique system-wide.
kindFormFieldTypeThe type of interface control that should be presented to the user.
namestringName of the field.
notesstringNotes or special instructions for this control.
requiredbooleanWhen true, a valid value must be given for this field.
valuestringThe default value for the field in the template.
JSON structure
{
	"editable": boolean,
	"id": number,
	"kind": string,
	"name": string,
	"notes": string,
	"required": boolean,
	"value": string
}

FormFieldBooleanFormFieldBaseobject

A true/false (or either-or) input control.
JSON description
PropertyTypeDescription
choicesArray.<string>These three values are the values of the choices presented. The first value is the "checked" value, second is the "unchecked" value, and third is "indeterminate" value.
editablebooleanWhen false, this field's value is treated as read-only.
iduint64Identifier for this field. This value is unique per FormTemplate, but is not unique system-wide.
kindFormFieldTypeThe type of interface control that should be presented to the user.
namestringName of the field.
notesstringNotes or special instructions for this control.
requiredbooleanWhen true, a valid value must be given for this field.
valuestringThe default value for the field in the template.
JSON structure
{
	"choices": [
		string
	],
	"editable": boolean,
	"id": number,
	"kind": string,
	"name": string,
	"notes": string,
	"required": boolean,
	"value": string
}

FormFieldChoiceFormFieldBaseobject

A single- or multiple-choice input control.
JSON description
PropertyTypeDescription
choicesObject.<string, string>The list of choices available and their values.
editablebooleanWhen false, this field's value is treated as read-only.
iduint64Identifier for this field. This value is unique per FormTemplate, but is not unique system-wide.
kindFormFieldTypeThe type of interface control that should be presented to the user.
maximumbyte?Maximum number of choices that must be selected.
minimumbyte?Minimum number of choices that must be selected.
namestringName of the field.
notesstringNotes or special instructions for this control.
requiredbooleanWhen true, a valid value must be given for this field.
valuestringThe default value for the field in the template.
JSON structure
{
	"choices": {
		string: string
	},
	"editable": boolean,
	"id": number,
	"kind": string,
	"maximum": number,
	"minimum": number,
	"name": string,
	"notes": string,
	"required": boolean,
	"value": string
}

FormFieldDateFormFieldBaseobject

A control to choose a date and (optionally) a time.
JSON description
PropertyTypeDescription
editablebooleanWhen false, this field's value is treated as read-only.
iduint64Identifier for this field. This value is unique per FormTemplate, but is not unique system-wide.
kindFormFieldTypeThe type of interface control that should be presented to the user.
maximumdatetimeThe latest date or date/time.
minimumdatetimeThe earliest date or date/time.
namestringName of the field.
notesstringNotes or special instructions for this control.
requiredbooleanWhen true, a valid value must be given for this field.
valuestringThe default value for the field in the template.
JSON structure
{
	"editable": boolean,
	"id": number,
	"kind": string,
	"maximum": string,
	"minimum": string,
	"name": string,
	"notes": string,
	"required": boolean,
	"value": string
}

FormFieldNumericFormFieldBaseobject

A numeric value input control with multiple contexts available.
JSON description
PropertyTypeDescription
editablebooleanWhen false, this field's value is treated as read-only.
iduint64Identifier for this field. This value is unique per FormTemplate, but is not unique system-wide.
kindFormFieldTypeThe type of interface control that should be presented to the user.
maximumdouble?The (optional) maximum value.
minimumdouble?The (optional) minimum value.
namestringName of the field.
notesstringNotes or special instructions for this control.
precisionbyteNumber of decimal places of accuracy are required.
requiredbooleanWhen true, a valid value must be given for this field.
sizeFormFieldNumericSizeA context hint for the kind of numeric size for this field. Used only for FormFieldType.distance, FormFieldType.weight, FormFieldType.volume, and FormFieldType.speed.
stepdoubleThe numeric value increments by this amount.
unitsstringAn optional suffix for this numeric value, like "%" or "ppm". This value is ignored for FormFieldType.distance, FormFieldType.weight, FormFieldType.volume, FormFieldType.speed, and FormFieldType.area field types. And for FormFieldType.currency fields it acts as a prefix, like "$" or "USD".
valuestringThe default value for the field in the template.
JSON structure
{
	"editable": boolean,
	"id": number,
	"kind": string,
	"maximum": number,
	"minimum": number,
	"name": string,
	"notes": string,
	"precision": number,
	"required": boolean,
	"size": string,
	"step": number,
	"units": string,
	"value": string
}

FormFieldSignatureFormFieldBaseobject

A control to capture a signature from the user.
JSON description
PropertyTypeDescription
editablebooleanWhen false, this field's value is treated as read-only.
iduint64Identifier for this field. This value is unique per FormTemplate, but is not unique system-wide.
kindFormFieldTypeThe type of interface control that should be presented to the user.
namestringName of the field.
notesstringNotes or special instructions for this control.
requiredbooleanWhen true, a valid value must be given for this field.
valuestringThe default value for the field in the template.
JSON structure
{
	"editable": boolean,
	"id": number,
	"kind": string,
	"name": string,
	"notes": string,
	"required": boolean,
	"value": string
}

FormFieldTextFormFieldBaseobject

A text input control.
JSON description
PropertyTypeDescription
editablebooleanWhen false, this field's value is treated as read-only.
iduint64Identifier for this field. This value is unique per FormTemplate, but is not unique system-wide.
kindFormFieldTypeThe type of interface control that should be presented to the user.
maximumuint16?Maximum length of entered text to make it a valid entry.
minimumuint16?Minimum length of entered text to make it a valid entry.
namestringName of the field.
notesstringNotes or special instructions for this control.
requiredbooleanWhen true, a valid value must be given for this field.
rowsbyteThe number of rows of text to display.
valuestringThe default value for the field in the template.
JSON structure
{
	"editable": boolean,
	"id": number,
	"kind": string,
	"maximum": number,
	"minimum": number,
	"name": string,
	"notes": string,
	"required": boolean,
	"rows": number,
	"value": string
}

FormFieldTimeFormFieldBaseobject

A control to choose a time or duration longer than 24 hours.
JSON description
PropertyTypeDescription
editablebooleanWhen false, this field's value is treated as read-only.
iduint64Identifier for this field. This value is unique per FormTemplate, but is not unique system-wide.
kindFormFieldTypeThe type of interface control that should be presented to the user.
maximumtimespanThe maximum duration or latest time-of-day.
minimumtimespanThe minimum duration or earliest time-of-day.
namestringName of the field.
notesstringNotes or special instructions for this control.
requiredbooleanWhen true, a valid value must be given for this field.
valuestringThe default value for the field in the template.
JSON structure
{
	"editable": boolean,
	"id": number,
	"kind": string,
	"maximum": string,
	"minimum": string,
	"name": string,
	"notes": string,
	"required": boolean,
	"value": string
}

FormFieldTimezoneFormFieldBaseobject

A Timezone selection control.
JSON description
PropertyTypeDescription
editablebooleanWhen false, this field's value is treated as read-only.
iduint64Identifier for this field. This value is unique per FormTemplate, but is not unique system-wide.
kindFormFieldTypeThe type of interface control that should be presented to the user.
namestringName of the field.
notesstringNotes or special instructions for this control.
requiredbooleanWhen true, a valid value must be given for this field.
valuestringThe default value for the field in the template.
JSON structure
{
	"editable": boolean,
	"id": number,
	"kind": string,
	"name": string,
	"notes": string,
	"required": boolean,
	"value": string
}

FormFieldTypestring

The supported types of user interface modules for a FormTemplate.
ValueDescription
areaA numeric value of area (for easy conversion between SystemsOfUnits.metric and SystemsOfUnits.standard).
checkboxA check mark to represent a boolean value.
choiceA choice of one (or more) values defined.
currencyA numeric value representing an amount of money.
dateA calendar/date picker.
datetimeA date and time picker.
distanceA numeric value of distance (for easy conversion between SystemsOfUnits.metric and SystemsOfUnits.standard).
dropdownA drop-down or fly-out UI for choosing a single value. Works better than FormFieldType.choice when there are a lot of values. ie; country or province list.
durationA duration picker. Different than FormFieldType.time because a duration can be negative, or longer than 24 hours.
filesA browser of Documents that can be attached.
fuelEconomyA numeric value of fuel economy (for easy conversion between SystemsOfUnits.metric and SystemsOfUnits.standard).
numericNumeric (optionally decimal) input.
picturesA browser of Pictures that can be attached.
pressureA numeric value of pressure (for easy conversion between SystemsOfUnits.metric and SystemsOfUnits.standard).
rangeA slider bar to choose a numeric value between a given high and low value.
signatureArea to capture a signature bitmap.
speedA numeric value of speed (for easy conversion between SystemsOfUnits.metric and SystemsOfUnits.standard).
temperatureA numeric value of temperature (for easy conversion between SystemsOfUnits.metric and SystemsOfUnits.standard).
textAny text input.
timeA clock/time picker.
timezoneA list of Timezones.
toggleA toggle box to represent one of two possible values (optionally defined).
volumeA numeric value of volume (for easy conversion between SystemsOfUnits.metric and SystemsOfUnits.standard).
weightA numeric value of weight (for easy conversion between SystemsOfUnits.metric and SystemsOfUnits.standard).

FormResultobject

A completed form submitted by a User or Asset.
JSON description
PropertyTypeDescription
assetuint64?The Asset to which this form belongs.
companyuint64The Company to which this form belongs.
completeddatetimeA timestamp from when this form was completed by a User or Asset.
driverstringClocked-in driver name who made the update. Null if not clocked-in, or no changes have been made.
fieldsObject.<uint64, string>All the values for fillable fields by index.
iduint64Unique identifier of this form.
labelsArray.<codified>
for values see: LabelStyle.code
Codified label names used to relate forms to Assets.
latlngLatLngThe coordinates of the User or Asset from when the form was completed.
namestring
maximum-length: 100
Name of this form.
notesstringNotes about this form.
processedUtcdatetimeWhen the was change procesed.
templateuint64The FormTemplate to which this form belongs.
updatedby: login, from: monster
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"asset": number,
	"company": number,
	"completed": string,
	"driver": string,
	"fields": {
		string: string
	},
	"id": number,
	"labels": [
		string
	],
	"latlng": {
		"lat": number,
		"lng": number
	},
	"name": string,
	"notes": string,
	"processedUtc": string,
	"template": number,
	"updated": {
	},
	"v": [
		number
	]
}

FormResultDeletedobject

The message format for when a deleted FormResult is retrieved
JSON description
PropertyTypeValueDescription
companyuint64The Company to which this form belongs.
deletedbooleantrue
iduint64Unique identifier of this form.
labelsArray.<codified>
for values see: LabelStyle.code
Codified label names used to relate forms to Assets.
namestring
maximum-length: 100
Name of this form.
notesstringNotes about this form.
sincedatetimeA timestamp from the moment the object was deleted.
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"company": number,
	"deleted": boolean,
	"id": number,
	"labels": [
		string
	],
	"name": string,
	"notes": string,
	"since": string,
	"v": [
		number
	]
}

FormTemplateobject

The full definition of a form that needs to be filled out.
JSON description
PropertyTypeDescription
companyuint64The Company to which this form belongs.
fieldsArray.<FormFieldBase>All the user fillable fields by name.
fillcolour
maximum-length: 22
The fill/background colour of the icon.
graphiccodified
maximum-length: 22
The name of the symbol for this template.
iduint64Unique identifier of this form.
labelsArray.<codified>
for values see: LabelStyle.code
Codified label names used to relate forms to Assets.
namestring
maximum-length: 100
Name of this form.
notesstringNotes about this form.
processedUtcdatetimeWhen the was change procesed.
strokecolour
maximum-length: 22
Outline and graphic colour.
updatedby: login, from: monster
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"company": number,
	"fields": [
		{
			"editable": boolean,
			"id": number,
			"kind": string,
			"name": string,
			"notes": string,
			"required": boolean,
			"value": string
		}
	],
	"fill": string,
	"graphic": string,
	"id": number,
	"labels": [
		string
	],
	"name": string,
	"notes": string,
	"processedUtc": string,
	"stroke": string,
	"updated": {
	},
	"v": [
		number
	]
}

FormTemplateDeletedobject

The message format for when a deleted FormTemplate is retrieved
JSON description
PropertyTypeValueDescription
companyuint64The Company to which this form belongs.
deletedbooleantrue
iduint64Unique identifier of this form.
labelsArray.<codified>
for values see: LabelStyle.code
Codified label names used to relate forms to Assets.
namestring
maximum-length: 100
Name of this form.
notesstringNotes about this form.
sincedatetimeA timestamp from the moment the object was deleted.
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"company": number,
	"deleted": boolean,
	"id": number,
	"labels": [
		string
	],
	"name": string,
	"notes": string,
	"since": string,
	"v": [
		number
	]
}

Iconobject

A visual representation of a thing on a map or in a list.
JSON description
PropertyTypeDescription
badgeIconLabelWhere the notification will appear for a mapped icon. Such as the number of dispatches an asset is working on, or the number of dispatches at a place.
categorystring
maximum-length: 100
A noun to describe the type of thing represented. Like Truck, Car, Trailer, Hot-Air Balloon, etc...
companyuint64The company to which this icon belongs.
globalbooleanIndicates whether this icon is available to child companies.
glyphsArray.<IconGlyph>The images used to show the detail of this icon.
iduint64Unique identifier of this icon.
labelIconLabelDefinition for the name bubble above the icon on a map.
namestring
maximum-length: 100
A specific adjective to describe the thing. Like Blue, Red, Empty, Full, etc...
notesstringNotes.
processedUtcdatetimeWhen the was change procesed.
updatedby: login, from: monster
usageArray.<string>A list of things that this icon can be used to represent. Like asset, place, user, etc...
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"badge": {
		"align": string,
		"anchor": {
			"x": number,
			"y": number
		},
		"colour": string
	},
	"category": string,
	"company": number,
	"global": boolean,
	"glyphs": [
		{
			"anchor": {
				"x": number,
				"y": number
			},
			"layer": string,
			"rotates": boolean,
			"size": {
				"height": number,
				"width": number
			},
			"src": string,
			"tags": [
				string
			],
			"zIndex": number
		}
	],
	"id": number,
	"label": {
		"align": string,
		"anchor": {
			"x": number,
			"y": number
		},
		"colour": string
	},
	"name": string,
	"notes": string,
	"processedUtc": string,
	"updated": {
	},
	"usage": [
		string
	],
	"v": [
		number
	]
}

IconDeletedobject

The message format for when a deleted Icon is retrieved
JSON description
PropertyTypeValueDescription
companyuint64The company to which this icon belongs.
deletedbooleantrue
iduint64Unique identifier of this icon.
namestring
maximum-length: 100
A specific adjective to describe the thing. Like Blue, Red, Empty, Full, etc...
notesstringNotes.
sincedatetimeA timestamp from the moment the object was deleted.
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"company": number,
	"deleted": boolean,
	"id": number,
	"name": string,
	"notes": string,
	"since": string,
	"v": [
		number
	]
}

IconGlyphobject

The image source and defined status tags which need to be applied to an asset in order to show the image.
JSON description
PropertyTypeDescription
anchorPointThe offset from the lat/long in pixels.
layerIconLayerThe layer on which this glyph is displayed.
rotatesbooleanIndicates that this glyph rotate based on GPS bearing.
sizeSizeSize of the glyph in pixels.
srcstringPath to the image.
tagsArray.<codified>
for values see: LabelStyle.code
A list of codified status tag names. Any of the tags must be applied to the asset for the image to appear.
zIndexuint16The z-order of this glyph compared to other glyphs on the same layer.
JSON structure
{
	"anchor": {
		"x": number,
		"y": number
	},
	"layer": string,
	"rotates": boolean,
	"size": {
		"height": number,
		"width": number
	},
	"src": string,
	"tags": [
		string
	],
	"zIndex": number
}

IconLabelobject

Definition for the name bubble above the icon on a map.
JSON description
PropertyTypeDescription
alignstringDetermines which corner of the label is attached to the anchor.
anchorPointThe offset from the lat/long in pixels.
colourstringBackground colour of the label.
JSON structure
{
	"align": string,
	"anchor": {
		"x": number,
		"y": number
	},
	"colour": string
}

IconLayerstring

The layers of the map used to visualize the icon.
ValueDescription
drawingsAn SVG only layer for special drawing controls. Icons should not use this layer.
editsAn HTML only layer for special drawing controls. Icons should not use this layer.
fillsAn SVG only layer just above the roads used for solid Places and accuracy radius fill.
labelsAn HTML only layer intended for use by an icon's label.
markersAn HTML only layer intended for use by an icon's main images.
outlinesAn SVG only layer intended for use by shape and accuracy radius outlines.
shadowsAn HTML only layer intended for use by an icon's drop-shadow.

ParamDashcamGetBaseParametersobject

Request description
PropertyTypeRequiredDescription
dashcamParamGuidalwaysAn object to contain the "guid" of the dashcam image or video metadata.
dashcam.guidguidalwaysThe global unique identifier.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"dashcam": {
		"guid": string
	},
	"reqId": number
}

ParamDashcamListByAssetBaseParametersobject

Request description
PropertyTypeRequiredDescription
afterdatetimealwaysA timestamp for the earliest dashcam image or video metadata to retrieve.
assetParamIdalwaysAn object to contain the "id" of the Asset.
asset.iduint64alwaysIdentifier given as input for the command.
beforedatetimealwaysA timestamp for the latest dashcam image or video metadata to retrieve.
kindDashcamDataType?optionalAn optional filter available so that only a certain kind of DashcamData is returned.
limituint16optionalMaximum number of dashcam media file details in this response.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"after": string,
	"asset": {
		"id": number
	},
	"before": string,
	"kind": string,
	"limit": number,
	"reqId": number
}

ParamDashcamListByCompanyBaseParametersobject

Request description
PropertyTypeRequiredDescription
afterdatetimealwaysA timestamp for the earliest dashcam image or video metadata to retrieve.
beforedatetimealwaysA timestamp for the latest dashcam image or video metadata to retrieve.
companyParamIdalwaysAn object to contain the "id" of the Company.
company.iduint64alwaysIdentifier given as input for the command.
kindDashcamDataType?optionalAn optional filter available so that only a certain kind of DashcamData is returned.
limituint16optionalMaximum number of dashcam media file details in this response.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"after": string,
	"before": string,
	"company": {
		"id": number
	},
	"kind": string,
	"limit": number,
	"reqId": number
}

ParamDashcamListByProviderBaseParametersobject

Request description
PropertyTypeRequiredDescription
afterdatetimealwaysA timestamp for the earliest dashcam image or video metadata to retrieve.
beforedatetimealwaysA timestamp for the latest dashcam image or video metadata to retrieve.
kindDashcamDataType?optionalAn optional filter available so that only a certain kind of DashcamData is returned.
limituint16optionalMaximum number of dashcam media file details in this response.
providerParamIdentifieralwaysAn object to contain the "id" of the Provider.
provider.idstringalwaysThe Provider's identifier.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"after": string,
	"before": string,
	"kind": string,
	"limit": number,
	"provider": {
		"id": string
	},
	"reqId": number
}

ParamDashcamLiveListByAssetBaseParametersobject

Request description
PropertyTypeRequiredDescription
assetParamIdalwaysAn object to contain the "id" of the Asset.
asset.iduint64alwaysIdentifier given as input for the command.
camerabyte?optionalNumber assigned to the camera that took the image/video.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"asset": {
		"id": number
	},
	"camera": number,
	"reqId": number
}

ParamDashcamLiveListByCompanyBaseParametersobject

Request description
PropertyTypeRequiredDescription
camerabyte?optionalNumber assigned to the camera that took the image/video.
companyParamIdalwaysAn object to contain the "id" of the Company.
company.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"camera": number,
	"company": {
		"id": number
	},
	"reqId": number
}

ParamDashcamLiveListByProviderBaseParametersobject

Request description
PropertyTypeRequiredDescription
camerabyte?optionalNumber assigned to the camera that took the image/video.
providerParamIdentifieralwaysAn object to contain the "id" of the Provider.
provider.idstringalwaysThe Provider's identifier.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"camera": number,
	"provider": {
		"id": string
	},
	"reqId": number
}

ParamDocumentBatchDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
documentsArray.<ParamId>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"documents": [
		{
			"id": number
		}
	],
	"reqId": number
}

ParamDocumentBatchMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
documentsArray.<ParameterContent>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"documents": [
		{
			"company": number,
			"expiry": string,
			"id": number,
			"name": string,
			"notes": string,
			"references": {
				string: string
			},
			"v": [
				number
			]
		}
	],
	"reqId": number
}

ParamDocumentDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
documentParamIdalwaysAn object to contain the identifier of the Document.
document.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"document": {
		"id": number
	},
	"reqId": number
}

ParamDocumentGetBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
documentParamIdalwaysAn object to contain the identifier of the Document.
document.iduint64alwaysIdentifier given as input for the command.
includeDeletedbooleanoptionalfalseWhen true, the command will also return a deleted Document.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"document": {
		"id": number
	},
	"includeDeleted": boolean,
	"reqId": number
}

ParamDocumentListByCompanyBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
companyParamIdalwaysAn object to contain the "id" of the Company.
company.iduint64alwaysIdentifier given as input for the command.
highestuint64?optional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
lowestuint64?optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"company": {
		"id": number
	},
	"highest": number,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"lowest": number,
	"reqId": number
}

ParamDocumentListByRefPairsBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
companyParamIdalwaysAn object to contain the "id" of the Company.
company.iduint64alwaysIdentifier given as input for the command.
highestuint64?optional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
lowestuint64?optional
referencesObject.<string, string>optionalCase-insensitive reference pairs used to match Documents.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"company": {
		"id": number
	},
	"highest": number,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"lowest": number,
	"references": {
		string: string
	},
	"reqId": number
}

ParamDocumentMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
documentObject.<string, ?>alwaysA simple object to contain the Document parameters.
document.companyuint64?createThe Company to which this Document belongs. After creation, this value is read-only.
document.expirydatetimeoptionalThe time at which the Document will automatically be purged from the system.
document.iduint64?updateThe unique identifier of the Document you want to update.
document.namestring
maximum-length: 100
createThe file name of this Document.
document.notesstringoptionalNotes about this Document.
document.referencesObject.<string, string>
maximum-count: 10
maximum-length of keys: 20
maximum-length of values: 100
optionalName/value collections of custom fields used to refer to external systems. If the value is null, the references are removed from the Document.
document.vArray.<int32>optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"document": {
		"company": number,
		"expiry": string,
		"id": number,
		"name": string,
		"notes": string,
		"references": {
			string: string
		},
		"v": [
			number
		]
	},
	"reqId": number
}

ParamDocumentRestoreBaseParametersobject

Request description
PropertyTypeRequiredDescription
documentParamIdalwaysAn object to contain the identifier of the Document.
document.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"document": {
		"id": number
	},
	"reqId": number
}

ParamFormFieldobject

Parameters used to create various FormFieldTypes.
JSON description
PropertyTypeRequiredDescription
choicesObjectoptionalWill be a dictionary of strings for choice/drop-down fields, or will be a array of strings for checkbox/toggle-switch fields.
editablebooleanoptionalWhen false, this field's value is treated as read-only.
iduint64?optionalThe identifier of the field. Identifiers are unique to a FormTemplate, but are not unique system-wide.
kindFormFieldType?createThe type of interface control that should be presented to the user.
maximumObjectoptionalWill be a int64 or double representing the maximum number or attachments, choices, or longest text length, or will be a datetime representing the latest possible date and/or time, or will be a datetime representing thee latest possible time or largest duration.
minimumObjectoptionalWill be a int64 or double representing the minimum number or attachments, choices, or shortest text length, or will be a datetime representing the earliest possible date and/or time, or will be a datetime representing the earliest possible time or smallest duration.
namestringoptionalThe name for the field.
notesstringoptionalNotes or special instructions for this control.
precisionint64?optionalThe FormFieldNumeric.precision used for FormFieldNumeric fields.
requiredbooleanoptionalWhen true, a valid value must be given for this field.
rowsint64?optionalThe FormFieldText.rows used for FormFieldText fields.
sizeFormFieldNumericSize?optionalA FormFieldNumeric.size context hint for FormFieldNumeric fields.
stepdouble?optionalThe FormFieldNumeric.step used for FormFieldNumeric fields.
unitsstringoptionalThe FormFieldNumeric.units used for FormFieldNumeric fields.
valuestringoptionalThe default value for the field in the template.
JSON structure
{
	"choices": Object,
	"editable": boolean,
	"id": number,
	"kind": string,
	"maximum": Object,
	"minimum": Object,
	"name": string,
	"notes": string,
	"precision": number,
	"required": boolean,
	"rows": number,
	"size": string,
	"step": number,
	"units": string,
	"value": string
}

ParamFormResultBatchDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
formResultsArray.<ParamId>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"formResults": [
		{
			"id": number
		}
	],
	"reqId": number
}

ParamFormResultBatchMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
formResultsArray.<ParameterContent>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"formResults": [
		{
			"asset": number,
			"completed": string,
			"fields": {
				string: string
			},
			"id": number,
			"labels": [
				string
			],
			"latlng": {
				"lat": number,
				"lng": number
			},
			"name": string,
			"notes": string,
			"template": number,
			"v": [
				number
			]
		}
	],
	"reqId": number
}

ParamFormResultDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
formResultParamIdalwaysAn object to contain the "id" of the FormResult.
formResult.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"formResult": {
		"id": number
	},
	"reqId": number
}

ParamFormResultGetBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
formResultParamIdalwaysAn object to contain the "id" of the FormResult.
formResult.iduint64alwaysIdentifier given as input for the command.
includeDeletedbooleanoptionalfalseWhen true, the command will also return a deleted FormResult.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"formResult": {
		"id": number
	},
	"includeDeleted": boolean,
	"reqId": number
}

ParamFormResultListByCompanyBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
afterdatetimeoptional
beforedatetimeoptional
companyParamIdalwaysAn object to contain the "id" of the Company.
company.iduint64alwaysIdentifier given as input for the command.
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"after": string,
	"before": string,
	"company": {
		"id": number
	},
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"reqId": number
}

ParamFormResultListByCompanyAndLabelsBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
afterdatetimeoptional
beforedatetimeoptional
companyParamIdalwaysAn object to contain the "id" of the Company.
company.iduint64alwaysIdentifier given as input for the command.
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
labelsArray.<string>optionalA list of label codes used to match FormResults. All labels must match to include a FormResult in the result.
limituint16?optionalMaximum number of objects in this response.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"after": string,
	"before": string,
	"company": {
		"id": number
	},
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"labels": [
		string
	],
	"limit": number,
	"reqId": number
}

ParamFormResultMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
formResultObject.<string, ?>alwaysA simple object to contain the FormResult parameters.
formResult.assetuint64?createThe unique identifier of the Asset filling out this form.
formResult.completeddatetimeoptionalA timestamp from when the FormResult was completed.
formResult.fieldsObject.<uint64, string>
maximum-length of values: 254
optionalA collection of values for the FormResult.fields. You can update parts of the collection, the FormResult must have a value for all fields in order to complete it.
formResult.iduint64?updateThe unique identifier of the FormResult you want to update.
formResult.labelsArray.<codified>
for values see: LabelStyle.code
optionalCodified label names used to relate forms to Assets.
formResult.latlngLatLngoptionalCoordinates from when the FormResult was completed.
formResult.latlng.latdoubleoptionalLatitude
formResult.latlng.lngdoubleoptionalLongitude
formResult.namestring
maximum-length: 100
optionalName for the FormResult.
formResult.notesstringoptionalNotes for the FormResult.
formResult.templateuint64?createThe unique identifier of the FormTemplate for this form.
formResult.vArray.<int32>optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"formResult": {
		"asset": number,
		"completed": string,
		"fields": {
			string: string
		},
		"id": number,
		"labels": [
			string
		],
		"latlng": {
			"lat": number,
			"lng": number
		},
		"name": string,
		"notes": string,
		"template": number,
		"v": [
			number
		]
	},
	"reqId": number
}

ParamFormResultRestoreBaseParametersobject

Request description
PropertyTypeRequiredDescription
formResultParamIdalwaysAn object to contain the "id" of the FormResult.
formResult.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"formResult": {
		"id": number
	},
	"reqId": number
}

ParamFormTemplateBatchDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
formTemplatesArray.<ParamId>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"formTemplates": [
		{
			"id": number
		}
	],
	"reqId": number
}

ParamFormTemplateBatchMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
formTemplatesArray.<ParameterContent>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"formTemplates": [
		{
			"company": number,
			"fields": [
				{
					"choices": Object,
					"editable": boolean,
					"id": number,
					"kind": string,
					"maximum": Object,
					"minimum": Object,
					"name": string,
					"notes": string,
					"precision": number,
					"required": boolean,
					"rows": number,
					"size": string,
					"step": number,
					"units": string,
					"value": string
				}
			],
			"fill": string,
			"graphic": string,
			"id": number,
			"labels": [
				string
			],
			"name": string,
			"notes": string,
			"stroke": string,
			"v": [
				number
			]
		}
	],
	"reqId": number
}

ParamFormTemplateDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
formTemplateParamIdalwaysAn object to contain the "id" of the FormTemplate.
formTemplate.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"formTemplate": {
		"id": number
	},
	"reqId": number
}

ParamFormTemplateGetBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
formTemplateParamIdalwaysAn object to contain the "id" of the FormTemplate.
formTemplate.iduint64alwaysIdentifier given as input for the command.
includeDeletedbooleanoptionalfalseWhen true, the command will also return a deleted FormTemplate.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"formTemplate": {
		"id": number
	},
	"includeDeleted": boolean,
	"reqId": number
}

ParamFormTemplateListByCompanyBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
companyParamIdalwaysAn object to contain the "id" of the Company.
company.iduint64alwaysIdentifier given as input for the command.
highestuint64?optional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
lowestuint64?optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"company": {
		"id": number
	},
	"highest": number,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"lowest": number,
	"reqId": number
}

ParamFormTemplateListByCompanyAndLabelsBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
companyParamIdalwaysAn object to contain the "id" of the Company.
company.iduint64alwaysIdentifier given as input for the command.
highestuint64?optional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
labelsArray.<string>optionalA list of label codes used to match FormTemplates. All labels must match to include a FormTemplate in the result.
limituint16?optionalMaximum number of objects in this response.
lowestuint64?optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"company": {
		"id": number
	},
	"highest": number,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"labels": [
		string
	],
	"limit": number,
	"lowest": number,
	"reqId": number
}

ParamFormTemplateMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
formTemplateObject.<string, ?>alwaysA simple object to contain the FormTemplate parameters.
formTemplate.companyuint64?createThe Company to which this FormTemplate belongs. After creation, this value is read-only.
formTemplate.fieldsArray.<ParamFormField>optionalA collection of all the FormTemplate.fields. Any field not given in the collection will be removed.
formTemplate.fillcolour
maximum-length: 22
optionalBackground and fill colour in the UI.
formTemplate.graphiccolour
maximum-length: 22
optionalThe name of the symbol shown in the UI.
formTemplate.iduint64?updateThe unique identifier of the FormTemplate you want to update.
formTemplate.labelsArray.<codified>
for values see: LabelStyle.code
optionalCodified label names used to relate forms to Assets.
formTemplate.namestring
maximum-length: 100
optionalName for the FormTemplate.
formTemplate.notesstringoptionalNotes for the FormTemplate.
formTemplate.strokecolour
maximum-length: 22
optionalText and outline colour in the UI.
formTemplate.vArray.<int32>optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"formTemplate": {
		"company": number,
		"fields": [
			{
				"choices": Object,
				"editable": boolean,
				"id": number,
				"kind": string,
				"maximum": Object,
				"minimum": Object,
				"name": string,
				"notes": string,
				"precision": number,
				"required": boolean,
				"rows": number,
				"size": string,
				"step": number,
				"units": string,
				"value": string
			}
		],
		"fill": string,
		"graphic": string,
		"id": number,
		"labels": [
			string
		],
		"name": string,
		"notes": string,
		"stroke": string,
		"v": [
			number
		]
	},
	"reqId": number
}

ParamFormTemplateRestoreBaseParametersobject

Request description
PropertyTypeRequiredDescription
formTemplateParamIdalwaysAn object to contain the "id" of the FormTemplate.
formTemplate.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"formTemplate": {
		"id": number
	},
	"reqId": number
}

ParamIconBatchDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
iconsArray.<ParamId>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"icons": [
		{
			"id": number
		}
	],
	"reqId": number
}

ParamIconBatchMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
iconsArray.<ParameterContent>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"icons": [
		{
			"badge": {
				"align": string,
				"anchor": {
					"x": number,
					"y": number
				},
				"colour": string
			},
			"category": string,
			"company": number,
			"global": boolean,
			"glyphs": [
				{
					"anchor": {
						"x": number,
						"y": number
					},
					"layer": string,
					"rotates": boolean,
					"size": {
						"height": number,
						"width": number
					},
					"src": string,
					"tags": [
						string
					],
					"zIndex": number
				}
			],
			"id": number,
			"label": {
				"align": string,
				"anchor": {
					"x": number,
					"y": number
				},
				"colour": string
			},
			"name": string,
			"notes": string,
			"usage": [
				string
			],
			"v": [
				number
			]
		}
	],
	"reqId": number
}

ParamIconDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
iconParamIdalwaysAn object to contain the "id" of the Icon.
icon.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"icon": {
		"id": number
	},
	"reqId": number
}

ParamIconGetBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
iconParamIdalwaysAn object to contain the "id" of the Icon.
icon.iduint64alwaysIdentifier given as input for the command.
includeDeletedbooleanoptionalfalseWhen true, the command will also return a deleted Icon.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"icon": {
		"id": number
	},
	"includeDeleted": boolean,
	"reqId": number
}

ParamIconListByCompanyBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
branchbooleanoptionalfalseWhen true the list of Icons from the given Company and all child-companies are returned. Otherwise, only Icons from the given Company are included.
companyParamIdalwaysAn object to contain the "id" of the Company.
company.iduint64alwaysIdentifier given as input for the command.
highestuint64?optional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
lowestuint64?optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
trunkbooleanoptionaltrueWhen true (default) the list of Icons will include any publicly available Icons from the given Company's parent(s).
Request structure
{
	"branch": boolean,
	"company": {
		"id": number
	},
	"highest": number,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"lowest": number,
	"reqId": number,
	"trunk": boolean
}

ParamIconMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
iconObject.<string, ?>alwaysA simple object to contain the Icon parameters.
icon.badgeIconLabeloptionalDefinition for the name badge beside the Icon on a map.
icon.badge.alignstringoptionalDetermines which corner of the label is attached to the anchor.
icon.badge.anchorPointoptionalThe offset from the lat/long in pixels.
icon.badge.anchor.xdoubleoptionalHorizontal coordinate
icon.badge.anchor.ydoubleoptionalVertical coordinate
icon.badge.colourstringoptionalBackground colour of the label.
icon.categorystring
maximum-length: 100
optionalA noun to describe the type of thing represented. Like Truck, Car, Trailer, Hot-Air Balloon, etc...
icon.companyuint64?createThe Company to which these Icons belongs.
icon.globalbooleanoptionalIndicates whether this Icon is available to child companies.
icon.glyphsArray.<IconGlyph>optionalThe images used to show the detail of this Icon.
icon.iduint64?updateThe unique identifier of the Icon you want to update.
icon.labelIconLabeloptionalDefinition for the name bubble above the Icon on a map.
icon.label.alignstringoptionalDetermines which corner of the label is attached to the anchor.
icon.label.anchorPointoptionalThe offset from the lat/long in pixels.
icon.label.anchor.xdoubleoptionalHorizontal coordinate
icon.label.anchor.ydoubleoptionalVertical coordinate
icon.label.colourstringoptionalBackground colour of the label.
icon.namestring
maximum-length: 100
createA specific adjective to describe the thing. Like Blue, Red, Empty, Full, etc...
icon.notesstringoptionalNotes.
icon.usageArray.<string>optionalA list of things that this Icon can be used to represent. Like asset, place, user, etc...
icon.vArray.<int32>optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"icon": {
		"badge": {
			"align": string,
			"anchor": {
				"x": number,
				"y": number
			},
			"colour": string
		},
		"category": string,
		"company": number,
		"global": boolean,
		"glyphs": [
			{
				"anchor": {
					"x": number,
					"y": number
				},
				"layer": string,
				"rotates": boolean,
				"size": {
					"height": number,
					"width": number
				},
				"src": string,
				"tags": [
					string
				],
				"zIndex": number
			}
		],
		"id": number,
		"label": {
			"align": string,
			"anchor": {
				"x": number,
				"y": number
			},
			"colour": string
		},
		"name": string,
		"notes": string,
		"usage": [
			string
		],
		"v": [
			number
		]
	},
	"reqId": number
}

ParamIconRestoreBaseParametersobject

Request description
PropertyTypeRequiredDescription
iconParamIdalwaysAn object to contain the "id" of the Icon.
icon.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"icon": {
		"id": number
	},
	"reqId": number
}

ParamPictureBatchDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
picturesArray.<ParamId>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"pictures": [
		{
			"id": number
		}
	],
	"reqId": number
}

ParamPictureBatchMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
picturesArray.<ParameterContent>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"pictures": [
		{
			"company": number,
			"focals": [
				{
					"bottom": number,
					"left": number,
					"right": number,
					"top": number
				}
			],
			"id": number,
			"name": string,
			"notes": string,
			"v": [
				number
			]
		}
	],
	"reqId": number
}

ParamPictureDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
pictureParamIdalwaysAn object to contain the "id" of the Picture.
picture.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"picture": {
		"id": number
	},
	"reqId": number
}

ParamPictureGetBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
includeDeletedbooleanoptionalfalseWhen true, the command will also return a deleted Picture.
pictureParamIdalwaysAn object to contain the "id" of the Picture.
picture.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"includeDeleted": boolean,
	"picture": {
		"id": number
	},
	"reqId": number
}

ParamPictureListByCompanyBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
branchbooleanoptionalfalseWhen true the list of Pictures from the given Company and all child-companies are returned. Otherwise, only Pictures from the given Company are included.
companyParamIdalwaysAn object to contain the "id" of the Company.
company.iduint64alwaysIdentifier given as input for the command.
highestuint64?optional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
lowestuint64?optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"branch": boolean,
	"company": {
		"id": number
	},
	"highest": number,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"lowest": number,
	"reqId": number
}

ParamPictureMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
pictureObject.<string, ?>alwaysA simple object to contain the Picture parameters.
picture.companyuint64?createThe Company to which this Picture belongs. After creation, this value is read-only.
picture.focalsArray.<Square>optionalA list of focal points in the Picture like faces.
picture.iduint64?updateThe unique identifier of the Picture you want to update.
picture.namestring
maximum-length: 100
createThe file name of this Picture.
picture.notesstringoptionalNotes about this Picture.
picture.vArray.<int32>optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"picture": {
		"company": number,
		"focals": [
			{
				"bottom": number,
				"left": number,
				"right": number,
				"top": number
			}
		],
		"id": number,
		"name": string,
		"notes": string,
		"v": [
			number
		]
	},
	"reqId": number
}

ParamPictureRestoreBaseParametersobject

Request description
PropertyTypeRequiredDescription
pictureParamIdalwaysAn object to contain the "id" of the Picture.
picture.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"picture": {
		"id": number
	},
	"reqId": number
}

Pictureobject

An image stored by the system.
JSON description
PropertyTypeDescription
bytesuint64The file-size on the disk.
companyuint64The company to which this image belongs.
focalsArray.<Square>A list of focal points in the images like faces.
iduint64Unique identifier of this image.
namestring
maximum-length: 100
The file name of this image.
notesstringNotes about this image.
processedUtcdatetimeWhen the was change procesed.
sizeSizeResolution defined in pixels.
srcstring
maximum-length: 200
The URL/path to find this image.
updatedby: login, from: monster
usesuint32A count of the times this image was used for something (asset, contact, task, etc).
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"bytes": number,
	"company": number,
	"focals": [
		{
			"bottom": number,
			"left": number,
			"right": number,
			"top": number
		}
	],
	"id": number,
	"name": string,
	"notes": string,
	"processedUtc": string,
	"size": {
		"height": number,
		"width": number
	},
	"src": string,
	"updated": {
	},
	"uses": number,
	"v": [
		number
	]
}

PictureDeletedobject

The message format for when a deleted Picture is retrieved
JSON description
PropertyTypeValueDescription
companyuint64The company to which this image belongs.
deletedbooleantrue
iduint64Unique identifier of this image.
namestring
maximum-length: 100
The file name of this image.
notesstringNotes about this image.
sincedatetimeA timestamp from the moment the object was deleted.
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"company": number,
	"deleted": boolean,
	"id": number,
	"name": string,
	"notes": string,
	"since": string,
	"v": [
		number
	]
}

RespDashcamGetBaseResponseobject

Response description
PropertyTypeDescription
dashcamDashcamDataThe requested dashcam image or video metadata.
dashcam.altitudedoubleAltitude of the start of the resource.
dashcam.assetuint64?Unique identifier of the asset tied to the provider at the time.
dashcam.bytesuint64Number bytes in the dashcam media file.
dashcam.camerabyteNumber assigned to the camera that took the image/video.
dashcam.companyuint64Unique identifier of the company of the provider.
dashcam.enddatetimeTimestamp of when this resource ended. For DashcamDataType.image media files, the start and end are the same.
dashcam.eventNamestringThe reason why we're saving this image/video. Or the event name that triggered it.
dashcam.fpssingle?For DashcamDataType.video media files, this indicates the frames-per-second.
dashcam.guidguidUnique identifier of this resource.
dashcam.headingdoubleHeading of the start of the resource.
dashcam.kindDashcamDataTypeThe type of data being stored.
dashcam.latitudedoubleLatitude of the start of the resource.
dashcam.longitudedoubleLongitude of the start of the resource.
dashcam.providerstringUnique identifier of the provider that sent the data.
dashcam.sizeSizeResolution defined in pixels.
dashcam.size.heightdoubleHeight
dashcam.size.widthdoubleWidth
dashcam.speeddoubleSpeed of the start of the resource.
dashcam.startdatetimeTimestamp of when this resource started. For DashcamDataType.image media files, the start and end are the same.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"dashcam": {
		"altitude": number,
		"asset": number,
		"bytes": number,
		"camera": number,
		"company": number,
		"end": string,
		"eventName": string,
		"fps": number,
		"guid": string,
		"heading": number,
		"kind": string,
		"latitude": number,
		"longitude": number,
		"provider": string,
		"size": {
			"height": number,
			"width": number
		},
		"speed": number,
		"start": string
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespDashcamListByAssetBaseResponseobject

Response description
PropertyTypeDescription
assetRespIdAn object to contain the "id" of the Asset to which the array of dashcam image or video metadata belong.
asset.iduint64?Identifier given as input for the command.
dashcamsArray.<DashcamData>The list of requested dashcam image or video metadata.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
totalsObject.<DashcamDataType, HostedTotal>Totals of hosted dashcam media as calculated at midnight.
Response structure
{
	"asset": {
		"id": number
	},
	"dashcams": [
		{
			"altitude": number,
			"asset": number,
			"bytes": number,
			"camera": number,
			"company": number,
			"end": string,
			"eventName": string,
			"fps": number,
			"guid": string,
			"heading": number,
			"kind": string,
			"latitude": number,
			"longitude": number,
			"provider": string,
			"size": {
				"height": number,
				"width": number
			},
			"speed": number,
			"start": string
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number,
	"totals": {
		string: {
			"bytes": number,
			"count": number,
			"newest": string,
			"oldest": string
		}
	}
}

RespDashcamListByCompanyBaseResponseobject

Response description
PropertyTypeDescription
companyRespIdAn object to contain the "id" of the Company to which the array of dashcam image or video metadata belong.
company.iduint64?Identifier given as input for the command.
dashcamsArray.<DashcamData>The list of requested dashcam image or video metadata.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
totalsObject.<DashcamDataType, HostedTotal>Totals of hosted dashcam media as calculated at midnight.
Response structure
{
	"company": {
		"id": number
	},
	"dashcams": [
		{
			"altitude": number,
			"asset": number,
			"bytes": number,
			"camera": number,
			"company": number,
			"end": string,
			"eventName": string,
			"fps": number,
			"guid": string,
			"heading": number,
			"kind": string,
			"latitude": number,
			"longitude": number,
			"provider": string,
			"size": {
				"height": number,
				"width": number
			},
			"speed": number,
			"start": string
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number,
	"totals": {
		string: {
			"bytes": number,
			"count": number,
			"newest": string,
			"oldest": string
		}
	}
}

RespDashcamListByProviderBaseResponseobject

Response description
PropertyTypeDescription
dashcamsArray.<DashcamData>The list of requested dashcam image or video metadata.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
providerRespIdendifierAn object to contain the "id" of the Provider to which the array of dashcam image or video metadata belong.
provider.idstringIdentifier given as input for the command.
reqIdint32?Identifier used by external system to correlate requests to responses.
totalsObject.<DashcamDataType, HostedTotal>Totals of hosted dashcam media as calculated at midnight.
Response structure
{
	"dashcams": [
		{
			"altitude": number,
			"asset": number,
			"bytes": number,
			"camera": number,
			"company": number,
			"end": string,
			"eventName": string,
			"fps": number,
			"guid": string,
			"heading": number,
			"kind": string,
			"latitude": number,
			"longitude": number,
			"provider": string,
			"size": {
				"height": number,
				"width": number
			},
			"speed": number,
			"start": string
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"provider": {
		"id": string
	},
	"reqId": number,
	"totals": {
		string: {
			"bytes": number,
			"count": number,
			"newest": string,
			"oldest": string
		}
	}
}

RespDashcamLiveListByAssetBaseResponseobject

Response description
PropertyTypeDescription
assetRespIdAn object to contain the "id" of the Asset to which the array of dashcam live image metadata belongs.
asset.iduint64?Identifier given as input for the command.
dashcamsArray.<DashcamDataLive>The list of requested dashcam live image metadata.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"asset": {
		"id": number
	},
	"dashcams": [
		{
			"altitude": number,
			"asset": number,
			"bytes": number,
			"camera": number,
			"company": number,
			"dts": string,
			"heading": number,
			"kind": string,
			"latitude": number,
			"longitude": number,
			"provider": string,
			"size": {
				"height": number,
				"width": number
			},
			"speed": number
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespDashcamLiveListByCompanyBaseResponseobject

Response description
PropertyTypeDescription
companyRespIdAn object to contain the "id" of the Company to which the array of dashcam live image metadata belongs.
company.iduint64?Identifier given as input for the command.
dashcamsArray.<DashcamDataLive>The list of requested dashcam live image metadata.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"company": {
		"id": number
	},
	"dashcams": [
		{
			"altitude": number,
			"asset": number,
			"bytes": number,
			"camera": number,
			"company": number,
			"dts": string,
			"heading": number,
			"kind": string,
			"latitude": number,
			"longitude": number,
			"provider": string,
			"size": {
				"height": number,
				"width": number
			},
			"speed": number
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespDashcamLiveListByProviderBaseResponseobject

Response description
PropertyTypeDescription
dashcamsArray.<DashcamDataLive>The list of requested dashcam live image metadata.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
providerRespIdendifierAn object to contain the "id" of the Provider to which the array of dashcam live image metadata belong.
provider.idstringIdentifier given as input for the command.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"dashcams": [
		{
			"altitude": number,
			"asset": number,
			"bytes": number,
			"camera": number,
			"company": number,
			"dts": string,
			"heading": number,
			"kind": string,
			"latitude": number,
			"longitude": number,
			"provider": string,
			"size": {
				"height": number,
				"width": number
			},
			"speed": number
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"provider": {
		"id": string
	},
	"reqId": number
}

RespDocumentBatchDeleteBaseResponseobject

Response description
PropertyTypeDescription
documentsArray.<RespDeleted>Array or responses successfully processed by the sub-command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"documents": [
		{
			"company": number,
			"deleted": boolean,
			"id": number,
			"v": [
				number
			]
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespDocumentBatchMergeBaseResponseobject

Response description
PropertyTypeDescription
documentsArray.<RespIdCompany>Array or responses successfully processed by the sub-command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"documents": [
		{
			"company": number,
			"id": number
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespDocumentDeleteBaseResponseobject

Response description
PropertyTypeDescription
documentRespDeletedAn object which contains the Document's id, owning Company id, and deleted status.
document.companyuint64Identifier of the Company to which this object belongs.
document.deletedbooleanFlag showing if the object is deleted.
document.iduint64?Identifier given as input for the command.
document.vArray.<uint32>
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"document": {
		"company": number,
		"deleted": boolean,
		"id": number,
		"v": [
			number
		]
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespDocumentGetBaseResponseobject

Response description
PropertyTypeDescription
documentDocumentThe requested Document.
document.bytesuint64The file-size on the disk.
document.companyuint64The company to which this file belongs.
document.expirydatetimeThe date and time this fill will be automatically purged from our system.
document.iduint64Unique identifier of this file.
document.mimestring
maximum-length: 50
The MIME type of the file.
document.namestring
maximum-length: 100
The file name of this file.
document.notesstringNotes about this file.
document.processedUtcdatetimeWhen the was change procesed.
document.referencesObject.<string, string>
maximum-count: 10
maximum-length of keys: 20
maximum-length of values: 100
Name/value collections of custom fields used to refer to external systems.
document.srcstring
maximum-length: 200
The URL/path to find this file.
document.updatedby: login, from: monster
document.vArray.<uint32>Object version keys used to validate synchronization for all object properties.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"document": {
		"bytes": number,
		"company": number,
		"expiry": string,
		"id": number,
		"mime": string,
		"name": string,
		"notes": string,
		"processedUtc": string,
		"references": {
			string: string
		},
		"src": string,
		"updated": {
		},
		"v": [
			number
		]
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespDocumentListByCompanyBaseResponseobject

Response description
PropertyTypeDescription
companyRespIdAn object to contain the "id" of the Company to which the array of Documents belong.
company.iduint64?Identifier given as input for the command.
documentsArray.<Document>The list of requested Documents.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"company": {
		"id": number
	},
	"documents": [
		{
			"bytes": number,
			"company": number,
			"expiry": string,
			"id": number,
			"mime": string,
			"name": string,
			"notes": string,
			"processedUtc": string,
			"references": {
				string: string
			},
			"src": string,
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespDocumentListByRefPairsBaseResponseobject

Response description
PropertyTypeDescription
companyRespIdAn object to contain the "id" of the Company to which the array of Documents belong.
company.iduint64?Identifier given as input for the command.
documentsArray.<Document>The list of requested Documents.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
referencesObject.<string, string>The reference string given as input.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"company": {
		"id": number
	},
	"documents": [
		{
			"bytes": number,
			"company": number,
			"expiry": string,
			"id": number,
			"mime": string,
			"name": string,
			"notes": string,
			"processedUtc": string,
			"references": {
				string: string
			},
			"src": string,
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"references": {
		string: string
	},
	"reqId": number
}

RespDocumentMergeBaseResponseobject

Response description
PropertyTypeDescription
documentRespIdCompanyAn object which contains the "id" and "company" keys.
document.companyuint64Identifier of the Company to which this object belongs.
document.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"document": {
		"company": number,
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespDocumentRestoreBaseResponseobject

Response description
PropertyTypeDescription
documentRespDeletedAn object which contains the Document's id, owning Company id, and deleted status.
document.companyuint64Identifier of the Company to which this object belongs.
document.deletedbooleanFlag showing if the object is deleted.
document.iduint64?Identifier given as input for the command.
document.vArray.<uint32>
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"document": {
		"company": number,
		"deleted": boolean,
		"id": number,
		"v": [
			number
		]
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespFormResultBatchDeleteBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
formResultsArray.<RespDeleted>Array or responses successfully processed by the sub-command.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"formResults": [
		{
			"company": number,
			"deleted": boolean,
			"id": number,
			"v": [
				number
			]
		}
	],
	"message": string,
	"reqId": number
}

RespFormResultBatchMergeBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
formResultsArray.<RespIdCompany>Array or responses successfully processed by the sub-command.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"formResults": [
		{
			"company": number,
			"id": number
		}
	],
	"message": string,
	"reqId": number
}

RespFormResultDeleteBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
formResultRespDeletedAn object which contains the FormResult's id, owning Company id, and deleted status.
formResult.companyuint64Identifier of the Company to which this object belongs.
formResult.deletedbooleanFlag showing if the object is deleted.
formResult.iduint64?Identifier given as input for the command.
formResult.vArray.<uint32>
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"formResult": {
		"company": number,
		"deleted": boolean,
		"id": number,
		"v": [
			number
		]
	},
	"message": string,
	"reqId": number
}

RespFormResultGetBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
formResultFormResultThe requested FormResult.
formResult.assetuint64?The Asset to which this form belongs.
formResult.companyuint64The Company to which this form belongs.
formResult.completeddatetimeA timestamp from when this form was completed by a User or Asset.
formResult.driverstringClocked-in driver name who made the update. Null if not clocked-in, or no changes have been made.
formResult.fieldsObject.<uint64, string>All the values for fillable fields by index.
formResult.iduint64Unique identifier of this form.
formResult.labelsArray.<codified>
for values see: LabelStyle.code
Codified label names used to relate forms to Assets.
formResult.latlngLatLngThe coordinates of the User or Asset from when the form was completed.
formResult.latlng.latdoubleLatitude
formResult.latlng.lngdoubleLongitude
formResult.namestring
maximum-length: 100
Name of this form.
formResult.notesstringNotes about this form.
formResult.processedUtcdatetimeWhen the was change procesed.
formResult.templateuint64The FormTemplate to which this form belongs.
formResult.updatedby: login, from: monster
formResult.vArray.<uint32>Object version keys used to validate synchronization for all object properties.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"formResult": {
		"asset": number,
		"company": number,
		"completed": string,
		"driver": string,
		"fields": {
			string: string
		},
		"id": number,
		"labels": [
			string
		],
		"latlng": {
			"lat": number,
			"lng": number
		},
		"name": string,
		"notes": string,
		"processedUtc": string,
		"template": number,
		"updated": {
		},
		"v": [
			number
		]
	},
	"message": string,
	"reqId": number
}

RespFormResultListByCompanyBaseResponseobject

Response description
PropertyTypeDescription
companyRespIdAn object to contain the "id" of the Company to which the array of FormResults belong.
company.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
formResultsArray.<FormResult>The list of requested FormResults.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"company": {
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"formResults": [
		{
			"asset": number,
			"company": number,
			"completed": string,
			"driver": string,
			"fields": {
				string: string
			},
			"id": number,
			"labels": [
				string
			],
			"latlng": {
				"lat": number,
				"lng": number
			},
			"name": string,
			"notes": string,
			"processedUtc": string,
			"template": number,
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"message": string,
	"reqId": number
}

RespFormResultListByCompanyAndLabelsBaseResponseobject

Response description
PropertyTypeDescription
companyRespIdAn object to contain the "id" of the Company to which the array of FormResults belong.
company.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
formResultsArray.<FormResult>The list of requested FormResults.
labelsArray.<string>The labels given as input.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"company": {
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"formResults": [
		{
			"asset": number,
			"company": number,
			"completed": string,
			"driver": string,
			"fields": {
				string: string
			},
			"id": number,
			"labels": [
				string
			],
			"latlng": {
				"lat": number,
				"lng": number
			},
			"name": string,
			"notes": string,
			"processedUtc": string,
			"template": number,
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"labels": [
		string
	],
	"message": string,
	"reqId": number
}

RespFormResultMergeBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
formResultRespIdCompanyAn object which contains the "id" and "company" keys when there is no error.
formResult.companyuint64Identifier of the Company to which this object belongs.
formResult.iduint64?Identifier given as input for the command.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"formResult": {
		"company": number,
		"id": number
	},
	"message": string,
	"reqId": number
}

RespFormResultRestoreBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
formResultRespDeletedAn object which contains the FormResult's id, owning Company id, and deleted status.
formResult.companyuint64Identifier of the Company to which this object belongs.
formResult.deletedbooleanFlag showing if the object is deleted.
formResult.iduint64?Identifier given as input for the command.
formResult.vArray.<uint32>
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"formResult": {
		"company": number,
		"deleted": boolean,
		"id": number,
		"v": [
			number
		]
	},
	"message": string,
	"reqId": number
}

RespFormTemplateBatchDeleteBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
formTemplatesArray.<RespDeleted>Array or responses successfully processed by the sub-command.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"formTemplates": [
		{
			"company": number,
			"deleted": boolean,
			"id": number,
			"v": [
				number
			]
		}
	],
	"message": string,
	"reqId": number
}

RespFormTemplateBatchMergeBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
formTemplatesArray.<RespIdCompany>Array or responses successfully processed by the sub-command.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"formTemplates": [
		{
			"company": number,
			"id": number
		}
	],
	"message": string,
	"reqId": number
}

RespFormTemplateDeleteBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
formTemplateRespDeletedAn object which contains the FormTemplate's id, owning Company id, and deleted status.
formTemplate.companyuint64Identifier of the Company to which this object belongs.
formTemplate.deletedbooleanFlag showing if the object is deleted.
formTemplate.iduint64?Identifier given as input for the command.
formTemplate.vArray.<uint32>
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"formTemplate": {
		"company": number,
		"deleted": boolean,
		"id": number,
		"v": [
			number
		]
	},
	"message": string,
	"reqId": number
}

RespFormTemplateGetBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
formTemplateFormTemplateThe requested FormTemplate.
formTemplate.companyuint64The Company to which this form belongs.
formTemplate.fieldsArray.<FormFieldBase>All the user fillable fields by name.
formTemplate.fillcolour
maximum-length: 22
The fill/background colour of the icon.
formTemplate.graphiccodified
maximum-length: 22
The name of the symbol for this template.
formTemplate.iduint64Unique identifier of this form.
formTemplate.labelsArray.<codified>
for values see: LabelStyle.code
Codified label names used to relate forms to Assets.
formTemplate.namestring
maximum-length: 100
Name of this form.
formTemplate.notesstringNotes about this form.
formTemplate.processedUtcdatetimeWhen the was change procesed.
formTemplate.strokecolour
maximum-length: 22
Outline and graphic colour.
formTemplate.updatedby: login, from: monster
formTemplate.vArray.<uint32>Object version keys used to validate synchronization for all object properties.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"formTemplate": {
		"company": number,
		"fields": [
			{
				"editable": boolean,
				"id": number,
				"kind": string,
				"name": string,
				"notes": string,
				"required": boolean,
				"value": string
			}
		],
		"fill": string,
		"graphic": string,
		"id": number,
		"labels": [
			string
		],
		"name": string,
		"notes": string,
		"processedUtc": string,
		"stroke": string,
		"updated": {
		},
		"v": [
			number
		]
	},
	"message": string,
	"reqId": number
}

RespFormTemplateListByCompanyBaseResponseobject

Response description
PropertyTypeDescription
companyRespIdAn object to contain the "id" of the Company to which the array of FormTemplates belong.
company.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
formTemplatesArray.<FormTemplate>The list of requested FormTemplates.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"company": {
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"formTemplates": [
		{
			"company": number,
			"fields": [
				{
					"editable": boolean,
					"id": number,
					"kind": string,
					"name": string,
					"notes": string,
					"required": boolean,
					"value": string
				}
			],
			"fill": string,
			"graphic": string,
			"id": number,
			"labels": [
				string
			],
			"name": string,
			"notes": string,
			"processedUtc": string,
			"stroke": string,
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"message": string,
	"reqId": number
}

RespFormTemplateListByCompanyAndLabelsBaseResponseobject

Response description
PropertyTypeDescription
companyRespIdAn object to contain the "id" of the Company to which the array of FormTemplates belong.
company.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
formTemplatesArray.<FormTemplate>The list of requested FormTemplates.
labelsArray.<string>The labels given as input.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"company": {
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"formTemplates": [
		{
			"company": number,
			"fields": [
				{
					"editable": boolean,
					"id": number,
					"kind": string,
					"name": string,
					"notes": string,
					"required": boolean,
					"value": string
				}
			],
			"fill": string,
			"graphic": string,
			"id": number,
			"labels": [
				string
			],
			"name": string,
			"notes": string,
			"processedUtc": string,
			"stroke": string,
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"labels": [
		string
	],
	"message": string,
	"reqId": number
}

RespFormTemplateMergeBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
formTemplateRespIdCompanyAn object which contains the "id" and "company" keys when there is no error.
formTemplate.companyuint64Identifier of the Company to which this object belongs.
formTemplate.iduint64?Identifier given as input for the command.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"formTemplate": {
		"company": number,
		"id": number
	},
	"message": string,
	"reqId": number
}

RespFormTemplateRestoreBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
formTemplateRespDeletedAn object which contains the FormTemplate's id, owning Company id, and deleted status.
formTemplate.companyuint64Identifier of the Company to which this object belongs.
formTemplate.deletedbooleanFlag showing if the object is deleted.
formTemplate.iduint64?Identifier given as input for the command.
formTemplate.vArray.<uint32>
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"formTemplate": {
		"company": number,
		"deleted": boolean,
		"id": number,
		"v": [
			number
		]
	},
	"message": string,
	"reqId": number
}

RespIconBatchDeleteBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
iconsArray.<RespDeleted>Array or responses successfully processed by the sub-command.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"icons": [
		{
			"company": number,
			"deleted": boolean,
			"id": number,
			"v": [
				number
			]
		}
	],
	"message": string,
	"reqId": number
}

RespIconBatchMergeBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
iconsArray.<RespIdCompany>Array or responses successfully processed by the sub-command.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"icons": [
		{
			"company": number,
			"id": number
		}
	],
	"message": string,
	"reqId": number
}

RespIconDeleteBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
iconRespDeletedAn object which contains the Icon's id, owning Company id, and deleted status.
icon.companyuint64Identifier of the Company to which this object belongs.
icon.deletedbooleanFlag showing if the object is deleted.
icon.iduint64?Identifier given as input for the command.
icon.vArray.<uint32>
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"icon": {
		"company": number,
		"deleted": boolean,
		"id": number,
		"v": [
			number
		]
	},
	"message": string,
	"reqId": number
}

RespIconGetBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
iconIconThe requested Icon.
icon.badgeIconLabelWhere the notification will appear for a mapped icon. Such as the number of dispatches an asset is working on, or the number of dispatches at a place.
icon.badge.alignstringDetermines which corner of the label is attached to the anchor.
icon.badge.anchorPointThe offset from the lat/long in pixels.
icon.badge.anchor.xdoubleHorizontal coordinate
icon.badge.anchor.ydoubleVertical coordinate
icon.badge.colourstringBackground colour of the label.
icon.categorystring
maximum-length: 100
A noun to describe the type of thing represented. Like Truck, Car, Trailer, Hot-Air Balloon, etc...
icon.companyuint64The company to which this icon belongs.
icon.globalbooleanIndicates whether this icon is available to child companies.
icon.glyphsArray.<IconGlyph>The images used to show the detail of this icon.
icon.iduint64Unique identifier of this icon.
icon.labelIconLabelDefinition for the name bubble above the icon on a map.
icon.label.alignstringDetermines which corner of the label is attached to the anchor.
icon.label.anchorPointThe offset from the lat/long in pixels.
icon.label.anchor.xdoubleHorizontal coordinate
icon.label.anchor.ydoubleVertical coordinate
icon.label.colourstringBackground colour of the label.
icon.namestring
maximum-length: 100
A specific adjective to describe the thing. Like Blue, Red, Empty, Full, etc...
icon.notesstringNotes.
icon.processedUtcdatetimeWhen the was change procesed.
icon.updatedby: login, from: monster
icon.usageArray.<string>A list of things that this icon can be used to represent. Like asset, place, user, etc...
icon.vArray.<uint32>Object version keys used to validate synchronization for all object properties.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"icon": {
		"badge": {
			"align": string,
			"anchor": {
				"x": number,
				"y": number
			},
			"colour": string
		},
		"category": string,
		"company": number,
		"global": boolean,
		"glyphs": [
			{
				"anchor": {
					"x": number,
					"y": number
				},
				"layer": string,
				"rotates": boolean,
				"size": {
					"height": number,
					"width": number
				},
				"src": string,
				"tags": [
					string
				],
				"zIndex": number
			}
		],
		"id": number,
		"label": {
			"align": string,
			"anchor": {
				"x": number,
				"y": number
			},
			"colour": string
		},
		"name": string,
		"notes": string,
		"processedUtc": string,
		"updated": {
		},
		"usage": [
			string
		],
		"v": [
			number
		]
	},
	"message": string,
	"reqId": number
}

RespIconListByCompanyBaseResponseobject

Response description
PropertyTypeDescription
companyRespIdAn object to contain the "id" of the Company to which the array of Icons belong.
company.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
iconsArray.<Icon>The list of requested Icons.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"company": {
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"icons": [
		{
			"badge": {
				"align": string,
				"anchor": {
					"x": number,
					"y": number
				},
				"colour": string
			},
			"category": string,
			"company": number,
			"global": boolean,
			"glyphs": [
				{
					"anchor": {
						"x": number,
						"y": number
					},
					"layer": string,
					"rotates": boolean,
					"size": {
						"height": number,
						"width": number
					},
					"src": string,
					"tags": [
						string
					],
					"zIndex": number
				}
			],
			"id": number,
			"label": {
				"align": string,
				"anchor": {
					"x": number,
					"y": number
				},
				"colour": string
			},
			"name": string,
			"notes": string,
			"processedUtc": string,
			"updated": {
			},
			"usage": [
				string
			],
			"v": [
				number
			]
		}
	],
	"message": string,
	"reqId": number
}

RespIconMergeBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
iconRespIdCompanyAn object which contains the "id" and "company" keys when there is no error.
icon.companyuint64Identifier of the Company to which this object belongs.
icon.iduint64?Identifier given as input for the command.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"icon": {
		"company": number,
		"id": number
	},
	"message": string,
	"reqId": number
}

RespIconRestoreBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
iconRespDeletedAn object which contains the Icon's id, owning Company id, and deleted status.
icon.companyuint64Identifier of the Company to which this object belongs.
icon.deletedbooleanFlag showing if the object is deleted.
icon.iduint64?Identifier given as input for the command.
icon.vArray.<uint32>
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"icon": {
		"company": number,
		"deleted": boolean,
		"id": number,
		"v": [
			number
		]
	},
	"message": string,
	"reqId": number
}

RespPictureBatchDeleteBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
picturesArray.<RespDeleted>Array or responses successfully processed by the sub-command.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"pictures": [
		{
			"company": number,
			"deleted": boolean,
			"id": number,
			"v": [
				number
			]
		}
	],
	"reqId": number
}

RespPictureBatchMergeBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
picturesArray.<RespIdCompany>Array or responses successfully processed by the sub-command.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"pictures": [
		{
			"company": number,
			"id": number
		}
	],
	"reqId": number
}

RespPictureDeleteBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
pictureRespDeletedAn object which contains the Picture's id, owning Company id, and deleted status.
picture.companyuint64Identifier of the Company to which this object belongs.
picture.deletedbooleanFlag showing if the object is deleted.
picture.iduint64?Identifier given as input for the command.
picture.vArray.<uint32>
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"picture": {
		"company": number,
		"deleted": boolean,
		"id": number,
		"v": [
			number
		]
	},
	"reqId": number
}

RespPictureGetBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
picturePictureThe requested Picture.
picture.bytesuint64The file-size on the disk.
picture.companyuint64The company to which this image belongs.
picture.focalsArray.<Square>A list of focal points in the images like faces.
picture.iduint64Unique identifier of this image.
picture.namestring
maximum-length: 100
The file name of this image.
picture.notesstringNotes about this image.
picture.processedUtcdatetimeWhen the was change procesed.
picture.sizeSizeResolution defined in pixels.
picture.size.heightdoubleHeight
picture.size.widthdoubleWidth
picture.srcstring
maximum-length: 200
The URL/path to find this image.
picture.updatedby: login, from: monster
picture.usesuint32A count of the times this image was used for something (asset, contact, task, etc).
picture.vArray.<uint32>Object version keys used to validate synchronization for all object properties.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"picture": {
		"bytes": number,
		"company": number,
		"focals": [
			{
				"bottom": number,
				"left": number,
				"right": number,
				"top": number
			}
		],
		"id": number,
		"name": string,
		"notes": string,
		"processedUtc": string,
		"size": {
			"height": number,
			"width": number
		},
		"src": string,
		"updated": {
		},
		"uses": number,
		"v": [
			number
		]
	},
	"reqId": number
}

RespPictureListByCompanyBaseResponseobject

Response description
PropertyTypeDescription
companyRespIdAn object to contain the "id" of the Company to which the array of Pictures belong.
company.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
picturesArray.<Picture>The list of requested Pictures.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"company": {
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"pictures": [
		{
			"bytes": number,
			"company": number,
			"focals": [
				{
					"bottom": number,
					"left": number,
					"right": number,
					"top": number
				}
			],
			"id": number,
			"name": string,
			"notes": string,
			"processedUtc": string,
			"size": {
				"height": number,
				"width": number
			},
			"src": string,
			"updated": {
			},
			"uses": number,
			"v": [
				number
			]
		}
	],
	"reqId": number
}

RespPictureMergeBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
pictureRespIdCompanyAn object which contains the "id" and "company" keys when there is no error.
picture.companyuint64Identifier of the Company to which this object belongs.
picture.iduint64?Identifier given as input for the command.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"picture": {
		"company": number,
		"id": number
	},
	"reqId": number
}

RespPictureRestoreBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
pictureRespDeletedAn object which contains the Picture's id, owning Company id, and deleted status.
picture.companyuint64Identifier of the Company to which this object belongs.
picture.deletedbooleanFlag showing if the object is deleted.
picture.iduint64?Identifier given as input for the command.
picture.vArray.<uint32>
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"picture": {
		"company": number,
		"deleted": boolean,
		"id": number,
		"v": [
			number
		]
	},
	"reqId": number
}

Hours of Service

HosCarrierobject Deprecated: Feature retired.

An operator registered to transport goods or people.
JSON description
PropertyTypeDescription
addressStreetAddressThe carrier's physical or incorporated address.
codesObject.<string, string>Identity code supplied by a regulatory/government body (DOT ID).
companyuint64The company to which this carrier information belongs.
contactuint64?Contact information for the carrier.
iduint64Unique identifier of the Carrier.
namestring
maximum-length: 100
The carrier's registered name.
notesstringNotes.
processedUtcdatetimeWhen the was change procesed.
shiftCycle
Deprecated
HosCycleDefault shift cycle used by the drivers
Feature retired.
timezonecodifiedThe local timezone of the carrier's address.
updatedby: login, from: monster
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"address": {
		"city": string,
		"country": string,
		"isToll": boolean,
		"number": string,
		"postal": string,
		"province": string,
		"region": string,
		"street": string
	},
	"codes": {
		string: string
	},
	"company": number,
	"contact": number,
	"id": number,
	"logo": number,
	"name": string,
	"notes": string,
	"processedUtc": string,
	"shiftCycle": string,
	"timezone": string,
	"updated": {
	},
	"v": [
		number
	]
}

HosCarrierDeletedobject Deprecated: Feature retired.

The message format for when a deleted HosCarrier is retrieved
JSON description
PropertyTypeValueDescription
companyuint64The company to which this carrier information belongs.
deletedbooleantrue
iduint64Unique identifier of the Carrier.
sincedatetimeA timestamp from the moment the object was deleted.
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"company": number,
	"deleted": boolean,
	"id": number,
	"since": string,
	"v": [
		number
	]
}

HosCyclestring Deprecated: Feature retired.

Driving cycle behaviour
ValueDescription
canada120h14d
Deprecated
Canada South 120 hour / 14 days (Cycle 2)
Feature retired.
canada120h14dN
Deprecated
Canada North 120 hour / 14 days (Cycle 2)
Feature retired.
canada70h7d
Deprecated
Canada South 70 hour / 7 days (Cycle 1)
Feature retired.
canada80h7d
Deprecated
Canada North 80 hour / 7 days (Cycle 1)
Feature retired.
canadaOilGas
Deprecated
Canada Oil and Gas
Feature retired.
unknown
Deprecated
Some other cycle
Feature retired.
usa60h7d
Deprecated
USA Federal 60 hour / 7 days
Feature retired.
usa60h7d_p
Deprecated
USA Federal 60 hour / 7 days (passenger)
Feature retired.
usa70h8d
Deprecated
USA Federal 70 hour / 8 days
Feature retired.
usa70h8d_p
Deprecated
USA Federal 70 hour / 8 days (passenger)
Feature retired.
usaAlaska70h7d
Deprecated
USA Alaska 70 hour / 7 days
Feature retired.
usaAlaska70h7d_p
Deprecated
USA Alaska 70 hour / 7 days (passenger)
Feature retired.
usaAlaska80h8d
Deprecated
USA Alaska 80 hour / 8 days
Feature retired.
usaAlaska80h8d_p
Deprecated
USA Alaska 80 hour / 8 days (passenger)
Feature retired.
usaCalifornia112h8d
Deprecated
USA California 112 hours / 8 days (farm products)
Feature retired.
usaCalifornia112h8d_p
Deprecated
USA California 112 hours / 8 days (passenger)
Feature retired.
usaCalifornia80h8d
Deprecated
USA California 80 hour / 8 days
Feature retired.
usaCalifornia80h8d_p
Deprecated
USA California 80 hour / 8 days (passenger)
Feature retired.
usaTexas70h7d
Deprecated
USA Texas 70 hour / 7 days
Feature retired.

HosDataTransferTypestring Deprecated: Feature retired.

Method of transferring HoS E-logs to the authorities
ValueDescription
canadaEmail
Deprecated
MTO via Email
Feature retired.
usaEmail
Deprecated
FMCSA via Email
Feature retired.
usaWebservice
Deprecated
FMCSA via Webservice portal
Feature retired.

HosDefectAreastring Deprecated: Feature retired.

Shows where a defect was located on the rig.
ValueDescription
tractor
Deprecated
Defect on the vehicle.
Feature retired.
trailer
Deprecated
Defect on one of the trailers.
Feature retired.

HosDefectStatusstring Deprecated: Feature retired.

Resolution status for trip inspection defects
ValueDescription
corrected
Deprecated
Issue fixed or resolved
Feature retired.
harmless
Deprecated
Issue does not affect operation
Feature retired.
satisfactory
Deprecated
Does not need to be corrected
Feature retired.

HosDiagnosticCodebytenumber Deprecated: Feature retired.

Data diagnostic events
ValueDescription
1
Deprecated
Power data diagnostic event
Feature retired.
2
Deprecated
Engine synchronization data diagnostic event
Feature retired.
3
Deprecated
Missing required data elements data diagnostic event
Feature retired.
4
Deprecated
Data transfer data diagnostic event
Feature retired.
5
Deprecated
Unidentified driving records data diagnostic event
Feature retired.
6
Deprecated
Other ELD identified diagnostic event
Feature retired.

HosEventobject Deprecated: Feature retired.

An ELD event record
JSON description
PropertyTypeDescription
addressStreetAddressGeolocation/Written address by driver of where the event took place
carrieruint64The carrier information to which this event belongs.
certificationDatedatetimeDate of the records being certified or re-certified by the driver
codesbyteEvent code
companyuint64The company to which this event belongs.
diagnosticCodeHosDiagnosticCode?Data Diagnostic Event Code
diagnosticStatusbooleanData Diagnostic Event Indicator Status
distanceSinceGPSFixsingle?Distance since last valid coordinates. An integer value between 0 and 6
dtsdatetimeWhen the event took place
engineHoursdouble?Odometer reading of the tractor at the time of the event
iduint64Unique identifier of the event.
isCoDriverbooleanDriver status - Primary/Co-driver
latitudestringSingle character 'X', single character 'M', single character 'E', or 2-decimal point precision value between -90.00 and 90.00
longitudestringSingle character 'X', single character 'M', single character 'E', or 2-decimal point precision value between -179.99 and 180.00
malfunctionCodestringMalfunction Indicator Code
malfunctionStatusbooleanMalfunction Indicator Status
notesstringComments/Annotations entered by the driver/user
odometerdouble?Odometer reading of the tractor at the time of the event
originHosEventOrigin?Event Record origin
personuint64?Driver associated with this event
processedUtcdatetimeWhen the was change procesed.
seqNouint16Event Sequence Id Number
shiftCycleHosCycle?Driver's shift cycle
status
Deprecated
HosEventStatusEvent Record status
Feature retired.
type
Deprecated
HosEventTypeEvent type
Feature retired.
updatedby: login, from: monster
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
vehicleuint64?Vehicle associated with this event
violationStatusbooleanViolation Status
violationTypeHosViolationType?Violation Type
JSON structure
{
	"address": {
		"city": string,
		"country": string,
		"isToll": boolean,
		"number": string,
		"postal": string,
		"province": string,
		"region": string,
		"street": string
	},
	"carrier": number,
	"certificationDate": string,
	"code": number,
	"company": number,
	"diagnosticCode": number,
	"diagnosticStatus": boolean,
	"distanceSinceGPSFix": number,
	"dts": string,
	"engineHours": number,
	"id": number,
	"isCoDriver": boolean,
	"latitude": string,
	"longitude": string,
	"malfunctionCode": string,
	"malfunctionStatus": boolean,
	"notes": string,
	"odometer": number,
	"origin": number,
	"person": number,
	"processedUtc": string,
	"seqNo": number,
	"shiftCycle": string,
	"status": number,
	"type": number,
	"updated": {
	},
	"v": [
		number
	],
	"vehicle": number,
	"violationStatus": boolean,
	"violationType": string
}

HosEventCodeCycleChangedbytenumber Deprecated: Feature retired.

Specifies the nature of the change indicated for "Canadian cycle changed" event type
ValueDescription
1
Deprecated
Cycle set to "Cycle 1"
Feature retired.
2
Deprecated
Cycle set to "Cycle 2"
Feature retired.

HosEventCodeDeferredHoursbytenumber Deprecated: Feature retired.

Deferred hours status for events while running Canadian cycles.
ValueDescription
0
Deprecated
Hours have not been defefred.
Feature retired.
1
Deprecated
Hours deferred from Day 1.
Feature retired.
2
Deprecated
Hours deferred from Day 2.
Feature retired.

HosEventCodeDiagnosticsbytenumber Deprecated: Feature retired.

Specifies the nature of the change indicated in "Diagnostic" event type
ValueDescription
-1
Deprecated
Unknown duty status
Feature retired.
1
Deprecated
An ELD malfunction logged
Feature retired.
2
Deprecated
An ELD malfunction cleared
Feature retired.
3
Deprecated
A data diagnostic event logged
Feature retired.
4
Deprecated
An data diagnostic event cleared
Feature retired.

HosEventCodeDutyStatussbytenumber Deprecated: Feature retired.

Specifies the nature of the change indicated in "Duty Status" event type
ValueDescription
-1
Deprecated
Unknown duty status
Feature retired.
1
Deprecated
Driver's duty status changed to "Off-duty"
Feature retired.
2
Deprecated
Driver's duty status changed to "Sleeper Berth"
Feature retired.
3
Deprecated
Driver's duty status changed to "Driving"
Feature retired.
4
Deprecated
Driver's duty status changed to "On-duty not driving"
Feature retired.
5
Deprecated
Waiting status is an Off-duty for some cases in Oil and Gas cycle.
Feature retired.

HosEventCodeEnginePowersbytenumber Deprecated: Feature retired.

Specifies the nature of the change indicated in "Engine Power" event type
ValueDescription
-1
Deprecated
Unknown duty status
Feature retired.
1
Deprecated
Engine power-up with conventional location precision
Feature retired.
2
Deprecated
Engine power-up with reduced location precision
Feature retired.
3
Deprecated
Engine shut-down with conventional location precision
Feature retired.
4
Deprecated
Engine shut-down with reduced location precision
Feature retired.

HosEventCodeIntermediatesbytenumber Deprecated: Feature retired.

Specifies the nature of the change indicated in "Intermediate" event type
ValueDescription
-1
Deprecated
Unknown
Feature retired.
1
Deprecated
Intermediate log with conventional location precision
Feature retired.
2
Deprecated
Intermediate log with reduced location precision
Feature retired.

HosEventCodeLoginsbytenumber Deprecated: Feature retired.

Specifies the nature of the change indicated in "Login" event type
ValueDescription
-1
Deprecated
Unknown
Feature retired.
1
Deprecated
Authenticated driver's ELD login activity
Feature retired.
2
Deprecated
Authenticated driver's ELD logout activity
Feature retired.

HosEventCodeOthersbytenumber Deprecated: Feature retired.

Specifies the nature of the change indicated in "Other" event type
ValueDescription
-1
Deprecated
Unknown
Feature retired.
0
Deprecated
Driver indication for PC, YM and WT cleared
Feature retired.
1
Deprecated
Driver indicates "Authorized Personal use of CMV"
Feature retired.
2
Deprecated
Driver indicates Yard moves"
Feature retired.

HosEventCodeZoneChangedbytenumber Deprecated: Feature retired.

Specifies the nature of the change indicated for "Canadian zone changed" event type
ValueDescription
1
Deprecated
Operating zone set to "south of latitude 60°N in Canada"
Feature retired.
2
Deprecated
Operating zone set to "north of latitude 60°N in Canada"
Feature retired.
3
Deprecated
Operating zone set to "United States"
Feature retired.

HosEventOriginbytenumber Deprecated: Feature retired.

Indicates where the event was generated.
ValueDescription
1
Deprecated
Automatically recorded by ELD
Feature retired.
2
Deprecated
Entered or edited by driver
Feature retired.
3
Deprecated
Edit requested by an authenticated user other than driver
Feature retired.
4
Deprecated
Assumed from unidentified driver profile
Feature retired.

HosEventStatusbytenumber Deprecated: Feature retired.

Event record status
ValueDescription
1
Deprecated
Active
Feature retired.
2
Deprecated
Inactive - changed
Feature retired.
3
Deprecated
Inactive - change requested
Feature retired.
4
Deprecated
Inactive - change rejected
Feature retired.

HosEventTypebytenumber Deprecated: Feature retired.

Event record type
ValueDescription
1
Deprecated
A change in driver's duty-status.
Feature retired.
2
Deprecated
An intermediate log
Feature retired.
3
Deprecated
A change in driver's indication of authorized personal use of CMV or yard moves.
Feature retired.
4
Deprecated
A driver's certification/re-certification of records.
Feature retired.
5
Deprecated
A driver's login/logout activity.
Feature retired.
6
Deprecated
CMV's engine power up/shutdown activity.
Feature retired.
7
Deprecated
A malfunction or data diagnostic detection occurence.
Feature retired.
20
Deprecated
Canadian cycle off-duty hours deferred.
Feature retired.
21
Deprecated
Canadian cycle changed.
Feature retired.
22
Deprecated
Canadian cycle operating zone changed.
Feature retired.
23
Deprecated
Canadian cycle additional hours not recorded.
Feature retired.

HosInspectionobject Deprecated: Feature retired.

A pre- or post-Trip inspection report.
JSON description
PropertyTypeDescription
addressStreetAddressWritten address by driver of where the inspection took place
assetuint64Always returns a value for the HosInspection.person.
carrieruint64The carrier information to which this inspection report belongs.
companyuint64The company to which this inspection report belongs.
defectsArray.<HosInspectionDefect>List of all defects
iduint64Unique identifier of the inspection reports.
inspectedOndatetimeWhen the inspection took place
latlngLatLngCoordinates where the inspection took place
odometerdoubleOdometer reading of the tractor at the time of the inspection
personuint64Driver who conducted the inspection
processedUtcdatetimeWhen the was change procesed.
status
Deprecated
HosDefectStatusStatus of all defects
Feature retired.
technicianstring
maximum-length: 100
Name of the (optional) technician/mechanic doing work or inspection.
techSigneddatetimeIf the defects needed to be addressed by a technician/mechanic, his signature will happen at a different time.
trailersArray.<string>Between 0 and 2 trailers being inspected
updatedby: login, from: monster
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
vehicleuint64Tractor being inspected
JSON structure
{
	"address": {
		"city": string,
		"country": string,
		"isToll": boolean,
		"number": string,
		"postal": string,
		"province": string,
		"region": string,
		"street": string
	},
	"asset": number,
	"carrier": number,
	"company": number,
	"defects": [
		{
			"area": string,
			"category": string,
			"description": string,
			"major": [
				string
			],
			"minor": [
				string
			]
		}
	],
	"id": number,
	"inspectedOn": string,
	"latlng": {
		"lat": number,
		"lng": number
	},
	"odometer": number,
	"person": number,
	"processedUtc": string,
	"status": string,
	"technician": string,
	"techSigned": string,
	"trailers": [
		string
	],
	"updated": {
	},
	"v": [
		number
	],
	"vehicle": number
}

HosInspectionDefectobject Deprecated: Feature retired.

Details of a defect found during a trip inspection
JSON description
PropertyTypeDescription
area
Deprecated
HosDefectAreaShows where a defect was located on the rig.
Feature retired.
categorystringThe kind of defect
descriptionstringA text description of the defect.
majorArray.<string>A list of major flaws as noted for Canadian standards.
minorArray.<string>A list of minor flaws as noted for Canadian standards.
JSON structure
{
	"area": string,
	"category": string,
	"description": string,
	"major": [
		string
	],
	"minor": [
		string
	]
}

HosInspectionDeletedobject Deprecated: Feature retired.

The message format for when a deleted HosInspection is retrieved
JSON description
PropertyTypeValueDescription
assetuint64Always returns a value for the HosInspection.person.
companyuint64The company to which this inspection report belongs.
deletedbooleantrue
iduint64Unique identifier of the inspection reports.
sincedatetimeA timestamp from the moment the object was deleted.
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"asset": number,
	"company": number,
	"deleted": boolean,
	"id": number,
	"since": string,
	"v": [
		number
	]
}

HosMalfunctionCodestring Deprecated: Feature retired.

Compliance Malfunction events
ValueDescription
EEngine synchronization compliance malfunction
LPositioning compliance malfunction
OOther ELD detected malfunction
PPower compliance malfunction
RData recording compliance malfunction
SData transfer compliance malfunction
TTiming compliance malfunction

HosViolationTypestring Deprecated: Feature retired.

Violations
ValueDescription
break_24
Deprecated
24 Hour Break Required
Feature retired.
break_30
Deprecated
30 Minute Break Required
Feature retired.
consecutive_off_8
Deprecated
Daily 8 Consecutive Hours Off Duty Required
Feature retired.
cycle_112
Deprecated
112 Hour Cycle Limit
Feature retired.
cycle_120
Deprecated
120 Hour Cycle Limit
Feature retired.
cycle_60
Deprecated
60 Hour Cycle Limit
Feature retired.
cycle_70
Deprecated
70 Hour Cycle Limit
Feature retired.
cycle_80
Deprecated
80 Hour Cycle Limit
Feature retired.
cycle_switching_36
Deprecated
36 Hours Break Required for Cycle Switching
Feature retired.
cycle_switching_72
Deprecated
72 Hours Break Required for Cycle Switching
Feature retired.
daily_break_10
Deprecated
Daily 10 Hour Off-Duty Required
Feature retired.
daily_break_8
Deprecated
Daily 8 Hour Off-Duty Required
Feature retired.
daily_driving_13
Deprecated
Daily 13 Hour Driving Limit
Feature retired.
daily_duty_14
Deprecated
Daily 14 Hour On-Duty Limit
Feature retired.
deferred_break_10
Deprecated
10 Consecutive Hours Off Duty Required on Day 2
Feature retired.
deferred_break_12
Deprecated
Off Duty Time Insufficient on Day 2
Feature retired.
driving_10
Deprecated
10 Hour Driving Limit
Feature retired.
driving_11
Deprecated
11 Hour Driving Limit
Feature retired.
driving_13
Deprecated
13 Hour Driving Limit
Feature retired.
driving_15
Deprecated
15 Hour Driving Limit
Feature retired.
duty_14
Deprecated
14 Hour Shift Limit
Feature retired.
duty_15
Deprecated
15 Hour On-Duty Limit
Feature retired.
duty_16
Deprecated
16 Hour Shift Limit
Feature retired.
duty_18
Deprecated
18 Hour Shift Limit
Feature retired.
duty_20
Deprecated
20 Hour Shift Limit
Feature retired.
none
Deprecated
No violation
Feature retired.
oil_break_24
Deprecated
3 periods of 24 Hour Break Required
Feature retired.

Maintenance

MaintenanceIntervalobject

The detail for calculating Maintenance Schedule recurrence.
JSON description
PropertyTypeDescription
assetuint64The Vehicle or Trailer to which this recurrence detail belongs.
datedatetimeThe date of the last calculation.
engineHoursdoubleThe operating time at the time of the last calculation.
lastJobuint64The last "completed" job related to this schedule interval.
odometerdoubleThe odometer at the time of the last calculation.
JSON structure
{
	"asset": number,
	"date": string,
	"engineHours": number,
	"lastJob": number,
	"odometer": number
}

MaintenanceJobobject

Historical service work performed on a Vehicle or Trailer
JSON description
PropertyTypeDescription
assetuint64The Vehicle or Trailer to which this job belongs
companyuint64The company to which this Vehicle or Trailer belongs
completeddatetimeWhen was this job created.
costdoubleHow much the job cost in dollars.
createddatetimeWhen was this job created.
durationtimespanTime it took to complete the job.
engineHoursdouble?The operating time at the time of the service.
garagestring
maximum-length: 100
The name of the garage or service facility where the work is done.
iduint64Unique identifier
namestring
maximum-length: 100
The work being done. Like "oil change".
notesstringNotes about the job. Like "changed the oil and filter".
odometerdouble?The odometer at the time of the service.
picturesArray.<uint64>
for values see: Picture.id
Images taken while performing the work for reference.
processedUtcdatetimeWhen the was change procesed.
referencestring
maximum-length: 100
A reference code used to track this job
scheduleuint64?The Maintenance Schedule from which this job was created
statusMaintenanceJobStatusThe status of this job.
technicianstring
maximum-length: 100
The mechanic who performed the work.
updatedby: login, from: monster
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"asset": number,
	"company": number,
	"completed": string,
	"cost": number,
	"created": string,
	"duration": string,
	"engineHours": number,
	"garage": string,
	"id": number,
	"name": string,
	"notes": string,
	"odometer": number,
	"pictures": [
		number
	],
	"processedUtc": string,
	"reference": string,
	"schedule": number,
	"status": string,
	"technician": string,
	"updated": {
	},
	"v": [
		number
	]
}

MaintenanceJobDeletedobject

The message format for when a deleted MaintenanceJob is retrieved
JSON description
PropertyTypeValueDescription
assetuint64The Vehicle or Trailer to which this job belongs
companyuint64The company to which this Vehicle or Trailer belongs
deletedbooleantrue
iduint64Unique identifier
namestring
maximum-length: 100
The work being done. Like "oil change".
notesstringNotes about the job. Like "changed the oil and filter".
sincedatetimeA timestamp from the moment the object was deleted.
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"asset": number,
	"company": number,
	"deleted": boolean,
	"id": number,
	"name": string,
	"notes": string,
	"since": string,
	"v": [
		number
	]
}

MaintenanceJobStatusstring

The lifetime of a Maintenance Job
ValueDescription
cancelledThe job was cancelled or was not necessary.
completedWork is completed.
pastdueThe work was scheduled, but not yet done.
pendingThe work will need to be performed soon.

MaintenanceScheduleobject

Recurring service work
JSON description
PropertyTypeDescription
companyuint64The company to which this schedule belongs
costdoubleThe estimated cost for the job cost in dollars.
durationtimespanThe estimated time for the job.
fillcolour
maximum-length: 22
The fill/background colour of the icon.
garagestring
maximum-length: 100
The name of the garage or service facility where the work is done.
graphiccodified
maximum-length: 22
The name of the symbol for this schedule.
iduint64Unique identifier
intervalsObject.<uint64, MaintenanceInterval>
for keys see: Asset.id
The per-asset details calculated by the system to help predict the creation of Maintenance Jobs.
namestring
maximum-length: 100
The name of the work to be done. Like "oil change".
notesstringNotes about the work to be done. Like "change the oil and oil filter".
notifyArray.<email>
for values see: User.login
List of Users to send notifications.
predictionDaysuint32The number of days in advance to predict a job will become pending.
processedUtcdatetimeWhen the was change procesed.
recurDaysuint32?The number of days between service visits.
recurDistancedouble?The amount of mileage between service visits.
recurEngineHoursdouble?The number of operating hours between service visits.
referencestring
maximum-length: 100
A reference code used to track this job
strokecolour
maximum-length: 22
Outline and graphic colour.
targetsexpressionThe targeting expression to select which Vehicles and Trailers require this maintenance work.
updatedby: login, from: monster
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"company": number,
	"cost": number,
	"duration": string,
	"fill": string,
	"garage": string,
	"graphic": string,
	"id": number,
	"intervals": {
		string: {
			"asset": number,
			"date": string,
			"engineHours": number,
			"lastJob": number,
			"odometer": number
		}
	},
	"name": string,
	"notes": string,
	"notify": [
		string
	],
	"predictionDays": number,
	"processedUtc": string,
	"recurDays": number,
	"recurDistance": number,
	"recurEngineHours": number,
	"reference": string,
	"stroke": string,
	"targets": string,
	"updated": {
	},
	"v": [
		number
	]
}

MaintenanceScheduleDeletedobject

The message format for when a deleted MaintenanceSchedule is retrieved
JSON description
PropertyTypeValueDescription
companyuint64The company to which this schedule belongs
deletedbooleantrue
iduint64Unique identifier
namestring
maximum-length: 100
The name of the work to be done. Like "oil change".
notesstringNotes about the work to be done. Like "change the oil and oil filter".
sincedatetimeA timestamp from the moment the object was deleted.
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"company": number,
	"deleted": boolean,
	"id": number,
	"name": string,
	"notes": string,
	"since": string,
	"v": [
		number
	]
}

ParamMaintenanceJobBatchDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
maintenanceJobsArray.<ParamId>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"maintenanceJobs": [
		{
			"id": number
		}
	],
	"reqId": number
}

ParamMaintenanceJobBatchMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
maintenanceJobsArray.<ParameterContent>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"maintenanceJobs": [
		{
			"asset": number,
			"completed": string,
			"cost": number,
			"created": string,
			"duration": string,
			"engineHours": number,
			"garage": string,
			"id": number,
			"name": string,
			"notes": string,
			"odometer": number,
			"pictures": [
				number
			],
			"reference": string,
			"schedule": number,
			"status": string,
			"technician": string,
			"v": [
				number
			]
		}
	],
	"reqId": number
}

ParamMaintenanceJobDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
maintenanceJobParamIdalwaysAn object to contain the "id" of the MaintenanceJob.
maintenanceJob.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"maintenanceJob": {
		"id": number
	},
	"reqId": number
}

ParamMaintenanceJobGetBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
includeDeletedbooleanoptionalfalseWhen true, the command will also return a deleted MaintenanceJob.
maintenanceJobParamIdalwaysAn object to contain the "id" of the MaintenanceJob.
maintenanceJob.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"includeDeleted": boolean,
	"maintenanceJob": {
		"id": number
	},
	"reqId": number
}

ParamMaintenanceJobListByAssetBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
afterdatetimeoptional
assetParamIdalwaysAn object to contain the "id" of the Asset.
asset.iduint64alwaysIdentifier given as input for the command.
beforedatetimeoptional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
pendingbooleanoptionalOptional parameter to including pending/past-due MaintenanceJobs.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"after": string,
	"asset": {
		"id": number
	},
	"before": string,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"pending": boolean,
	"reqId": number
}

ParamMaintenanceJobListByCompanyBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
afterdatetimeoptional
beforedatetimeoptional
companyParamIdalwaysAn object to contain the "id" of the Company.
company.iduint64alwaysIdentifier given as input for the command.
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
pendingbooleanoptionalOptional parameter to including pending/past-due MaintenanceJobs.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"after": string,
	"before": string,
	"company": {
		"id": number
	},
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"pending": boolean,
	"reqId": number
}

ParamMaintenanceJobListByScheduleBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
afterdatetimeoptional
beforedatetimeoptional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
maintenanceScheduleParamIdalwaysAn object to contain the "id" of the MaintenanceSchedule.
maintenanceSchedule.iduint64alwaysIdentifier given as input for the command.
pendingbooleanoptionalOptional parameter to including pending/past-due MaintenanceJobs.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"after": string,
	"before": string,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"maintenanceSchedule": {
		"id": number
	},
	"pending": boolean,
	"reqId": number
}

ParamMaintenanceJobMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
maintenanceJobObject.<string, ?>alwaysA simple object to contain the MaintenanceJob parameters.
maintenanceJob.assetuint64?createThe identifier of the Asset to which this MaintenanceJob is assigned.
maintenanceJob.completeddatetimeoptionalWhen was this MaintenanceJob created.
maintenanceJob.costdouble?optionalHow much the MaintenanceJob cost in dollars.
maintenanceJob.createddatetimeoptionalWhen was this MaintenanceJob created.
maintenanceJob.durationtimespanoptionalTime it took to complete the MaintenanceJob.
maintenanceJob.engineHoursdouble?optionalThe operating time at the time of the service.
maintenanceJob.garagestring
maximum-length: 100
optionalThe name of the garage or service facility where the work is done.
maintenanceJob.iduint64?updateThe unique identifier of the MaintenanceJob you want to update.
maintenanceJob.namestring
maximum-length: 100
createThe work being done. Like "oil change".
maintenanceJob.notesstringoptionalNotes about the MaintenanceJob. Like "changed the oil and filter".
maintenanceJob.odometerdouble?optionalThe odometer at the time of the service.
maintenanceJob.picturesArray.<uint64>
for values see: Picture.id
optionalPictures taken while performing the work for reference.
maintenanceJob.referencestring
maximum-length: 100
optionalA reference code used to track this MaintenanceJob.
maintenanceJob.scheduleuint64?optionalThe MaintenanceSchedule from which this job was created
maintenanceJob.statusMaintenanceJobStatus?optionalThe status of this MaintenanceJob.
maintenanceJob.technicianstring
maximum-length: 100
optionalThe mechanic who performed the work.
maintenanceJob.vArray.<int32>optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"maintenanceJob": {
		"asset": number,
		"completed": string,
		"cost": number,
		"created": string,
		"duration": string,
		"engineHours": number,
		"garage": string,
		"id": number,
		"name": string,
		"notes": string,
		"odometer": number,
		"pictures": [
			number
		],
		"reference": string,
		"schedule": number,
		"status": string,
		"technician": string,
		"v": [
			number
		]
	},
	"reqId": number
}

ParamMaintenanceJobRestoreBaseParametersobject

Request description
PropertyTypeRequiredDescription
maintenanceJobParamIdalwaysAn object to contain the "id" of the MaintenanceJob.
maintenanceJob.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"maintenanceJob": {
		"id": number
	},
	"reqId": number
}

ParamMaintenanceScheduleBatchDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
maintenanceSchedulesArray.<ParamId>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"maintenanceSchedules": [
		{
			"id": number
		}
	],
	"reqId": number
}

ParamMaintenanceScheduleBatchMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
maintenanceSchedulesArray.<ParameterContent>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"maintenanceSchedules": [
		{
			"company": number,
			"cost": number,
			"duration": string,
			"fill": string,
			"garage": string,
			"graphic": string,
			"id": number,
			"intervals": {
				string: {
					"asset": number,
					"date": string,
					"engineHours": number,
					"lastJob": number,
					"odometer": number
				}
			},
			"name": string,
			"notes": string,
			"notify": [
				string
			],
			"predictionDays": number,
			"recurDays": number,
			"recurDistance": number,
			"recurEngineHours": number,
			"reference": string,
			"stroke": string,
			"targets": string,
			"v": [
				number
			]
		}
	],
	"reqId": number
}

ParamMaintenanceScheduleDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
maintenanceScheduleParamIdalwaysAn object to contain the "id" of the MaintenanceSchedule.
maintenanceSchedule.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"maintenanceSchedule": {
		"id": number
	},
	"reqId": number
}

ParamMaintenanceScheduleGetBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
includeDeletedbooleanoptionalfalseWhen true, the command will also return a deleted MaintenanceSchedule.
maintenanceScheduleParamIdalwaysAn object to contain the "id" of the MaintenanceSchedule.
maintenanceSchedule.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"includeDeleted": boolean,
	"maintenanceSchedule": {
		"id": number
	},
	"reqId": number
}

ParamMaintenanceScheduleListByCompanyBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
companyParamIdalwaysAn object to contain the "id" of the Company.
company.iduint64alwaysIdentifier given as input for the command.
highestuint64?optional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
lowestuint64?optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"company": {
		"id": number
	},
	"highest": number,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"lowest": number,
	"reqId": number
}

ParamMaintenanceScheduleMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
maintenanceScheduleObject.<string, ?>alwaysA simple object to contain the MaintenanceSchedule parameters.
maintenanceSchedule.companyuint64?optionalThe company to which this MaintenanceSchedule. After creation, this value is read-only.
maintenanceSchedule.costdouble?optionalThe estimated cost for the created MaintenanceJob cost in dollars.
maintenanceSchedule.durationtimespanoptionalThe estimated time for the created MaintenanceJob.
maintenanceSchedule.fillstring
maximum-length: 22
optionalThe fill/background colour of the icon. Should be a hex colour in the format #RRGGBB.
maintenanceSchedule.garagestring
maximum-length: 100
optionalThe name of the garage or service facility where the work is done.
maintenanceSchedule.graphiccodified
maximum-length: 22
optionalThe name of the symbol for this report.
maintenanceSchedule.iduint64?updateThe unique identifier of the MaintenanceSchedule you want to update.
maintenanceSchedule.intervalsObject.<uint64, MaintenanceInterval>optionalThe per-Asset details calculated by the system to help predict the creation of MaintenanceJobs.
maintenanceSchedule.namestring
maximum-length: 100
createThe name of the MaintenanceSchedule.
maintenanceSchedule.notesstringoptionalNotes about the MaintenanceSchedule.
maintenanceSchedule.notifyArray.<email>optionalList of Users to send notifications.
maintenanceSchedule.predictionDaysuint32?optionalThe number of days in advance to predict a MaintenanceJob will become pending.
maintenanceSchedule.recurDaysuint32?optionalThe number of days between service visits.
maintenanceSchedule.recurDistancedouble?optionalThe amount of mileage between service visits.
maintenanceSchedule.recurEngineHoursdouble?optionalThe number of operating hours between service visits.
maintenanceSchedule.referencestring
maximum-length: 100
optionalA reference code used to track this created MaintenanceJob.
maintenanceSchedule.strokestring
maximum-length: 22
optionalOutline and graphic colour. Should be a hex colour in the format #RRGGBB.
maintenanceSchedule.targetsexpressionoptionalWhich Assets are targetted by this MaintenanceSchedule.
maintenanceSchedule.vArray.<int32>optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"maintenanceSchedule": {
		"company": number,
		"cost": number,
		"duration": string,
		"fill": string,
		"garage": string,
		"graphic": string,
		"id": number,
		"intervals": {
			string: {
				"asset": number,
				"date": string,
				"engineHours": number,
				"lastJob": number,
				"odometer": number
			}
		},
		"name": string,
		"notes": string,
		"notify": [
			string
		],
		"predictionDays": number,
		"recurDays": number,
		"recurDistance": number,
		"recurEngineHours": number,
		"reference": string,
		"stroke": string,
		"targets": string,
		"v": [
			number
		]
	},
	"reqId": number
}

ParamMaintenanceScheduleRestoreBaseParametersobject

Request description
PropertyTypeRequiredDescription
maintenanceScheduleParamIdalwaysAn object to contain the "id" of the MaintenanceSchedule.
maintenanceSchedule.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"maintenanceSchedule": {
		"id": number
	},
	"reqId": number
}

RespMaintenanceJobBatchDeleteBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
maintenanceJobsArray.<RespAssetDeleted>Array or responses successfully processed by the sub-command.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"maintenanceJobs": [
		{
			"asset": number,
			"company": number,
			"deleted": boolean,
			"id": number,
			"v": [
				number
			]
		}
	],
	"message": string,
	"reqId": number
}

RespMaintenanceJobBatchMergeBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
maintenanceJobsArray.<RespIdAsset>Array or responses successfully processed by the sub-command.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"maintenanceJobs": [
		{
			"asset": number,
			"company": number,
			"id": number
		}
	],
	"message": string,
	"reqId": number
}

RespMaintenanceJobDeleteBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
maintenanceJobRespAssetDeletedAn object which contains the MaintenanceJob's id, owning Company id, related Asset id, and deleted status.
maintenanceJob.assetuint64Identifier of the Asset to which this object belongs.
maintenanceJob.companyuint64Identifier of the Company to which this object belongs.
maintenanceJob.deletedbooleanFlag showing if the object is deleted.
maintenanceJob.iduint64?Identifier given as input for the command.
maintenanceJob.vArray.<uint32>
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"maintenanceJob": {
		"asset": number,
		"company": number,
		"deleted": boolean,
		"id": number,
		"v": [
			number
		]
	},
	"message": string,
	"reqId": number
}

RespMaintenanceJobGetBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
maintenanceJobMaintenanceJobThe requested MaintenanceJob.
maintenanceJob.assetuint64The Vehicle or Trailer to which this job belongs
maintenanceJob.companyuint64The company to which this Vehicle or Trailer belongs
maintenanceJob.completeddatetimeWhen was this job created.
maintenanceJob.costdoubleHow much the job cost in dollars.
maintenanceJob.createddatetimeWhen was this job created.
maintenanceJob.durationtimespanTime it took to complete the job.
maintenanceJob.engineHoursdouble?The operating time at the time of the service.
maintenanceJob.garagestring
maximum-length: 100
The name of the garage or service facility where the work is done.
maintenanceJob.iduint64Unique identifier
maintenanceJob.namestring
maximum-length: 100
The work being done. Like "oil change".
maintenanceJob.notesstringNotes about the job. Like "changed the oil and filter".
maintenanceJob.odometerdouble?The odometer at the time of the service.
maintenanceJob.picturesArray.<uint64>
for values see: Picture.id
Images taken while performing the work for reference.
maintenanceJob.processedUtcdatetimeWhen the was change procesed.
maintenanceJob.referencestring
maximum-length: 100
A reference code used to track this job
maintenanceJob.scheduleuint64?The Maintenance Schedule from which this job was created
maintenanceJob.statusMaintenanceJobStatusThe status of this job.
maintenanceJob.technicianstring
maximum-length: 100
The mechanic who performed the work.
maintenanceJob.updatedby: login, from: monster
maintenanceJob.vArray.<uint32>Object version keys used to validate synchronization for all object properties.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"maintenanceJob": {
		"asset": number,
		"company": number,
		"completed": string,
		"cost": number,
		"created": string,
		"duration": string,
		"engineHours": number,
		"garage": string,
		"id": number,
		"name": string,
		"notes": string,
		"odometer": number,
		"pictures": [
			number
		],
		"processedUtc": string,
		"reference": string,
		"schedule": number,
		"status": string,
		"technician": string,
		"updated": {
		},
		"v": [
			number
		]
	},
	"message": string,
	"reqId": number
}

RespMaintenanceJobListByAssetBaseResponseobject

Response description
PropertyTypeDescription
assetRespIdCompanyAn object to contain the "id" of the Asset to which the array of MaintenanceJobs belong.
asset.companyuint64Identifier of the Company to which this object belongs.
asset.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
maintenanceJobsArray.<MaintenanceJob>The list of requested MaintenanceJobs.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"asset": {
		"company": number,
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"maintenanceJobs": [
		{
			"asset": number,
			"company": number,
			"completed": string,
			"cost": number,
			"created": string,
			"duration": string,
			"engineHours": number,
			"garage": string,
			"id": number,
			"name": string,
			"notes": string,
			"odometer": number,
			"pictures": [
				number
			],
			"processedUtc": string,
			"reference": string,
			"schedule": number,
			"status": string,
			"technician": string,
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"message": string,
	"reqId": number
}

RespMaintenanceJobListByCompanyBaseResponseobject

Response description
PropertyTypeDescription
companyRespIdAn object to contain the "id" of the Company to which the array of MaintenanceJobs belong.
company.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
maintenanceJobsArray.<MaintenanceJob>The list of requested MaintenanceJobs.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"company": {
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"maintenanceJobs": [
		{
			"asset": number,
			"company": number,
			"completed": string,
			"cost": number,
			"created": string,
			"duration": string,
			"engineHours": number,
			"garage": string,
			"id": number,
			"name": string,
			"notes": string,
			"odometer": number,
			"pictures": [
				number
			],
			"processedUtc": string,
			"reference": string,
			"schedule": number,
			"status": string,
			"technician": string,
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"message": string,
	"reqId": number
}

RespMaintenanceJobListByScheduleBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
maintenanceJobsArray.<MaintenanceJob>The list of requested MaintenanceJobs.
maintenanceScheduleRespIdCompanyAn object to contain the "id" of the MaintenanceSchedule to which the array of MaintenanceJobs belong.
maintenanceSchedule.companyuint64Identifier of the Company to which this object belongs.
maintenanceSchedule.iduint64?Identifier given as input for the command.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"maintenanceJobs": [
		{
			"asset": number,
			"company": number,
			"completed": string,
			"cost": number,
			"created": string,
			"duration": string,
			"engineHours": number,
			"garage": string,
			"id": number,
			"name": string,
			"notes": string,
			"odometer": number,
			"pictures": [
				number
			],
			"processedUtc": string,
			"reference": string,
			"schedule": number,
			"status": string,
			"technician": string,
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"maintenanceSchedule": {
		"company": number,
		"id": number
	},
	"message": string,
	"reqId": number
}

RespMaintenanceJobMergeBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
maintenanceJobRespIdAssetAn object which contains the "id", "asset", and "company" keys.
maintenanceJob.assetuint64Identifier of the Asset to which this object belongs
maintenanceJob.companyuint64Identifier of the Company to which this object belongs.
maintenanceJob.iduint64?Identifier given as input for the command.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"maintenanceJob": {
		"asset": number,
		"company": number,
		"id": number
	},
	"message": string,
	"reqId": number
}

RespMaintenanceJobRestoreBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
maintenanceJobRespAssetDeletedAn object which contains the MaintenanceJob's id, owning Company id, related Asset id, and deleted status.
maintenanceJob.assetuint64Identifier of the Asset to which this object belongs.
maintenanceJob.companyuint64Identifier of the Company to which this object belongs.
maintenanceJob.deletedbooleanFlag showing if the object is deleted.
maintenanceJob.iduint64?Identifier given as input for the command.
maintenanceJob.vArray.<uint32>
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"maintenanceJob": {
		"asset": number,
		"company": number,
		"deleted": boolean,
		"id": number,
		"v": [
			number
		]
	},
	"message": string,
	"reqId": number
}

RespMaintenanceScheduleBatchDeleteBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
maintenanceSchedulesArray.<RespDeleted>Array or responses successfully processed by the sub-command.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"maintenanceSchedules": [
		{
			"company": number,
			"deleted": boolean,
			"id": number,
			"v": [
				number
			]
		}
	],
	"message": string,
	"reqId": number
}

RespMaintenanceScheduleBatchMergeBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
maintenanceSchedulesArray.<RespIdCompany>Array or responses successfully processed by the sub-command.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"maintenanceSchedules": [
		{
			"company": number,
			"id": number
		}
	],
	"message": string,
	"reqId": number
}

RespMaintenanceScheduleDeleteBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
maintenanceScheduleRespDeletedAn object which contains the MaintenanceSchedule's unique identifier and deleted status.
maintenanceSchedule.companyuint64Identifier of the Company to which this object belongs.
maintenanceSchedule.deletedbooleanFlag showing if the object is deleted.
maintenanceSchedule.iduint64?Identifier given as input for the command.
maintenanceSchedule.vArray.<uint32>
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"maintenanceSchedule": {
		"company": number,
		"deleted": boolean,
		"id": number,
		"v": [
			number
		]
	},
	"message": string,
	"reqId": number
}

RespMaintenanceScheduleGetBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
maintenanceScheduleMaintenanceScheduleThe requested MaintenanceSchedule.
maintenanceSchedule.companyuint64The company to which this schedule belongs
maintenanceSchedule.costdoubleThe estimated cost for the job cost in dollars.
maintenanceSchedule.durationtimespanThe estimated time for the job.
maintenanceSchedule.fillcolour
maximum-length: 22
The fill/background colour of the icon.
maintenanceSchedule.garagestring
maximum-length: 100
The name of the garage or service facility where the work is done.
maintenanceSchedule.graphiccodified
maximum-length: 22
The name of the symbol for this schedule.
maintenanceSchedule.iduint64Unique identifier
maintenanceSchedule.intervalsObject.<uint64, MaintenanceInterval>
for keys see: Asset.id
The per-asset details calculated by the system to help predict the creation of Maintenance Jobs.
maintenanceSchedule.namestring
maximum-length: 100
The name of the work to be done. Like "oil change".
maintenanceSchedule.notesstringNotes about the work to be done. Like "change the oil and oil filter".
maintenanceSchedule.notifyArray.<email>
for values see: User.login
List of Users to send notifications.
maintenanceSchedule.predictionDaysuint32The number of days in advance to predict a job will become pending.
maintenanceSchedule.processedUtcdatetimeWhen the was change procesed.
maintenanceSchedule.recurDaysuint32?The number of days between service visits.
maintenanceSchedule.recurDistancedouble?The amount of mileage between service visits.
maintenanceSchedule.recurEngineHoursdouble?The number of operating hours between service visits.
maintenanceSchedule.referencestring
maximum-length: 100
A reference code used to track this job
maintenanceSchedule.strokecolour
maximum-length: 22
Outline and graphic colour.
maintenanceSchedule.targetsexpressionThe targeting expression to select which Vehicles and Trailers require this maintenance work.
maintenanceSchedule.updatedby: login, from: monster
maintenanceSchedule.vArray.<uint32>Object version keys used to validate synchronization for all object properties.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"maintenanceSchedule": {
		"company": number,
		"cost": number,
		"duration": string,
		"fill": string,
		"garage": string,
		"graphic": string,
		"id": number,
		"intervals": {
			string: {
				"asset": number,
				"date": string,
				"engineHours": number,
				"lastJob": number,
				"odometer": number
			}
		},
		"name": string,
		"notes": string,
		"notify": [
			string
		],
		"predictionDays": number,
		"processedUtc": string,
		"recurDays": number,
		"recurDistance": number,
		"recurEngineHours": number,
		"reference": string,
		"stroke": string,
		"targets": string,
		"updated": {
		},
		"v": [
			number
		]
	},
	"message": string,
	"reqId": number
}

RespMaintenanceScheduleListByCompanyBaseResponseobject

Response description
PropertyTypeDescription
companyRespIdAn object to contain the "id" of the Company to which the array of MaintenanceSchedules belong.
company.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
maintenanceSchedulesArray.<MaintenanceSchedule>The list of requested MaintenanceSchedules.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"company": {
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"maintenanceSchedules": [
		{
			"company": number,
			"cost": number,
			"duration": string,
			"fill": string,
			"garage": string,
			"graphic": string,
			"id": number,
			"intervals": {
				string: {
					"asset": number,
					"date": string,
					"engineHours": number,
					"lastJob": number,
					"odometer": number
				}
			},
			"name": string,
			"notes": string,
			"notify": [
				string
			],
			"predictionDays": number,
			"processedUtc": string,
			"recurDays": number,
			"recurDistance": number,
			"recurEngineHours": number,
			"reference": string,
			"stroke": string,
			"targets": string,
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"message": string,
	"reqId": number
}

RespMaintenanceScheduleMergeBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
maintenanceScheduleRespIdCompanyAn object which contains the "id" and "company" keys.
maintenanceSchedule.companyuint64Identifier of the Company to which this object belongs.
maintenanceSchedule.iduint64?Identifier given as input for the command.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"maintenanceSchedule": {
		"company": number,
		"id": number
	},
	"message": string,
	"reqId": number
}

RespMaintenanceScheduleRestoreBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
maintenanceScheduleRespDeletedAn object which contains the MaintenanceSchedule's unique identifier and deleted status.
maintenanceSchedule.companyuint64Identifier of the Company to which this object belongs.
maintenanceSchedule.deletedbooleanFlag showing if the object is deleted.
maintenanceSchedule.iduint64?Identifier given as input for the command.
maintenanceSchedule.vArray.<uint32>
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"maintenanceSchedule": {
		"company": number,
		"deleted": boolean,
		"id": number,
		"v": [
			number
		]
	},
	"message": string,
	"reqId": number
}

Messaging

AlertPrioritystring

The priority of the alert.
ValueDescription
highSends before low and normal priority alerts.
lowSends when no other alerts are pending in the queue.
normalSends in when there are no high priority alerts in the queue.

AssetAlertobject

An automatically generated notification sent to a user by the system.
JSON description
PropertyTypeDescription
assetuint64The asset to which this message relates.
bodystringThe main contents of the memo.
companyuint64The company to which this memo belongs.
delivereddatetimeDate/time stamp of when the memo was delivered (or sent if delivery information unavailable).
fromstring
maximum-length: 254
minimum-length: 6
Sender address
iduint64Unique identifier of this memo.
kindMessageTypeProtocol type
priorityAlertPriorityThe priority for which this message must send.
processeddatetimeDate/time stamp of when the memo was processed.
processedUtcdatetimeWhen the was change procesed.
statusMessageStatusLifetime status
subjectstring
maximum-length: 100
The subject of this message.
tostring
maximum-length: 254
minimum-length: 6
Recipient address
updatedby: login, from: monster
useremail
maximum-length: 254
The user who sent/received this message.
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"asset": number,
	"body": string,
	"company": number,
	"delivered": string,
	"from": string,
	"id": number,
	"kind": string,
	"priority": string,
	"processed": string,
	"processedUtc": string,
	"status": string,
	"subject": string,
	"to": string,
	"updated": {
	},
	"user": string,
	"v": [
		number
	]
}

AssetAlertDeletedobject

The message format for when a deleted AssetAlert is retrieved
JSON description
PropertyTypeValueDescription
assetuint64The asset to which this message relates.
companyuint64The company to which this memo belongs.
deletedbooleantrue
iduint64Unique identifier of this memo.
kindMessageTypeProtocol type
sincedatetimeA timestamp from the moment the object was deleted.
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"asset": number,
	"company": number,
	"deleted": boolean,
	"id": number,
	"kind": string,
	"since": string,
	"v": [
		number
	]
}

AssetMessageobject

A conversational message between users and assets.
JSON description
PropertyTypeDescription
assetuint64The asset to which this message relates.
bodystringThe main contents of the memo.
companyuint64The company to which this memo belongs.
delivereddatetimeDate/time stamp of when the memo was delivered (or sent if delivery information unavailable).
folderMessageFolderThe folder under which this message is stored.
fromstring
maximum-length: 254
minimum-length: 6
Sender address
iduint64Unique identifier of this memo.
incomingbooleanIndicates that this is a received message instead of a sent message.
kindMessageTypeProtocol type
processeddatetimeDate/time stamp of when the memo was processed.
processedUtcdatetimeWhen the was change procesed.
readByemail
maximum-length: 254
The user that read this message. This field is blank/null when unread.
statusMessageStatusLifetime status
subjectstring
maximum-length: 100
The subject of this message.
tostring
maximum-length: 254
minimum-length: 6
Recipient address
updatedby: login, from: monster
useremail
maximum-length: 254
The user who sent/received this message.
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"asset": number,
	"body": string,
	"company": number,
	"delivered": string,
	"folder": string,
	"from": string,
	"id": number,
	"incoming": boolean,
	"kind": string,
	"processed": string,
	"processedUtc": string,
	"readBy": string,
	"status": string,
	"subject": string,
	"to": string,
	"updated": {
	},
	"user": string,
	"v": [
		number
	]
}

AssetMessageDeletedobject

The message format for when a deleted AssetMessage is retrieved
JSON description
PropertyTypeValueDescription
assetuint64The asset to which this message relates.
companyuint64The company to which this memo belongs.
deletedbooleantrue
iduint64Unique identifier of this memo.
kindMessageTypeProtocol type
sincedatetimeA timestamp from the moment the object was deleted.
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"asset": number,
	"company": number,
	"deleted": boolean,
	"id": number,
	"kind": string,
	"since": string,
	"v": [
		number
	]
}

MessageFolderstring

The name of folder where the message is stored.
ValueDescription
archiveThe archive contains all previous messages, but must be queried from disk for retrieval.
inboxThe inbox is loaded quickly from memory, but messages regularly move to the archive.

MessageStatusstring

Memos have a lifetime and each status represents a memos's progress through it's life.
ValueDescription
acknowledgedMemo has been responded to or acknowledged by the recipient.
bouncebackMemo sent, but returned with error from receiving server.
createdWaiting to be sent.
failedFailed to send.
processedSent or received.
throttledFailed to send because too many memos were sent.

MessageTypestring

The kind of protocol used for this memo.
ValueDescription
apnApple Push Notification Service
emailEmail
gcmGoogle Cloud Message
pndGarmin/Magellan/etc (Personal Navigation Device)
smsShort Message Service (text message)
socketWebSocket alert message
unknownIf the type of memo has not yet been determined, or there was an error determining its type.

ParamAssetMessageBatchDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
assetMessagesArray.<ParamId>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"assetMessages": [
		{
			"id": number
		}
	],
	"reqId": number
}

ParamAssetMessageBatchMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
assetMessagesArray.<ParameterContent>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"assetMessages": [
		{
			"asset": number,
			"body": string,
			"folder": string,
			"id": number,
			"kind": string,
			"read": boolean,
			"subject": string,
			"to": string,
			"v": [
				number
			]
		}
	],
	"reqId": number
}

ParamAssetMessageDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
assetMessageParamIdalwaysAn object to contain the "id" key.
assetMessage.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"assetMessage": {
		"id": number
	},
	"reqId": number
}

ParamAssetMessageGetBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
assetMessageParamIdalwaysAn object to contain the "id" key.
assetMessage.iduint64alwaysIdentifier given as input for the command.
includeDeletedbooleanoptionalfalseWhen true, the command will also return a deleted AssetMessage.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"assetMessage": {
		"id": number
	},
	"includeDeleted": boolean,
	"reqId": number
}

ParamAssetMessageListByAssetBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
afterdatetimeoptional
assetParamIdalwaysAn object to contain the "id" of the Asset.
asset.iduint64alwaysIdentifier given as input for the command.
beforedatetimeoptional
folderMessageFolderoptionalThe folder from which to retrieve AssetMessages. Default is MessageFolder.inbox.
includeArchivebooleanoptional
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"after": string,
	"asset": {
		"id": number
	},
	"before": string,
	"folder": string,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"reqId": number
}

ParamAssetMessageListByCompanyBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
afterdatetimeoptional
beforedatetimeoptional
companyParamIdalwaysAn object to contain the "id" of the Company.
company.iduint64alwaysIdentifier given as input for the command.
folderMessageFolderoptionalThe folder from which to retrieve AssetMessages. Default is MessageFolder.inbox.
includeArchivebooleanoptional
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"after": string,
	"before": string,
	"company": {
		"id": number
	},
	"folder": string,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"reqId": number
}

ParamAssetMessageMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
assetMessageObject.<string, ?>alwaysA simple object to contain the AssetMessage parameters.
assetMessage.assetuint64?createThe Asset that this AssetMessage was sent from or to. After creation, this value is read-only.
assetMessage.bodystringcreateThe body of the AssetMessage. After creation, this value is read-only.
assetMessage.folderMessageFolder?optionalThe folder where this AssetMessage is stored.
assetMessage.iduint64?updateThe unique identifier of the AssetMessage you want to update.
assetMessage.kindMessageType?createThe kind of protocol used for this AssetMessage. After creation, this value is read-only.
assetMessage.readbooleanoptionalSet to true to log that the AssetMessage was received and read by yourself. Once set, the AssetMessage.readBy value will be your login, and cannot be set by anyone else.
assetMessage.subjectstringoptionalThe AssetMessage subject field. After creation, this value is read-only. This is used exclusively with MessageType.email type AssetMessages.
assetMessage.tostringcreateOptional to address used when creating the AssetMessage if no messaging address is available. After creation, this value is read-only.
assetMessage.vArray.<int32>optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"assetMessage": {
		"asset": number,
		"body": string,
		"folder": string,
		"id": number,
		"kind": string,
		"read": boolean,
		"subject": string,
		"to": string,
		"v": [
			number
		]
	},
	"reqId": number
}

ParamAssetMessageRestoreBaseParametersobject

Request description
PropertyTypeRequiredDescription
assetMessageParamIdalwaysAn object to contain the "id" key.
assetMessage.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"assetMessage": {
		"id": number
	},
	"reqId": number
}

ParamFormResultListByAssetBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
afterdatetimeoptional
assetParamIdalwaysAn object to contain the "id" of the Asset.
asset.iduint64alwaysIdentifier given as input for the command.
beforedatetimeoptional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"after": string,
	"asset": {
		"id": number
	},
	"before": string,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"reqId": number
}

ParamFormResultListByAssetAndLabelsBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
afterdatetimeoptional
assetParamIdalwaysAn object to contain the "id" of the Asset.
asset.iduint64alwaysIdentifier given as input for the command.
beforedatetimeoptional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
labelsArray.<string>optionalA list of label codes used to match FormResults. All labels must match to include a FormResult in the result.
limituint16?optionalMaximum number of objects in this response.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"after": string,
	"asset": {
		"id": number
	},
	"before": string,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"labels": [
		string
	],
	"limit": number,
	"reqId": number
}

ParamFormResultListByTemplateBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
afterdatetimeoptional
beforedatetimeoptional
formTemplateParamIdalwaysAn object to contain the "id" of the FormTemplate.
formTemplate.iduint64alwaysIdentifier given as input for the command.
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"after": string,
	"before": string,
	"formTemplate": {
		"id": number
	},
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"reqId": number
}

ParamFormResultListByTemplateAndLabelsBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
afterdatetimeoptional
beforedatetimeoptional
formTemplateParamIdalwaysAn object to contain the "id" of the FormTemplate.
formTemplate.iduint64alwaysIdentifier given as input for the command.
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
labelsArray.<string>optionalA list of label codes used to match FormResults. All labels must match to include a FormResult in the result.
limituint16?optionalMaximum number of objects in this response.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"after": string,
	"before": string,
	"formTemplate": {
		"id": number
	},
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"labels": [
		string
	],
	"limit": number,
	"reqId": number
}

RespAssetMessageBatchDeleteBaseResponseobject

Response description
PropertyTypeDescription
assetMessagesArray.<RespAssetDeleted>Array or responses successfully processed by the sub-command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"assetMessages": [
		{
			"asset": number,
			"company": number,
			"deleted": boolean,
			"id": number,
			"v": [
				number
			]
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespAssetMessageBatchMergeBaseResponseobject

Response description
PropertyTypeDescription
assetMessagesArray.<RespIdAsset>Array or responses successfully processed by the sub-command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"assetMessages": [
		{
			"asset": number,
			"company": number,
			"id": number
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespAssetMessageDeleteBaseResponseobject

Response description
PropertyTypeDescription
assetMessageRespAssetDeletedAn object which contains the AssetMessage's id, owning Company id, and deleted status.
assetMessage.assetuint64Identifier of the Asset to which this object belongs.
assetMessage.companyuint64Identifier of the Company to which this object belongs.
assetMessage.deletedbooleanFlag showing if the object is deleted.
assetMessage.iduint64?Identifier given as input for the command.
assetMessage.vArray.<uint32>
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"assetMessage": {
		"asset": number,
		"company": number,
		"deleted": boolean,
		"id": number,
		"v": [
			number
		]
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespAssetMessageGetBaseResponseobject

Response description
PropertyTypeDescription
assetMessageAssetMessageThe requested AssetMessage.
assetMessage.assetuint64The asset to which this message relates.
assetMessage.bodystringThe main contents of the memo.
assetMessage.companyuint64The company to which this memo belongs.
assetMessage.delivereddatetimeDate/time stamp of when the memo was delivered (or sent if delivery information unavailable).
assetMessage.folderMessageFolderThe folder under which this message is stored.
assetMessage.fromstring
maximum-length: 254
minimum-length: 6
Sender address
assetMessage.iduint64Unique identifier of this memo.
assetMessage.incomingbooleanIndicates that this is a received message instead of a sent message.
assetMessage.kindMessageTypeProtocol type
assetMessage.processeddatetimeDate/time stamp of when the memo was processed.
assetMessage.processedUtcdatetimeWhen the was change procesed.
assetMessage.readByemail
maximum-length: 254
The user that read this message. This field is blank/null when unread.
assetMessage.statusMessageStatusLifetime status
assetMessage.subjectstring
maximum-length: 100
The subject of this message.
assetMessage.tostring
maximum-length: 254
minimum-length: 6
Recipient address
assetMessage.updatedby: login, from: monster
assetMessage.useremail
maximum-length: 254
The user who sent/received this message.
assetMessage.vArray.<uint32>Object version keys used to validate synchronization for all object properties.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"assetMessage": {
		"asset": number,
		"body": string,
		"company": number,
		"delivered": string,
		"folder": string,
		"from": string,
		"id": number,
		"incoming": boolean,
		"kind": string,
		"processed": string,
		"processedUtc": string,
		"readBy": string,
		"status": string,
		"subject": string,
		"to": string,
		"updated": {
		},
		"user": string,
		"v": [
			number
		]
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespAssetMessageListByAssetBaseResponseobject

Response description
PropertyTypeDescription
assetRespIdCompanyAn object to contain the "id" of the Asset to which the array of AssetMessages belong.
asset.companyuint64Identifier of the Company to which this object belongs.
asset.iduint64?Identifier given as input for the command.
assetMessagesArray.<AssetMessage>The list of requested AssetMessages.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"asset": {
		"company": number,
		"id": number
	},
	"assetMessages": [
		{
			"asset": number,
			"body": string,
			"company": number,
			"delivered": string,
			"folder": string,
			"from": string,
			"id": number,
			"incoming": boolean,
			"kind": string,
			"processed": string,
			"processedUtc": string,
			"readBy": string,
			"status": string,
			"subject": string,
			"to": string,
			"updated": {
			},
			"user": string,
			"v": [
				number
			]
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespAssetMessageListByCompanyBaseResponseobject

Response description
PropertyTypeDescription
assetMessagesArray.<AssetMessage>The list of requested AssetMessages.
companyRespIdAn object to contain the "id" of the Company to which the array of AssetMessages belong.
company.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"assetMessages": [
		{
			"asset": number,
			"body": string,
			"company": number,
			"delivered": string,
			"folder": string,
			"from": string,
			"id": number,
			"incoming": boolean,
			"kind": string,
			"processed": string,
			"processedUtc": string,
			"readBy": string,
			"status": string,
			"subject": string,
			"to": string,
			"updated": {
			},
			"user": string,
			"v": [
				number
			]
		}
	],
	"company": {
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespAssetMessageMergeBaseResponseobject

Response description
PropertyTypeDescription
assetMessageRespIdAssetAn object which contains the "id", "company", and "asset" keys when there is no error.
assetMessage.assetuint64Identifier of the Asset to which this object belongs
assetMessage.companyuint64Identifier of the Company to which this object belongs.
assetMessage.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"assetMessage": {
		"asset": number,
		"company": number,
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespAssetMessageRestoreBaseResponseobject

Response description
PropertyTypeDescription
assetMessageRespAssetDeletedAn object which contains the AssetMessage's id, owning Company id, and deleted status.
assetMessage.assetuint64Identifier of the Asset to which this object belongs.
assetMessage.companyuint64Identifier of the Company to which this object belongs.
assetMessage.deletedbooleanFlag showing if the object is deleted.
assetMessage.iduint64?Identifier given as input for the command.
assetMessage.vArray.<uint32>
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"assetMessage": {
		"asset": number,
		"company": number,
		"deleted": boolean,
		"id": number,
		"v": [
			number
		]
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespFormResultListByAssetBaseResponseobject

Response description
PropertyTypeDescription
assetRespIdCompanyAn object to contain the "id" of the Asset to which the array of FormResults belong.
asset.companyuint64Identifier of the Company to which this object belongs.
asset.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
formResultsArray.<FormResult>The list of requested FormResults.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"asset": {
		"company": number,
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"formResults": [
		{
			"asset": number,
			"company": number,
			"completed": string,
			"driver": string,
			"fields": {
				string: string
			},
			"id": number,
			"labels": [
				string
			],
			"latlng": {
				"lat": number,
				"lng": number
			},
			"name": string,
			"notes": string,
			"processedUtc": string,
			"template": number,
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"message": string,
	"reqId": number
}

RespFormResultListByAssetAndLabelsBaseResponseobject

Response description
PropertyTypeDescription
assetRespIdCompanyAn object to contain the "id" of the Asset to which the array of FormResults belong.
asset.companyuint64Identifier of the Company to which this object belongs.
asset.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
formResultsArray.<FormResult>The list of requested FormResults.
labelsArray.<string>The labels given as input.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"asset": {
		"company": number,
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"formResults": [
		{
			"asset": number,
			"company": number,
			"completed": string,
			"driver": string,
			"fields": {
				string: string
			},
			"id": number,
			"labels": [
				string
			],
			"latlng": {
				"lat": number,
				"lng": number
			},
			"name": string,
			"notes": string,
			"processedUtc": string,
			"template": number,
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"labels": [
		string
	],
	"message": string,
	"reqId": number
}

RespFormResultListByTemplateBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
formResultsArray.<FormResult>The list of requested FormResults.
formTemplateRespIdCompanyAn object to contain the "id" of the FormTemplate to which the array of FormResults belong.
formTemplate.companyuint64Identifier of the Company to which this object belongs.
formTemplate.iduint64?Identifier given as input for the command.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"formResults": [
		{
			"asset": number,
			"company": number,
			"completed": string,
			"driver": string,
			"fields": {
				string: string
			},
			"id": number,
			"labels": [
				string
			],
			"latlng": {
				"lat": number,
				"lng": number
			},
			"name": string,
			"notes": string,
			"processedUtc": string,
			"template": number,
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"formTemplate": {
		"company": number,
		"id": number
	},
	"message": string,
	"reqId": number
}

RespFormResultListByTemplateAndLabelsBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
formResultsArray.<FormResult>The list of requested FormResults.
formTemplateRespIdCompanyAn object to contain the "id" of the FormTemplate to which the array of FormResults belong.
formTemplate.companyuint64Identifier of the Company to which this object belongs.
formTemplate.iduint64?Identifier given as input for the command.
labelsArray.<string>The labels given as input.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"formResults": [
		{
			"asset": number,
			"company": number,
			"completed": string,
			"driver": string,
			"fields": {
				string: string
			},
			"id": number,
			"labels": [
				string
			],
			"latlng": {
				"lat": number,
				"lng": number
			},
			"name": string,
			"notes": string,
			"processedUtc": string,
			"template": number,
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"formTemplate": {
		"company": number,
		"id": number
	},
	"labels": [
		string
	],
	"message": string,
	"reqId": number
}

Places

ParamPlaceBatchDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
placesArray.<ParamId>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"places": [
		{
			"id": number
		}
	],
	"reqId": number
}

ParamPlaceBatchMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
placesArray.<ParameterContent>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"places": [
		{
			"address": string,
			"anchor": {
				"lat": number,
				"lng": number
			},
			"colour": string,
			"company": number,
			"icon": number,
			"id": number,
			"kind": string,
			"labels": [
				string
			],
			"name": string,
			"notes": string,
			"pictures": [
				number
			],
			"radius": number,
			"reference": string,
			"shape": [
				{
					"lat": number,
					"lng": number
				}
			],
			"v": [
				number
			]
		}
	],
	"reqId": number
}

ParamPlaceDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
placeParamIdalwaysAn object to contain the "id" of the Place.
place.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"place": {
		"id": number
	},
	"reqId": number
}

ParamPlaceGetBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
includeDeletedbooleanoptionalfalseWhen true, the command will also return a deleted Place.
placeParamIdalwaysAn object to contain the "id" of the Place.
place.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"includeDeleted": boolean,
	"place": {
		"id": number
	},
	"reqId": number
}

ParamPlaceListByCompanyBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
companyParamIdalwaysAn object to contain the "id" of the Company.
company.iduint64alwaysIdentifier given as input for the command.
highestuint64?optional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
lowestuint64?optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"company": {
		"id": number
	},
	"highest": number,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"lowest": number,
	"reqId": number
}

ParamPlaceListByLabelsBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
companyParamIdalwaysAn object to contain the "id" of the Company.
company.iduint64alwaysIdentifier given as input for the command.
highestuint64?optional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
labelsArray.<string>optionalA list of label codes used to match Places. All labels must match to include a Place in the result.
limituint16?optionalMaximum number of objects in this response.
lowestuint64?optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"company": {
		"id": number
	},
	"highest": number,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"labels": [
		string
	],
	"limit": number,
	"lowest": number,
	"reqId": number
}

ParamPlaceListByRefBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
companyParamIdalwaysAn object to contain the "id" of the Company.
company.iduint64alwaysIdentifier given as input for the command.
highestuint64?optional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
lowestuint64?optional
referencestringoptionalCase-insensitive reference used to match Places.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"company": {
		"id": number
	},
	"highest": number,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"lowest": number,
	"reference": string,
	"reqId": number
}

ParamPlaceMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
placeObject.<string, ?>alwaysA simple object to contain the Place parameters.
place.addressstringoptionalFull street address including province/state, country, and postal/zip code.
place.anchorLatLngoptionalCentral lat/long coordinates. When not present, the shape centre is used for routing.
place.anchor.latdoubleoptionalLatitude
place.anchor.lngdoubleoptionalLongitude
place.colourcolour
maximum-length: 22
optionalThe fill colour given to this Place for easy visual identification on the map.
place.companyuint64?createThe Company to which this Place belongs. After creation, this value is read-only.
place.iconuint64?
see: Icon.id
createThe Icon used to display this POI in lists and on the map.
place.iduint64?updateThe unique identifier of the Place you want to update.
place.kindPlaceType?createThe kind of shape being created.
place.labelsArray.<codified>
for values see: LabelStyle.code
optionalThe codified names of labels
place.namestring
maximum-length: 100
createName for the Place.
place.notesstringoptionalNotes for the Place.
place.picturesArray.<uint64>
for values see: Picture.id
optionalThe identifiers of Pictures of this Place.
place.radiusdouble?create (radial)Boundary threshold (in meters)
place.referencestring
maximum-length: 100
optionalA custom field used to refer to an external system.
place.shapeArray.<LatLng>create (rectangle or polygon)For a PlaceType.rectangle, the input contains the north east and south west corner coordinates. For a PlaceType.polygon, the input lists all coordinates (oriented as counter-clockwise) needed to draw the geofence.
place.vArray.<int32>optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"place": {
		"address": string,
		"anchor": {
			"lat": number,
			"lng": number
		},
		"colour": string,
		"company": number,
		"icon": number,
		"id": number,
		"kind": string,
		"labels": [
			string
		],
		"name": string,
		"notes": string,
		"pictures": [
			number
		],
		"radius": number,
		"reference": string,
		"shape": [
			{
				"lat": number,
				"lng": number
			}
		],
		"v": [
			number
		]
	},
	"reqId": number
}

ParamPlaceRestoreBaseParametersobject

Request description
PropertyTypeRequiredDescription
placeParamIdalwaysAn object to contain the "id" of the Place.
place.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"place": {
		"id": number
	},
	"reqId": number
}

Placeobject

A POI (point-of-interest) saved to the system to help determine an asset's real-world position.
JSON description
PropertyTypeDescription
addressstring
maximum-length: 200
Full street address including province/state, country, and postal/zip code.
anchorLatLngA central point of the shape. This is the exact centre of a PlaceType.radial and PlaceType.point shaped places, and the location of the pin on the map for all types. When routing, PlaceType.polygon and PlaceType.rectangle shapes use the anchor as the location within the place for deliveries.
colourcolour
maximum-length: 22
The fill colour given to this place for easy visual identification on the map (given in 24bit hex; #RRGGBB)
companyuint64The company to which this POI belongs.
iconuint64
see: Icon.id
The icon used to display this POI in lists and on the map.
iduint64Unique identifier of this place.
kindPlaceTypeThe kind of geography represented by this POI.
labelsArray.<codified>
for values see: LabelStyle.code
The codified names of labels
namestring
maximum-length: 100
POI's common name instead of street address.
notesstringNotes!
picturesArray.<uint64>
for values see: Picture.id
Images of this POI.
processedUtcdatetimeWhen the was change procesed.
radiusdouble?This member is only present for PlaceType.radial shapes, and is the radius in meters from the centre anchor.
referencestring
maximum-length: 100
A custom field used to refer to an external system.
shapeArray.<LatLng>The geography representing this POI for rectangle and polygon shape types. For PlaceType.radial and PlaceType.point shape types, the shape key is not present. For a PlaceType.rectangle, the array contains the north east and south west corner coordinates. For a PlaceType.polygon, the array lists all coordinates (oriented as counter-clockwise) needed to draw the geofence.
updatedby: login, from: monster
vArray.<int32>
fixed count: 2
Object version keys used to validate synchronization for all object properties.
v[0]int32The first element is for the general properties
v[1]int32The second element is not used
JSON structure
{
	"address": string,
	"anchor": {
		"lat": number,
		"lng": number
	},
	"colour": string,
	"company": number,
	"icon": number,
	"id": number,
	"kind": string,
	"labels": [
		string
	],
	"name": string,
	"notes": string,
	"pictures": [
		number
	],
	"processedUtc": string,
	"radius": number,
	"reference": string,
	"shape": [
		{
			"lat": number,
			"lng": number
		}
	],
	"updated": {
	},
	"v": [
		number
	]
}

PlaceDeletedobject

The message format for when a deleted Place is retrieved
JSON description
PropertyTypeValueDescription
companyuint64The company to which this POI belongs.
deletedbooleantrue
iconuint64
see: Icon.id
The icon used to display this POI in lists and on the map.
iduint64Unique identifier of this POI.
kindPlaceTypeThe kind of geography represented by this POI.
labelsArray.<codified>
for values see: LabelStyle.code
The codified names of labels
namestring
maximum-length: 100
POI's common name instead of street address.
notesstringNotes!
sincedatetimeA timestamp from the moment the object was deleted.
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"company": number,
	"deleted": boolean,
	"icon": number,
	"id": number,
	"kind": string,
	"labels": [
		string
	],
	"name": string,
	"notes": string,
	"since": string,
	"v": [
		number
	]
}

PlaceGeneralobject

A POI (point-of-interest) saved to the system to help determine an asset's real-world position.
JSON description
PropertyTypeDescription
addressstring
maximum-length: 200
Full street address including province/state, country, and postal/zip code.
anchorLatLngA central point of the shape. This is the exact centre of a PlaceType.radial and PlaceType.point shaped places, and the location of the pin on the map for all types. When routing, PlaceType.polygon and PlaceType.rectangle shapes use the anchor as the location within the place for deliveries.
colourcolour
maximum-length: 22
The fill colour given to this place for easy visual identification on the map (given in 24bit hex; #RRGGBB)
companyuint64The company to which this POI belongs.
iconuint64
see: Icon.id
The icon used to display this POI in lists and on the map.
iduint64Unique identifier of this POI.
kindPlaceTypeThe kind of geography represented by this POI.
labelsArray.<codified>
for values see: LabelStyle.code
The codified names of labels
namestring
maximum-length: 100
POI's common name instead of street address.
notesstringNotes!
picturesArray.<uint64>
for values see: Picture.id
Images of this POI.
processedUtcdatetimeWhen the was change procesed.
radiusdouble?This member is only present for PlaceType.radial shapes, and is the radius in meters from the centre anchor.
referencestring
maximum-length: 100
A custom field used to refer to an external system.
shapeArray.<LatLng>The geography representing this POI for rectangle and polygon shape types. For PlaceType.radial and PlaceType.point shape types, the shape key is not present. For a PlaceType.rectangle, the array contains the north east and south west corner coordinates. For a PlaceType.polygon, the array lists all coordinates (oriented as counter-clockwise) needed to draw the geofence.
updatedby: login, from: monster
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"address": string,
	"anchor": {
		"lat": number,
		"lng": number
	},
	"colour": string,
	"company": number,
	"icon": number,
	"id": number,
	"kind": string,
	"labels": [
		string
	],
	"name": string,
	"notes": string,
	"pictures": [
		number
	],
	"processedUtc": string,
	"radius": number,
	"reference": string,
	"shape": [
		{
			"lat": number,
			"lng": number
		}
	],
	"updated": {
	},
	"v": [
		number
	]
}

PlaceTypestring

The types of geography the system supports
ValueDescription
pointA lat/long coordinate pair. Places of this type do not contain the Place.radius or Place.shape keys.
polygonThe Place.shape is an array of lat/long coordinates used to create a boundary. Places of this type do not contain the Place.radius key.
radialDefined as a radius around a lat/long pair used to create a circular boundary. Places of this type do not contain the Place.shape key.
rectangleThe Place.shape is an array of two lat/long coordinates defined as north-east and south-west corners. Places of this type do not contain the Place.radius key.

RespPlaceBatchDeleteBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
placesArray.<RespDeleted>Array or responses successfully processed by the sub-command.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"places": [
		{
			"company": number,
			"deleted": boolean,
			"id": number,
			"v": [
				number
			]
		}
	],
	"reqId": number
}

RespPlaceBatchMergeBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
placesArray.<RespIdCompany>Array or responses successfully processed by the sub-command.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"places": [
		{
			"company": number,
			"id": number
		}
	],
	"reqId": number
}

RespPlaceDeleteBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
placeRespDeletedAn object which contains the place's id, owning company id, and deleted status.
place.companyuint64Identifier of the Company to which this object belongs.
place.deletedbooleanFlag showing if the object is deleted.
place.iduint64?Identifier given as input for the command.
place.vArray.<uint32>
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"place": {
		"company": number,
		"deleted": boolean,
		"id": number,
		"v": [
			number
		]
	},
	"reqId": number
}

RespPlaceGetBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
placePlaceThe requested Place.
place.addressstring
maximum-length: 200
Full street address including province/state, country, and postal/zip code.
place.anchorLatLngA central point of the shape. This is the exact centre of a PlaceType.radial and PlaceType.point shaped places, and the location of the pin on the map for all types. When routing, PlaceType.polygon and PlaceType.rectangle shapes use the anchor as the location within the place for deliveries.
place.anchor.latdoubleLatitude
place.anchor.lngdoubleLongitude
place.colourcolour
maximum-length: 22
The fill colour given to this place for easy visual identification on the map (given in 24bit hex; #RRGGBB)
place.companyuint64The company to which this POI belongs.
place.iconuint64
see: Icon.id
The icon used to display this POI in lists and on the map.
place.iduint64Unique identifier of this place.
place.kindPlaceTypeThe kind of geography represented by this POI.
place.labelsArray.<codified>
for values see: LabelStyle.code
The codified names of labels
place.namestring
maximum-length: 100
POI's common name instead of street address.
place.notesstringNotes!
place.picturesArray.<uint64>
for values see: Picture.id
Images of this POI.
place.processedUtcdatetimeWhen the was change procesed.
place.radiusdouble?This member is only present for PlaceType.radial shapes, and is the radius in meters from the centre anchor.
place.referencestring
maximum-length: 100
A custom field used to refer to an external system.
place.shapeArray.<LatLng>The geography representing this POI for rectangle and polygon shape types. For PlaceType.radial and PlaceType.point shape types, the shape key is not present. For a PlaceType.rectangle, the array contains the north east and south west corner coordinates. For a PlaceType.polygon, the array lists all coordinates (oriented as counter-clockwise) needed to draw the geofence.
place.updatedby: login, from: monster
place.vArray.<int32>
fixed count: 2
Object version keys used to validate synchronization for all object properties.
place.v[0]int32The first element is for the general properties
place.v[1]int32The second element is not used
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"place": {
		"address": string,
		"anchor": {
			"lat": number,
			"lng": number
		},
		"colour": string,
		"company": number,
		"icon": number,
		"id": number,
		"kind": string,
		"labels": [
			string
		],
		"name": string,
		"notes": string,
		"pictures": [
			number
		],
		"processedUtc": string,
		"radius": number,
		"reference": string,
		"shape": [
			{
				"lat": number,
				"lng": number
			}
		],
		"updated": {
		},
		"v": [
			number
		]
	},
	"reqId": number
}

RespPlaceListByCompanyBaseResponseobject

Response description
PropertyTypeDescription
companyRespIdAn object to contain the "id" of the Company to which the array of Places belong.
company.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
placesArray.<Place>The list of requested Places.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"company": {
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"places": [
		{
			"address": string,
			"anchor": {
				"lat": number,
				"lng": number
			},
			"colour": string,
			"company": number,
			"icon": number,
			"id": number,
			"kind": string,
			"labels": [
				string
			],
			"name": string,
			"notes": string,
			"pictures": [
				number
			],
			"processedUtc": string,
			"radius": number,
			"reference": string,
			"shape": [
				{
					"lat": number,
					"lng": number
				}
			],
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"reqId": number
}

RespPlaceListByLabelsBaseResponseobject

Response description
PropertyTypeDescription
companyRespIdAn object to contain the "id" of the Company to which the array of Places belong.
company.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
labelsArray.<string>The labels given as input.
messagestringAn English description of the error.
placesArray.<Place>The list of requested Places.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"company": {
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"labels": [
		string
	],
	"message": string,
	"places": [
		{
			"address": string,
			"anchor": {
				"lat": number,
				"lng": number
			},
			"colour": string,
			"company": number,
			"icon": number,
			"id": number,
			"kind": string,
			"labels": [
				string
			],
			"name": string,
			"notes": string,
			"pictures": [
				number
			],
			"processedUtc": string,
			"radius": number,
			"reference": string,
			"shape": [
				{
					"lat": number,
					"lng": number
				}
			],
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"reqId": number
}

RespPlaceListByRefBaseResponseobject

Response description
PropertyTypeDescription
companyRespIdAn object to contain the "id" of the Company to which the array of Places belong.
company.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
placesArray.<Place>The list of requested Places.
referencestringThe reference string given as input.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"company": {
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"places": [
		{
			"address": string,
			"anchor": {
				"lat": number,
				"lng": number
			},
			"colour": string,
			"company": number,
			"icon": number,
			"id": number,
			"kind": string,
			"labels": [
				string
			],
			"name": string,
			"notes": string,
			"pictures": [
				number
			],
			"processedUtc": string,
			"radius": number,
			"reference": string,
			"shape": [
				{
					"lat": number,
					"lng": number
				}
			],
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"reference": string,
	"reqId": number
}

RespPlaceMergeBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
placeRespIdCompanyAn object which contains the "id" and "company" keys.
place.companyuint64Identifier of the Company to which this object belongs.
place.iduint64?Identifier given as input for the command.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"place": {
		"company": number,
		"id": number
	},
	"reqId": number
}

RespPlaceRestoreBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
placeRespDeletedAn object which contains the place's id, owning company id, and deleted status.
place.companyuint64Identifier of the Company to which this object belongs.
place.deletedbooleanFlag showing if the object is deleted.
place.iduint64?Identifier given as input for the command.
place.vArray.<uint32>
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"place": {
		"company": number,
		"deleted": boolean,
		"id": number,
		"v": [
			number
		]
	},
	"reqId": number
}

Providers and Configurations

ParamProviderAdvancedGetBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
includeDeletedbooleanoptionalfalseWhen true, the command will also return a deleted Provider.
providerParamIdentifieralwaysAn object to contain the "id" of the Provider.
provider.idstringalwaysThe Provider's identifier.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"includeDeleted": boolean,
	"provider": {
		"id": string
	},
	"reqId": number
}

ParamProviderAdvancedListByCompanyBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
companyParamIdalwaysAn object to contain the "id" of the Company.
company.iduint64alwaysIdentifier given as input for the command.
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
includeSuspendedbooleanoptionaltrueWhen true, the command will also return suspended ProviderAdvanceds.
limituint16?optionalMaximum number of objects in this response.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"company": {
		"id": number
	},
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"includeSuspended": boolean,
	"limit": number,
	"reqId": number
}

ParamProviderAdvancedListByConfigBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
includeSuspendedbooleanoptionaltrueWhen true, the command will also return suspended ProviderAdvanceds.
limituint16?optionalMaximum number of objects in this response.
providerConfigParamIdalwaysAn object to contain the "id" of the ProviderConfig/ProviderConfiguration.
providerConfig.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"includeSuspended": boolean,
	"limit": number,
	"providerConfig": {
		"id": number
	},
	"reqId": number
}

ParamProviderBatchDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
providersArray.<ParamIdentifier>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"providers": [
		{
			"id": string
		}
	],
	"reqId": number
}

ParamProviderBatchMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
providersArray.<ParameterContent>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"providers": [
		{
			"asset": number,
			"config": number,
			"id": string,
			"kind": string,
			"name": string,
			"notes": string,
			"password": string,
			"phone": number,
			"pnd": string,
			"v": [
				number
			]
		}
	],
	"reqId": number
}

ParamProviderBatchReviveBaseParametersobject

Request description
PropertyTypeRequiredDescription
providersArray.<ParamIdentifier>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"providers": [
		{
			"id": string
		}
	],
	"reqId": number
}

ParamProviderBatchSuspendBaseParametersobject

Request description
PropertyTypeRequiredDescription
providersArray.<ParamIdentifier>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"providers": [
		{
			"id": string
		}
	],
	"reqId": number
}

ParamProviderConfigBatchDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
providerConfigsArray.<ParamId>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"providerConfigs": [
		{
			"id": number
		}
	],
	"reqId": number
}

ParamProviderConfigBatchMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
providerConfigsArray.<ParameterContent>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"providerConfigs": [
		{
			"company": number,
			"geofences": string,
			"id": number,
			"name": string,
			"notes": string,
			"parameters": {
				string: string
			},
			"script": number,
			"v": [
				number
			]
		}
	],
	"reqId": number
}

ParamProviderConfigDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
providerConfigParamIdalwaysAn object to contain the "id" key.
providerConfig.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"providerConfig": {
		"id": number
	},
	"reqId": number
}

ParamProviderConfigGetBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
includeDeletedbooleanoptionalfalseWhen true, the command will also return a deleted Contact.
providerConfigParamIdalwaysAn object to contain the "id" key.
providerConfig.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"includeDeleted": boolean,
	"providerConfig": {
		"id": number
	},
	"reqId": number
}

ParamProviderConfigListByCompanyBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
companyParamIdalwaysAn object to contain the "id" of the Company.
company.iduint64alwaysIdentifier given as input for the command.
highestuint64?optional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
lowestuint64?optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"company": {
		"id": number
	},
	"highest": number,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"lowest": number,
	"reqId": number
}

ParamProviderConfigListByScriptBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
highestuint64?optional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
lowestuint64?optional
providerScriptParamIdalwaysAn object to contain the "id" of the Company.
providerScript.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"highest": number,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"lowest": number,
	"providerScript": {
		"id": number
	},
	"reqId": number
}

ParamProviderConfigMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
providerConfigObject.<string, ?>alwaysA simple object to contain the ProviderConfig parameters.
providerConfig.companyuint64?createThe Company to which the ProviderConfig belongs.
providerConfig.geofencesexpressionoptionalA search pattern used to filter which Places' geometry are used as geofences. Use null or blank string to disable. Use "*" to match all the Places the Provider's Asset can match. Or use "#123456" or "label:term" like other Place search patterns.
providerConfig.iduint64?updateThe unique identifier of the ProviderConfig you want to update.
providerConfig.namestring
maximum-length: 100
createName for the ProviderConfig.
providerConfig.notesstringoptionalNotes for the ProviderConfig.
providerConfig.parametersObject.<string, string>optionalThe values needed to implement the script. Each key in this object is the name of a required script variable.
providerConfig.scriptuint64?createThe ProviderScript to the ProviderConfig implements. After creation, this value is read-only.
providerConfig.vArray.<int32>optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"providerConfig": {
		"company": number,
		"geofences": string,
		"id": number,
		"name": string,
		"notes": string,
		"parameters": {
			string: string
		},
		"script": number,
		"v": [
			number
		]
	},
	"reqId": number
}

ParamProviderConfigRestoreBaseParametersobject

Request description
PropertyTypeRequiredDescription
providerConfigParamIdalwaysAn object to contain the "id" key.
providerConfig.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"providerConfig": {
		"id": number
	},
	"reqId": number
}

ParamProviderConfigurationBatchDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
providerConfigurationsArray.<ParamId>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"providerConfigurations": [
		{
			"id": number
		}
	],
	"reqId": number
}

ParamProviderConfigurationBatchMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
providerConfigurationsArray.<ParameterContent>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"providerConfigurations": [
		{
			"company": number,
			"geofences": [
				number
			],
			"id": number,
			"name": string,
			"notes": string,
			"scriptParameters": {
				string: Object
			},
			"type": number,
			"v": [
				number
			]
		}
	],
	"reqId": number
}

ParamProviderConfigurationDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
providerConfigurationParamIdalwaysAn object to contain the "id" key.
providerConfiguration.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"providerConfiguration": {
		"id": number
	},
	"reqId": number
}

ParamProviderConfigurationGetBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
includeDeletedbooleanoptionalfalseWhen true, the command will also return a deleted ProviderConfiguration.
providerConfigurationParamIdalwaysAn object to contain the "id" key.
providerConfiguration.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"includeDeleted": boolean,
	"providerConfiguration": {
		"id": number
	},
	"reqId": number
}

ParamProviderConfigurationListByCompanyBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
companyParamIdalwaysAn object to contain the "id" of the Company.
company.iduint64alwaysIdentifier given as input for the command.
highestuint64?optional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
lowestuint64?optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"company": {
		"id": number
	},
	"highest": number,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"lowest": number,
	"reqId": number
}

ParamProviderConfigurationMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
providerConfigurationObject.<string, ?>alwaysA simple object to contain the ProviderConfiguration parameters.
providerConfiguration.companyuint64?createThe Company to which the ProviderConfiguration belongs.
providerConfiguration.geofencesArray.<uint64>
for values see: Place.id
optionalA list of Places whose shape is programmed directly onto Providers to raise instant boundary events.
providerConfiguration.iduint64?updateThe unique identifier of the ProviderConfiguration you want to update.
providerConfiguration.namestring
maximum-length: 100
createName for the ProviderConfiguration.
providerConfiguration.notesstringoptionalNotes for the ProviderConfiguration.
providerConfiguration.scriptParametersObject.<string, Object>optionalThe values needed to implement the ProviderConfigurationType. Each key in this object is the identifier of a required ProviderConfigurationNode. This command does not support patch semantics; all keys must be sent if any are sent.
providerConfiguration.typeuint64?createThe ProviderConfigurationType that the ProviderConfiguration implements. After creation, this value is read-only.
providerConfiguration.vArray.<int32>optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"providerConfiguration": {
		"company": number,
		"geofences": [
			number
		],
		"id": number,
		"name": string,
		"notes": string,
		"scriptParameters": {
			string: Object
		},
		"type": number,
		"v": [
			number
		]
	},
	"reqId": number
}

ParamProviderConfigurationRestoreBaseParametersobject

Request description
PropertyTypeRequiredDescription
providerConfigurationParamIdalwaysAn object to contain the "id" key.
providerConfiguration.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"providerConfiguration": {
		"id": number
	},
	"reqId": number
}

ParamProviderConfigurationTypeGetBaseParametersobject

Request description
PropertyTypeRequiredDescription
providerConfigurationTypeParamIdalwaysAn object to contain the "id" of the ProviderConfigurationType.
providerConfigurationType.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"providerConfigurationType": {
		"id": number
	},
	"reqId": number
}

ParamProviderConfigurationTypeListBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"reqId": number
}

ParamProviderConfigurationTypeListByTypeBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
highestuint64?optional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
kindProviderTypeoptionalA ProviderType used to filter the list of ProviderConfigurationTypes.
limituint16?optionalMaximum number of objects in this response.
lowestuint64?optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"highest": number,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"kind": string,
	"limit": number,
	"lowest": number,
	"reqId": number
}

ParamProviderDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
providerParamIdentifieralwaysAn object to contain the "id" of the Provider.
provider.idstringalwaysThe Provider's identifier.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"provider": {
		"id": string
	},
	"reqId": number
}

ParamProviderGeneralGetBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
includeDeletedbooleanoptionalfalseWhen true, the command will also return a deleted Provider.
providerParamIdentifieralwaysAn object to contain the "id" of the Provider.
provider.idstringalwaysThe Provider's identifier.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"includeDeleted": boolean,
	"provider": {
		"id": string
	},
	"reqId": number
}

ParamProviderGeneralListByCompanyBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
companyParamIdalwaysAn object to contain the "id" of the Company.
company.iduint64alwaysIdentifier given as input for the command.
firststringoptional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
includeSuspendedbooleanoptionaltrueWhen true, the command will also return suspended Providers.
laststringoptional
limituint16?optionalMaximum number of objects in this response.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"company": {
		"id": number
	},
	"first": string,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"includeSuspended": boolean,
	"last": string,
	"limit": number,
	"reqId": number
}

ParamProviderGeneralListByConfigBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
firststringoptional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
includeSuspendedbooleanoptionaltrueWhen true, the command will also return suspended Providers.
laststringoptional
limituint16?optionalMaximum number of objects in this response.
providerConfigParamIdalwaysAn object to contain the "id" of the ProviderConfig/ProviderConfiguration.
providerConfig.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"first": string,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"includeSuspended": boolean,
	"last": string,
	"limit": number,
	"providerConfig": {
		"id": number
	},
	"reqId": number
}

ParamProviderGetBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
includeDeletedbooleanoptionalfalseWhen true, the command will also return a deleted Provider.
providerParamIdentifieralwaysAn object to contain the "id" of the Provider.
provider.idstringalwaysThe Provider's identifier.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"includeDeleted": boolean,
	"provider": {
		"id": string
	},
	"reqId": number
}

ParamProviderListByCompanyBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
companyParamIdalwaysAn object to contain the "id" of the Company.
company.iduint64alwaysIdentifier given as input for the command.
firststringoptional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
includeSuspendedbooleanoptionaltrueWhen true, the command will also return suspended Providers.
laststringoptional
limituint16?optionalMaximum number of objects in this response.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"company": {
		"id": number
	},
	"first": string,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"includeSuspended": boolean,
	"last": string,
	"limit": number,
	"reqId": number
}

ParamProviderListByConfigBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
firststringoptional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
includeSuspendedbooleanoptionaltrueWhen true, the command will also return suspended Providers.
laststringoptional
limituint16?optionalMaximum number of objects in this response.
providerConfigParamIdalwaysAn object to contain the "id" of the ProviderConfig/ProviderConfiguration.
providerConfig.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"first": string,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"includeSuspended": boolean,
	"last": string,
	"limit": number,
	"providerConfig": {
		"id": number
	},
	"reqId": number
}

ParamProviderMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
providerObject.<string, ?>alwaysA simple object to contain the Provider parameters.
provider.assetuint64?optionalA reference to the Asset with which to provide events.
provider.configuint64?createIdentifier of the ProviderConfig/ProviderConfiguration this Provider will use.
provider.idstring
maximum-length: 50
minimum-length: 10
alwaysUnique identifier of the Provider.
provider.kindProviderType?createThe type of Provider.
provider.namestring
maximum-length: 100
createA name for the Provider.
provider.notesstringoptionalNotes for this Provider.
provider.passwordstringoptionalThe password required to communicate and program this Provider.
provider.phoneuint64?optionalThe phone number this Provider uses (if known).
provider.pndstringoptionalThe name of the Personal Navigation Device connected to this Provider.
provider.vArray.<int32>optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"provider": {
		"asset": number,
		"config": number,
		"id": string,
		"kind": string,
		"name": string,
		"notes": string,
		"password": string,
		"phone": number,
		"pnd": string,
		"v": [
			number
		]
	},
	"reqId": number
}

ParamProviderRegistrationBatchDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
providerRegistrationsArray.<ParamCode>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"providerRegistrations": [
		{
			"code": string
		}
	],
	"reqId": number
}

ParamProviderRegistrationBatchMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
providerRegistrationsArray.<ParameterContent>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"providerRegistrations": [
		{
			"asset": number,
			"config": number,
			"identifier": string,
			"lifetime": string,
			"name": string,
			"notes": string,
			"password": string,
			"phone": number,
			"v": [
				number
			]
		}
	],
	"reqId": number
}

ParamProviderRegistrationDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
providerRegistrationParamCodealwaysAn object to contain the "id" of the provider.
providerRegistration.codestringalwaysA "code" identifying a resource.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"providerRegistration": {
		"code": string
	},
	"reqId": number
}

ParamProviderRegistrationGetBaseParametersobject

Request description
PropertyTypeRequiredDescription
providerRegistrationParamCodealwaysAn object to contain the "id" of the provider.
providerRegistration.codestringalwaysA "code" identifying a resource.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"providerRegistration": {
		"code": string
	},
	"reqId": number
}

ParamProviderRegistrationListByCompanyBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
companyParamIdalwaysAn object to contain the "id" of the Companyv.
company.iduint64alwaysIdentifier given as input for the command.
highestint32?optionalThe maximum ProviderRegistration.code when listing from the database.
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
lowestint32?optionalThe minimum ProviderRegistration.code when listing from the database.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"company": {
		"id": number
	},
	"highest": number,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"lowest": number,
	"reqId": number
}

ParamProviderRegistrationListByConfigBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
companyParamIdalwaysAn object to contain the "id" of the Companyv.
company.iduint64alwaysIdentifier given as input for the command.
highestint32?optionalThe maximum ProviderRegistration.code when listing from the database.
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
lowestint32?optionalThe minimum ProviderRegistration.code when listing from the database.
providerConfigParamIdalwaysAn object to contain the "id" of the ProviderConfig/ProviderConfiguration.
providerConfig.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"company": {
		"id": number
	},
	"highest": number,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"lowest": number,
	"providerConfig": {
		"id": number
	},
	"reqId": number
}

ParamProviderRegistrationListByKindBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
companyParamIdalwaysAn object to contain the "id" of the Companyv.
company.iduint64alwaysIdentifier given as input for the command.
highestint32?optionalThe maximum ProviderRegistration.code when listing from the database.
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
kindProviderType?optionalThe type of ProviderRegistrations to list.
limituint16?optionalMaximum number of objects in this response.
lowestint32?optionalThe minimum ProviderRegistration.code when listing from the database.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"company": {
		"id": number
	},
	"highest": number,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"kind": string,
	"limit": number,
	"lowest": number,
	"reqId": number
}

ParamProviderRegistrationMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
providerRegistrationObject.<string, ?>alwaysA simple object to contain the ProviderRegistration parameters.
providerRegistration.assetuint64?optionalAn optional Asset to which the new Provider will be assigned.
providerRegistration.configuint64createThe identifier of the ProviderConfig/ProviderConfiguration that will be loaded onto the new Provider.
providerRegistration.identifierstring
maximum-length: 50
optionalIdentifier of the Provider to setup. This is helpful for long-term deployments, but will be overwritten during provisioning.
providerRegistration.lifetimetimespanoptionalThe lifetime of the ProviderRegistration. The default value (if not specified) is 10 minutes. It can be specified as up to 2 months to allow for longer deployments.
providerRegistration.namestring
maximum-length: 100
optionalA nickname given to the Provider once it has been provisioned.
providerRegistration.notesstringoptionalNotes about the Provider for after it's been programmed.
providerRegistration.passwordstring
maximum-length: 50
optionalThe password programmed on the Provider used to ensure the system is the only client authorized to make changes.
providerRegistration.phoneuint64?optionalIf known beforehand, a phone number can be specified for new Providers.
providerRegistration.vArray.<int32>optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"providerRegistration": {
		"asset": number,
		"config": number,
		"identifier": string,
		"lifetime": string,
		"name": string,
		"notes": string,
		"password": string,
		"phone": number,
		"v": [
			number
		]
	},
	"reqId": number
}

ParamProviderRestoreBaseParametersobject

Request description
PropertyTypeRequiredDescription
providerParamIdentifieralwaysAn object to contain the "id" of the Provider.
provider.idstringalwaysThe Provider's identifier.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"provider": {
		"id": string
	},
	"reqId": number
}

ParamProviderReviveBaseParametersobject

Request description
PropertyTypeRequiredDescription
providerParamIdentifieralwaysAn object to contain the "id" of the Provider.
provider.idstringalwaysThe Provider's identifier.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"provider": {
		"id": string
	},
	"reqId": number
}

ParamProviderScriptBatchDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
providerScriptsArray.<ParamId>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"providerScripts": [
		{
			"id": number
		}
	],
	"reqId": number
}

ParamProviderScriptBatchMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
providerScriptsArray.<ParameterContent>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"providerScripts": [
		{
			"blocks": [
				{
					"condition": string,
					"content": string,
					"replace": string,
					"validate": string
				}
			],
			"company": number,
			"fill": string,
			"global": boolean,
			"graphic": string,
			"id": number,
			"kind": string,
			"name": string,
			"notes": string,
			"parameters": {
				string: {
					"advanced": boolean,
					"context": string,
					"notes": string,
					"order": number,
					"type": string,
					"value": string
				}
			},
			"stroke": string,
			"v": [
				number
			]
		}
	],
	"reqId": number
}

ParamProviderScriptDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
providerScriptParamIdalwaysAn object to contain the "id" of the ProviderScript.
providerScript.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"providerScript": {
		"id": number
	},
	"reqId": number
}

ParamProviderScriptGetBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
includeDeletedbooleanoptionalfalseWhen true, the command will also return a deleted ProviderScript.
providerScriptParamIdalwaysAn object to contain the "id" of the ProviderScript.
providerScript.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"includeDeleted": boolean,
	"providerScript": {
		"id": number
	},
	"reqId": number
}

ParamProviderScriptListByCompanyBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
companyParamIdalwaysAn object to contain the "id" of the Company.
company.iduint64alwaysIdentifier given as input for the command.
highestuint64?optional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
lowestuint64?optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
treebooleanoptionaltrueWhen true (default) the getter to retrieve the given Company's list of ProviderScripts as well as any publicly available ProviderScripts for the Company's parent(s).
Request structure
{
	"company": {
		"id": number
	},
	"highest": number,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"lowest": number,
	"reqId": number,
	"tree": boolean
}

ParamProviderScriptMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
providerScriptObject.<string, ?>alwaysA simple object to contain the ProviderScript parameters.
providerScript.blocksArray.<ProviderScriptBlock>
minimum-count of values: 1
createBlocks of file data which are (optionally) included in the ProviderScript data file.
providerScript.companyuint64?createThe Company to which this ProviderScript belongs. After creation, this value is read-only.
providerScript.fillstringoptionalBackground and fill colour in the UI.
providerScript.globalbooleanoptionalIndicates whether this ProviderScript is available to child companies.
providerScript.graphicstringoptionalThe name of the symbol shown in the UI.
providerScript.iduint64?updateThe unique identifier of the ProviderScript you want to update.
providerScript.kindProviderType?createThe type of provider for which this ProviderScript can be used. Limiting to a specific model from a manufacturer is accomplished through the block conditions.
providerScript.namestring
maximum-length: 100
optionalName for the ProviderScript.
providerScript.notesstringoptionalNotes for the ProviderScript.
providerScript.parametersObject.<string, ProviderScriptParameter>optionalParameter definitions for this ProviderScript, including type-hints and default values.
providerScript.strokestringoptionalText and outline colour in the UI.
providerScript.vArray.<int32>optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"providerScript": {
		"blocks": [
			{
				"condition": string,
				"content": string,
				"replace": string,
				"validate": string
			}
		],
		"company": number,
		"fill": string,
		"global": boolean,
		"graphic": string,
		"id": number,
		"kind": string,
		"name": string,
		"notes": string,
		"parameters": {
			string: {
				"advanced": boolean,
				"context": string,
				"notes": string,
				"order": number,
				"type": string,
				"value": string
			}
		},
		"stroke": string,
		"v": [
			number
		]
	},
	"reqId": number
}

ParamProviderScriptRestoreBaseParametersobject

Request description
PropertyTypeRequiredDescription
providerScriptParamIdalwaysAn object to contain the "id" of the ProviderScript.
providerScript.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"providerScript": {
		"id": number
	},
	"reqId": number
}

ParamProviderSuspendBaseParametersobject

Request description
PropertyTypeRequiredDescription
providerParamIdentifieralwaysAn object to contain the "id" of the Provider.
provider.idstringalwaysThe Provider's identifier.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"provider": {
		"id": string
	},
	"reqId": number
}

ParamSessionBatchKillBaseParametersobject

Request description
PropertyTypeRequiredDescription
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
sessionsArray.<ParamHandle>optionalArray of parameters successfully parsed by the sub-command.
Request structure
{
	"reqId": number,
	"sessions": [
		{
			"handle": string
		}
	]
}

Providerobject

A device, modem, or service which provides events from the field.
JSON description
PropertyTypeDescription
assetuint64?The asset for which this device provides field data.
attributesObject.<string, Object.<string, ProviderData>>
for keys see: ProviderDataGroup
for value-keys see: ProviderDataName
Often changing values like latitude, longitude, speed, wiring state, VBus information, etc...
commandsObject.<ProviderCommandType, ProviderCommand>Collection of commands for this provider.
companyuint64The company to which this device belongs.
configurationuint64The provider's current (or pending) configuration profile.
controlProviderControlManaging and controlling communication with this provider.
firmwarestring
maximum-length: 100
The firmware/application version number.
firmwareStatusProvisioningStatusThe system's progress of updating the device's firmware/application.
geofenceLastdatetimeA timestamp from when the geofence list was updated by a User or a Provider.
geofenceStatusProvisioningStatusThe system's progress of updating the device's on-board geofence definitions.
idstring
maximum-length: 50
minimum-length: 10
Unique identifier of this provider.
informationObject.<string, string>
for keys see: ProviderDataName
A list of read-only values about the device like IMEI, ESN, firmware version, hardware revision, etc...
kindProviderTypeThe kind of communication protocol this device uses.
lastCheckIndatetimeA timestamp from when the provider last checked for a new script or new geofences.
lastIPipv4The last IP address of the device.
namestring
maximum-length: 100
A nickname given to the device/hardware.
notesstringNotes!
passwordstring
maximum-length: 50
The password programmed on the device used to ensure the system is the only client authorized to make changes.
phoneNumberuint64?The phone number of this device.
pndstring
maximum-length: 50
The short-name of the kind of PND attached to this device. Leave blank if none.
processedUtcdatetimeWhen the was change procesed.
scriptLastdatetimeA timestamp from when the script status was updated by a User or a Provider.
scriptStatusProvisioningStatusThe system's progress of updating the device's programming.
simstringICCID of the SIM card installed in this provider
snfObject.<string, string>Store-and-forward information like last sequence number of SnF window
updatedby: login, from: monster
vArray.<int32>
fixed count: 3
Object version keys used to validate synchronization for all object properties.
v[0]int32The first element is for the general properties
v[1]int32The second element is for the advanced properties
v[2]int32The third element is for the control properties
JSON structure
{
	"asset": number,
	"attributes": {
		string: {
			string: {
				"dts": string,
				"unit": string,
				"value": Object
			}
		}
	},
	"commands": {
		string: {
			"created": string,
			"parameters": [
				string
			],
			"processed": string,
			"status": string
		}
	},
	"company": number,
	"configuration": number,
	"control": {
		"commands": {
			string: {
				"created": string,
				"parameters": [
					string
				],
				"processed": string,
				"status": string
			}
		},
		"company": number,
		"id": string,
		"processedUtc": string,
		"updated": {
		},
		"v": [
			number
		]
	},
	"firmware": string,
	"firmwareStatus": string,
	"geofenceLast": string,
	"geofenceStatus": string,
	"id": string,
	"information": {
		string: string
	},
	"kind": string,
	"lastCheckIn": string,
	"lastIP": string,
	"name": string,
	"notes": string,
	"password": string,
	"phoneNumber": number,
	"pnd": string,
	"processedUtc": string,
	"scriptLast": string,
	"scriptStatus": string,
	"sim": string,
	"snf": {
		string: string
	},
	"updated": {
	},
	"v": [
		number
	]
}

ProviderAdvancedobject

Device/hardware information reported from the field.
JSON description
PropertyTypeDescription
attributesObject.<string, Object.<string, ProviderData>>
for keys see: ProviderDataGroup
for value-keys see: ProviderDataName
Often changing values like latitude, longitude, speed, wiring state, VBus information, etc...
companyuint64The company to which this device belongs.
idstring
maximum-length: 50
minimum-length: 10
Unique identifier of this device.
lastIPipv4The last IP address of the device.
processedUtcdatetimeWhen the was change procesed.
snfObject.<string, string>Store-and-forward information like last sequence number of SnF window
updatedby: login, from: monster
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"attributes": {
		string: {
			string: {
				"dts": string,
				"unit": string,
				"value": Object
			}
		}
	},
	"company": number,
	"id": string,
	"lastIP": string,
	"processedUtc": string,
	"snf": {
		string: string
	},
	"updated": {
	},
	"v": [
		number
	]
}

ProviderCommandobject

Details regarding a provider command
JSON description
PropertyTypeDescription
createddatetimeDate/time stamp of when the command was created.
parametersArray.<string>Command message body.
processeddatetimeDate/time stamp of when the command was processed.
statusProviderCommandStatusCurrent status of this command.
JSON structure
{
	"created": string,
	"parameters": [
		string
	],
	"processed": string,
	"status": string
}

ProviderCommandStatusstring

Progress lifetime of command for the device/modem.
ValueDescription
cancelledSending of the new command was halted by a user.
completedCommand was successfully processed by the provider.
createdThe new command has been created, but not yet sent to the provider.
failedSomething went wrong while trying to send or process the command.
inProgressProvider is taking some action related to this command. eg. Checking in for config update or getting tasks list.
pendingCommand was processed and sent to the provider.

ProviderCommandTypestring

The kind of command for the device/modem.
ValueDescription
configConfiguration
customCustom (modem specific) message
dispatchDispatch Job
geofenceGeofence
gpsGPS report
outputControl output wire
statusStatus report
unknownIf the type of command has not yet been determined, or there was an error determining its type.

ProviderConfigobject

The configured script loaded onto the provider over-the-air to control it's reporting schedule and behaviour.
JSON description
PropertyTypeDescription
companyuint64The company to which this configuration belongs.
geofencesexpressionA search pattern used to filter which Places' geometry are used as geofences. Use null to disable. Use "*" to match all the Places the Provider's Asset can match. Or use "#123456" or "label:term" like other Place search patterns.
iduint64Unique identifier of this configuration.
namestring
maximum-length: 100
The nickname given to this configuration
notesstringSimple details about how the providers are expected to behave.
parametersObject.<string, string>The list of defined variable name/value pairs that the script requires.
processedUtcdatetimeWhen the was change procesed.
scriptuint64The script which this configuration implements.
updatedby: login, from: monster
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"company": number,
	"geofences": string,
	"id": number,
	"name": string,
	"notes": string,
	"parameters": {
		string: string
	},
	"processedUtc": string,
	"script": number,
	"updated": {
	},
	"v": [
		number
	]
}

ProviderConfigDeletedobject

The message format for when a deleted ProviderConfig is retrieved
JSON description
PropertyTypeValueDescription
companyuint64The company to which this configuration belongs.
deletedbooleantrue
iduint64Unique identifier of this configuration.
namestring
maximum-length: 100
The nickname given to this configuration
notesstringSimple details about how the providers are expected to behave.
sincedatetimeA timestamp from the moment the object was deleted.
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"company": number,
	"deleted": boolean,
	"id": number,
	"name": string,
	"notes": string,
	"since": string,
	"v": [
		number
	]
}

ProviderConfigurationobject Deprecated: Use ProviderConfig instead.

The configured logic loaded onto the provider over-the-air to control it's reporting schedule and behaviour.
JSON description
PropertyTypeDescription
companyuint64The company to which this configuration belongs.
geofencesArray.<uint64>List of Places loaded directly onto the provider.
iduint64Unique identifier of this configuration.
namestring
maximum-length: 100
The nickname given to this configuration
notesstringSimple details about how the providers are expected to behave.
processedUtcdatetimeWhen the was change procesed.
scriptParametersObject.<string, Object>The list of defined variables given to the logic type's options pairs for the logic type requires.
typeuint64The logic type which this configuration implements.
updatedby: login, from: monster
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"company": number,
	"geofences": [
		number
	],
	"id": number,
	"name": string,
	"notes": string,
	"processedUtc": string,
	"scriptParameters": {
		string: Object
	},
	"type": number,
	"updated": {
	},
	"v": [
		number
	]
}

ProviderConfigurationDeletedobject Deprecated: Use ProviderConfig instead.

The message format for when a deleted ProviderConfiguration is retrieved
JSON description
PropertyTypeValueDescription
companyuint64The company to which this configuration belongs.
deletedbooleantrue
iduint64Unique identifier of this configuration.
namestring
maximum-length: 100
The nickname given to this configuration
notesstringSimple details about how the providers are expected to behave.
sincedatetimeA timestamp from the moment the object was deleted.
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"company": number,
	"deleted": boolean,
	"id": number,
	"name": string,
	"notes": string,
	"since": string,
	"v": [
		number
	]
}

ProviderConfigurationNodeobject Deprecated: Use ProviderScriptBlock instead.

This tree-like structure is given to the script processor for the device type so that the device can follow a program.
JSON description
PropertyTypeDescription
idstringUnique identifier of the value being mapped.
isAdvancedbooleanIndicates that this configuration is an advanced property and should only be set by someone who knows what they're doing.
maxObjectThe maximum possible value for this confugration node.
minObjectThe minimum possible value for this confugration node.
nodesObject.<string, ProviderConfigurationNode>Child configuration nodes.
notesstringDescription of what this configuration does when mapped to a device.
typestringType hint used by the script processor to help format the value.
unitProviderDataUnit?Unit hint used to help the script processor format the value.
valueObjectThe value being set.
JSON structure
{
	"id": string,
	"isAdvanced": boolean,
	"max": Object,
	"min": Object,
	"nodes": {
		string: { /* recursive ProviderConfigurationNode objects */ }
	},
	"notes": string,
	"type": string,
	"unit": string,
	"value": Object
}

ProviderConfigurationTypeobject Deprecated: Use ProviderScript instead.

This read-only class describes a type of logic applied to a provider. ProviderConfigurationTypes are used to help define a ProviderConfiguration.
JSON description
PropertyTypeDescription
geofenceTypesArray.<PlaceType>A list of supported types of geofences which can be programmed directly onto the device.
iduint64Unique identifier.
maxGeofenceCountuint32The maximum number of geofences that can be programmed onto a device. This number changes based on device make and model, and can also change based on the supported geofence types.
minGeofenceCountuint32The minimum number of geofences that need to be programmed onto the device. This value is almost always zero.
namestring
maximum-length: 100
Name of the configuration type.
notesstringNotes regarding the use of this configuration.
processedUtcdatetimeWhen the was change procesed.
providerTypeProviderTypeThe applicable type of provider for which this configuration type can be created.
scriptOptionsObject.<string, ProviderConfigurationNode>A tree-structure of configurations required (or optionally available) for programming a device.
updatedby: login, from: monster
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"geofenceTypes": [
		string
	],
	"id": number,
	"maxGeofenceCount": number,
	"minGeofenceCount": number,
	"name": string,
	"notes": string,
	"processedUtc": string,
	"providerType": string,
	"scriptOptions": {
		string: {
			"id": string,
			"isAdvanced": boolean,
			"max": Object,
			"min": Object,
			"nodes": {
				string: { /* recursive ProviderConfigurationNode objects */ }
			},
			"notes": string,
			"type": string,
			"unit": string,
			"value": Object
		}
	},
	"updated": {
	},
	"v": [
		number
	]
}

ProviderConfigurationTypeDeletedobject Deprecated: Use ProviderScript instead.

The message format for when a deleted ProviderConfigurationType is retrieved
JSON description
PropertyTypeValueDescription
deletedbooleantrue
iduint64Unique identifier.
namestring
maximum-length: 100
Name of the configuration type.
notesstringNotes regarding the use of this configuration.
sincedatetimeA timestamp from the moment the object was deleted.
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"deleted": boolean,
	"id": number,
	"name": string,
	"notes": string,
	"since": string,
	"v": [
		number
	]
}

ProviderControlobject

Managing communication with Device/hardware.
JSON description
PropertyTypeDescription
commandsObject.<ProviderCommandType, ProviderCommand>Collection of commands for this provider.
companyuint64The company to which this device belongs.
idstring
maximum-length: 50
minimum-length: 10
Unique identifier of this device.
processedUtcdatetimeWhen the was change procesed.
updatedby: login, from: monster
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"commands": {
		string: {
			"created": string,
			"parameters": [
				string
			],
			"processed": string,
			"status": string
		}
	},
	"company": number,
	"id": string,
	"processedUtc": string,
	"updated": {
	},
	"v": [
		number
	]
}

ProviderDataobject

A fragment of data given by a device.
JSON description
PropertyTypeDescription
dtsdatetimeDate/time stamp from when the device recorded (or reported) the data.
unitProviderDataUnit?The relevant unit for the data provided like Km/h, degrees, volts, RPM, etc...
valueObjectThe value of the data given like true, 17.3, "asdf", etc...
JSON structure
{
	"dts": string,
	"unit": string,
	"value": Object
}

ProviderDataGroupstring

Event groups used in ProviderAdvanced.data.
ValueDescription
CAMERADashcam picture and video recording events
CELLCellular network information.
DISPATCHTask, clock-in/out, paired vehicle and driver information.
GPSGPS and location data.
IOWiring data.
STATUSProvider status and sensor data.
VBUSOBD-II and J-Bus data.

ProviderDataNamestring

The kinds of values given by providers in Provider.attributes[ProviderDataGroup]:ProviderData.
ValueDescription
CAMERA
CAMERA_1
CAMERA_2
CAMERA_3
CAMERA_4
TOTAL_CAMERAS
CELL
ACK_BYTES_IN
CELLUAR_IP_ADDRESS
CELLUAR_ROAMING
CELLUAR_SERVICE
CELLUAR_WAN_IP
CELLULAR_CARRIERMNC (Mobile Network Code)
CELLULAR_COMM_STATE
CELLULAR_COUNTRYMCC (Mobile Country Code)
CELLULAR_RSRPReference Signal Received Power, in dBm (decibel-milliwatts).
CELLULAR_RSRQReference Signal Received Quality, in dB (decibels).
CELLULAR_RSSIReceived Signal Strength Indicator, in dBm. RSSI is a negative value, and the closer to 0, the stronger the signal.
DATA_AGE
DATA_BYTES_IN
DATA_BYTES_OUT
GPR_STATE
GSM_STATE
HOURS_DISCONNECTED_COUNTER
HOURS_ON_COUNTER
PASSTHROUGH_USER_MESSAGE
PASSTHROUGH_USER_MESSAGE_ID
PDP_STATE
PERCENT_LOST_GPRS
PERCENT_LOST_GSM
PERCENT_LOST_PDP
POLICY_FAULT_MESSAGEID
POLICY_FAULT_TEXT
SERVICE_FAULT_MESSAGEID
SERVICE_FAULT_TEXT
SERVICE_RESPONSE
SMS_MSG_IN_COUNTER
SMS_MSG_OUT_COUNTER
SMS_SPAM_MSG_IN_COUNTER
TERMINAL_STATUS
DISPATCH
DISPATCH_TASKA task is marked as active or "on-route" when the DispatchTask.id is sent.
DRIVER_DRIVINGWhen the driver changes status to "driving" from another status.
DRIVER_LOGINWhen the driver logs-in the terminal/vehicle.
DRIVER_LOGOFFWhen the driver logs-off the terminal/vehicle.
DRIVER_OFFDUTYWhen the driver changes status to "off-duty" from another status.
DRIVER_ONDUTYWhen the driver changes status to "on-duty" from another status.
DRIVER_SLEEPINGWhen the driver changes status to "sleeping" from another status.
DRIVER_VEHICLEWhen the driver chooses a specific vehicle during the log-in process.
HOS_DRIVER
HOS_IS_CODRIVER
HOS_STATUS
HOS_VEHICLE
HOS_VIOLATION
GPS
COURSEThe heading or bearing over time.
GEOFENCE_IDID of violated geofence
GEOFENCE_VIOLATIONGeofence violation types(outside fence violation, inside fence violation)
GPS_ACCELERATIONA virtual accelerometer calculated by the GPS system's positions
GPS_ACCURACYThe approximate accuracy of the GPS fix
GPS_ALTITUDEAltitude above sea-level
GPS_ANTENNA_STATUSGPS antenna status could be related to power or unplugged states
GPS_DECELERATIONA virtual accelerometer calculated by the GPS system's positions
GPS_DISTANCEDistance measured between two GPS fixes
GPS_FIX_STATUSStatus or validity of the GPS fix
GPS_FIX_TIMEDate/time stamp of the most recent GPS fix
GPS_HDOPHorizontal dilution of precision for 3D fixes
GPS_HEADINGDirection of travel
GPS_LATITUDELatitude in decimal degrees
GPS_LONGITUDELongitude in decimal degrees
GPS_LOST_TIMEDate/time stamp from when the device lost GPS signal
GPS_ODOMETERA virtual odometer accumulated by the GPS system's positions
GPS_SATELLITESThe number of satellites used to obtain the GPS fix
GPS_SPEEDSpeed measured by GPS fix differentiation
MAGNETIC_VARIATIONDifference in horizontal angle between true north and magnetic north
PERCENT_LOST_GPSDate/time stamp from when the device lost its precise GPS position
PERCENT_LOST_GPS_QUALITY_FACTORStatistical amount of bad GPS data
IO
ACCUMULATOR0
ACCUMULATOR1
ACCUMULATOR10
ACCUMULATOR11
ACCUMULATOR12
ACCUMULATOR13
ACCUMULATOR14
ACCUMULATOR15
ACCUMULATOR16
ACCUMULATOR17
ACCUMULATOR18
ACCUMULATOR19
ACCUMULATOR2
ACCUMULATOR20
ACCUMULATOR21
ACCUMULATOR22
ACCUMULATOR23
ACCUMULATOR24
ACCUMULATOR25
ACCUMULATOR26
ACCUMULATOR27
ACCUMULATOR28
ACCUMULATOR29
ACCUMULATOR3
ACCUMULATOR30
ACCUMULATOR31
ACCUMULATOR32
ACCUMULATOR33
ACCUMULATOR34
ACCUMULATOR35
ACCUMULATOR36
ACCUMULATOR37
ACCUMULATOR38
ACCUMULATOR39
ACCUMULATOR4
ACCUMULATOR40
ACCUMULATOR41
ACCUMULATOR42
ACCUMULATOR43
ACCUMULATOR44
ACCUMULATOR45
ACCUMULATOR46
ACCUMULATOR47
ACCUMULATOR48
ACCUMULATOR49
ACCUMULATOR5
ACCUMULATOR50
ACCUMULATOR51
ACCUMULATOR52
ACCUMULATOR53
ACCUMULATOR54
ACCUMULATOR55
ACCUMULATOR56
ACCUMULATOR57
ACCUMULATOR58
ACCUMULATOR59
ACCUMULATOR6
ACCUMULATOR60
ACCUMULATOR61
ACCUMULATOR62
ACCUMULATOR63
ACCUMULATOR64
ACCUMULATOR7
ACCUMULATOR8
ACCUMULATOR9
ANALOG_INPUT_0Analog voltage reading from wire zero, or external power voltage, or internal battery voltage
ANALOG_INPUT_1Analog voltage reading from wire #1
ANALOG_INPUT_10Analog voltage reading from wire #10
ANALOG_INPUT_11Analog voltage reading from wire #11
ANALOG_INPUT_2Analog voltage reading from wire #2
ANALOG_INPUT_3Analog voltage reading from wire #3
ANALOG_INPUT_4Analog voltage reading from wire #4
ANALOG_INPUT_5Analog voltage reading from wire #5
ANALOG_INPUT_6Analog voltage reading from wire #6
ANALOG_INPUT_7Analog voltage reading from wire #7
ANALOG_INPUT_8Analog voltage reading from wire #8
ANALOG_INPUT_9Analog voltage reading from wire #9
BAROMETRIC_PRESSURE
BATTERY_CAPACITY
BATTERY_LEVEL
DIGITAL_INPUT_0Digital input wire zero, or external power, or internal battery power
DIGITAL_INPUT_1Digital input wire #1
DIGITAL_INPUT_10Digital input wire #10
DIGITAL_INPUT_11Digital input wire #11
DIGITAL_INPUT_2Digital input wire #2
DIGITAL_INPUT_3Digital input wire #3
DIGITAL_INPUT_4Digital input wire #4
DIGITAL_INPUT_5Digital input wire #5
DIGITAL_INPUT_6Digital input wire #6
DIGITAL_INPUT_7Digital input wire #7
DIGITAL_INPUT_8Digital input wire #8
DIGITAL_INPUT_9Digital input wire #9
DIGITAL_INPUT_DTRLegacy AirLink digital input wire #2
DIGITAL_INPUT_RTSLegacy AirLink digital input wire #1
DIGITAL_OUTPUT_0Voltage output wire #0
DIGITAL_OUTPUT_1Voltage output wire #1
DIGITAL_OUTPUT_10Voltage output wire #10
DIGITAL_OUTPUT_11Voltage output wire #99
DIGITAL_OUTPUT_2Voltage output wire #2
DIGITAL_OUTPUT_3Voltage output wire #3
DIGITAL_OUTPUT_4Voltage output wire #4
DIGITAL_OUTPUT_5Voltage output wire #5
DIGITAL_OUTPUT_6Voltage output wire #6
DIGITAL_OUTPUT_7Voltage output wire #7
DIGITAL_OUTPUT_8Voltage output wire #8
DIGITAL_OUTPUT_9Voltage output wire #9
EXTERNAL_TEMPERATURETemperature measured outside of the modem casing.
GPIO0Switchable input/output wire zero, or external power, or internal battery
GPIO1Switchable input/output wire #1
GPIO2Switchable input/output wire #2
GPIO3Switchable input/output wire #3
GPIO4Switchable input/output wire #4
GPIO5Switchable input/output wire #5
GPIO6Switchable input/output wire #6
GPIO7Switchable input/output wire #7
GPIO8Switchable input/output wire #8
GPIO9Switchable input/output wire #9
HUMIDITY
INTERNAL_TEMPERATURETemperature measured on the mainboard, or inside the modem casing.
LIGHT
TEMPERATURE_SENSOR_1
TEMPERATURE_SENSOR_2
TEMPERATURE_SENSOR_3
TEMPERATURE_SENSOR_4
RFID
TAG_COUNT
TAG_LIST
STATUS,IO
ACCELEROMETERA virtual accelerometer calculated by the GPS system's positions
MOTION_STATUSMotion status determined by the GPS speed and ignition
STATUS
APP_IDIdentifier of the application communicating with the service(s).
APP_VERSIONSoftware/firmware version information.
BOOT_VERSIONBoot or kernel version information.
CONFIG_VERSION
ESNThe device's ESN (Electronic Serial Number).
EVENT_CODEThe provider-specific event code.
EVENT_NAMEThe provider-specific event name. See ProviderEventName for more information.
EVENT_TIMEThe time of the event.
GPS_HARDWAREGPS chip information.
HARDWARE_VERSIONDevice model information.
ICCIDThe device's ICCID (Integrated Circuit Card ID)
IMEIThe device's IMEI (International Mobile Station Equipment Identity).
IMPACT
IMSIThe device's IMSI (International Mobile Subscriber Identity).
LAST_CONFIG_UPDATE
LAST_ID_REPORT
LOCATION_SOURCESource used to get position of the device (GPS, Network or Wi-fi)
MAIN_FIRMWARE_VERSION
MINThe device's MIN (Mobile Identification Number).
MODEM_MODELDevice model name.
MODEM_MODEL_IDDevice model name.
MODEM_NAMEDevice friendly name.
NEW_SIM_ID
NUMBER_OF_OTA_TRY
OBDII_FIRMWARE_VERSION
OS_NAMEOperating System name (appropriate for mobile phones powered by Android or iOS).
OS_VERSIONOperating System version information.
PHONE_NUMBERPhone number
POWER_UP_COUNTER
PREFERED_ROAMING_LIST
PREVIOUS_SIM_ID
RADIO_VERSION
RAP_VERSION
REGISTRATION_IDUnique string given to mobile apps for FCM notifications.
RESET_COUNTER
SECONDARY_IMEIThe device's secondary IMEI.
SEQUENCE_NUMBER
SEQUENCE_NUMBER_FIRST
SEQUENCE_NUMBER_LAST
SERIAL_NUMBERA serial not used as ESN, IMEI, or similar.
SOURCE
STATUS_POWERUPBooting
STATUS_SLEEPLow power mode
STATUS_WAKEUPHigh power mode
VBUS
AIR_TEMPERATURE
ANTI_ICE_RATE
BILLING
BLAST
CONTROLLER
DISTANCE_TRAVELLED_AFTER_MIL_ON
DRY_RATE
ENGINE_HOURS
EQUIVALENT_COMMAND_RATIO
FUEL_TYPE
J1708_ACCELERATOR_PEDAL_POSITION
J1708_AIR_INTAKE_TEMPERATURE
J1708_BATTERY_VOLTAGE
J1708_BOOST_PRESSURE_INTAKE_MANIFOLD_PRESSURE
J1708_DIAGNOSTIC_CODE
J1708_ENGINE_AVERAGE_FUEL_ECONOMY
J1708_ENGINE_COOLANT_PRESSURE
J1708_ENGINE_COOLANT_TEMP
J1708_ENGINE_LOAD
J1708_ENGINE_OIL_PRESSURE
J1708_ENGINE_OIL_TEMP
J1708_ENGINE_SPEED
J1708_FUEL_LEVEL
J1708_FUEL_RATE
J1708_ODOMETEROdometer reading from J-Bus 1708
J1708_SEATBELT
J1708_STATUS
J1708_THROTTLE_POSITION
J1708_TOTAL_ENGINE_HOURS
J1708_TOTAL_FUEL
J1708_TOTAL_IDLE_FUEL
J1708_TOTAL_IDLE_HOURS
J1708_VEHICLE_SPEED
J1939_ACCELERATOR_PEDAL_POSITION
J1939_BATTERY_VOLTAGE
J1939_DIAGNOSTIC_CODE
J1939_ENGINE_AVERAGE_FUEL_ECONOMY
J1939_ENGINE_COOLANT_PRESSURE
J1939_ENGINE_COOLANT_TEMP
J1939_ENGINE_LOAD
J1939_ENGINE_OIL_PRESSURE
J1939_ENGINE_OIL_TEMP
J1939_ENGINE_SPEED
J1939_FUEL_LEVEL
J1939_FUEL_RATE
J1939_ODOMETEROdometer reading from J-Bus 1939
J1939_SEATBELT
J1939_STATUS
J1939_TOTAL_ENGINE_HOURS
J1939_TOTAL_FUEL
J1939_TOTAL_IDLE_FUEL
J1939_TOTAL_IDLE_HOURS
J1939_TRANSMISSION_GEAR
J1939_TURN_SIGNAL
J1939_VEHICLE_SPEED
LEFT_WIRING
LIQUID_RATE
MATERIAL_TYPE
MIL_STATUS
OBDII_AIR_FLOW_RATE
OBDII_AIR_INTAKE_TEMPERATURE
OBDII_AMBIENT_AIR_TEMPERATURE
OBDII_BAROMETRIC_PRESSURE
OBDII_BATTERY_VOLTAGE
OBDII_BOOST_PRESSURE_INTAKE_MANIFOLD_PRESSURE
OBDII_DERIVED_ENGINE_STATE
OBDII_DISTANCE_SINCE_CODE_CLEARED
OBDII_DISTANCE_TRAVELLED_AFTER_MIL_ON
OBDII_DTCDiagnotic Trouble Code
OBDII_DTC_COUNTThe number of DTCs present
OBDII_ENGINE_AVERAGE_FUEL_ECONOMY
OBDII_ENGINE_COOLANT_PRESSURE
OBDII_ENGINE_COOLANT_TEMP
OBDII_ENGINE_LOAD
OBDII_ENGINE_OIL_TEMP
OBDII_ENGINE_SPEED
OBDII_EQUIVALENT_COMMAND_RATIO
OBDII_FUEL_AIR_COMMANDED_EQUIVAILENCE_RATIO
OBDII_FUEL_LEVEL
OBDII_FUEL_LEVEL_REMAINING
OBDII_FUEL_PRESSURE
OBDII_FUEL_RAIL_PRESSURE
OBDII_FUEL_RATE
OBDII_FUEL_TYPE
OBDII_HIGH_BATTERY_VOLTAGE
OBDII_IGNITION_TIMING_ADVANCE
OBDII_INDICATORSList of OBD-II indicators
OBDII_INSTANT_FULE_RATE
OBDII_LONG_TERM_FUEL_TRIM_BANK_1
OBDII_LONG_TERM_FUEL_TRIM_BANK_2
OBDII_LOW_BATTERY_VOLTAGE
OBDII_MILES_SINCE_LAST_ALERTOdometer reading from CAN-Bus since last DTC code was cleared
OBDII_ODOMETEROdometer reading from CAN-Bus
OBDII_OEM_PARAMETERS
OBDII_OEM_PROTOCOL
OBDII_PARAMETERSList of OBD-II parameters
OBDII_PROTOCOLame or code of the OBD-II protocol in use.
OBDII_SEATBELT
OBDII_SHROT_TERM_FUEL_TRIM_BANK_1
OBDII_SHROT_TERM_FUEL_TRIM_BANK_2
OBDII_THROTTLE_POSITION
OBDII_TOTAL_ENGINE_HOURS
OBDII_TRANSMISSION_GEAR
OBDII_TRIP_FUEL_CONSUMPTION
OBDII_TRIP_ODOMETER
OBDII_TURN_SIGNAL
OBDII_VEHICLE_SPEED
OBDII_WIDEBAND_AIR_FUEL_RATIO
OBDII_YMME
PAUSE
PLOW_PRIMARY
PLOW_SECONDARY
PREWET_RATE
RIGHT_WIRING
ROAD_TEMPERATURE
SOLID_RATE
SPINNER_RATE
SPREADER_STATUS_BLAST
SPREADER_STATUS_COMMUNICATION
SPREADER_STATUS_LIQUID
SPREADER_STATUS_MATERIAL
SPREADER_STATUS_PREWET
SPREADER_STATUS_SOLID
TOTAL_LIQUID
TOTAL_PREWET
TOTAL_SOLID
UNIT_STATUS
VBUS_ACCELERATOR_PEDAL_POSITION
VBUS_BRAKE_SWITCH_STATUS
VBUS_TOTAL_FUEL_USED
VINVehicle Identification Number

ProviderDataUnitstring

Suggested units for ProviderData attributes.
ValueDescription
The "no unit" value is a blank string.
aAmperage (amps)
acArea (acre)
cTemperature (degrees Celsius)
cmDistance (centimeters)
cmpsSpeed (centimetres per second)
cmps2Accelerometion (centimetres per second squared)
dbDecibels
dbmDecibels (milliwatts)
degreeUsed for heading/bearing, latitude, and longitude
fTemperature (degrees Fahrenheit)
flozVolume (fluid ounces)
ftDistance (feet)
ftpsSpeed (feet per second)
gWeight (grams)
galVolume (US gallons)
gfAccelerometion (G-force)
gmpsFlow rate (grams per second)
haArea (hectares)
hourTime (hours)
inDistance (inches)
inpsSpeed (inches per second)
kTemperature (degrees Kelvin)
kgWeight (kilograms)
kgpkmDry rate in kilogram per kilometer
kmDistance (kilometers)
knSpeed (nautical miles per hour)
knpsSpeed (nautical miles per second)
kpaPressure (kilopascals)
kphSpeed (kilometres per hour)
lVolume (litres)
l100kmFuel Economy (litres per 100 kilometres)
lbsWeight (pounds)
lmLight by Lumens
lphFuel consumption (litres per hour)
lpkmPrew and anti ice rate in (liter per kilometer)
mDistance (meters)
mgfAccelerometion (Milli-G-force)
miDistance (miles)
minuteTime (minutes)
mipsSpeed (miles per second)
mlVolume (millilitres)
mlphFuel consumption (millilitres per hour)
mpgFuel Economy (miles per gallon)
mphSpeed (miles per hour)
mpsSpeed (metres per second)
mvVoltage (millivolts)
ozWeight (ounces)
percentPercentage (%)
psiPressure (pounds per square inch)
rpmEngine speed
secondTime (seconds)
sqftArea (square feet)
sqkmArea (kilometers squared)
sqmArea (metres squared)
sqmiArea (square miles)
tWeight (metric tonnes)
tonWeight (US tons)
vVoltage (volts)

ProviderDeletedobject

The message format for when a deleted Provider is retrieved
JSON description
PropertyTypeValueDescription
companyuint64The company to which this device belongs.
configurationuint64The provider's current (or pending) configuration profile.
deletedbooleantrue
idstring
maximum-length: 50
minimum-length: 10
Unique identifier of this device.
kindProviderTypeThe kind of communication protocol this device uses.
sincedatetimeA timestamp from the moment the object was deleted.
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"company": number,
	"configuration": number,
	"deleted": boolean,
	"id": string,
	"kind": string,
	"since": string,
	"v": [
		number
	]
}

ProviderEventNamestring

The kinds of event messages.
ValueDescription
ACCELERATIONHard-acceleration detected
DECELERATIONHard-braking detected
GPS_FOUNDGPS signal re-acquired.
GPS_LOSTGPS fix was lost.
HARSH_TURNHard-cornering detected
IB_INGen-X iButton clock-in
IB_OUTGen-X iButton clock-out
IDLINGVehicle is stopped and the ignition is on.
IGNITION_OFFVehicle's ignition turned off.
IGNITION_ONVehicle's ignition turned on.
IMPACTImpact detected
IN_REGIONHas entered a designated region or geofence
LIGHT_OUT_OF_BANDBeWhere Light sensor alert
MOVINGDevice is in motion
OUT_REGIONHas left a designated region or geofence
PANICSmartwitness Panic button pressed.
PARKVehicle has stopped and engaged parking brake or the transmission was set to "P".
PERIODICRegular interval report.
POWER_CONNECTEDExternal power was connected.
POWER_DISCONNECTEDExternal power was disconnected.
POWER_OFFModem is powering off or shutting down.
POWER_UPModem has completed its power-on or boot routine.
SHORT_POWER_OUTModem is shutting down immediately.
SLEEPModem is going in to low-power state or sleep mode.
SPEEDINGDevice is speeding
SPEEDING_STOPDevice stopped speeding
STOP_MOVINGDevice has stopped moving
TAMPER_DETECTTamper detection sensor activated
TOWINGDevice is being towed.
UNDEFINEDUnknown or undefined event name.
VIN_FOUNDVIN has been retreived from VBus
WAKE_UPModem is coming in to normal power consumption state, or wake mode.

ProviderGeneralobject

Device/hardware information and configuration.
JSON description
PropertyTypeDescription
assetuint64?The asset for which this device provides field data.
companyuint64The company to which this device belongs.
configurationuint64The provider's current (or pending) configuration profile.
firmwarestring
maximum-length: 100
The firmware/application version number.
firmwareStatusProvisioningStatusThe system's progress of updating the device's firmware/application.
geofenceLastdatetimeA timestamp from when the geofence list was updated by a User or a Provider.
geofenceStatusProvisioningStatusThe system's progress of updating the device's on-board geofence definitions.
idstring
maximum-length: 50
minimum-length: 10
Unique identifier of this device.
informationObject.<string, string>
for keys see: ProviderDataName
A list of read-only values about the device like IMEI, ESN, firmware version, hardware revision, etc...
kindProviderTypeThe kind of communication protocol this device uses.
lastCheckIndatetimeA timestamp from when the provider last checked for a new script or new geofences.
namestring
maximum-length: 100
A nickname given to the device/hardware.
notesstringNotes!
passwordstring
maximum-length: 50
The password programmed on the device used to ensure the system is the only client authorized to make changes.
phoneNumberuint64?The phone number of this device.
pndstring
maximum-length: 50
The short-name of the kind of PND attached to this device. Leave blank if none.
processedUtcdatetimeWhen the was change procesed.
scriptLastdatetimeA timestamp from when the script status was updated by a User or a Provider.
scriptStatusProvisioningStatusThe system's progress of updating the device's programming.
simstringICCID of the SIM card installed in this provider
updatedby: login, from: monster
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"asset": number,
	"company": number,
	"configuration": number,
	"firmware": string,
	"firmwareStatus": string,
	"geofenceLast": string,
	"geofenceStatus": string,
	"id": string,
	"information": {
		string: string
	},
	"kind": string,
	"lastCheckIn": string,
	"name": string,
	"notes": string,
	"password": string,
	"phoneNumber": number,
	"pnd": string,
	"processedUtc": string,
	"scriptLast": string,
	"scriptStatus": string,
	"sim": string,
	"updated": {
	},
	"v": [
		number
	]
}

ProviderGeofenceCircularobject Deprecated

A geofence defined by a centre coordinate and a threshold value to indicate the boundary around that point.
JSON description
PropertyTypeDescription
maxGeofenceCountuint32The maximum number of unique geofences supported by the device.
maxRadiusuint32The largest possible radius for this geofence.
minRadiusuint32The smallest possible radius for this geofence.
typePlaceTypeThe supported shape of geofence.
JSON structure
{
	"maxGeofenceCount": number,
	"maxRadius": number,
	"minRadius": number,
	"type": string
}

ProviderGeofencePointobject Deprecated

This is a point and not a geofence, so I don't know why this is defined.
JSON description
PropertyTypeDescription
maxGeofenceCountuint32The maximum number of unique geofences supported by the device.
typePlaceTypeThe supported shape of geofence.
JSON structure
{
	"maxGeofenceCount": number,
	"type": string
}

ProviderGeofencePolygonobject Deprecated

A geofence whose boundary is defined by a non-overlapping series of coordinates.
JSON description
PropertyTypeDescription
maxGeofenceCountuint32The maximum number of unique geofences supported by the device.
maxVerticesuint32The maximum number of vertices supported by the device.
typePlaceTypeThe supported shape of geofence.
JSON structure
{
	"maxGeofenceCount": number,
	"maxVertices": number,
	"type": string
}

ProviderGeofenceRectangleobject Deprecated

A geofence whose boundary is a "rectangle" defined by corner coordinates.
JSON description
PropertyTypeDescription
maxGeofenceCountuint32The maximum number of unique geofences supported by the device.
maxLengthuint32The smallest possible diameter for this geofence.
maxWidthuint32The smallest possible diameter for this geofence.
typePlaceTypeThe supported shape of geofence.
JSON structure
{
	"maxGeofenceCount": number,
	"maxLength": number,
	"maxWidth": number,
	"type": string
}

ProviderRegistrationobject

The temporary reference to a device whose ownership is pending.
JSON description
PropertyTypeDescription
assetuint64?The Asset for which this device will provide data.
codestring
fixed length: 6
A unique six digit code.
companyuint64The company to which the device will belong.
completeddatetimeDate/time stamp of when this registration ended successfully.
configuint64The predefined configuration this device will use.
expiresdatetimeThe expiry date for this registration.
identifierstring
maximum-length: 50
The unique identifier of the device that completed this registration.
kindProviderTypeThe kind of protocol this device supports.
namestring
maximum-length: 100
A nickname given to the device once it has been provisioned.
notesstringNotes!
passwordstring
maximum-length: 50
The password programmed on the device used to ensure the system is the only client authorized to make changes.
phoneNumberuint64?The phone number of the device being provisioned. This is set by the user for long-term registrations, or by the client during serial port setup.
sincedatetimeDate/time stamp of when this registration began.
useremail
maximum-length: 254
The unique identifier the user who generated this registration.
JSON structure
{
	"asset": number,
	"code": string,
	"company": number,
	"completed": string,
	"config": number,
	"expires": string,
	"identifier": string,
	"kind": string,
	"name": string,
	"notes": string,
	"password": string,
	"phoneNumber": number,
	"since": string,
	"user": string
}

ProviderRegistrationDeletedobject

The message format for when a deleted ProviderRegistration is retrieved
JSON description
PropertyTypeValueDescription
codestring
fixed length: 6
A unique six digit code.
companyuint64The company to which the device will belong.
deletedbooleantrueIndicates whether this ProviderRegistration is expired.
kindProviderTypeThe kind of protocol this device supports.
sincedatetimeThe expiry date for this registration.
sincedatetimeA timestamp from the moment the object was deleted.
JSON structure
{
	"code": string,
	"company": number,
	"deleted": boolean,
	"kind": string,
	"since": string,
	"since": string
}

ProviderScriptobject

This class describes a type of logic applied to a provider. A script will generate a file which is loaded onto a provider in the field.
JSON description
PropertyTypeDescription
blocksArray.<ProviderScriptBlock>Blocks of file data which are (optionally) included in the script data file.
companyuint64The company to which this configuration belongs.
fillcolour
maximum-length: 22
The fill/background colour of the icon.
globalbooleanIndicates whether this script is available to child companies.
graphiccodified
maximum-length: 22
The name of the symbol for this script.
iduint64Unique identifier of this configuration.
kindProviderTypeThe type of provider for which this script can be used. Limiting to a specific model from a manufacturer is accomplished through the block conditions.
namestring
maximum-length: 100
The nickname given to this configuration
notesstringSimple details about how the providers are expected to behave.
parametersObject.<string, ProviderScriptParameter>Parameter definitions for this script, including type-hints and default values.
processedUtcdatetimeWhen the was change procesed.
strokecolour
maximum-length: 22
Outline and graphic colour.
updatedby: login, from: monster
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"blocks": [
		{
			"condition": string,
			"content": string,
			"replace": string,
			"validate": string
		}
	],
	"company": number,
	"fill": string,
	"global": boolean,
	"graphic": string,
	"id": number,
	"kind": string,
	"name": string,
	"notes": string,
	"parameters": {
		string: {
			"advanced": boolean,
			"context": string,
			"notes": string,
			"order": number,
			"type": string,
			"value": string
		}
	},
	"processedUtc": string,
	"stroke": string,
	"updated": {
	},
	"v": [
		number
	]
}

ProviderScriptBlockobject

A chunk of script and variables used to assemble a working ProviderScript.
JSON description
PropertyTypeDescription
conditionstring
maximum-length: 50
When defined, this condition matches a ProviderScriptParameter defined in the ProviderConfig to include or exclude this chunk from the script.
contentstringA chunk of the file loaded onto a provider with it's variables replaced with configurable variables. Trailing or leading whitespace should be included here, so when blocks are merged, so too is the newline characters.
replacestring
maximum-length: 20
A regular expression used to match variables in the content. The regex must contain at least one match-group. The value fom the last group is what's used as a parameter name.
Examples: {{([a-z]+)}}, or <(var[a-z]+)>
validatestringUsed in conjunction with condition, this value must match the given ProviderScriptParameter value to have the chunk included.
JSON structure
{
	"condition": string,
	"content": string,
	"replace": string,
	"validate": string
}

ProviderScriptDeletedobject

The message format for when a deleted ProviderScript is retrieved
JSON description
PropertyTypeValueDescription
companyuint64The company to which this configuration belongs.
deletedbooleantrue
iduint64Unique identifier of this configuration.
kindProviderTypeThe type of provider for which this script can be used. Limiting to a specific model from a manufacturer is accomplished through the block conditions.
namestring
maximum-length: 100
The nickname given to this configuration
notesstringSimple details about how the providers are expected to behave.
sincedatetimeA timestamp from the moment the object was deleted.
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"company": number,
	"deleted": boolean,
	"id": number,
	"kind": string,
	"name": string,
	"notes": string,
	"since": string,
	"v": [
		number
	]
}

ProviderScriptParameterobject

Definition of an argument passed to a ProviderScript.
JSON description
PropertyTypeDescription
advancedbooleanUsed as a hint that this parameter controls an advanced script option and should only be set if you really know what you're doing.
contextstringGives a hint to the client on the best UI to use for editing. For example, "checkbox" is a good UI hint for boolean parameter types.
notesstringUsage notes.
orderuint32The order in which this parameter is displayed compared to other parameters. The value has no effect on how this parameter is inserted into the ProviderScriptBlocks.
typeProviderScriptParameterTypeSimple type information for the gateway to process.
valuestringThe value is given as a string, but parsed into native type when used by the gateway.
JSON structure
{
	"advanced": boolean,
	"context": string,
	"notes": string,
	"order": number,
	"type": string,
	"value": string
}

ProviderScriptParameterTypestring

Possible data-types given to ProviderScriptParameter.
ValueDescription
booleanTrue or false.
numberNumeric value (double-precision floating point number).
textText.

ProviderSuspendedobject

The message format for when a suspended Provider is retrieved
JSON description
PropertyTypeValueDescription
companyuint64The company to which this device belongs.
configurationuint64The provider's current (or pending) configuration profile.
idstring
maximum-length: 50
minimum-length: 10
Unique identifier of this device.
kindProviderTypeThe kind of communication protocol this device uses.
namestring
maximum-length: 100
A nickname given to the device/hardware.
notesstringNotes!
sincedatetimeA timestamp from the moment the object was suspended.
suspendedbooleantrueIndicates whether this Provider is suspended from event processing.
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"company": number,
	"configuration": number,
	"id": string,
	"kind": string,
	"name": string,
	"notes": string,
	"since": string,
	"suspended": boolean,
	"v": [
		number
	]
}

ProviderTypestring

Protocols supported by the system.
ValueDescription
aspenta
Deprecated
Aspenta Open API format
No longer supported.
atrackATrack device protocols
bewhereBeWhere beacon protocols
bluetree
Deprecated
Sixnet BlueTree BEP protocol
No longer supported.
calampCalAmp LMU/TTU modem protocols
concox
Deprecated
Concox Tracker protocol
No longer supported.
datatransTachWest DataTrans protocol
enfora
Deprecated
Enfora (Novotel) modem protocols
No longer supported.
genxGen-X modem protocol
json
Deprecated
Fleet Freedom JSON protocol
No longer supported.
lbsBell Mobility LBS
lmu
Deprecated
CalAmp LMU series protocol
Use calamp instead.
mobileTrak iT Wireless Mobile App
smartwitnessSmartWitness dashcam formats
spiderAT
Deprecated
Novotel Enfora SpiderAT protocol
Use enfora instead.
spiderMT
Deprecated
Novotel Enfora SpiderMT protocol
Use enfora instead.
teltonikaTeltonika device protocols
titan
Deprecated
Certified Tracking protocol
No longer supported.
ttu
Deprecated
CalAmp TTU series protocol
Use calamp instead.
unknownYour guess is as good as mine. It should never be this.
xirgo
Deprecated
Xirgo modem protocol
No longer supported.

ProvisioningStatusstring

Progress lifetime of changing the on-board information of a remote device.
ValueDescription
cancelledSending of the new configuration was halted by a user.
completedNew configuration successfully sent to provider.
createdThe new configuration has been created, but not yet sent to the provider.
errorSomething went wrong while trying to send configuration.
inProgressCurrently sending configuration over-the-air to the provider.
maxRetriesThe maximum number of retries were attempted before giving up.
otaSentA message was sent to the provider asking it to check in.
partialOnly a partial configuration was sent to the provider.
pendingProvider is notified of new configuration, but has not yet checked in.
unknownYour guess is as good as mine. It should never be this.

RespProviderAdvancedGetBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
providerAdvancedProviderAdvancedThe requested Provider.
providerAdvanced.attributesObject.<string, Object.<string, ProviderData>>
for keys see: ProviderDataGroup
for value-keys see: ProviderDataName
Often changing values like latitude, longitude, speed, wiring state, VBus information, etc...
providerAdvanced.companyuint64The company to which this device belongs.
providerAdvanced.idstring
maximum-length: 50
minimum-length: 10
Unique identifier of this device.
providerAdvanced.lastIPipv4The last IP address of the device.
providerAdvanced.processedUtcdatetimeWhen the was change procesed.
providerAdvanced.snfObject.<string, string>Store-and-forward information like last sequence number of SnF window
providerAdvanced.updatedby: login, from: monster
providerAdvanced.vArray.<uint32>Object version keys used to validate synchronization for all object properties.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"providerAdvanced": {
		"attributes": {
			string: {
				string: {
					"dts": string,
					"unit": string,
					"value": Object
				}
			}
		},
		"company": number,
		"id": string,
		"lastIP": string,
		"processedUtc": string,
		"snf": {
			string: string
		},
		"updated": {
		},
		"v": [
			number
		]
	},
	"reqId": number
}

RespProviderAdvancedListByCompanyBaseResponseobject

Response description
PropertyTypeDescription
companyRespIdAn object to contain the "id" of the Company to which the array of Providers belong.
company.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
providerAdvancedsArray.<ProviderAdvanced>The list of requested Providers.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"company": {
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"providerAdvanceds": [
		{
			"attributes": {
				string: {
					string: {
						"dts": string,
						"unit": string,
						"value": Object
					}
				}
			},
			"company": number,
			"id": string,
			"lastIP": string,
			"processedUtc": string,
			"snf": {
				string: string
			},
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"reqId": number
}

RespProviderAdvancedListByConfigBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
providerAdvancedsArray.<ProviderAdvanced>The list of requested Providers.
providerConfigRespIdCompanyAn object to contain the "id" of the ProviderConfig/ProviderConfiguration to which the array of Providers belong.
providerConfig.companyuint64Identifier of the Company to which this object belongs.
providerConfig.iduint64?Identifier given as input for the command.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"providerAdvanceds": [
		{
			"attributes": {
				string: {
					string: {
						"dts": string,
						"unit": string,
						"value": Object
					}
				}
			},
			"company": number,
			"id": string,
			"lastIP": string,
			"processedUtc": string,
			"snf": {
				string: string
			},
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"providerConfig": {
		"company": number,
		"id": number
	},
	"reqId": number
}

RespProviderBatchDeleteBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
providersArray.<RespIdendifierDeleted>Array or responses successfully processed by the sub-command.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"providers": [
		{
			"company": number,
			"deleted": boolean,
			"id": string,
			"v": [
				number
			]
		}
	],
	"reqId": number
}

RespProviderBatchMergeBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
providersArray.<RespIdendifierCompany>Array or responses successfully processed by the sub-command.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"providers": [
		{
			"company": number,
			"id": string
		}
	],
	"reqId": number
}

RespProviderBatchReviveBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
providersArray.<RespIdendifierSuspended>Array or responses successfully processed by the sub-command.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"providers": [
		{
			"company": number,
			"id": string,
			"suspended": boolean,
			"v": [
				number
			]
		}
	],
	"reqId": number
}

RespProviderBatchSuspendBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
providersArray.<RespIdendifierSuspended>Array or responses successfully processed by the sub-command.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"providers": [
		{
			"company": number,
			"id": string,
			"suspended": boolean,
			"v": [
				number
			]
		}
	],
	"reqId": number
}

RespProviderConfigBatchDeleteBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
providerConfigsArray.<RespDeleted>Array or responses successfully processed by the sub-command.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"providerConfigs": [
		{
			"company": number,
			"deleted": boolean,
			"id": number,
			"v": [
				number
			]
		}
	],
	"reqId": number
}

RespProviderConfigBatchMergeBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
providerConfigsArray.<RespIdScript>Array or responses successfully processed by the sub-command.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"providerConfigs": [
		{
			"company": number,
			"id": number,
			"script": number
		}
	],
	"reqId": number
}

RespProviderConfigDeleteBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
providerConfigRespDeletedAn object which contains the ProviderConfig's id, owning Company id, and deleted status.
providerConfig.companyuint64Identifier of the Company to which this object belongs.
providerConfig.deletedbooleanFlag showing if the object is deleted.
providerConfig.iduint64?Identifier given as input for the command.
providerConfig.vArray.<uint32>
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"providerConfig": {
		"company": number,
		"deleted": boolean,
		"id": number,
		"v": [
			number
		]
	},
	"reqId": number
}

RespProviderConfigGetBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
providerConfigProviderConfigThe requested ProviderConfig.
providerConfig.companyuint64The company to which this configuration belongs.
providerConfig.geofencesexpressionA search pattern used to filter which Places' geometry are used as geofences. Use null to disable. Use "*" to match all the Places the Provider's Asset can match. Or use "#123456" or "label:term" like other Place search patterns.
providerConfig.iduint64Unique identifier of this configuration.
providerConfig.namestring
maximum-length: 100
The nickname given to this configuration
providerConfig.notesstringSimple details about how the providers are expected to behave.
providerConfig.parametersObject.<string, string>The list of defined variable name/value pairs that the script requires.
providerConfig.processedUtcdatetimeWhen the was change procesed.
providerConfig.scriptuint64The script which this configuration implements.
providerConfig.updatedby: login, from: monster
providerConfig.vArray.<uint32>Object version keys used to validate synchronization for all object properties.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"providerConfig": {
		"company": number,
		"geofences": string,
		"id": number,
		"name": string,
		"notes": string,
		"parameters": {
			string: string
		},
		"processedUtc": string,
		"script": number,
		"updated": {
		},
		"v": [
			number
		]
	},
	"reqId": number
}

RespProviderConfigListByCompanyBaseResponseobject

Response description
PropertyTypeDescription
companyRespIdAn object to contain the "id" of the Company to which the array of ProviderConfigs belong.
company.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
providerConfigsArray.<ProviderConfig>The list of reqested ProviderConfigs.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"company": {
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"providerConfigs": [
		{
			"company": number,
			"geofences": string,
			"id": number,
			"name": string,
			"notes": string,
			"parameters": {
				string: string
			},
			"processedUtc": string,
			"script": number,
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"reqId": number
}

RespProviderConfigListByScriptBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
providerConfigsArray.<ProviderConfig>The list of reqested ProviderConfigs.
providerScriptRespIdAn object to contain the "id" of the Company to which the array of ProviderConfigs belong.
providerScript.iduint64?Identifier given as input for the command.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"providerConfigs": [
		{
			"company": number,
			"geofences": string,
			"id": number,
			"name": string,
			"notes": string,
			"parameters": {
				string: string
			},
			"processedUtc": string,
			"script": number,
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"providerScript": {
		"id": number
	},
	"reqId": number
}

RespProviderConfigMergeBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
providerConfigRespIdScriptAn object which contains the "id", "company", and "script" keys when there is no error.
providerConfig.companyuint64Identifier of the Company to which this object belongs.
providerConfig.iduint64?Identifier given as input for the command.
providerConfig.scriptuint64Identifier of the script to which this object belongs.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"providerConfig": {
		"company": number,
		"id": number,
		"script": number
	},
	"reqId": number
}

RespProviderConfigRestoreBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
providerConfigRespDeletedAn object which contains the ProviderConfig's id, owning Company id, and deleted status.
providerConfig.companyuint64Identifier of the Company to which this object belongs.
providerConfig.deletedbooleanFlag showing if the object is deleted.
providerConfig.iduint64?Identifier given as input for the command.
providerConfig.vArray.<uint32>
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"providerConfig": {
		"company": number,
		"deleted": boolean,
		"id": number,
		"v": [
			number
		]
	},
	"reqId": number
}

RespProviderConfigurationBatchDeleteBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
providerConfigurationsArray.<RespDeleted>Array or responses successfully processed by the sub-command.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"providerConfigurations": [
		{
			"company": number,
			"deleted": boolean,
			"id": number,
			"v": [
				number
			]
		}
	],
	"reqId": number
}

RespProviderConfigurationBatchMergeBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
providerConfigurationsArray.<RespIdScript>Array or responses successfully processed by the sub-command.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"providerConfigurations": [
		{
			"company": number,
			"id": number,
			"script": number
		}
	],
	"reqId": number
}

RespProviderConfigurationDeleteBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
providerConfigurationRespDeletedAn object which contains the ProviderConfiguration's id, owning Company id, and deleted status.
providerConfiguration.companyuint64Identifier of the Company to which this object belongs.
providerConfiguration.deletedbooleanFlag showing if the object is deleted.
providerConfiguration.iduint64?Identifier given as input for the command.
providerConfiguration.vArray.<uint32>
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"providerConfiguration": {
		"company": number,
		"deleted": boolean,
		"id": number,
		"v": [
			number
		]
	},
	"reqId": number
}

RespProviderConfigurationGetBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
providerConfiguration
Deprecated
ProviderConfigurationThe requested ProviderConfiguration.
Use ProviderConfig instead.
providerConfiguration.companyuint64The company to which this configuration belongs.
providerConfiguration.geofencesArray.<uint64>List of Places loaded directly onto the provider.
providerConfiguration.iduint64Unique identifier of this configuration.
providerConfiguration.namestring
maximum-length: 100
The nickname given to this configuration
providerConfiguration.notesstringSimple details about how the providers are expected to behave.
providerConfiguration.processedUtcdatetimeWhen the was change procesed.
providerConfiguration.scriptParametersObject.<string, Object>The list of defined variables given to the logic type's options pairs for the logic type requires.
providerConfiguration.typeuint64The logic type which this configuration implements.
providerConfiguration.updatedby: login, from: monster
providerConfiguration.vArray.<uint32>Object version keys used to validate synchronization for all object properties.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"providerConfiguration": {
		"company": number,
		"geofences": [
			number
		],
		"id": number,
		"name": string,
		"notes": string,
		"processedUtc": string,
		"scriptParameters": {
			string: Object
		},
		"type": number,
		"updated": {
		},
		"v": [
			number
		]
	},
	"reqId": number
}

RespProviderConfigurationListByCompanyBaseResponseobject

Response description
PropertyTypeDescription
companyRespIdAn object to contain the "id" of the Company.
company.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
providerConfigurationsArray.<ProviderConfiguration>The list of reqested ProviderConfigurations.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"company": {
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"providerConfigurations": [
		{
			"company": number,
			"geofences": [
				number
			],
			"id": number,
			"name": string,
			"notes": string,
			"processedUtc": string,
			"scriptParameters": {
				string: Object
			},
			"type": number,
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"reqId": number
}

RespProviderConfigurationMergeBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
providerConfigurationRespIdScriptAn object which contains the "id", "company", and "script" keys when there is no error.
providerConfiguration.companyuint64Identifier of the Company to which this object belongs.
providerConfiguration.iduint64?Identifier given as input for the command.
providerConfiguration.scriptuint64Identifier of the script to which this object belongs.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"providerConfiguration": {
		"company": number,
		"id": number,
		"script": number
	},
	"reqId": number
}

RespProviderConfigurationRestoreBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
providerConfigurationRespDeletedAn object which contains the ProviderConfiguration's id, owning Company id, and deleted status.
providerConfiguration.companyuint64Identifier of the Company to which this object belongs.
providerConfiguration.deletedbooleanFlag showing if the object is deleted.
providerConfiguration.iduint64?Identifier given as input for the command.
providerConfiguration.vArray.<uint32>
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"providerConfiguration": {
		"company": number,
		"deleted": boolean,
		"id": number,
		"v": [
			number
		]
	},
	"reqId": number
}

RespProviderConfigurationTypeGetBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
providerConfigurationType
Deprecated
ProviderConfigurationTypeThe requested ProviderConfigurationTypes.
Use ProviderScript instead.
providerConfigurationType.geofenceTypesArray.<PlaceType>A list of supported types of geofences which can be programmed directly onto the device.
providerConfigurationType.iduint64Unique identifier.
providerConfigurationType.maxGeofenceCountuint32The maximum number of geofences that can be programmed onto a device. This number changes based on device make and model, and can also change based on the supported geofence types.
providerConfigurationType.minGeofenceCountuint32The minimum number of geofences that need to be programmed onto the device. This value is almost always zero.
providerConfigurationType.namestring
maximum-length: 100
Name of the configuration type.
providerConfigurationType.notesstringNotes regarding the use of this configuration.
providerConfigurationType.processedUtcdatetimeWhen the was change procesed.
providerConfigurationType.providerTypeProviderTypeThe applicable type of provider for which this configuration type can be created.
providerConfigurationType.scriptOptionsObject.<string, ProviderConfigurationNode>A tree-structure of configurations required (or optionally available) for programming a device.
providerConfigurationType.updatedby: login, from: monster
providerConfigurationType.vArray.<uint32>Object version keys used to validate synchronization for all object properties.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"providerConfigurationType": {
		"geofenceTypes": [
			string
		],
		"id": number,
		"maxGeofenceCount": number,
		"minGeofenceCount": number,
		"name": string,
		"notes": string,
		"processedUtc": string,
		"providerType": string,
		"scriptOptions": {
			string: {
				"id": string,
				"isAdvanced": boolean,
				"max": Object,
				"min": Object,
				"nodes": {
					string: { /* recursive ProviderConfigurationNode objects */ }
				},
				"notes": string,
				"type": string,
				"unit": string,
				"value": Object
			}
		},
		"updated": {
		},
		"v": [
			number
		]
	},
	"reqId": number
}

RespProviderConfigurationTypeListBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
providerConfigurationTypesArray.<ProviderConfigurationType>The list of requested ProviderConfigurationTypes.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"providerConfigurationTypes": [
		{
			"geofenceTypes": [
				string
			],
			"id": number,
			"maxGeofenceCount": number,
			"minGeofenceCount": number,
			"name": string,
			"notes": string,
			"processedUtc": string,
			"providerType": string,
			"scriptOptions": {
				string: {
					"id": string,
					"isAdvanced": boolean,
					"max": Object,
					"min": Object,
					"nodes": {
						string: { /* recursive ProviderConfigurationNode objects */ }
					},
					"notes": string,
					"type": string,
					"unit": string,
					"value": Object
				}
			},
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"reqId": number
}

RespProviderConfigurationTypeListByTypeBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
providerConfigurationTypesArray.<ProviderConfigurationType>The list of requested ProviderConfigurationTypes.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"providerConfigurationTypes": [
		{
			"geofenceTypes": [
				string
			],
			"id": number,
			"maxGeofenceCount": number,
			"minGeofenceCount": number,
			"name": string,
			"notes": string,
			"processedUtc": string,
			"providerType": string,
			"scriptOptions": {
				string: {
					"id": string,
					"isAdvanced": boolean,
					"max": Object,
					"min": Object,
					"nodes": {
						string: { /* recursive ProviderConfigurationNode objects */ }
					},
					"notes": string,
					"type": string,
					"unit": string,
					"value": Object
				}
			},
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"reqId": number
}

RespProviderDeleteBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
providerRespIdendifierDeletedAn object which contains the Provider's id, owning Company id, and deleted status.
provider.companyuint64Identifier of the Company to which this object belongs.
provider.deletedbooleanFlag showing if the object is deleted.
provider.idstringIdentifier given as input for the command.
provider.vArray.<uint32>
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"provider": {
		"company": number,
		"deleted": boolean,
		"id": string,
		"v": [
			number
		]
	},
	"reqId": number
}

RespProviderGeneralGetBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
providerGeneralProviderGeneralThe requested Provider.
providerGeneral.assetuint64?The asset for which this device provides field data.
providerGeneral.companyuint64The company to which this device belongs.
providerGeneral.configurationuint64The provider's current (or pending) configuration profile.
providerGeneral.firmwarestring
maximum-length: 100
The firmware/application version number.
providerGeneral.firmwareStatusProvisioningStatusThe system's progress of updating the device's firmware/application.
providerGeneral.geofenceLastdatetimeA timestamp from when the geofence list was updated by a User or a Provider.
providerGeneral.geofenceStatusProvisioningStatusThe system's progress of updating the device's on-board geofence definitions.
providerGeneral.idstring
maximum-length: 50
minimum-length: 10
Unique identifier of this device.
providerGeneral.informationObject.<string, string>
for keys see: ProviderDataName
A list of read-only values about the device like IMEI, ESN, firmware version, hardware revision, etc...
providerGeneral.kindProviderTypeThe kind of communication protocol this device uses.
providerGeneral.lastCheckIndatetimeA timestamp from when the provider last checked for a new script or new geofences.
providerGeneral.namestring
maximum-length: 100
A nickname given to the device/hardware.
providerGeneral.notesstringNotes!
providerGeneral.passwordstring
maximum-length: 50
The password programmed on the device used to ensure the system is the only client authorized to make changes.
providerGeneral.phoneNumberuint64?The phone number of this device.
providerGeneral.pndstring
maximum-length: 50
The short-name of the kind of PND attached to this device. Leave blank if none.
providerGeneral.processedUtcdatetimeWhen the was change procesed.
providerGeneral.scriptLastdatetimeA timestamp from when the script status was updated by a User or a Provider.
providerGeneral.scriptStatusProvisioningStatusThe system's progress of updating the device's programming.
providerGeneral.simstringICCID of the SIM card installed in this provider
providerGeneral.updatedby: login, from: monster
providerGeneral.vArray.<uint32>Object version keys used to validate synchronization for all object properties.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"providerGeneral": {
		"asset": number,
		"company": number,
		"configuration": number,
		"firmware": string,
		"firmwareStatus": string,
		"geofenceLast": string,
		"geofenceStatus": string,
		"id": string,
		"information": {
			string: string
		},
		"kind": string,
		"lastCheckIn": string,
		"name": string,
		"notes": string,
		"password": string,
		"phoneNumber": number,
		"pnd": string,
		"processedUtc": string,
		"scriptLast": string,
		"scriptStatus": string,
		"sim": string,
		"updated": {
		},
		"v": [
			number
		]
	},
	"reqId": number
}

RespProviderGeneralListByCompanyBaseResponseobject

Response description
PropertyTypeDescription
companyRespIdAn object to contain the "id" of the Company to which the array of Providers belong.
company.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
providerGeneralsArray.<ProviderGeneral>The list of requested Providers.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"company": {
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"providerGenerals": [
		{
			"asset": number,
			"company": number,
			"configuration": number,
			"firmware": string,
			"firmwareStatus": string,
			"geofenceLast": string,
			"geofenceStatus": string,
			"id": string,
			"information": {
				string: string
			},
			"kind": string,
			"lastCheckIn": string,
			"name": string,
			"notes": string,
			"password": string,
			"phoneNumber": number,
			"pnd": string,
			"processedUtc": string,
			"scriptLast": string,
			"scriptStatus": string,
			"sim": string,
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"reqId": number
}

RespProviderGeneralListByConfigBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
providerConfigRespIdCompanyAn object to contain the "id" of the ProviderConfig/ProviderConfiguration to which the array of Providers belong.
providerConfig.companyuint64Identifier of the Company to which this object belongs.
providerConfig.iduint64?Identifier given as input for the command.
providerGeneralsArray.<ProviderGeneral>The list of requested Providers.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"providerConfig": {
		"company": number,
		"id": number
	},
	"providerGenerals": [
		{
			"asset": number,
			"company": number,
			"configuration": number,
			"firmware": string,
			"firmwareStatus": string,
			"geofenceLast": string,
			"geofenceStatus": string,
			"id": string,
			"information": {
				string: string
			},
			"kind": string,
			"lastCheckIn": string,
			"name": string,
			"notes": string,
			"password": string,
			"phoneNumber": number,
			"pnd": string,
			"processedUtc": string,
			"scriptLast": string,
			"scriptStatus": string,
			"sim": string,
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"reqId": number
}

RespProviderGetBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
providerProviderThe requested Provider.
provider.assetuint64?The asset for which this device provides field data.
provider.attributesObject.<string, Object.<string, ProviderData>>
for keys see: ProviderDataGroup
for value-keys see: ProviderDataName
Often changing values like latitude, longitude, speed, wiring state, VBus information, etc...
provider.commandsObject.<ProviderCommandType, ProviderCommand>Collection of commands for this provider.
provider.companyuint64The company to which this device belongs.
provider.configurationuint64The provider's current (or pending) configuration profile.
provider.controlProviderControlManaging and controlling communication with this provider.
provider.control.commandsObject.<ProviderCommandType, ProviderCommand>Collection of commands for this provider.
provider.control.companyuint64The company to which this device belongs.
provider.control.idstring
maximum-length: 50
minimum-length: 10
Unique identifier of this device.
provider.control.processedUtcdatetimeWhen the was change procesed.
provider.control.updatedby: login, from: monster
provider.control.vArray.<uint32>Object version keys used to validate synchronization for all object properties.
provider.firmwarestring
maximum-length: 100
The firmware/application version number.
provider.firmwareStatusProvisioningStatusThe system's progress of updating the device's firmware/application.
provider.geofenceLastdatetimeA timestamp from when the geofence list was updated by a User or a Provider.
provider.geofenceStatusProvisioningStatusThe system's progress of updating the device's on-board geofence definitions.
provider.idstring
maximum-length: 50
minimum-length: 10
Unique identifier of this provider.
provider.informationObject.<string, string>
for keys see: ProviderDataName
A list of read-only values about the device like IMEI, ESN, firmware version, hardware revision, etc...
provider.kindProviderTypeThe kind of communication protocol this device uses.
provider.lastCheckIndatetimeA timestamp from when the provider last checked for a new script or new geofences.
provider.lastIPipv4The last IP address of the device.
provider.namestring
maximum-length: 100
A nickname given to the device/hardware.
provider.notesstringNotes!
provider.passwordstring
maximum-length: 50
The password programmed on the device used to ensure the system is the only client authorized to make changes.
provider.phoneNumberuint64?The phone number of this device.
provider.pndstring
maximum-length: 50
The short-name of the kind of PND attached to this device. Leave blank if none.
provider.processedUtcdatetimeWhen the was change procesed.
provider.scriptLastdatetimeA timestamp from when the script status was updated by a User or a Provider.
provider.scriptStatusProvisioningStatusThe system's progress of updating the device's programming.
provider.simstringICCID of the SIM card installed in this provider
provider.snfObject.<string, string>Store-and-forward information like last sequence number of SnF window
provider.updatedby: login, from: monster
provider.vArray.<int32>
fixed count: 3
Object version keys used to validate synchronization for all object properties.
provider.v[0]int32The first element is for the general properties
provider.v[1]int32The second element is for the advanced properties
provider.v[2]int32The third element is for the control properties
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"provider": {
		"asset": number,
		"attributes": {
			string: {
				string: {
					"dts": string,
					"unit": string,
					"value": Object
				}
			}
		},
		"commands": {
			string: {
				"created": string,
				"parameters": [
					string
				],
				"processed": string,
				"status": string
			}
		},
		"company": number,
		"configuration": number,
		"control": {
			"commands": {
				string: {
					"created": string,
					"parameters": [
						string
					],
					"processed": string,
					"status": string
				}
			},
			"company": number,
			"id": string,
			"processedUtc": string,
			"updated": {
			},
			"v": [
				number
			]
		},
		"firmware": string,
		"firmwareStatus": string,
		"geofenceLast": string,
		"geofenceStatus": string,
		"id": string,
		"information": {
			string: string
		},
		"kind": string,
		"lastCheckIn": string,
		"lastIP": string,
		"name": string,
		"notes": string,
		"password": string,
		"phoneNumber": number,
		"pnd": string,
		"processedUtc": string,
		"scriptLast": string,
		"scriptStatus": string,
		"sim": string,
		"snf": {
			string: string
		},
		"updated": {
		},
		"v": [
			number
		]
	},
	"reqId": number
}

RespProviderListByCompanyBaseResponseobject

Response description
PropertyTypeDescription
companyRespIdAn object to contain the "id" of the Company to which the array of Providers belong.
company.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
providersArray.<Provider>The list of requested Providers.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"company": {
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"providers": [
		{
			"asset": number,
			"attributes": {
				string: {
					string: {
						"dts": string,
						"unit": string,
						"value": Object
					}
				}
			},
			"commands": {
				string: {
					"created": string,
					"parameters": [
						string
					],
					"processed": string,
					"status": string
				}
			},
			"company": number,
			"configuration": number,
			"control": {
				"commands": {
					string: {
						"created": string,
						"parameters": [
							string
						],
						"processed": string,
						"status": string
					}
				},
				"company": number,
				"id": string,
				"processedUtc": string,
				"updated": {
				},
				"v": [
					number
				]
			},
			"firmware": string,
			"firmwareStatus": string,
			"geofenceLast": string,
			"geofenceStatus": string,
			"id": string,
			"information": {
				string: string
			},
			"kind": string,
			"lastCheckIn": string,
			"lastIP": string,
			"name": string,
			"notes": string,
			"password": string,
			"phoneNumber": number,
			"pnd": string,
			"processedUtc": string,
			"scriptLast": string,
			"scriptStatus": string,
			"sim": string,
			"snf": {
				string: string
			},
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"reqId": number
}

RespProviderListByConfigBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
providerConfigRespIdCompanyAn object to contain the "id" of the ProviderConfig/ProviderConfiguration to which the array of Providers belong.
providerConfig.companyuint64Identifier of the Company to which this object belongs.
providerConfig.iduint64?Identifier given as input for the command.
providersArray.<Provider>The list of requested Providers.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"providerConfig": {
		"company": number,
		"id": number
	},
	"providers": [
		{
			"asset": number,
			"attributes": {
				string: {
					string: {
						"dts": string,
						"unit": string,
						"value": Object
					}
				}
			},
			"commands": {
				string: {
					"created": string,
					"parameters": [
						string
					],
					"processed": string,
					"status": string
				}
			},
			"company": number,
			"configuration": number,
			"control": {
				"commands": {
					string: {
						"created": string,
						"parameters": [
							string
						],
						"processed": string,
						"status": string
					}
				},
				"company": number,
				"id": string,
				"processedUtc": string,
				"updated": {
				},
				"v": [
					number
				]
			},
			"firmware": string,
			"firmwareStatus": string,
			"geofenceLast": string,
			"geofenceStatus": string,
			"id": string,
			"information": {
				string: string
			},
			"kind": string,
			"lastCheckIn": string,
			"lastIP": string,
			"name": string,
			"notes": string,
			"password": string,
			"phoneNumber": number,
			"pnd": string,
			"processedUtc": string,
			"scriptLast": string,
			"scriptStatus": string,
			"sim": string,
			"snf": {
				string: string
			},
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"reqId": number
}

RespProviderMergeBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
providerRespIdendifierCompanyAn object which contains the "id" and "company" keys when there is no error.
provider.companyuint64Identifier of the Company to which this object belongs.
provider.idstringIdentifier given as input for the command.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"provider": {
		"company": number,
		"id": string
	},
	"reqId": number
}

RespProviderRegistrationBatchDeleteBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
providerRegistrationsArray.<ProviderRegistration>Array or responses successfully processed by the sub-command.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"providerRegistrations": [
		{
			"asset": number,
			"code": string,
			"company": number,
			"completed": string,
			"config": number,
			"expires": string,
			"identifier": string,
			"kind": string,
			"name": string,
			"notes": string,
			"password": string,
			"phoneNumber": number,
			"since": string,
			"user": string
		}
	],
	"reqId": number
}

RespProviderRegistrationBatchMergeBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
providerRegistrationsArray.<ProviderRegistration>Array or responses successfully processed by the sub-command.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"providerRegistrations": [
		{
			"asset": number,
			"code": string,
			"company": number,
			"completed": string,
			"config": number,
			"expires": string,
			"identifier": string,
			"kind": string,
			"name": string,
			"notes": string,
			"password": string,
			"phoneNumber": number,
			"since": string,
			"user": string
		}
	],
	"reqId": number
}

RespProviderRegistrationDeleteBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
providerRegistrationProviderRegistrationThe requested provider.
providerRegistration.assetuint64?The Asset for which this device will provide data.
providerRegistration.codestring
fixed length: 6
A unique six digit code.
providerRegistration.companyuint64The company to which the device will belong.
providerRegistration.completeddatetimeDate/time stamp of when this registration ended successfully.
providerRegistration.configuint64The predefined configuration this device will use.
providerRegistration.expiresdatetimeThe expiry date for this registration.
providerRegistration.identifierstring
maximum-length: 50
The unique identifier of the device that completed this registration.
providerRegistration.kindProviderTypeThe kind of protocol this device supports.
providerRegistration.namestring
maximum-length: 100
A nickname given to the device once it has been provisioned.
providerRegistration.notesstringNotes!
providerRegistration.passwordstring
maximum-length: 50
The password programmed on the device used to ensure the system is the only client authorized to make changes.
providerRegistration.phoneNumberuint64?The phone number of the device being provisioned. This is set by the user for long-term registrations, or by the client during serial port setup.
providerRegistration.sincedatetimeDate/time stamp of when this registration began.
providerRegistration.useremail
maximum-length: 254
The unique identifier the user who generated this registration.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"providerRegistration": {
		"asset": number,
		"code": string,
		"company": number,
		"completed": string,
		"config": number,
		"expires": string,
		"identifier": string,
		"kind": string,
		"name": string,
		"notes": string,
		"password": string,
		"phoneNumber": number,
		"since": string,
		"user": string
	},
	"reqId": number
}

RespProviderRegistrationGetBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
providerRegistrationProviderRegistrationThe requested provider.
providerRegistration.assetuint64?The Asset for which this device will provide data.
providerRegistration.codestring
fixed length: 6
A unique six digit code.
providerRegistration.companyuint64The company to which the device will belong.
providerRegistration.completeddatetimeDate/time stamp of when this registration ended successfully.
providerRegistration.configuint64The predefined configuration this device will use.
providerRegistration.expiresdatetimeThe expiry date for this registration.
providerRegistration.identifierstring
maximum-length: 50
The unique identifier of the device that completed this registration.
providerRegistration.kindProviderTypeThe kind of protocol this device supports.
providerRegistration.namestring
maximum-length: 100
A nickname given to the device once it has been provisioned.
providerRegistration.notesstringNotes!
providerRegistration.passwordstring
maximum-length: 50
The password programmed on the device used to ensure the system is the only client authorized to make changes.
providerRegistration.phoneNumberuint64?The phone number of the device being provisioned. This is set by the user for long-term registrations, or by the client during serial port setup.
providerRegistration.sincedatetimeDate/time stamp of when this registration began.
providerRegistration.useremail
maximum-length: 254
The unique identifier the user who generated this registration.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"providerRegistration": {
		"asset": number,
		"code": string,
		"company": number,
		"completed": string,
		"config": number,
		"expires": string,
		"identifier": string,
		"kind": string,
		"name": string,
		"notes": string,
		"password": string,
		"phoneNumber": number,
		"since": string,
		"user": string
	},
	"reqId": number
}

RespProviderRegistrationListByCompanyBaseResponseobject

Response description
PropertyTypeDescription
companyRespIdAn object to contain the "id" of the Company to which the array of providers belong.
company.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
providerRegistrationsArray.<ProviderRegistration>The list of ProviderRegistrations.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"company": {
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"providerRegistrations": [
		{
			"asset": number,
			"code": string,
			"company": number,
			"completed": string,
			"config": number,
			"expires": string,
			"identifier": string,
			"kind": string,
			"name": string,
			"notes": string,
			"password": string,
			"phoneNumber": number,
			"since": string,
			"user": string
		}
	],
	"reqId": number
}

RespProviderRegistrationListByConfigBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
providerConfigRespIdCompanyAn object to contain the "id" of the ProviderConfig/ProviderConfiguration to which the array of ProviderRegistrations belong.
providerConfig.companyuint64Identifier of the Company to which this object belongs.
providerConfig.iduint64?Identifier given as input for the command.
providerRegistrationsArray.<ProviderRegistration>The list of ProviderRegistrations.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"providerConfig": {
		"company": number,
		"id": number
	},
	"providerRegistrations": [
		{
			"asset": number,
			"code": string,
			"company": number,
			"completed": string,
			"config": number,
			"expires": string,
			"identifier": string,
			"kind": string,
			"name": string,
			"notes": string,
			"password": string,
			"phoneNumber": number,
			"since": string,
			"user": string
		}
	],
	"reqId": number
}

RespProviderRegistrationListByKindBaseResponseobject

Response description
PropertyTypeDescription
companyRespIdAn object to contain the "id" of the Company to which the array of providers belong.
company.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
kindProviderType?The type of ProviderRegistrations being listed.
messagestringAn English description of the error.
providerRegistrationsArray.<ProviderRegistration>The list of ProviderRegistrations.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"company": {
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"kind": string,
	"message": string,
	"providerRegistrations": [
		{
			"asset": number,
			"code": string,
			"company": number,
			"completed": string,
			"config": number,
			"expires": string,
			"identifier": string,
			"kind": string,
			"name": string,
			"notes": string,
			"password": string,
			"phoneNumber": number,
			"since": string,
			"user": string
		}
	],
	"reqId": number
}

RespProviderRegistrationMergeBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
providerRegistrationProviderRegistrationThe complete ProviderRegistration object.
providerRegistration.assetuint64?The Asset for which this device will provide data.
providerRegistration.codestring
fixed length: 6
A unique six digit code.
providerRegistration.companyuint64The company to which the device will belong.
providerRegistration.completeddatetimeDate/time stamp of when this registration ended successfully.
providerRegistration.configuint64The predefined configuration this device will use.
providerRegistration.expiresdatetimeThe expiry date for this registration.
providerRegistration.identifierstring
maximum-length: 50
The unique identifier of the device that completed this registration.
providerRegistration.kindProviderTypeThe kind of protocol this device supports.
providerRegistration.namestring
maximum-length: 100
A nickname given to the device once it has been provisioned.
providerRegistration.notesstringNotes!
providerRegistration.passwordstring
maximum-length: 50
The password programmed on the device used to ensure the system is the only client authorized to make changes.
providerRegistration.phoneNumberuint64?The phone number of the device being provisioned. This is set by the user for long-term registrations, or by the client during serial port setup.
providerRegistration.sincedatetimeDate/time stamp of when this registration began.
providerRegistration.useremail
maximum-length: 254
The unique identifier the user who generated this registration.
registration
Deprecated
ProviderRegistration
Use providerRegistration instead..
registration.assetuint64?The Asset for which this device will provide data.
registration.codestring
fixed length: 6
A unique six digit code.
registration.companyuint64The company to which the device will belong.
registration.completeddatetimeDate/time stamp of when this registration ended successfully.
registration.configuint64The predefined configuration this device will use.
registration.expiresdatetimeThe expiry date for this registration.
registration.identifierstring
maximum-length: 50
The unique identifier of the device that completed this registration.
registration.kindProviderTypeThe kind of protocol this device supports.
registration.namestring
maximum-length: 100
A nickname given to the device once it has been provisioned.
registration.notesstringNotes!
registration.passwordstring
maximum-length: 50
The password programmed on the device used to ensure the system is the only client authorized to make changes.
registration.phoneNumberuint64?The phone number of the device being provisioned. This is set by the user for long-term registrations, or by the client during serial port setup.
registration.sincedatetimeDate/time stamp of when this registration began.
registration.useremail
maximum-length: 254
The unique identifier the user who generated this registration.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"providerRegistration": {
		"asset": number,
		"code": string,
		"company": number,
		"completed": string,
		"config": number,
		"expires": string,
		"identifier": string,
		"kind": string,
		"name": string,
		"notes": string,
		"password": string,
		"phoneNumber": number,
		"since": string,
		"user": string
	},
	"registration": {
		"asset": number,
		"code": string,
		"company": number,
		"completed": string,
		"config": number,
		"expires": string,
		"identifier": string,
		"kind": string,
		"name": string,
		"notes": string,
		"password": string,
		"phoneNumber": number,
		"since": string,
		"user": string
	},
	"reqId": number
}

RespProviderRestoreBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
providerRespIdendifierDeletedAn object which contains the Provider's id, owning Company id, and deleted status.
provider.companyuint64Identifier of the Company to which this object belongs.
provider.deletedbooleanFlag showing if the object is deleted.
provider.idstringIdentifier given as input for the command.
provider.vArray.<uint32>
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"provider": {
		"company": number,
		"deleted": boolean,
		"id": string,
		"v": [
			number
		]
	},
	"reqId": number
}

RespProviderReviveBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
providerRespIdendifierSuspendedAn object which contains the Provider's unique identifier and suspended status.
provider.companyuint64Identifier of the Company to which this object belongs.
provider.idstringIdentifier given as input for the command.
provider.suspendedbooleanFlag showing if the object is suspended.
provider.vArray.<uint32>
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"provider": {
		"company": number,
		"id": string,
		"suspended": boolean,
		"v": [
			number
		]
	},
	"reqId": number
}

RespProviderScriptBatchDeleteBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
providerScriptsArray.<RespDeleted>Array or responses successfully processed by the sub-command.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"providerScripts": [
		{
			"company": number,
			"deleted": boolean,
			"id": number,
			"v": [
				number
			]
		}
	],
	"reqId": number
}

RespProviderScriptBatchMergeBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
providerScriptsArray.<RespIdCompany>Array or responses successfully processed by the sub-command.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"providerScripts": [
		{
			"company": number,
			"id": number
		}
	],
	"reqId": number
}

RespProviderScriptDeleteBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
providerScriptRespDeletedAn object which contains the ProviderScript's id, owning company id, and deleted status.
providerScript.companyuint64Identifier of the Company to which this object belongs.
providerScript.deletedbooleanFlag showing if the object is deleted.
providerScript.iduint64?Identifier given as input for the command.
providerScript.vArray.<uint32>
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"providerScript": {
		"company": number,
		"deleted": boolean,
		"id": number,
		"v": [
			number
		]
	},
	"reqId": number
}

RespProviderScriptGetBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
providerScriptProviderScriptThe requested ProviderScript.
providerScript.blocksArray.<ProviderScriptBlock>Blocks of file data which are (optionally) included in the script data file.
providerScript.companyuint64The company to which this configuration belongs.
providerScript.fillcolour
maximum-length: 22
The fill/background colour of the icon.
providerScript.globalbooleanIndicates whether this script is available to child companies.
providerScript.graphiccodified
maximum-length: 22
The name of the symbol for this script.
providerScript.iduint64Unique identifier of this configuration.
providerScript.kindProviderTypeThe type of provider for which this script can be used. Limiting to a specific model from a manufacturer is accomplished through the block conditions.
providerScript.namestring
maximum-length: 100
The nickname given to this configuration
providerScript.notesstringSimple details about how the providers are expected to behave.
providerScript.parametersObject.<string, ProviderScriptParameter>Parameter definitions for this script, including type-hints and default values.
providerScript.processedUtcdatetimeWhen the was change procesed.
providerScript.strokecolour
maximum-length: 22
Outline and graphic colour.
providerScript.updatedby: login, from: monster
providerScript.vArray.<uint32>Object version keys used to validate synchronization for all object properties.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"providerScript": {
		"blocks": [
			{
				"condition": string,
				"content": string,
				"replace": string,
				"validate": string
			}
		],
		"company": number,
		"fill": string,
		"global": boolean,
		"graphic": string,
		"id": number,
		"kind": string,
		"name": string,
		"notes": string,
		"parameters": {
			string: {
				"advanced": boolean,
				"context": string,
				"notes": string,
				"order": number,
				"type": string,
				"value": string
			}
		},
		"processedUtc": string,
		"stroke": string,
		"updated": {
		},
		"v": [
			number
		]
	},
	"reqId": number
}

RespProviderScriptListByCompanyBaseResponseobject

Response description
PropertyTypeDescription
companyRespIdAn object to contain the "id" of the Company to which the array of ProviderScripts belong.
company.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
providerScriptsArray.<ProviderScript>The list of requested ProviderScripts.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"company": {
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"providerScripts": [
		{
			"blocks": [
				{
					"condition": string,
					"content": string,
					"replace": string,
					"validate": string
				}
			],
			"company": number,
			"fill": string,
			"global": boolean,
			"graphic": string,
			"id": number,
			"kind": string,
			"name": string,
			"notes": string,
			"parameters": {
				string: {
					"advanced": boolean,
					"context": string,
					"notes": string,
					"order": number,
					"type": string,
					"value": string
				}
			},
			"processedUtc": string,
			"stroke": string,
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"reqId": number
}

RespProviderScriptMergeBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
providerScriptRespIdCompanyAn object which contains the "id" and "company" keys when there is no error.
providerScript.companyuint64Identifier of the Company to which this object belongs.
providerScript.iduint64?Identifier given as input for the command.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"providerScript": {
		"company": number,
		"id": number
	},
	"reqId": number
}

RespProviderScriptRestoreBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
providerScriptRespDeletedAn object which contains the ProviderScript's id, owning company id, and deleted status.
providerScript.companyuint64Identifier of the Company to which this object belongs.
providerScript.deletedbooleanFlag showing if the object is deleted.
providerScript.iduint64?Identifier given as input for the command.
providerScript.vArray.<uint32>
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"providerScript": {
		"company": number,
		"deleted": boolean,
		"id": number,
		"v": [
			number
		]
	},
	"reqId": number
}

RespProviderSuspendBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
providerRespIdendifierSuspendedAn object which contains the Provider's unique identifier and suspended status.
provider.companyuint64Identifier of the Company to which this object belongs.
provider.idstringIdentifier given as input for the command.
provider.suspendedbooleanFlag showing if the object is suspended.
provider.vArray.<uint32>
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"provider": {
		"company": number,
		"id": string,
		"suspended": boolean,
		"v": [
			number
		]
	},
	"reqId": number
}

RespSessionBatchKillBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
sessionsArray.<Session>Array or responses successfully processed by the sub-command.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number,
	"sessions": [
		{
			"company": number,
			"expiry": string,
			"handle": string,
			"login": string
		}
	]
}

Reports

ParamReportNotifyobject

Parameter values for updating the ReportNotifications for a ReportSchedule.
JSON description
PropertyTypeDescription
assetsexpression
maximum-length: 255
A targeting expression to identify which Assets receive the ReportResult.
usersArray.<email>
maximum-count: 50
List of Users to send emailed report. Each email will only contain the ReportResult for the Assets each User is allowed to view.
JSON structure
{
	"assets": string,
	"users": [
		string
	]
}

ParamReportOptionsobject

Parameter values for creating a new or updating an existing ReportOptions.
JSON description
PropertyTypeDescription
filteringReportFilterMode?The mechanism to use for filtering based on Places and regions.
parametersArray.<ReportParameter>A list of parameters to better shape the ReportResult.
placesexpressionA targeting expression for limiting results which only include data from Assets interacting with the targeted Places.
regionsArray.<string>A list of provinces and states, where only Assets within those regions will be included in the ReportResult.
scorecardRulesObject.<string, ?>Rules used to generate ReportScorecard for the ReportResult.
scorecardRules.baseScoredoubleBase score for the ReportScorecard.
scorecardRules.parametersArray.<ReportScorecardParameter>Infraction parameters used to generate the final ReportScorecard.score.
targetsexpressionA targeting expression for including/excluding Assets.
JSON structure
{
	"filtering": string,
	"parameters": [
		{
			"type": string,
			"value": string
		}
	],
	"places": string,
	"regions": [
		string
	],
	"scorecardRules": {
		"baseScore": number,
		"parameters": [
			{
				"condition": string,
				"duration": string,
				"points": number
			}
		]
	},
	"targets": string
}

ParamReportRecurrenceobject

Parameter values for creating a new or updating an existing ReportRecurrence.
JSON description
PropertyTypeDescription
enddatetimeThe optional time when the ReportSchedule stops recurring in local-time (not UTC).
kindReportRecurrenceType?How often the report is automatically run. Daily, weekly, monthly, etc...
startdatetimeWhen the ReportSchedule is to begin recurring in local-time (not UTC).
weekdaybyte?Used only for weekly schedules, it's a number between 0 and 6 representing the day of the week, with Sunday being the first day of the week.
weekdaysArray.<boolean>Used only for daily schedules, this 7 item, boolean array, determines if the ReportSchedule should recur on that day of the week.
JSON structure
{
	"end": string,
	"kind": string,
	"start": string,
	"weekday": number,
	"weekdays": [
		boolean
	]
}

ParamReportResultBatchDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
reportResultsArray.<ParamId>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"reportResults": [
		{
			"id": number
		}
	],
	"reqId": number
}

ParamReportResultBatchMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
reportResultsArray.<ParameterContent>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"reportResults": [
		{
			"archive": boolean,
			"company": number,
			"id": number,
			"name": string,
			"notes": string,
			"options": {
				"filtering": string,
				"parameters": [
					{
						"type": string,
						"value": string
					}
				],
				"places": string,
				"regions": [
					string
				],
				"scorecardRules": {
					"baseScore": number,
					"parameters": [
						{
							"condition": string,
							"duration": string,
							"points": number
						}
					]
				},
				"targets": string
			},
			"template": number,
			"timezone": string,
			"type": string,
			"v": [
				number
			]
		}
	],
	"reqId": number
}

ParamReportResultDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
reportResultParamIdalwaysAn object to contain the "id" of the ReportResult.
reportResult.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"reportResult": {
		"id": number
	},
	"reqId": number
}

ParamReportResultGetBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
breakdownbooleanoptionalWhen true, will also retrieve all the ReportBreakdowns (when used through an applicable REST service).
includeDeletedbooleanoptionalfalseWhen true, the command will also return a deleted ReportResult.
reportResultParamIdalwaysAn object to contain the "id" of the ReportResult.
reportResult.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
summarybooleanoptionalWhen true, will also retrieve all the ReportSummarys (when used through an applicable REST service).
Request structure
{
	"breakdown": boolean,
	"includeDeleted": boolean,
	"reportResult": {
		"id": number
	},
	"reqId": number,
	"summary": boolean
}

ParamReportResultListByCompanyBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
afterdatetimeoptional
beforedatetimeoptional
companyParamIdalwaysAn object to contain the "id" of the Company.
company.iduint64alwaysIdentifier given as input for the command.
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"after": string,
	"before": string,
	"company": {
		"id": number
	},
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"reqId": number
}

ParamReportResultListByScheduleBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
afterdatetimeoptional
beforedatetimeoptional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
reportScheduleParamIdalwaysAn object to contain the "id" of the reportSchedule.
reportSchedule.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"after": string,
	"before": string,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"reportSchedule": {
		"id": number
	},
	"reqId": number
}

ParamReportResultListByTemplateBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
afterdatetimeoptional
beforedatetimeoptional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
reportTemplateParamIdalwaysAn object to contain the "id" of the reportTemplate.
reportTemplate.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"after": string,
	"before": string,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"reportTemplate": {
		"id": number
	},
	"reqId": number
}

ParamReportResultMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
reportResultObject.<string, ?>alwaysA simple object to contain the ReportResult parameters.
reportResult.archivebooleanoptionalIndicates whether this report should be archived. Archived report ReportResult are stored for six months. Non-archive reports are purged after 24 hours.
reportResult.companyuint64?create (complex)The Company to which these report ReportResult belongs.
reportResult.iduint64?updateThe unique identifier of the ReportResult you want to update.
reportResult.namestring
maximum-length: 100
createName for the report ReportResult.
reportResult.notesstringoptionalNotes for these report ReportResult.
reportResult.optionsObject.<string, ?>create (complex)Specified parameters for the report logic, targeted Assets, and filtering Places and/or regions.
reportResult.options.filteringReportFilterMode?optionalThe mechanism to use for filtering based on Places and regions.
reportResult.options.parametersArray.<ReportParameter>optionalA list of parameters to better shape the ReportResult.
reportResult.options.placesexpressionoptionalA targeting expression for limiting results which only include data from Assets interacting with the targeted Places.
reportResult.options.regionsArray.<string>optionalA list of provinces and states, where only Assets within those regions will be included in the ReportResult.
reportResult.options.scorecardRulesObject.<string, ?>alwaysRules used to generate ReportScorecard for the ReportResult.
reportResult.options.scorecardRules.baseScoredoubleoptionalBase score for the ReportScorecard.
reportResult.options.scorecardRules.parametersArray.<ReportScorecardParameter>optionalInfraction parameters used to generate the final ReportScorecard.score.
reportResult.options.targetsexpressionoptionalA targeting expression for including/excluding Assets.
reportResult.templateuint64?create (simple)Identifier of the ReportTemplate used to help create these ReportResult.
reportResult.timezonecodifiedcreateThe Timezone.code of the local timezone used to calculate times.
reportResult.typeReportType?create (complex)The kind of logic used to build the report ReportResult.
reportResult.vArray.<int32>optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"reportResult": {
		"archive": boolean,
		"company": number,
		"id": number,
		"name": string,
		"notes": string,
		"options": {
			"filtering": string,
			"parameters": [
				{
					"type": string,
					"value": string
				}
			],
			"places": string,
			"regions": [
				string
			],
			"scorecardRules": {
				"baseScore": number,
				"parameters": [
					{
						"condition": string,
						"duration": string,
						"points": number
					}
				]
			},
			"targets": string
		},
		"template": number,
		"timezone": string,
		"type": string,
		"v": [
			number
		]
	},
	"reqId": number
}

ParamReportResultRestoreBaseParametersobject

Request description
PropertyTypeRequiredDescription
reportResultParamIdalwaysAn object to contain the "id" of the ReportResult.
reportResult.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"reportResult": {
		"id": number
	},
	"reqId": number
}

ParamReportScheduleBatchDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
reportSchedulesArray.<ParamId>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"reportSchedules": [
		{
			"id": number
		}
	],
	"reqId": number
}

ParamReportScheduleBatchMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
reportSchedulesArray.<ParameterContent>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"reportSchedules": [
		{
			"enabled": boolean,
			"id": number,
			"name": string,
			"notes": string,
			"notify": {
				"assets": string,
				"users": [
					string
				]
			},
			"options": {
				"filtering": string,
				"parameters": [
					{
						"type": string,
						"value": string
					}
				],
				"places": string,
				"regions": [
					string
				],
				"scorecardRules": {
					"baseScore": number,
					"parameters": [
						{
							"condition": string,
							"duration": string,
							"points": number
						}
					]
				},
				"targets": string
			},
			"owner": string,
			"repetition": {
				"end": string,
				"kind": string,
				"start": string,
				"weekday": number,
				"weekdays": [
					boolean
				]
			},
			"template": number,
			"v": [
				number
			]
		}
	],
	"reqId": number
}

ParamReportScheduleDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
reportScheduleParamIdalwaysAn object to contain the "id" of the ReportSchedule.
reportSchedule.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"reportSchedule": {
		"id": number
	},
	"reqId": number
}

ParamReportScheduleGetBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
includeDeletedbooleanoptionalfalseWhen true, the command will also return a deleted ReportSchedule.
reportScheduleParamIdalwaysAn object to contain the "id" of the ReportSchedule.
reportSchedule.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"includeDeleted": boolean,
	"reportSchedule": {
		"id": number
	},
	"reqId": number
}

ParamReportScheduleListByCompanyBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
companyParamIdalways
company.iduint64alwaysIdentifier given as input for the command.
highestuint64?optional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
lowestuint64?optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"company": {
		"id": number
	},
	"highest": number,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"lowest": number,
	"reqId": number
}

ParamReportScheduleListByTemplateBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
highestuint64?optional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
lowestuint64?optional
reportTemplateParamIdalways
reportTemplate.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"highest": number,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"lowest": number,
	"reportTemplate": {
		"id": number
	},
	"reqId": number
}

ParamReportScheduleMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
reportScheduleObject.<string, ?>alwaysA simple object to contain the ReportSchedule parameters.
reportSchedule.enabledbooleanoptionalIndicates whether this schedule is allowed to run.
reportSchedule.iduint64?updateThe unique identifier of the ReportSchedule you want to update.
reportSchedule.namestring
maximum-length: 100
createName for the ReportSchedule.
reportSchedule.notesstringoptionalNotes for the ReportSchedule.
reportSchedule.notifyObject.<string, ?>alwaysA list of users and a targeting expression for Assets which receive report results notifications.
reportSchedule.notify.assetsexpression
maximum-length: 255
optionalA targeting expression to identify which Assets receive the ReportResult.
reportSchedule.notify.usersArray.<email>
maximum-count: 50
optionalList of Users to send emailed report. Each email will only contain the ReportResult for the Assets each User is allowed to view.
reportSchedule.optionsObject.<string, ?>alwaysSpecified parameters for the report logic, targeted Assets, and filtering Places.
reportSchedule.options.filteringReportFilterMode?optionalThe mechanism to use for filtering based on Places and regions.
reportSchedule.options.parametersArray.<ReportParameter>optionalA list of parameters to better shape the ReportResult.
reportSchedule.options.placesexpressionoptionalA targeting expression for limiting results which only include data from Assets interacting with the targeted Places.
reportSchedule.options.regionsArray.<string>optionalA list of provinces and states, where only Assets within those regions will be included in the ReportResult.
reportSchedule.options.scorecardRulesObject.<string, ?>alwaysRules used to generate ReportScorecard for the ReportResult.
reportSchedule.options.scorecardRules.baseScoredoubleoptionalBase score for the ReportScorecard.
reportSchedule.options.scorecardRules.parametersArray.<ReportScorecardParameter>optionalInfraction parameters used to generate the final ReportScorecard.score.
reportSchedule.options.targetsexpressionoptionalA targeting expression for including/excluding Assets.
reportSchedule.owneremailcreateThe user which owns the schedule. When report results are created, they will be created with this user's Asset permissions.
reportSchedule.repetitionObject.<string, ?>createThe recurring schedule to generate report results.
reportSchedule.repetition.enddatetimeoptionalThe optional time when the ReportSchedule stops recurring in local-time (not UTC).
reportSchedule.repetition.kindReportRecurrenceType?optionalHow often the report is automatically run. Daily, weekly, monthly, etc...
reportSchedule.repetition.startdatetimeoptionalWhen the ReportSchedule is to begin recurring in local-time (not UTC).
reportSchedule.repetition.weekdaybyte?optionalUsed only for weekly schedules, it's a number between 0 and 6 representing the day of the week, with Sunday being the first day of the week.
reportSchedule.repetition.weekdaysArray.<boolean>optionalUsed only for daily schedules, this 7 item, boolean array, determines if the ReportSchedule should recur on that day of the week.
reportSchedule.templateuint64?createIdentifier of the ReportTemplate used to help create results.
reportSchedule.vArray.<int32>optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"reportSchedule": {
		"enabled": boolean,
		"id": number,
		"name": string,
		"notes": string,
		"notify": {
			"assets": string,
			"users": [
				string
			]
		},
		"options": {
			"filtering": string,
			"parameters": [
				{
					"type": string,
					"value": string
				}
			],
			"places": string,
			"regions": [
				string
			],
			"scorecardRules": {
				"baseScore": number,
				"parameters": [
					{
						"condition": string,
						"duration": string,
						"points": number
					}
				]
			},
			"targets": string
		},
		"owner": string,
		"repetition": {
			"end": string,
			"kind": string,
			"start": string,
			"weekday": number,
			"weekdays": [
				boolean
			]
		},
		"template": number,
		"v": [
			number
		]
	},
	"reqId": number
}

ParamReportScheduleRestoreBaseParametersobject

Request description
PropertyTypeRequiredDescription
reportScheduleParamIdalwaysAn object to contain the "id" of the ReportSchedule.
reportSchedule.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"reportSchedule": {
		"id": number
	},
	"reqId": number
}

ParamReportScorecardRulesobject

Parameter values for creating a new or updating an existing ReportScorecardRules.
JSON description
PropertyTypeDescription
baseScoredoubleBase score for the ReportScorecard.
parametersArray.<ReportScorecardParameter>Infraction parameters used to generate the final ReportScorecard.score.
JSON structure
{
	"baseScore": number,
	"parameters": [
		{
			"condition": string,
			"duration": string,
			"points": number
		}
	]
}

ParamReportTemplateBatchDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
reportTemplatesArray.<ParamId>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"reportTemplates": [
		{
			"id": number
		}
	],
	"reqId": number
}

ParamReportTemplateBatchMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
reportTemplatesArray.<ParameterContent>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"reportTemplates": [
		{
			"company": number,
			"fill": string,
			"graphic": string,
			"id": number,
			"name": string,
			"notes": string,
			"options": {
				"filtering": string,
				"parameters": [
					{
						"type": string,
						"value": string
					}
				],
				"places": string,
				"regions": [
					string
				],
				"scorecardRules": {
					"baseScore": number,
					"parameters": [
						{
							"condition": string,
							"duration": string,
							"points": number
						}
					]
				},
				"targets": string
			},
			"stroke": string,
			"type": string,
			"v": [
				number
			]
		}
	],
	"reqId": number
}

ParamReportTemplateDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
reportTemplateParamIdalwaysAn object to contain the "id" of the ReportTemplate.
reportTemplate.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"reportTemplate": {
		"id": number
	},
	"reqId": number
}

ParamReportTemplateGetBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
includeDeletedbooleanoptionalfalseWhen true, the command will also return a deleted ReportTemplate.
reportTemplateParamIdalwaysAn object to contain the "id" of the ReportTemplate.
reportTemplate.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"includeDeleted": boolean,
	"reportTemplate": {
		"id": number
	},
	"reqId": number
}

ParamReportTemplateListByCompanyBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
companyParamIdalwaysAn object to contain the "id" of the Company.
company.iduint64alwaysIdentifier given as input for the command.
highestuint64?optional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
lowestuint64?optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"company": {
		"id": number
	},
	"highest": number,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"lowest": number,
	"reqId": number
}

ParamReportTemplateMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
reportTemplateObject.<string, ?>alwaysA simple object to contain the ReportTemplate parameters.
reportTemplate.companyuint64?createThe Company to which this ReportTemplate belongs.
reportTemplate.fillstringoptionalBackground and fill colour in the UI.
reportTemplate.graphicstringoptionalThe name of the symbol shown in the UI.
reportTemplate.iduint64?updateThe unique identifier of the ReportTemplate you want to update.
reportTemplate.namestring
maximum-length: 100
createName for the ReportTemplate.
reportTemplate.notesstringoptionalNotes about the ReportTemplate.
reportTemplate.optionsObject.<string, ?>alwaysSpecified parameters for the report logic, targeted Assets, and filtering Places and/or regions.
reportTemplate.options.filteringReportFilterMode?optionalThe mechanism to use for filtering based on Places and regions.
reportTemplate.options.parametersArray.<ReportParameter>optionalA list of parameters to better shape the ReportResult.
reportTemplate.options.placesexpressionoptionalA targeting expression for limiting results which only include data from Assets interacting with the targeted Places.
reportTemplate.options.regionsArray.<string>optionalA list of provinces and states, where only Assets within those regions will be included in the ReportResult.
reportTemplate.options.scorecardRulesObject.<string, ?>alwaysRules used to generate ReportScorecard for the ReportResult.
reportTemplate.options.scorecardRules.baseScoredoubleoptionalBase score for the ReportScorecard.
reportTemplate.options.scorecardRules.parametersArray.<ReportScorecardParameter>optionalInfraction parameters used to generate the final ReportScorecard.score.
reportTemplate.options.targetsexpressionoptionalA targeting expression for including/excluding Assets.
reportTemplate.strokestringoptionalText and outline colour in the UI.
reportTemplate.typeReportType?createThe kind of logic used to build the report results.
reportTemplate.vArray.<int32>optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"reportTemplate": {
		"company": number,
		"fill": string,
		"graphic": string,
		"id": number,
		"name": string,
		"notes": string,
		"options": {
			"filtering": string,
			"parameters": [
				{
					"type": string,
					"value": string
				}
			],
			"places": string,
			"regions": [
				string
			],
			"scorecardRules": {
				"baseScore": number,
				"parameters": [
					{
						"condition": string,
						"duration": string,
						"points": number
					}
				]
			},
			"targets": string
		},
		"stroke": string,
		"type": string,
		"v": [
			number
		]
	},
	"reqId": number
}

ParamReportTemplateRestoreBaseParametersobject

Request description
PropertyTypeRequiredDescription
reportTemplateParamIdalwaysAn object to contain the "id" of the ReportTemplate.
reportTemplate.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"reportTemplate": {
		"id": number
	},
	"reqId": number
}

ReportBreakdownobject

Asset information used in calculating a summary instance.
JSON description
PropertyTypeDescription
advancedAssetAdvancedAdvanced/detailed information used.
assetuint64The asset to which this event data belongs.
generalAssetGeneralGeneral Asset information.
instanceuint32Report specific identifier of the event data.
summaryInstancesArray.<uint32>Identifiers of the summary instances that used this event.
JSON structure
{
	"advanced": {
		"attributes": {
			string: {
				"asset": number,
				"complex": string,
				"dts": string,
				"global": boolean,
				"name": string,
				"provider": string,
				"raw": Object,
				"simple": string,
				"unit": string
			}
		},
		"company": number,
		"id": number,
		"odometer": number,
		"places": {
			string: {
				"enter": string,
				"kind": string,
				"latest": string
			}
		},
		"position": {
			"accuracy": number,
			"address": string,
			"altitude": number,
			"bearing": number,
			"dts": string,
			"lat": number,
			"lng": number,
			"origin": string,
			"speed": number,
			"speedLimit": number,
			"streetAddress": {
				"city": string,
				"country": string,
				"isToll": boolean,
				"number": string,
				"postal": string,
				"province": string,
				"region": string,
				"street": string
			}
		},
		"processedUtc": string,
		"providers": [
			string
		],
		"relationships": [
			number
		],
		"tags": [
			string
		],
		"updated": {
		},
		"v": [
			number
		]
	},
	"asset": number,
	"general": {
		"company": number,
		"icon": number,
		"id": number,
		"kind": string,
		"labels": [
			string
		],
		"messagingAddress": string,
		"name": string,
		"notes": string,
		"pictures": [
			number
		],
		"processedUtc": string,
		"reference": string,
		"references": {
			string: string
		},
		"updated": {
		},
		"v": [
			number
		]
	},
	"instance": number,
	"summaryInstances": [
		number
	]
}

ReportBreakdownJobReportBreakdownobject

Dispatch Job information used in this report.
JSON description
PropertyTypeDescription
advancedAssetAdvancedAdvanced/detailed information used.
assetuint64The asset to which this event data belongs.
generalAssetGeneralGeneral Asset information.
instanceuint32Report specific identifier of the event data.
jobDispatchJobThe Job used.
summaryInstancesArray.<uint32>Identifiers of the summary instances that used this event.
JSON structure
{
	"advanced": {
		"attributes": {
			string: {
				"asset": number,
				"complex": string,
				"dts": string,
				"global": boolean,
				"name": string,
				"provider": string,
				"raw": Object,
				"simple": string,
				"unit": string
			}
		},
		"company": number,
		"id": number,
		"odometer": number,
		"places": {
			string: {
				"enter": string,
				"kind": string,
				"latest": string
			}
		},
		"position": {
			"accuracy": number,
			"address": string,
			"altitude": number,
			"bearing": number,
			"dts": string,
			"lat": number,
			"lng": number,
			"origin": string,
			"speed": number,
			"speedLimit": number,
			"streetAddress": {
				"city": string,
				"country": string,
				"isToll": boolean,
				"number": string,
				"postal": string,
				"province": string,
				"region": string,
				"street": string
			}
		},
		"processedUtc": string,
		"providers": [
			string
		],
		"relationships": [
			number
		],
		"tags": [
			string
		],
		"updated": {
		},
		"v": [
			number
		]
	},
	"asset": number,
	"general": {
		"company": number,
		"icon": number,
		"id": number,
		"kind": string,
		"labels": [
			string
		],
		"messagingAddress": string,
		"name": string,
		"notes": string,
		"pictures": [
			number
		],
		"processedUtc": string,
		"reference": string,
		"references": {
			string: string
		},
		"updated": {
		},
		"v": [
			number
		]
	},
	"instance": number,
	"job": {
		"asset": number,
		"attachments": [
			number
		],
		"company": number,
		"created": string,
		"driver": string,
		"forms": [
			number
		],
		"id": number,
		"instructions": string,
		"labels": [
			string
		],
		"name": string,
		"priority": string,
		"processedUtc": string,
		"references": {
			string: string
		},
		"steps": [
			{
				"address": string,
				"duration": string,
				"eta": string,
				"id": number,
				"latlng": {
					"lat": number,
					"lng": number
				},
				"name": string,
				"notes": string,
				"place": number,
				"signatory": string,
				"signature": boolean,
				"states": {
					string: {
						"latlng": {
							"lat": number,
							"lng": number
						},
						"updated": string
					}
				}
			}
		],
		"tags": [
			string
		],
		"updated": {
		},
		"v": [
			number
		]
	},
	"summaryInstances": [
		number
	]
}

ReportBreakdownMessageReportBreakdownobject

Message information used in this report.
JSON description
PropertyTypeDescription
advancedAssetAdvancedAdvanced/detailed information used.
assetuint64The asset to which this event data belongs.
generalAssetGeneralGeneral Asset information.
instanceuint32Report specific identifier of the event data.
messageAssetMessageThe Message used.
summaryInstancesArray.<uint32>Identifiers of the summary instances that used this event.
JSON structure
{
	"advanced": {
		"attributes": {
			string: {
				"asset": number,
				"complex": string,
				"dts": string,
				"global": boolean,
				"name": string,
				"provider": string,
				"raw": Object,
				"simple": string,
				"unit": string
			}
		},
		"company": number,
		"id": number,
		"odometer": number,
		"places": {
			string: {
				"enter": string,
				"kind": string,
				"latest": string
			}
		},
		"position": {
			"accuracy": number,
			"address": string,
			"altitude": number,
			"bearing": number,
			"dts": string,
			"lat": number,
			"lng": number,
			"origin": string,
			"speed": number,
			"speedLimit": number,
			"streetAddress": {
				"city": string,
				"country": string,
				"isToll": boolean,
				"number": string,
				"postal": string,
				"province": string,
				"region": string,
				"street": string
			}
		},
		"processedUtc": string,
		"providers": [
			string
		],
		"relationships": [
			number
		],
		"tags": [
			string
		],
		"updated": {
		},
		"v": [
			number
		]
	},
	"asset": number,
	"general": {
		"company": number,
		"icon": number,
		"id": number,
		"kind": string,
		"labels": [
			string
		],
		"messagingAddress": string,
		"name": string,
		"notes": string,
		"pictures": [
			number
		],
		"processedUtc": string,
		"reference": string,
		"references": {
			string: string
		},
		"updated": {
		},
		"v": [
			number
		]
	},
	"instance": number,
	"message": {
		"asset": number,
		"body": string,
		"company": number,
		"delivered": string,
		"folder": string,
		"from": string,
		"id": number,
		"incoming": boolean,
		"kind": string,
		"processed": string,
		"processedUtc": string,
		"readBy": string,
		"status": string,
		"subject": string,
		"to": string,
		"updated": {
		},
		"user": string,
		"v": [
			number
		]
	},
	"summaryInstances": [
		number
	]
}

ReportBreakdownTaskReportBreakdownobject

Dispatch Task information used in this report.
JSON description
PropertyTypeDescription
advancedAssetAdvancedAdvanced/detailed information used.
assetuint64The asset to which this event data belongs.
generalAssetGeneralGeneral Asset information.
instanceuint32Report specific identifier of the event data.
summaryInstancesArray.<uint32>Identifiers of the summary instances that used this event.
task
Deprecated
DispatchTaskThe Task used.
Use DispatchJob instead.
JSON structure
{
	"advanced": {
		"attributes": {
			string: {
				"asset": number,
				"complex": string,
				"dts": string,
				"global": boolean,
				"name": string,
				"provider": string,
				"raw": Object,
				"simple": string,
				"unit": string
			}
		},
		"company": number,
		"id": number,
		"odometer": number,
		"places": {
			string: {
				"enter": string,
				"kind": string,
				"latest": string
			}
		},
		"position": {
			"accuracy": number,
			"address": string,
			"altitude": number,
			"bearing": number,
			"dts": string,
			"lat": number,
			"lng": number,
			"origin": string,
			"speed": number,
			"speedLimit": number,
			"streetAddress": {
				"city": string,
				"country": string,
				"isToll": boolean,
				"number": string,
				"postal": string,
				"province": string,
				"region": string,
				"street": string
			}
		},
		"processedUtc": string,
		"providers": [
			string
		],
		"relationships": [
			number
		],
		"tags": [
			string
		],
		"updated": {
		},
		"v": [
			number
		]
	},
	"asset": number,
	"general": {
		"company": number,
		"icon": number,
		"id": number,
		"kind": string,
		"labels": [
			string
		],
		"messagingAddress": string,
		"name": string,
		"notes": string,
		"pictures": [
			number
		],
		"processedUtc": string,
		"reference": string,
		"references": {
			string: string
		},
		"updated": {
		},
		"v": [
			number
		]
	},
	"instance": number,
	"summaryInstances": [
		number
	],
	"task": {
		"address": string,
		"arrived": string,
		"asset": number,
		"attachments": [
			number
		],
		"company": number,
		"completed": string,
		"created": string,
		"duration": string,
		"eta": string,
		"id": number,
		"instructions": string,
		"latlng": {
			"lat": number,
			"lng": number
		},
		"name": string,
		"notes": string,
		"place": number,
		"processedUtc": string,
		"reference": string,
		"references": {
			string: string
		},
		"signatory": string,
		"signature": boolean,
		"status": string,
		"updated": {
		},
		"v": [
			number
		]
	}
}

ReportDataSummaryReasonstring

The kind of reason associated with the range caps for a summary instance.
ValueDescription
filterMatchThe asset started/stopped matching the report filter settings. For example, they left a province or entered a Place.
outsideRangeIf the report starting/ending date range overlaps the actual start of the state.
splitThe summary instance elapsed a Rubicon or prolonged parameter, and was split into two summary instances.
stateMatchThe asset started/stopped matching the required state. For example, a status tag was added or removed.
targetedThe targeting query starts or stops matching. For example, the Asset's labels were changed.

ReportFilterModestring

Drill-down mechanism for highlighting only those places and regions desired in report results.
ValueDescription
exclusiveExclude all results except those whose filters match.
inclusiveInclude any results for those whose filters match.
noneFiltering is not enabled for the report.

ReportNotificationsobject

A group of users and targeted assets which receive report notifications.
JSON description
PropertyTypeDescription
assetsexpressionA targeting expression to identify which assets receive the report results. The results emailed to each asset will only be for themselves, not all assets. To receive the emailed results, the Asset must have a Asset.messagingAddress, or for a Person type asset, their Contact.emails["Email"].
usersArray.<email>
for values see: UserGeneral.login
maximum-length of values: 50
List of users to send emailed report. Each email will only contain the results for the assets each user is allowed to view.
JSON structure
{
	"assets": string,
	"users": [
		string
	]
}

ReportOptionsobject

The options used by the report runner to process results.
JSON description
PropertyTypeDescription
filteringReportFilterModeThe mechanism to use for filtering based on places and regions.
parametersArray.<ReportParameter>A list of parameters to better shape the results.
placesexpressionA targeting expression for limiting results which only include data from Assets interacting with the targeted Places.
regionsArray.<string>A list of provinces and states, where only assets within those regions will be included in the results.
scorecardRulesReportScorecardRulesRules used to generate scorecard for this report.
targetsexpressionA targeting expression for including/excluding Assets.
JSON structure
{
	"filtering": string,
	"parameters": [
		{
			"type": string,
			"value": string
		}
	],
	"places": string,
	"regions": [
		string
	],
	"scorecardRules": {
		"baseScore": number,
		"parameters": [
			{
				"condition": string,
				"duration": string,
				"points": number
			}
		]
	},
	"targets": string
}

ReportParameterobject

An argument passed to the report runner.
JSON description
PropertyTypeDescription
typeReportParameterTypeThe type of argument.
valuestringThe parsed value of the argument. Each type of argument has a different parsing.
JSON structure
{
	"type": string,
	"value": string
}

ReportParameterTypestring

The kinds of parameters required and optional to build Report Results
ValueDescription
attributesA list of attribute names an Asset must have to be included in the results. Should be a comma separated string of codified tag names.
collateA choice in the method used to calculate a Summary Instance's values. For an attribute report, the possible values are "instance" where if the attribute is present it is included, and "value" where each attribute's simple value becomes it's own summary instance. For a Tag Summary report, the possible values are "inclusive" where any of the given tags must match, and "exclusive" where all the given tags must match.
distanceThe minimum distance travelled in a Summary Instance before it is included in the results. Supplied as a number of meters.
durationThe minimum amount of time for a Summary nice before it is included in the results. Supplied as a duration string.
endDateThe ending date/time range for events to be included in the results. The date should be a valid ISO-8601 string.
prolongedThe maximum amount of time in a Summary Instance before it is split into two and the latter marked as an exception in the results. Supplied as a duration string.
rubiconThe maximum distance travelled in a Summary Instance before it is split into two and the latter marked as an exception in the results. Supplied as a number of meters.
startDateThe staring date/time range for events to be included in the results. The date should be a valid ISO-8601 string.
tagsA list of status tags an Asset must have to be included in the results. Should be a comma separated string of codified tag names.
timeOfDayTime-span processed on each day. Only data within the time-span is included in the results. The times should be 2 space separated duration strings.

ReportRecurrenceobject

Determines when and how often a report schedule runs automatically.
JSON description
PropertyTypeDescription
enddatetimeThe optional time when the schedule stops recurring in local-time (not UTC).
iterationsuint16The number of times this schedule has been invoked to generate results.
kindReportRecurrenceTypeHow often the report is automatically run. Daily, weekly, monthly, etc...
lastEndDatedatetimeThe date/time stamp from the last result used to inform the nextStartDate and nextEndDate properties. This value is null when the schedule has not yet run once.
lastResultuint64?The unique identifier of the last ReportResult generated by this schedule.
lastStartDatedatetimeThe date/time stamp from the last result used to inform the nextStartDate and nextEndDate properties. This value is null when the schedule has not yet run once.
nextEndDatedatetimeThis date/time is used as the endDate ReportParameter for the next iteration of this recurring report. This value is null when the schedule is calculated to stop recurring.
nextStartDatedatetimeThis date/time is used as the startDate ReportParameter for the next iteration of this recurring report. This value is null when the schedule is calculated to stop recurring.
startdatetimeWhen the schedule is to begin recurring in local-time (not UTC).
timezone
Deprecated
codifiedThe local timezone used to calculate recurring date/time ranges.
Use owner.timezone instead.
weekdaybyteUsed only for weekly schedules, it's a number between 0 and 6 representing the day of the week, with Sunday being the first day of the week.
weekdaysArray.<boolean>
fixed count: 7
Used only for daily schedules, this 7 item, boolean array, determines if the schedule should recur on that day of the week.
JSON structure
{
	"end": string,
	"iterations": number,
	"kind": string,
	"lastEndDate": string,
	"lastResult": number,
	"lastStartDate": string,
	"nextEndDate": string,
	"nextStartDate": string,
	"start": string,
	"timezone": string,
	"weekday": number,
	"weekdays": [
		boolean
	]
}

ReportRecurrenceTypestring

Specifies how often a Report Template is automatically generates a Report Result.
ValueDescription
annuallyYearly at midnight in the local timezone based on the ReportRecurrence.start date.
dailyDaily at midnight in the local timezone for the previous day based on the ReportRecurrence.weekdays.
monthlyMonthly at midnight in the local timezone for the previous month based on the ReportRecurrence.start date.
onceRuns only once. This type is used for large reports which need to run overnight.
quarterlyRuns once every three months at midnight in the local timezone for the previous 3 months based on the ReportRecurrence.start date.
weeklyWeekly at midnight in the local timezone for the previous 7 days based on the ReportRecurrence.weekday.

ReportResultobject

Report results
JSON description
PropertyTypeDescription
archivebooleanPreserve these results for later review. Results are regularly culled from the system.
boundsLatLngBoundsAfter processing, the boundary of the results are given so that a map can be focused on that area.
companyuint64The company to which this report belongs
completeddatetimeThe date/time this result was finished processing.
createddatetimeThe date/time this result was requested.
errorstring
maximum-length: 250
A field which contains report error details if the ReportResult.status is ReportStatus.failed.
filteredArray.<uint64>When the report runs, a list of filtered places is calculated based on the ReportOption's place filtering expression.
iduint64Unique identifier
namestring
maximum-length: 100
Name of this report.
notesstringNotes about this report.
optionsReportOptionsSpecified parameters for the report logic, targeted Assets, and filtering Places.
processedUtcdatetimeWhen the was change procesed.
progressbyteThe progress in processing/saving this result is a number between 0 and 100.
runByemail
maximum-length: 254
The login of the user that ran this report.
scheduleuint64?A reference to the schedule used to create this result. This field is optional as not all results are created on a schedule.
scorecardsArray.<ReportScorecard>Scorecards for all the targeted assets based on the scorecard rules.
statusReportStatusThe processing status of this report.
targetedArray.<uint64>When the report runs, a list of targeted assets is calculated based on the ReportOption's targeting expression.
templateuint64?A reference to the Template used to create this result. This field is optional because templates are not necessarily required; they just make life a lot easier.
timezonecodifiedThe timezone code used to adjust dates/times used in processing and saving this report.
totalsArray.<ReportTotal>After processing, the report totals the values from all summary instances for a quick overview of the kind of results generated.
typeReportTypeRefers to the type of logic used by this report.
updatedby: login, from: monster
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"archive": boolean,
	"bounds": {
		"east": number,
		"north": number,
		"south": number,
		"west": number
	},
	"company": number,
	"completed": string,
	"created": string,
	"error": string,
	"filtered": [
		number
	],
	"id": number,
	"name": string,
	"notes": string,
	"options": {
		"filtering": string,
		"parameters": [
			{
				"type": string,
				"value": string
			}
		],
		"places": string,
		"regions": [
			string
		],
		"scorecardRules": {
			"baseScore": number,
			"parameters": [
				{
					"condition": string,
					"duration": string,
					"points": number
				}
			]
		},
		"targets": string
	},
	"processedUtc": string,
	"progress": number,
	"runBy": string,
	"schedule": number,
	"scorecards": [
		{
			"asset": number,
			"rulePoints": {
				string: number
			},
			"score": number
		}
	],
	"status": string,
	"targeted": [
		number
	],
	"template": number,
	"timezone": string,
	"totals": [
		{
			"asset": number,
			"distance": number,
			"duration": string,
			"stateDetail": string,
			"summaryCount": number,
			"value": number,
			"valueType": string
		}
	],
	"type": string,
	"updated": {
	},
	"v": [
		number
	]
}

ReportResultDeletedobject

The message format for when a deleted ReportResult is retrieved
JSON description
PropertyTypeValueDescription
companyuint64The company to which this report belongs
deletedbooleantrue
iduint64Unique identifier
namestring
maximum-length: 100
Name of this report.
notesstringNotes about this report.
sincedatetimeA timestamp from the moment the object was deleted.
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"company": number,
	"deleted": boolean,
	"id": number,
	"name": string,
	"notes": string,
	"since": string,
	"v": [
		number
	]
}

ReportScheduleobject

Determines when and how often a report schedule runs automatically.
JSON description
PropertyTypeDescription
companyuint64The company to which this report belongs
enabledbooleanIndicates whether this schedule is allowed to run.
iduint64Unique identifier
namestring
maximum-length: 100
Name of this report.
notesstringNotes about this report.
notifyReportNotificationsA list of users and a targeting expression for assets which receive report results notifications.
optionsReportOptionsSpecified parameters for the report logic, targeted Assets, and filtering Places.
owneremail
maximum-length: 254
Login of the user who has ownership of this report schedule.
processedUtcdatetimeWhen the was change procesed.
repetitionReportRecurrenceThe recurring schedule to generate report results.
templateuint64A reference to the Template used to create this result.
updatedby: login, from: monster
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"company": number,
	"enabled": boolean,
	"id": number,
	"name": string,
	"notes": string,
	"notify": {
		"assets": string,
		"users": [
			string
		]
	},
	"options": {
		"filtering": string,
		"parameters": [
			{
				"type": string,
				"value": string
			}
		],
		"places": string,
		"regions": [
			string
		],
		"scorecardRules": {
			"baseScore": number,
			"parameters": [
				{
					"condition": string,
					"duration": string,
					"points": number
				}
			]
		},
		"targets": string
	},
	"owner": string,
	"processedUtc": string,
	"repetition": {
		"end": string,
		"iterations": number,
		"kind": string,
		"lastEndDate": string,
		"lastResult": number,
		"lastStartDate": string,
		"nextEndDate": string,
		"nextStartDate": string,
		"start": string,
		"timezone": string,
		"weekday": number,
		"weekdays": [
			boolean
		]
	},
	"template": number,
	"updated": {
	},
	"v": [
		number
	]
}

ReportScheduleDeletedobject

The message format for when a deleted ReportSchedule is retrieved
JSON description
PropertyTypeValueDescription
companyuint64The company to which this report belongs
deletedbooleantrue
iduint64Unique identifier
namestring
maximum-length: 100
Name of this report.
notesstringNotes about this report.
sincedatetimeA timestamp from the moment the object was deleted.
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"company": number,
	"deleted": boolean,
	"id": number,
	"name": string,
	"notes": string,
	"since": string,
	"v": [
		number
	]
}

ReportScorecardobject

Scorecard generated from the results of this report.
JSON description
PropertyTypeDescription
assetuint64The asset to which this scorecard belongs.
rulePointsObject.<string, double>Points per rule
scoredoubleFinal score calculated based on scorecard rules.
JSON structure
{
	"asset": number,
	"rulePoints": {
		string: number
	},
	"score": number
}

ReportScorecardParameterobject

Infraction parameter used to generate scorecard
JSON description
PropertyTypeDescription
conditionstringType of exception, example speeding, idling, etc.
durationtimespanThreshold per instance. If the threshold is 0, each instance is used in the calculation
pointsdoublePoints applied against the base score per instance
JSON structure
{
	"condition": string,
	"duration": string,
	"points": number
}

ReportScorecardRulesobject

Rules used for generating a scorecard.
JSON description
PropertyTypeDescription
baseScoredoubleBase score for the scorecard.
parametersArray.<ReportScorecardParameter>Infraction parameters used to generate the final score
JSON structure
{
	"baseScore": number,
	"parameters": [
		{
			"condition": string,
			"duration": string,
			"points": number
		}
	]
}

ReportStatusstring

The lifetime of building a ReportResult.
ValueDescription
completedThe ReportResult is available for retrieval.
createdThe ReportResult has been requested, but not yet begun processing.
failedThere was an error processing the ReportResult; see the ReportResult.error for a description.
queuedThe ReportResult is waiting for required resources to begin processing.
runningThe ReportResult is currently being processed.
savingThe ReportResult results have been calculated, and are being saved for review.

ReportSummaryobject

Summarized asset details.
JSON description
PropertyTypeDescription
assetuint64The asset to which this summary instance belongs.
distancedoubleThe distance travelled in kilometres by the asset during this summary instance.
endingReasonReportDataSummaryReasonThe reason code that this summary instance ended.
endingUtcdatetimeDate/time stamp of the last event in this summary's sequence.
firstStateAssetThe first asset state which begins this summary instance.
instanceuint32Identifier of the summary instance in the report.
instancesCountuint32The number of events included in calculating this summary instance.
lastStateAssetThe asset state that ended this summary instance.
polylineArray.<LatLng>A simplified polyline of all the asset's positions in sequence.
startingReasonReportDataSummaryReasonThe reason code that this summary instance began.
startingUtcdatetimeDate/time stamp of the first event in this summary's sequence.
stateDetailstring
maximum-length: 100
Code given to this summary instance for an asset.
JSON structure
{
	"asset": number,
	"distance": number,
	"endingReason": string,
	"endingUtc": string,
	"firstState": {
		"attributes": {
			string: {
				"asset": number,
				"complex": string,
				"dts": string,
				"global": boolean,
				"name": string,
				"provider": string,
				"raw": Object,
				"simple": string,
				"unit": string
			}
		},
		"company": number,
		"dispatch": {
			"company": number,
			"directions": [
				{
					"directions": [
						{ /* recursive DispatchDirection objects */ }
					],
					"distance": number,
					"duration": string,
					"instructions": string,
					"job": number,
					"path": string,
					"step": number
				}
			],
			"id": number,
			"jobs": [
				number
			],
			"lastDispatched": string,
			"processedUtc": string,
			"tasks": [
				{
					"address": string,
					"arrived": string,
					"asset": number,
					"attachments": [
						number
					],
					"company": number,
					"completed": string,
					"created": string,
					"duration": string,
					"eta": string,
					"id": number,
					"instructions": string,
					"latlng": {
						"lat": number,
						"lng": number
					},
					"name": string,
					"notes": string,
					"place": number,
					"processedUtc": string,
					"reference": string,
					"references": {
						string: string
					},
					"signatory": string,
					"signature": boolean,
					"status": string,
					"updated": {
					},
					"v": [
						number
					]
				}
			],
			"updated": {
			},
			"v": [
				number
			]
		},
		"icon": number,
		"id": number,
		"kind": string,
		"labels": [
			string
		],
		"messages": [
			{
				"asset": number,
				"body": string,
				"company": number,
				"delivered": string,
				"folder": string,
				"from": string,
				"id": number,
				"incoming": boolean,
				"kind": string,
				"processed": string,
				"processedUtc": string,
				"readBy": string,
				"status": string,
				"subject": string,
				"to": string,
				"updated": {
				},
				"user": string,
				"v": [
					number
				]
			}
		],
		"messagingAddress": string,
		"name": string,
		"notes": string,
		"odometer": number,
		"pictures": [
			number
		],
		"places": {
			string: {
				"enter": string,
				"kind": string,
				"latest": string
			}
		},
		"position": {
			"accuracy": number,
			"address": string,
			"altitude": number,
			"bearing": number,
			"dts": string,
			"lat": number,
			"lng": number,
			"origin": string,
			"speed": number,
			"speedLimit": number,
			"streetAddress": {
				"city": string,
				"country": string,
				"isToll": boolean,
				"number": string,
				"postal": string,
				"province": string,
				"region": string,
				"street": string
			}
		},
		"processedUtc": string,
		"providers": [
			string
		],
		"reference": string,
		"references": {
			string: string
		},
		"relationships": [
			number
		],
		"tags": [
			string
		],
		"updated": {
		},
		"v": [
			number
		]
	},
	"instance": number,
	"instancesCount": number,
	"lastState": {
		"attributes": {
			string: {
				"asset": number,
				"complex": string,
				"dts": string,
				"global": boolean,
				"name": string,
				"provider": string,
				"raw": Object,
				"simple": string,
				"unit": string
			}
		},
		"company": number,
		"dispatch": {
			"company": number,
			"directions": [
				{
					"directions": [
						{ /* recursive DispatchDirection objects */ }
					],
					"distance": number,
					"duration": string,
					"instructions": string,
					"job": number,
					"path": string,
					"step": number
				}
			],
			"id": number,
			"jobs": [
				number
			],
			"lastDispatched": string,
			"processedUtc": string,
			"tasks": [
				{
					"address": string,
					"arrived": string,
					"asset": number,
					"attachments": [
						number
					],
					"company": number,
					"completed": string,
					"created": string,
					"duration": string,
					"eta": string,
					"id": number,
					"instructions": string,
					"latlng": {
						"lat": number,
						"lng": number
					},
					"name": string,
					"notes": string,
					"place": number,
					"processedUtc": string,
					"reference": string,
					"references": {
						string: string
					},
					"signatory": string,
					"signature": boolean,
					"status": string,
					"updated": {
					},
					"v": [
						number
					]
				}
			],
			"updated": {
			},
			"v": [
				number
			]
		},
		"icon": number,
		"id": number,
		"kind": string,
		"labels": [
			string
		],
		"messages": [
			{
				"asset": number,
				"body": string,
				"company": number,
				"delivered": string,
				"folder": string,
				"from": string,
				"id": number,
				"incoming": boolean,
				"kind": string,
				"processed": string,
				"processedUtc": string,
				"readBy": string,
				"status": string,
				"subject": string,
				"to": string,
				"updated": {
				},
				"user": string,
				"v": [
					number
				]
			}
		],
		"messagingAddress": string,
		"name": string,
		"notes": string,
		"odometer": number,
		"pictures": [
			number
		],
		"places": {
			string: {
				"enter": string,
				"kind": string,
				"latest": string
			}
		},
		"position": {
			"accuracy": number,
			"address": string,
			"altitude": number,
			"bearing": number,
			"dts": string,
			"lat": number,
			"lng": number,
			"origin": string,
			"speed": number,
			"speedLimit": number,
			"streetAddress": {
				"city": string,
				"country": string,
				"isToll": boolean,
				"number": string,
				"postal": string,
				"province": string,
				"region": string,
				"street": string
			}
		},
		"processedUtc": string,
		"providers": [
			string
		],
		"reference": string,
		"references": {
			string: string
		},
		"relationships": [
			number
		],
		"tags": [
			string
		],
		"updated": {
		},
		"v": [
			number
		]
	},
	"polyline": [
		{
			"lat": number,
			"lng": number
		}
	],
	"startingReason": string,
	"startingUtc": string,
	"stateDetail": string
}

ReportTemplateobject

A partially created report used to quickly build results.
JSON description
PropertyTypeDescription
companyuint64The company to which this report belongs
fillcolour
maximum-length: 22
The fill/background colour of the icon.
graphiccodified
maximum-length: 22
The name of the symbol for this report.
iduint64Unique identifier
namestring
maximum-length: 100
Name of this report.
notesstringNotes about this report.
optionsReportOptionsSpecified parameters for the report logic, targeted Assets, and filtering Places.
processedUtcdatetimeWhen the was change procesed.
strokecolour
maximum-length: 22
Outline and graphic colour.
typeReportTypeRefers to the type of logic used by this report.
updatedby: login, from: monster
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"company": number,
	"fill": string,
	"graphic": string,
	"id": number,
	"name": string,
	"notes": string,
	"options": {
		"filtering": string,
		"parameters": [
			{
				"type": string,
				"value": string
			}
		],
		"places": string,
		"regions": [
			string
		],
		"scorecardRules": {
			"baseScore": number,
			"parameters": [
				{
					"condition": string,
					"duration": string,
					"points": number
				}
			]
		},
		"targets": string
	},
	"processedUtc": string,
	"stroke": string,
	"type": string,
	"updated": {
	},
	"v": [
		number
	]
}

ReportTemplateDeletedobject

The message format for when a deleted ReportTemplate is retrieved
JSON description
PropertyTypeValueDescription
companyuint64The company to which this report belongs
deletedbooleantrue
iduint64Unique identifier
namestring
maximum-length: 100
Name of this report.
notesstringNotes about this report.
sincedatetimeA timestamp from the moment the object was deleted.
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"company": number,
	"deleted": boolean,
	"id": number,
	"name": string,
	"notes": string,
	"since": string,
	"v": [
		number
	]
}

ReportTotalobject

Totalled information from all the results of the report.
JSON description
PropertyTypeDescription
assetuint64The asset to which this report total belongs.
distancedoubleThe total distance travelled in kilometres of all summary instances.
durationtimespanThe total duration of all summary instances.
stateDetailstring
maximum-length: 100
Unique code given to the report total.
summaryCountuint32The number of summary instances included in this total.
valuedoubleThe total value of all summary instances.
valueTypestringThe type of totalled value.
JSON structure
{
	"asset": number,
	"distance": number,
	"duration": string,
	"stateDetail": string,
	"summaryCount": number,
	"value": number,
	"valueType": string
}

ReportTypestring

The type of logic used by the report runner.
ValueDescription
attributesSummarizes the timeline based on the given attributes and thresholds.
fullProcesses all history for the assets.
jobsSummarizes the timeline based on the asset's jobs's lifetimes.
messagesProcesses the log of messages sent to and from the assets.
placesSummarizes the timeline based on places visited.
positionsSummarizes the timeline by day, week, and month based on the asset's positions.
regionsSummarizes the timeline based on the regions (cities, provinces/states, countries) through which the assets travelled.
tagsSummarizes the timeline based on the given tags.
tasks
Deprecated
Summarizes the timeline based on the asset's task's lifetimes.
Use .jobs instead.

RespReportResultBatchDeleteBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reportResultsArray.<RespDeleted>Array or responses successfully processed by the sub-command.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reportResults": [
		{
			"company": number,
			"deleted": boolean,
			"id": number,
			"v": [
				number
			]
		}
	],
	"reqId": number
}

RespReportResultBatchMergeBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reportResultsArray.<RespIdCompanyTemplate>Array or responses successfully processed by the sub-command.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reportResults": [
		{
			"company": number,
			"id": number,
			"template": number
		}
	],
	"reqId": number
}

RespReportResultDeleteBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reportResultRespDeletedAn object which contains the ReportResult's id, owning Company id, and deleted status.
reportResult.companyuint64Identifier of the Company to which this object belongs.
reportResult.deletedbooleanFlag showing if the object is deleted.
reportResult.iduint64?Identifier given as input for the command.
reportResult.vArray.<uint32>
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reportResult": {
		"company": number,
		"deleted": boolean,
		"id": number,
		"v": [
			number
		]
	},
	"reqId": number
}

RespReportResultGetBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reportResultReportResultThe requested ReportResult.
reportResult.archivebooleanPreserve these results for later review. Results are regularly culled from the system.
reportResult.boundsLatLngBoundsAfter processing, the boundary of the results are given so that a map can be focused on that area.
reportResult.bounds.eastdoubleEastern longitude
reportResult.bounds.northdoubleNorthern latitude
reportResult.bounds.southdoubleSouthern latitude
reportResult.bounds.westdoubleWestern longitude
reportResult.companyuint64The company to which this report belongs
reportResult.completeddatetimeThe date/time this result was finished processing.
reportResult.createddatetimeThe date/time this result was requested.
reportResult.errorstring
maximum-length: 250
A field which contains report error details if the ReportResult.status is ReportStatus.failed.
reportResult.filteredArray.<uint64>When the report runs, a list of filtered places is calculated based on the ReportOption's place filtering expression.
reportResult.iduint64Unique identifier
reportResult.namestring
maximum-length: 100
Name of this report.
reportResult.notesstringNotes about this report.
reportResult.optionsReportOptionsSpecified parameters for the report logic, targeted Assets, and filtering Places.
reportResult.options.filteringReportFilterModeThe mechanism to use for filtering based on places and regions.
reportResult.options.parametersArray.<ReportParameter>A list of parameters to better shape the results.
reportResult.options.placesexpressionA targeting expression for limiting results which only include data from Assets interacting with the targeted Places.
reportResult.options.regionsArray.<string>A list of provinces and states, where only assets within those regions will be included in the results.
reportResult.options.scorecardRulesReportScorecardRulesRules used to generate scorecard for this report.
reportResult.options.scorecardRules.baseScoredoubleBase score for the scorecard.
reportResult.options.scorecardRules.parametersArray.<ReportScorecardParameter>Infraction parameters used to generate the final score
reportResult.options.targetsexpressionA targeting expression for including/excluding Assets.
reportResult.processedUtcdatetimeWhen the was change procesed.
reportResult.progressbyteThe progress in processing/saving this result is a number between 0 and 100.
reportResult.runByemail
maximum-length: 254
The login of the user that ran this report.
reportResult.scheduleuint64?A reference to the schedule used to create this result. This field is optional as not all results are created on a schedule.
reportResult.scorecardsArray.<ReportScorecard>Scorecards for all the targeted assets based on the scorecard rules.
reportResult.statusReportStatusThe processing status of this report.
reportResult.targetedArray.<uint64>When the report runs, a list of targeted assets is calculated based on the ReportOption's targeting expression.
reportResult.templateuint64?A reference to the Template used to create this result. This field is optional because templates are not necessarily required; they just make life a lot easier.
reportResult.timezonecodifiedThe timezone code used to adjust dates/times used in processing and saving this report.
reportResult.totalsArray.<ReportTotal>After processing, the report totals the values from all summary instances for a quick overview of the kind of results generated.
reportResult.typeReportTypeRefers to the type of logic used by this report.
reportResult.updatedby: login, from: monster
reportResult.vArray.<uint32>Object version keys used to validate synchronization for all object properties.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reportResult": {
		"archive": boolean,
		"bounds": {
			"east": number,
			"north": number,
			"south": number,
			"west": number
		},
		"company": number,
		"completed": string,
		"created": string,
		"error": string,
		"filtered": [
			number
		],
		"id": number,
		"name": string,
		"notes": string,
		"options": {
			"filtering": string,
			"parameters": [
				{
					"type": string,
					"value": string
				}
			],
			"places": string,
			"regions": [
				string
			],
			"scorecardRules": {
				"baseScore": number,
				"parameters": [
					{
						"condition": string,
						"duration": string,
						"points": number
					}
				]
			},
			"targets": string
		},
		"processedUtc": string,
		"progress": number,
		"runBy": string,
		"schedule": number,
		"scorecards": [
			{
				"asset": number,
				"rulePoints": {
					string: number
				},
				"score": number
			}
		],
		"status": string,
		"targeted": [
			number
		],
		"template": number,
		"timezone": string,
		"totals": [
			{
				"asset": number,
				"distance": number,
				"duration": string,
				"stateDetail": string,
				"summaryCount": number,
				"value": number,
				"valueType": string
			}
		],
		"type": string,
		"updated": {
		},
		"v": [
			number
		]
	},
	"reqId": number
}

RespReportResultListByCompanyBaseResponseobject

Response description
PropertyTypeDescription
companyRespIdAn object to contain the "id" of the Company to which the array of ReportResults belong.
company.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reportResultsArray.<ReportResult>The list of requested ReportResults.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"company": {
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reportResults": [
		{
			"archive": boolean,
			"bounds": {
				"east": number,
				"north": number,
				"south": number,
				"west": number
			},
			"company": number,
			"completed": string,
			"created": string,
			"error": string,
			"filtered": [
				number
			],
			"id": number,
			"name": string,
			"notes": string,
			"options": {
				"filtering": string,
				"parameters": [
					{
						"type": string,
						"value": string
					}
				],
				"places": string,
				"regions": [
					string
				],
				"scorecardRules": {
					"baseScore": number,
					"parameters": [
						{
							"condition": string,
							"duration": string,
							"points": number
						}
					]
				},
				"targets": string
			},
			"processedUtc": string,
			"progress": number,
			"runBy": string,
			"schedule": number,
			"scorecards": [
				{
					"asset": number,
					"rulePoints": {
						string: number
					},
					"score": number
				}
			],
			"status": string,
			"targeted": [
				number
			],
			"template": number,
			"timezone": string,
			"totals": [
				{
					"asset": number,
					"distance": number,
					"duration": string,
					"stateDetail": string,
					"summaryCount": number,
					"value": number,
					"valueType": string
				}
			],
			"type": string,
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"reqId": number
}

RespReportResultListByScheduleBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reportResultsArray.<ReportResult>The list of requested ReportResults.
reportScheduleRespIdCompanyAn object to contain the "id" of the ReportSchedule to which the array of ReportResults belong.
reportSchedule.companyuint64Identifier of the Company to which this object belongs.
reportSchedule.iduint64?Identifier given as input for the command.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reportResults": [
		{
			"archive": boolean,
			"bounds": {
				"east": number,
				"north": number,
				"south": number,
				"west": number
			},
			"company": number,
			"completed": string,
			"created": string,
			"error": string,
			"filtered": [
				number
			],
			"id": number,
			"name": string,
			"notes": string,
			"options": {
				"filtering": string,
				"parameters": [
					{
						"type": string,
						"value": string
					}
				],
				"places": string,
				"regions": [
					string
				],
				"scorecardRules": {
					"baseScore": number,
					"parameters": [
						{
							"condition": string,
							"duration": string,
							"points": number
						}
					]
				},
				"targets": string
			},
			"processedUtc": string,
			"progress": number,
			"runBy": string,
			"schedule": number,
			"scorecards": [
				{
					"asset": number,
					"rulePoints": {
						string: number
					},
					"score": number
				}
			],
			"status": string,
			"targeted": [
				number
			],
			"template": number,
			"timezone": string,
			"totals": [
				{
					"asset": number,
					"distance": number,
					"duration": string,
					"stateDetail": string,
					"summaryCount": number,
					"value": number,
					"valueType": string
				}
			],
			"type": string,
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"reportSchedule": {
		"company": number,
		"id": number
	},
	"reqId": number
}

RespReportResultListByTemplateBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reportResultsArray.<ReportResult>The list of requested ReportResults.
reportTemplateRespIdCompanyAn object to contain the "id" of the ReportTemplate to which the array of ReportResults belong.
reportTemplate.companyuint64Identifier of the Company to which this object belongs.
reportTemplate.iduint64?Identifier given as input for the command.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reportResults": [
		{
			"archive": boolean,
			"bounds": {
				"east": number,
				"north": number,
				"south": number,
				"west": number
			},
			"company": number,
			"completed": string,
			"created": string,
			"error": string,
			"filtered": [
				number
			],
			"id": number,
			"name": string,
			"notes": string,
			"options": {
				"filtering": string,
				"parameters": [
					{
						"type": string,
						"value": string
					}
				],
				"places": string,
				"regions": [
					string
				],
				"scorecardRules": {
					"baseScore": number,
					"parameters": [
						{
							"condition": string,
							"duration": string,
							"points": number
						}
					]
				},
				"targets": string
			},
			"processedUtc": string,
			"progress": number,
			"runBy": string,
			"schedule": number,
			"scorecards": [
				{
					"asset": number,
					"rulePoints": {
						string: number
					},
					"score": number
				}
			],
			"status": string,
			"targeted": [
				number
			],
			"template": number,
			"timezone": string,
			"totals": [
				{
					"asset": number,
					"distance": number,
					"duration": string,
					"stateDetail": string,
					"summaryCount": number,
					"value": number,
					"valueType": string
				}
			],
			"type": string,
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"reportTemplate": {
		"company": number,
		"id": number
	},
	"reqId": number
}

RespReportResultMergeBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reportResultRespIdCompanyTemplateAn object which contains the "id", "company", and "template" keys.
reportResult.companyuint64Identifier of the Company to which this object belongs.
reportResult.iduint64?Identifier given as input for the command.
reportResult.templateuint64?Identifier of the ReportTemplate the report object implements.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reportResult": {
		"company": number,
		"id": number,
		"template": number
	},
	"reqId": number
}

RespReportResultRestoreBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reportResultRespDeletedAn object which contains the ReportResult's id, owning Company id, and deleted status.
reportResult.companyuint64Identifier of the Company to which this object belongs.
reportResult.deletedbooleanFlag showing if the object is deleted.
reportResult.iduint64?Identifier given as input for the command.
reportResult.vArray.<uint32>
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reportResult": {
		"company": number,
		"deleted": boolean,
		"id": number,
		"v": [
			number
		]
	},
	"reqId": number
}

RespReportScheduleBatchDeleteBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reportSchedulesArray.<RespDeleted>Array or responses successfully processed by the sub-command.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reportSchedules": [
		{
			"company": number,
			"deleted": boolean,
			"id": number,
			"v": [
				number
			]
		}
	],
	"reqId": number
}

RespReportScheduleBatchMergeBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reportSchedulesArray.<RespIdCompanyTemplate>Array or responses successfully processed by the sub-command.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reportSchedules": [
		{
			"company": number,
			"id": number,
			"template": number
		}
	],
	"reqId": number
}

RespReportScheduleDeleteBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reportScheduleRespDeletedAn object which contains the ReportSchedule's id, owning Company id, and deleted status.
reportSchedule.companyuint64Identifier of the Company to which this object belongs.
reportSchedule.deletedbooleanFlag showing if the object is deleted.
reportSchedule.iduint64?Identifier given as input for the command.
reportSchedule.vArray.<uint32>
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reportSchedule": {
		"company": number,
		"deleted": boolean,
		"id": number,
		"v": [
			number
		]
	},
	"reqId": number
}

RespReportScheduleGetBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reportScheduleReportScheduleThe requested ReportSchedule.
reportSchedule.companyuint64The company to which this report belongs
reportSchedule.enabledbooleanIndicates whether this schedule is allowed to run.
reportSchedule.iduint64Unique identifier
reportSchedule.namestring
maximum-length: 100
Name of this report.
reportSchedule.notesstringNotes about this report.
reportSchedule.notifyReportNotificationsA list of users and a targeting expression for assets which receive report results notifications.
reportSchedule.notify.assetsexpressionA targeting expression to identify which assets receive the report results. The results emailed to each asset will only be for themselves, not all assets. To receive the emailed results, the Asset must have a Asset.messagingAddress, or for a Person type asset, their Contact.emails["Email"].
reportSchedule.notify.usersArray.<email>
for values see: UserGeneral.login
maximum-length of values: 50
List of users to send emailed report. Each email will only contain the results for the assets each user is allowed to view.
reportSchedule.optionsReportOptionsSpecified parameters for the report logic, targeted Assets, and filtering Places.
reportSchedule.options.filteringReportFilterModeThe mechanism to use for filtering based on places and regions.
reportSchedule.options.parametersArray.<ReportParameter>A list of parameters to better shape the results.
reportSchedule.options.placesexpressionA targeting expression for limiting results which only include data from Assets interacting with the targeted Places.
reportSchedule.options.regionsArray.<string>A list of provinces and states, where only assets within those regions will be included in the results.
reportSchedule.options.scorecardRulesReportScorecardRulesRules used to generate scorecard for this report.
reportSchedule.options.scorecardRules.baseScoredoubleBase score for the scorecard.
reportSchedule.options.scorecardRules.parametersArray.<ReportScorecardParameter>Infraction parameters used to generate the final score
reportSchedule.options.targetsexpressionA targeting expression for including/excluding Assets.
reportSchedule.owneremail
maximum-length: 254
Login of the user who has ownership of this report schedule.
reportSchedule.processedUtcdatetimeWhen the was change procesed.
reportSchedule.repetitionReportRecurrenceThe recurring schedule to generate report results.
reportSchedule.repetition.enddatetimeThe optional time when the schedule stops recurring in local-time (not UTC).
reportSchedule.repetition.iterationsuint16The number of times this schedule has been invoked to generate results.
reportSchedule.repetition.kindReportRecurrenceTypeHow often the report is automatically run. Daily, weekly, monthly, etc...
reportSchedule.repetition.lastEndDatedatetimeThe date/time stamp from the last result used to inform the nextStartDate and nextEndDate properties. This value is null when the schedule has not yet run once.
reportSchedule.repetition.lastResultuint64?The unique identifier of the last ReportResult generated by this schedule.
reportSchedule.repetition.lastStartDatedatetimeThe date/time stamp from the last result used to inform the nextStartDate and nextEndDate properties. This value is null when the schedule has not yet run once.
reportSchedule.repetition.nextEndDatedatetimeThis date/time is used as the endDate ReportParameter for the next iteration of this recurring report. This value is null when the schedule is calculated to stop recurring.
reportSchedule.repetition.nextStartDatedatetimeThis date/time is used as the startDate ReportParameter for the next iteration of this recurring report. This value is null when the schedule is calculated to stop recurring.
reportSchedule.repetition.startdatetimeWhen the schedule is to begin recurring in local-time (not UTC).
reportSchedule.repetition.timezone
Deprecated
codifiedThe local timezone used to calculate recurring date/time ranges.
Use owner.timezone instead.
reportSchedule.repetition.weekdaybyteUsed only for weekly schedules, it's a number between 0 and 6 representing the day of the week, with Sunday being the first day of the week.
reportSchedule.repetition.weekdaysArray.<boolean>
fixed count: 7
Used only for daily schedules, this 7 item, boolean array, determines if the schedule should recur on that day of the week.
reportSchedule.templateuint64A reference to the Template used to create this result.
reportSchedule.updatedby: login, from: monster
reportSchedule.vArray.<uint32>Object version keys used to validate synchronization for all object properties.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reportSchedule": {
		"company": number,
		"enabled": boolean,
		"id": number,
		"name": string,
		"notes": string,
		"notify": {
			"assets": string,
			"users": [
				string
			]
		},
		"options": {
			"filtering": string,
			"parameters": [
				{
					"type": string,
					"value": string
				}
			],
			"places": string,
			"regions": [
				string
			],
			"scorecardRules": {
				"baseScore": number,
				"parameters": [
					{
						"condition": string,
						"duration": string,
						"points": number
					}
				]
			},
			"targets": string
		},
		"owner": string,
		"processedUtc": string,
		"repetition": {
			"end": string,
			"iterations": number,
			"kind": string,
			"lastEndDate": string,
			"lastResult": number,
			"lastStartDate": string,
			"nextEndDate": string,
			"nextStartDate": string,
			"start": string,
			"timezone": string,
			"weekday": number,
			"weekdays": [
				boolean
			]
		},
		"template": number,
		"updated": {
		},
		"v": [
			number
		]
	},
	"reqId": number
}

RespReportScheduleListByCompanyBaseResponseobject

Response description
PropertyTypeDescription
companyRespIdAn object which contains only one key "id" when there is no error. The "id" key is the unique identifier of the company to which the array of objects relate.
company.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reportSchedulesArray.<ReportSchedule>The list of schedules.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"company": {
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reportSchedules": [
		{
			"company": number,
			"enabled": boolean,
			"id": number,
			"name": string,
			"notes": string,
			"notify": {
				"assets": string,
				"users": [
					string
				]
			},
			"options": {
				"filtering": string,
				"parameters": [
					{
						"type": string,
						"value": string
					}
				],
				"places": string,
				"regions": [
					string
				],
				"scorecardRules": {
					"baseScore": number,
					"parameters": [
						{
							"condition": string,
							"duration": string,
							"points": number
						}
					]
				},
				"targets": string
			},
			"owner": string,
			"processedUtc": string,
			"repetition": {
				"end": string,
				"iterations": number,
				"kind": string,
				"lastEndDate": string,
				"lastResult": number,
				"lastStartDate": string,
				"nextEndDate": string,
				"nextStartDate": string,
				"start": string,
				"timezone": string,
				"weekday": number,
				"weekdays": [
					boolean
				]
			},
			"template": number,
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"reqId": number
}

RespReportScheduleListByTemplateBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reportSchedulesArray.<ReportSchedule>The list of schedules.
reportTemplateRespIdCompanyAn object which contains only one key "id" when there is no error. The "id" key is the unique identifier of the company to which the array of objects relate.
reportTemplate.companyuint64Identifier of the Company to which this object belongs.
reportTemplate.iduint64?Identifier given as input for the command.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reportSchedules": [
		{
			"company": number,
			"enabled": boolean,
			"id": number,
			"name": string,
			"notes": string,
			"notify": {
				"assets": string,
				"users": [
					string
				]
			},
			"options": {
				"filtering": string,
				"parameters": [
					{
						"type": string,
						"value": string
					}
				],
				"places": string,
				"regions": [
					string
				],
				"scorecardRules": {
					"baseScore": number,
					"parameters": [
						{
							"condition": string,
							"duration": string,
							"points": number
						}
					]
				},
				"targets": string
			},
			"owner": string,
			"processedUtc": string,
			"repetition": {
				"end": string,
				"iterations": number,
				"kind": string,
				"lastEndDate": string,
				"lastResult": number,
				"lastStartDate": string,
				"nextEndDate": string,
				"nextStartDate": string,
				"start": string,
				"timezone": string,
				"weekday": number,
				"weekdays": [
					boolean
				]
			},
			"template": number,
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"reportTemplate": {
		"company": number,
		"id": number
	},
	"reqId": number
}

RespReportScheduleMergeBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reportScheduleRespIdCompanyTemplateAn object which contains the "id", "company", and "template" keys.
reportSchedule.companyuint64Identifier of the Company to which this object belongs.
reportSchedule.iduint64?Identifier given as input for the command.
reportSchedule.templateuint64?Identifier of the ReportTemplate the report object implements.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reportSchedule": {
		"company": number,
		"id": number,
		"template": number
	},
	"reqId": number
}

RespReportScheduleRestoreBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reportScheduleRespDeletedAn object which contains the ReportSchedule's id, owning Company id, and deleted status.
reportSchedule.companyuint64Identifier of the Company to which this object belongs.
reportSchedule.deletedbooleanFlag showing if the object is deleted.
reportSchedule.iduint64?Identifier given as input for the command.
reportSchedule.vArray.<uint32>
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reportSchedule": {
		"company": number,
		"deleted": boolean,
		"id": number,
		"v": [
			number
		]
	},
	"reqId": number
}

RespReportTemplateBatchDeleteBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reportTemplatesArray.<RespDeleted>Array or responses successfully processed by the sub-command.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reportTemplates": [
		{
			"company": number,
			"deleted": boolean,
			"id": number,
			"v": [
				number
			]
		}
	],
	"reqId": number
}

RespReportTemplateBatchMergeBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reportTemplatesArray.<RespIdCompany>Array or responses successfully processed by the sub-command.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reportTemplates": [
		{
			"company": number,
			"id": number
		}
	],
	"reqId": number
}

RespReportTemplateDeleteBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reportTemplateRespDeletedAn object which contains the ReportTemplate's id, owning Company id, and deleted status.
reportTemplate.companyuint64Identifier of the Company to which this object belongs.
reportTemplate.deletedbooleanFlag showing if the object is deleted.
reportTemplate.iduint64?Identifier given as input for the command.
reportTemplate.vArray.<uint32>
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reportTemplate": {
		"company": number,
		"deleted": boolean,
		"id": number,
		"v": [
			number
		]
	},
	"reqId": number
}

RespReportTemplateGetBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reportTemplateReportTemplateThe requested ReportTemplate.
reportTemplate.companyuint64The company to which this report belongs
reportTemplate.fillcolour
maximum-length: 22
The fill/background colour of the icon.
reportTemplate.graphiccodified
maximum-length: 22
The name of the symbol for this report.
reportTemplate.iduint64Unique identifier
reportTemplate.namestring
maximum-length: 100
Name of this report.
reportTemplate.notesstringNotes about this report.
reportTemplate.optionsReportOptionsSpecified parameters for the report logic, targeted Assets, and filtering Places.
reportTemplate.options.filteringReportFilterModeThe mechanism to use for filtering based on places and regions.
reportTemplate.options.parametersArray.<ReportParameter>A list of parameters to better shape the results.
reportTemplate.options.placesexpressionA targeting expression for limiting results which only include data from Assets interacting with the targeted Places.
reportTemplate.options.regionsArray.<string>A list of provinces and states, where only assets within those regions will be included in the results.
reportTemplate.options.scorecardRulesReportScorecardRulesRules used to generate scorecard for this report.
reportTemplate.options.scorecardRules.baseScoredoubleBase score for the scorecard.
reportTemplate.options.scorecardRules.parametersArray.<ReportScorecardParameter>Infraction parameters used to generate the final score
reportTemplate.options.targetsexpressionA targeting expression for including/excluding Assets.
reportTemplate.processedUtcdatetimeWhen the was change procesed.
reportTemplate.strokecolour
maximum-length: 22
Outline and graphic colour.
reportTemplate.typeReportTypeRefers to the type of logic used by this report.
reportTemplate.updatedby: login, from: monster
reportTemplate.vArray.<uint32>Object version keys used to validate synchronization for all object properties.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reportTemplate": {
		"company": number,
		"fill": string,
		"graphic": string,
		"id": number,
		"name": string,
		"notes": string,
		"options": {
			"filtering": string,
			"parameters": [
				{
					"type": string,
					"value": string
				}
			],
			"places": string,
			"regions": [
				string
			],
			"scorecardRules": {
				"baseScore": number,
				"parameters": [
					{
						"condition": string,
						"duration": string,
						"points": number
					}
				]
			},
			"targets": string
		},
		"processedUtc": string,
		"stroke": string,
		"type": string,
		"updated": {
		},
		"v": [
			number
		]
	},
	"reqId": number
}

RespReportTemplateListByCompanyBaseResponseobject

Response description
PropertyTypeDescription
companyRespIdAn object to contain the "id" of the Company to which the array of ReportTemplates belong.
company.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reportTemplatesArray.<ReportTemplate>The list of requested ReportTemplates.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"company": {
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reportTemplates": [
		{
			"company": number,
			"fill": string,
			"graphic": string,
			"id": number,
			"name": string,
			"notes": string,
			"options": {
				"filtering": string,
				"parameters": [
					{
						"type": string,
						"value": string
					}
				],
				"places": string,
				"regions": [
					string
				],
				"scorecardRules": {
					"baseScore": number,
					"parameters": [
						{
							"condition": string,
							"duration": string,
							"points": number
						}
					]
				},
				"targets": string
			},
			"processedUtc": string,
			"stroke": string,
			"type": string,
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"reqId": number
}

RespReportTemplateMergeBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reportTemplateRespIdCompanyAn object which contains the "id" and "company" keys when there is no error.
reportTemplate.companyuint64Identifier of the Company to which this object belongs.
reportTemplate.iduint64?Identifier given as input for the command.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reportTemplate": {
		"company": number,
		"id": number
	},
	"reqId": number
}

RespReportTemplateRestoreBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reportTemplateRespDeletedAn object which contains the ReportTemplate's id, owning Company id, and deleted status.
reportTemplate.companyuint64Identifier of the Company to which this object belongs.
reportTemplate.deletedbooleanFlag showing if the object is deleted.
reportTemplate.iduint64?Identifier given as input for the command.
reportTemplate.vArray.<uint32>
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reportTemplate": {
		"company": number,
		"deleted": boolean,
		"id": number,
		"v": [
			number
		]
	},
	"reqId": number
}

Self

ParamSelfDetailsBaseParametersobject

Request description
PropertyTypeRequiredDescription
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"reqId": number
}

ParamSelfIsLoggedInBaseParametersobject

Request description
PropertyTypeRequiredDescription
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"reqId": number
}

ParamSelfLoginBaseParametersobject

Request description
PropertyTypeRequiredDescription
passwordstringalwaysUser's password.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
userAgentstringoptionalApplication name. This should match the allowed applications from user's company's SessionPolicy.applications.
usernamestringalwaysUser's email address.
Request structure
{
	"password": string,
	"reqId": number,
	"userAgent": string,
	"username": string
}

ParamSelfLogoutBaseParametersobject

Request description
PropertyTypeRequiredDescription
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"reqId": number
}

ParamSelfRecoverCompleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
guidguidalwaysUnique code to identify the password reset request.
lengthuint32?optionalOptionally specified minimum length for the temporary password.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"guid": string,
	"length": number,
	"reqId": number
}

ParamSelfRecoverStartBaseParametersobject

Request description
PropertyTypeRequiredDescription
keystringoptionalOptional key in the User's Contact.emails address list to use for recovery.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
usernamestringalwaysUser's email address.
Request structure
{
	"key": string,
	"reqId": number,
	"username": string
}

ParamSelfUpdateContactBaseParametersobject

Request description
PropertyTypeRequiredDescription
addressesObject.<string, string>optionalMailing addresses Use the object key like a name of the address. Example keys: Home, Work, Park, etc.
datesObject.<string, datetime>optionalDate information Use the object key like a name of the date. Example keys: Birthday, Started Date, Retired On, etc.
emailsObject.<string, email>
maximum-length of values: 254
optionalEmail addresses Use the object key like a name of the address. Example keys: Home, Work, Support, Old, etc.
namestringoptionalName for yourself.
notesstringoptionalNotes for yourself.
optionsObject.<string, string>optionalUncategorized information Use the object keys and values however you'd like.
otherNamesObject.<string, string>
maximum-length of values: 254
optionalA collection of other names this person might go by. Use the object key like a name identifier. Example keys: Initials, Nickname, Maiden Name, etc.
phonesObject.<string, phone?>optionalPhone numbers. Use the object key like a name of the phone number. Example keys: Mobile, Fax, Home, Office, etc.
picturesArray.<uint64>
for values see: Picture.id
optionalPictures of yourself.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
rolesArray.<codified>optionalA list of roles they play in the Company.
urlsObject.<string, url>
maximum-length of values: 254
optionalWebsites and other online resources Use the object key like a name of the address. Example keys: Downloads, Support, FTP, etc.
Request structure
{
	"addresses": {
		string: string
	},
	"dates": {
		string: string
	},
	"emails": {
		string: string
	},
	"name": string,
	"notes": string,
	"options": {
		string: string
	},
	"otherNames": {
		string: string
	},
	"phones": {
		string: number
	},
	"pictures": [
		number
	],
	"reqId": number,
	"roles": [
		string
	],
	"urls": {
		string: string
	}
}

ParamSelfUpdatePasswordBaseParametersobject

Request description
PropertyTypeRequiredDescription
currentstringalwaysYour current password, as verification that you are the proper account owner.
passwordstringalwaysYour new password must conform to your company's password policy.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"current": string,
	"password": string,
	"reqId": number
}

ParamSelfUpdatePreferencesBaseParametersobject

Request description
PropertyTypeRequiredDescription
formatsObject.<string, string>optionalFormatting help for dates, times, numbers.
languagestringoptionalPreferred region/language for the UI and notifications. Valid formats use <ISO 639-1><dash><ISO 3166-2> such as "fr-CA" or "en-US".
measurementsObject.<string, SystemsOfUnits?>optionalPreferred way of displaying ambiguous numbers in the context of measurements.
notifyArray.<UserNotifications>optionalList of UserNotifications preferences. Please note that active times cannot overlap.
optionsObject.<string, string>optionalAdditional options which do not fit in with the formats or measurements preferences. If a value of null is given, the option is removed. To keep the option, you can use a blank string. For convenience, if the value of an option is given as JSON (instead of a string), they are automatically serialized with no white-space.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
timezonecodifiedoptionalYour local Timezone used to calculate times.
Request structure
{
	"formats": {
		string: string
	},
	"language": string,
	"measurements": {
		string: string
	},
	"notify": [
		{
			"email": string,
			"enabled": boolean,
			"end": string,
			"name": string,
			"offline": [
				string
			],
			"online": [
				string
			],
			"sms": number,
			"start": string,
			"weekdays": [
				boolean
			]
		}
	],
	"options": {
		string: string
	},
	"reqId": number,
	"timezone": string
}

RespSelfDetailsBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
expirydatetimeThe timestamp of when this session expires.
ghostIdstringYour session identifier.
machineSelfMachineThis Machine's details (if the service is being used by a Machine). If this value is not present, then the session is not a machine account.
machine.companyuint64The company to which this user belongs.
machine.enabledbooleanIndicates whether system access is disable.
machine.formatsObject.<codified, datetimetemplate>
maximum-length of values: 20
The format strings defining the preferred way to display ambiguous values.
machine.groupsArray.<UserGroup>The list of UserGroup to which this User belongs.
machine.insecurebooleanWhen true, no access restrictions (SelfMachine.secret, SelfMachine.referrers, or SelfMachine.ipRanges) are enforced.
machine.ipRangesArray.<ipv4>
maximum-length of values: 19
Restrict service access to only the provided IP ranges. Currently we only support IPv4 ranges using CIDR slash-notation.
machine.keystring
maximum-length: 50
The unique idenifier used to access the system.
machine.languagecodified
maximum-length: 5
minimum-length: 2
Preferred region/language for the UI and notifications. Valid formats use <ISO 639-1><dash><ISO 3166-2> such as "fr-CA" or "en-US".
machine.measurementsObject.<codified, SystemsOfUnits>Preferred way of displaying ambiguous numbers in the context of measurements.
machine.nicknamestring
maximum-length: 100
Human friendly name for these credentials
machine.notAfterdatetimeAn optional timestamp that restricts this machine account from being used after the given date.
machine.notBeforedatetimeAn optional timestamp that restricts this machine account from being used before the given date.
machine.notesstring
maximum-length: 8000
Notes about this machine.
machine.optionsObject.<codified, string>
maximum-length of values: 20
Additional options which do not fit in with the formats or measurements preferences.
machine.permissionsArray.<Permission>Permission rules which override the group rules.
machine.processedUtcdatetimeWhen the was change procesed.
machine.referrersArray.<url>
maximum-length of values: 254
Optional list of your managed domains from which this machine account can be used.
machine.secretstring
maximum-length: 1000
A token used to encode or validate requests.
machine.servicesArray.<url>
maximum-length of values: 254
List of system service URIs that this machine account is permitted to access.
machine.timezonecodifiedThe service account's local timezone.
machine.updatedby: login, from: monster
machine.vArray.<uint32>
messagestringAn English description of the error.
passwordPolicyPasswordPolicyThis User's Company.passwordPolicy.
passwordPolicy.expireModePasswordExpiryModeDefines how passwords expire.
passwordPolicy.expireThresholdbyteThe threshold for expiry.
passwordPolicy.includeLettersbooleanDo passwords require alphabetical characters.
passwordPolicy.includeNumbersbooleanDo passwords require numeric characters.
passwordPolicy.includeSpecialbooleanDo passwords require non-alphanumeric characters.
passwordPolicy.includeUpperLowerbooleanDo passwords require upper-case and lower-case letters.
passwordPolicy.minimumLengthbyteThe minimum number of characters required.
reqIdint32?Identifier used by external system to correlate requests to responses.
serverTimedatetimeThe UTC date/time of the server hosting the connection.
sessionPolicySessionPolicyThis User's Company.sessionPolicy.
sessionPolicy.applicationsArray.<string>The list of applications users are allowed to use to create sessions.
sessionPolicy.expireTimeoutuint16The lifetime duration of a session in minutes.
sessionPolicy.idleAllowedbooleanDefines whether a session should be automatically killed when the connection breaks.
sessionPolicy.ipv4RangesArray.<ipv4>
maximum-length of values: 19
Restrict session creation to only the provided IPv4 ranges (using CIDR slash-notation). Leave blank for Internet access.
sessionPolicy.maxSessionsbyteThe maximum number of sessions allowed per user.
sessionPolicy.multiUserSessionMultiUserDefines the behaviour of the system when a user creates multiple sessions.
userSelfUserThis session's User details (if the service is being used by a User). If this value is not present, then the session is not yet authenticated.
user.companyuint64The company to which this user belongs.
user.contactContactAssociated contact information for this user.
user.contact.addressesObject.<string, string>Mailing addresses. Use the object key like a name of the address. Example keys: Home, Work, Park, etc.
user.contact.companyuint64The company to which this contact belongs
user.contact.datesObject.<string, datetime>Date information. Use the object key like a name of the date. Example keys: Birthday, Started Date, Retired On, etc.
user.contact.emailsObject.<string, email>
maximum-length of values: 254
Email addresses. Use the object key like a name of the address. Example keys: Home, Work, Support, Old, etc.
user.contact.iduint64Unique identifier of this contact.
user.contact.namestring
maximum-length: 100
The person's name
user.contact.notesstringNotes about this person.
user.contact.optionsObject.<string, string>Uncategorized information. Use the object keys and values however you'd like.
user.contact.otherNamesObject.<string, string>
maximum-length of values: 254
A collection of other names this person might go by. Use the object key like a name identifier. Example keys: Initials, Nickname, Maiden Name, etc.
user.contact.phonesObject.<string, phone>Phone numbers. Use the object key like a name of the phone number. Example keys: Mobile, Fax, Home, Office, etc.
user.contact.picturesArray.<uint64>
for values see: Picture.id
Pictures of this Contact.
user.contact.processedUtcdatetimeWhen the was change procesed.
user.contact.rolesArray.<string>A list of roles they play in the Company.
user.contact.updatedby: login, from: monster
user.contact.urlsObject.<string, url>
maximum-length of values: 254
Websites and other online resources. Use the object key like a name of the address. Example keys: Downloads, Support, FTP, etc.
user.contact.vArray.<uint32>Object version keys used to validate synchronization for all object properties.
user.enabledbooleanIndicates whether system access is disabled.
user.formatsObject.<codified, datetimetemplate>
maximum-length of values: 20
The format strings defining the preferred way to display ambiguous values.
user.groupsArray.<UserGroup>The list of UserGroups to which this User belongs.
user.languagecodified
maximum-length: 5
minimum-length: 2
Preferred region/language for the UI and notifications. Valid formats use <ISO 639-1><dash><ISO 3166-2> such as "fr-CA" or "en-US".
user.loginemail
maximum-length: 254
minimum-length: 6
The unique public email address used to access the system.
user.measurementsObject.<codified, SystemsOfUnits>Preferred way of displaying ambiguous numbers in the context of measurements.
user.nicknamestring
maximum-length: 100
Human friendly name for these credentials
user.notifyArray.<UserNotifications>
maximum-count: 7
Definition of how and when to send alerts to the user.
user.optionsObject.<codified, string>
maximum-length of values: 20
Additional options which do not fit in with the formats or measurements preferences.
user.passwordExpiredbooleanIndicated whether the credentials have expired according to the company's policy.
user.permissionsArray.<Permission>Individual permission rules which override the UserGroup rules.
user.processedUtcdatetimeWhen the was change procesed.
user.timezonecodifiedThe user's local timezone.
user.updatedby: login, from: monster
user.vArray.<uint32>Version keys for all parts of your User.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"expiry": string,
	"ghostId": string,
	"machine": {
		"company": number,
		"enabled": boolean,
		"formats": {
			string: string
		},
		"groups": [
			{
				"company": number,
				"id": number,
				"name": string,
				"notes": string,
				"permissions": [
					{
						"company": number,
						"kind": string,
						"labels": [
							string
						],
						"level": string,
						"method": string,
						"type": string
					}
				],
				"processedUtc": string,
				"updated": {
				},
				"v": [
					number
				]
			}
		],
		"insecure": boolean,
		"ipRanges": [
			string
		],
		"key": string,
		"language": string,
		"measurements": {
			string: string
		},
		"nickname": string,
		"notAfter": string,
		"notBefore": string,
		"notes": string,
		"options": {
			string: string
		},
		"permissions": [
			{
				"company": number,
				"kind": string,
				"labels": [
					string
				],
				"level": string,
				"method": string,
				"type": string
			}
		],
		"processedUtc": string,
		"referrers": [
			string
		],
		"secret": string,
		"services": [
			string
		],
		"timezone": string,
		"updated": {
		},
		"v": [
			number
		]
	},
	"message": string,
	"passwordPolicy": {
		"expireMode": string,
		"expireThreshold": number,
		"includeLetters": boolean,
		"includeNumbers": boolean,
		"includeSpecial": boolean,
		"includeUpperLower": boolean,
		"minimumLength": number
	},
	"reqId": number,
	"serverTime": string,
	"sessionPolicy": {
		"applications": [
			string
		],
		"expireTimeout": number,
		"idleAllowed": boolean,
		"ipv4Ranges": [
			string
		],
		"maxSessions": number,
		"multiUser": string
	},
	"user": {
		"company": number,
		"contact": {
			"addresses": {
				string: string
			},
			"company": number,
			"dates": {
				string: string
			},
			"emails": {
				string: string
			},
			"id": number,
			"name": string,
			"notes": string,
			"options": {
				string: string
			},
			"otherNames": {
				string: string
			},
			"phones": {
				string: number
			},
			"pictures": [
				number
			],
			"processedUtc": string,
			"roles": [
				string
			],
			"updated": {
			},
			"urls": {
				string: string
			},
			"v": [
				number
			]
		},
		"enabled": boolean,
		"formats": {
			string: string
		},
		"groups": [
			{
				"company": number,
				"id": number,
				"name": string,
				"notes": string,
				"permissions": [
					{
						"company": number,
						"kind": string,
						"labels": [
							string
						],
						"level": string,
						"method": string,
						"type": string
					}
				],
				"processedUtc": string,
				"updated": {
				},
				"v": [
					number
				]
			}
		],
		"language": string,
		"login": string,
		"measurements": {
			string: string
		},
		"nickname": string,
		"notify": [
			{
				"email": string,
				"enabled": boolean,
				"end": string,
				"name": string,
				"offline": [
					string
				],
				"online": [
					string
				],
				"sms": number,
				"start": string,
				"weekdays": [
					boolean
				]
			}
		],
		"options": {
			string: string
		},
		"passwordExpired": boolean,
		"permissions": [
			{
				"company": number,
				"kind": string,
				"labels": [
					string
				],
				"level": string,
				"method": string,
				"type": string
			}
		],
		"processedUtc": string,
		"timezone": string,
		"updated": {
		},
		"v": [
			number
		]
	}
}

RespSelfIsLoggedInBaseResponseobject

Response description
PropertyTypeDescription
companyuint64?The User's Company.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
expirydatetimeThe timestamp of when this session expires.
ghostIdstringYour session identifier.
loginstringThe User's login.
messagestringAn English description of the error.
passwordExpiredbooleanWhen true, the User's password must be changed before action commands will be processed.
reqIdint32?Identifier used by external system to correlate requests to responses.
serverTimedatetimeThe UTC date/time of the server hosting the connection.
statusSessionStatusYour current session state.
Response structure
{
	"company": number,
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"expiry": string,
	"ghostId": string,
	"login": string,
	"message": string,
	"passwordExpired": boolean,
	"reqId": number,
	"serverTime": string,
	"status": string
}

RespSelfLoginobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespSelfLogoutBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
expirydatetimeThe timestamp from when you session expired.
ghostIdstringYour old, no longer valid, session identifier.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"expiry": string,
	"ghostId": string,
	"message": string,
	"reqId": number
}

RespSelfRecoverCompleteBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
passwordstringUser's temporary password.
reqIdint32?Identifier used by external system to correlate requests to responses.
usernamestringUser's email address.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"password": string,
	"reqId": number,
	"username": string
}

RespSelfRecoverStartBaseResponseobject

Response description
PropertyTypeDescription
emailstringUser's email address.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
namestringUser's nickname or Contact name.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"email": string,
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"name": string,
	"reqId": number
}

RespSelfUpdateContactobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespSelfUpdatePasswordBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
expiresdatetimeSpecific date/time of when the password will expire.
messagestringAn English description of the error.
passwordPolicyPasswordPolicyYour Company's password policy.
passwordPolicy.expireModePasswordExpiryModeDefines how passwords expire.
passwordPolicy.expireThresholdbyteThe threshold for expiry.
passwordPolicy.includeLettersbooleanDo passwords require alphabetical characters.
passwordPolicy.includeNumbersbooleanDo passwords require numeric characters.
passwordPolicy.includeSpecialbooleanDo passwords require non-alphanumeric characters.
passwordPolicy.includeUpperLowerbooleanDo passwords require upper-case and lower-case letters.
passwordPolicy.minimumLengthbyteThe minimum number of characters required.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"expires": string,
	"message": string,
	"passwordPolicy": {
		"expireMode": string,
		"expireThreshold": number,
		"includeLetters": boolean,
		"includeNumbers": boolean,
		"includeSpecial": boolean,
		"includeUpperLower": boolean,
		"minimumLength": number
	},
	"reqId": number
}

RespSelfUpdatePreferencesobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

SelfMachineMachineobject

Similar to the Machine object, but instead of the SelfMachine.groups properties being identifiers of other objects, the UserGroup objects are embedded within.
JSON description
PropertyTypeDescription
companyuint64The company to which this user belongs.
enabledbooleanIndicates whether system access is disable.
formatsObject.<codified, datetimetemplate>
maximum-length of values: 20
The format strings defining the preferred way to display ambiguous values.
groupsArray.<UserGroup>The list of UserGroup to which this User belongs.
insecurebooleanWhen true, no access restrictions (SelfMachine.secret, SelfMachine.referrers, or SelfMachine.ipRanges) are enforced.
ipRangesArray.<ipv4>
maximum-length of values: 19
Restrict service access to only the provided IP ranges. Currently we only support IPv4 ranges using CIDR slash-notation.
keystring
maximum-length: 50
The unique idenifier used to access the system.
languagecodified
maximum-length: 5
minimum-length: 2
Preferred region/language for the UI and notifications. Valid formats use <ISO 639-1><dash><ISO 3166-2> such as "fr-CA" or "en-US".
measurementsObject.<codified, SystemsOfUnits>Preferred way of displaying ambiguous numbers in the context of measurements.
nicknamestring
maximum-length: 100
Human friendly name for these credentials
notAfterdatetimeAn optional timestamp that restricts this machine account from being used after the given date.
notBeforedatetimeAn optional timestamp that restricts this machine account from being used before the given date.
notesstring
maximum-length: 8000
Notes about this machine.
optionsObject.<codified, string>
maximum-length of values: 20
Additional options which do not fit in with the formats or measurements preferences.
permissionsArray.<Permission>Permission rules which override the group rules.
processedUtcdatetimeWhen the was change procesed.
referrersArray.<url>
maximum-length of values: 254
Optional list of your managed domains from which this machine account can be used.
secretstring
maximum-length: 1000
A token used to encode or validate requests.
servicesArray.<url>
maximum-length of values: 254
List of system service URIs that this machine account is permitted to access.
timezonecodifiedThe service account's local timezone.
updatedby: login, from: monster
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"company": number,
	"enabled": boolean,
	"formats": {
		string: string
	},
	"groups": [
		{
			"company": number,
			"id": number,
			"name": string,
			"notes": string,
			"permissions": [
				{
					"company": number,
					"kind": string,
					"labels": [
						string
					],
					"level": string,
					"method": string,
					"type": string
				}
			],
			"processedUtc": string,
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"insecure": boolean,
	"ipRanges": [
		string
	],
	"key": string,
	"language": string,
	"measurements": {
		string: string
	},
	"nickname": string,
	"notAfter": string,
	"notBefore": string,
	"notes": string,
	"options": {
		string: string
	},
	"permissions": [
		{
			"company": number,
			"kind": string,
			"labels": [
				string
			],
			"level": string,
			"method": string,
			"type": string
		}
	],
	"processedUtc": string,
	"referrers": [
		string
	],
	"secret": string,
	"services": [
		string
	],
	"timezone": string,
	"updated": {
	},
	"v": [
		number
	]
}

SelfUserUserobject

Similar to the User object, but instead of the SelfUser.contact and SelfUser.groups properties being identifiers of other objects, the Contact and UserGroup objects are embedded within.
JSON description
PropertyTypeDescription
companyuint64The company to which this user belongs.
contactContactAssociated contact information for this user.
enabledbooleanIndicates whether system access is disabled.
formatsObject.<codified, datetimetemplate>
maximum-length of values: 20
The format strings defining the preferred way to display ambiguous values.
groupsArray.<UserGroup>The list of UserGroups to which this User belongs.
languagecodified
maximum-length: 5
minimum-length: 2
Preferred region/language for the UI and notifications. Valid formats use <ISO 639-1><dash><ISO 3166-2> such as "fr-CA" or "en-US".
loginemail
maximum-length: 254
minimum-length: 6
The unique public email address used to access the system.
measurementsObject.<codified, SystemsOfUnits>Preferred way of displaying ambiguous numbers in the context of measurements.
nicknamestring
maximum-length: 100
Human friendly name for these credentials
notifyArray.<UserNotifications>
maximum-count: 7
Definition of how and when to send alerts to the user.
optionsObject.<codified, string>
maximum-length of values: 20
Additional options which do not fit in with the formats or measurements preferences.
passwordExpiredbooleanIndicated whether the credentials have expired according to the company's policy.
permissionsArray.<Permission>Individual permission rules which override the UserGroup rules.
processedUtcdatetimeWhen the was change procesed.
timezonecodifiedThe user's local timezone.
updatedby: login, from: monster
vArray.<uint32>Version keys for all parts of your User.
JSON structure
{
	"company": number,
	"contact": {
		"addresses": {
			string: string
		},
		"company": number,
		"dates": {
			string: string
		},
		"emails": {
			string: string
		},
		"id": number,
		"name": string,
		"notes": string,
		"options": {
			string: string
		},
		"otherNames": {
			string: string
		},
		"phones": {
			string: number
		},
		"pictures": [
			number
		],
		"processedUtc": string,
		"roles": [
			string
		],
		"updated": {
		},
		"urls": {
			string: string
		},
		"v": [
			number
		]
	},
	"enabled": boolean,
	"formats": {
		string: string
	},
	"groups": [
		{
			"company": number,
			"id": number,
			"name": string,
			"notes": string,
			"permissions": [
				{
					"company": number,
					"kind": string,
					"labels": [
						string
					],
					"level": string,
					"method": string,
					"type": string
				}
			],
			"processedUtc": string,
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"language": string,
	"login": string,
	"measurements": {
		string: string
	},
	"nickname": string,
	"notify": [
		{
			"email": string,
			"enabled": boolean,
			"end": string,
			"name": string,
			"offline": [
				string
			],
			"online": [
				string
			],
			"sms": number,
			"start": string,
			"weekdays": [
				boolean
			]
		}
	],
	"options": {
		string: string
	},
	"passwordExpired": boolean,
	"permissions": [
		{
			"company": number,
			"kind": string,
			"labels": [
				string
			],
			"level": string,
			"method": string,
			"type": string
		}
	],
	"processedUtc": string,
	"timezone": string,
	"updated": {
	},
	"v": [
		number
	]
}

SelfUserAdvancedUserAdvancedobject

Similar to the UserAdvanced object, but instead of the SelfUserAdvanced.groups being a list of identifiers, the UserGroup objects are embedded within.
JSON description
PropertyTypeDescription
companyuint64The company to which this user belongs.
groupsArray.<UserGroup>The list of UserGroup to which this User belongs.
loginemail
maximum-length: 254
minimum-length: 6
The unique public email address used to access the system.
permissionsArray.<Permission>Individual permission rules which override the group rules.
processedUtcdatetimeWhen the was change procesed.
updatedby: login, from: monster
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"company": number,
	"groups": [
		{
			"company": number,
			"id": number,
			"name": string,
			"notes": string,
			"permissions": [
				{
					"company": number,
					"kind": string,
					"labels": [
						string
					],
					"level": string,
					"method": string,
					"type": string
				}
			],
			"processedUtc": string,
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"login": string,
	"permissions": [
		{
			"company": number,
			"kind": string,
			"labels": [
				string
			],
			"level": string,
			"method": string,
			"type": string
		}
	],
	"processedUtc": string,
	"updated": {
	},
	"v": [
		number
	]
}

SelfUserGeneralUserGeneralobject

Similar to the UserGeneral object, but instead of the SelfUser.contact being an identifier, it is a Contact object.
JSON description
PropertyTypeDescription
companyuint64The company to which this user belongs.
contactContactAssociated contact information for this user.
enabledbooleanIndicates whether system access is disabled.
formatsObject.<codified, datetimetemplate>
maximum-length of values: 20
The format strings defining the preferred way to display ambiguous values.
languagecodified
maximum-length: 5
minimum-length: 2
Preferred region/language for the UI and notifications. Valid formats use <ISO 639-1><dash><ISO 3166-2> such as "fr-CA" or "en-US".
loginemail
maximum-length: 254
minimum-length: 6
The unique public email address used to access the system.
measurementsObject.<codified, SystemsOfUnits>Preferred way of displaying ambiguous numbers in the context of measurements.
nicknamestring
maximum-length: 100
Human friendly name for these credentials
notifyArray.<UserNotifications>
maximum-count: 7
Definition of how and when to send alerts to the user.
optionsObject.<codified, string>
maximum-length of values: 20
Additional options which do not fit in with the formats or measurements preferences.
passwordExpiredbooleanIndicated whether the credentials have expired according to the company's policy.
processedUtcdatetimeWhen the was change procesed.
timezonecodifiedThe user's local timezone.
updatedby: login, from: monster
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"company": number,
	"contact": {
		"addresses": {
			string: string
		},
		"company": number,
		"dates": {
			string: string
		},
		"emails": {
			string: string
		},
		"id": number,
		"name": string,
		"notes": string,
		"options": {
			string: string
		},
		"otherNames": {
			string: string
		},
		"phones": {
			string: number
		},
		"pictures": [
			number
		],
		"processedUtc": string,
		"roles": [
			string
		],
		"updated": {
		},
		"urls": {
			string: string
		},
		"v": [
			number
		]
	},
	"enabled": boolean,
	"formats": {
		string: string
	},
	"language": string,
	"login": string,
	"measurements": {
		string: string
	},
	"nickname": string,
	"notify": [
		{
			"email": string,
			"enabled": boolean,
			"end": string,
			"name": string,
			"offline": [
				string
			],
			"online": [
				string
			],
			"sms": number,
			"start": string,
			"weekdays": [
				boolean
			]
		}
	],
	"options": {
		string: string
	},
	"passwordExpired": boolean,
	"processedUtc": string,
	"timezone": string,
	"updated": {
	},
	"v": [
		number
	]
}

Users and Groups

Contactobject

Contact information
JSON description
PropertyTypeDescription
addressesObject.<string, string>Mailing addresses. Use the object key like a name of the address. Example keys: Home, Work, Park, etc.
companyuint64The company to which this contact belongs
datesObject.<string, datetime>Date information. Use the object key like a name of the date. Example keys: Birthday, Started Date, Retired On, etc.
emailsObject.<string, email>
maximum-length of values: 254
Email addresses. Use the object key like a name of the address. Example keys: Home, Work, Support, Old, etc.
iduint64Unique identifier of this contact.
namestring
maximum-length: 100
The person's name
notesstringNotes about this person.
optionsObject.<string, string>Uncategorized information. Use the object keys and values however you'd like.
otherNamesObject.<string, string>
maximum-length of values: 254
A collection of other names this person might go by. Use the object key like a name identifier. Example keys: Initials, Nickname, Maiden Name, etc.
phonesObject.<string, phone>Phone numbers. Use the object key like a name of the phone number. Example keys: Mobile, Fax, Home, Office, etc.
picturesArray.<uint64>
for values see: Picture.id
Pictures of this Contact.
processedUtcdatetimeWhen the was change procesed.
rolesArray.<string>A list of roles they play in the Company.
updatedby: login, from: monster
urlsObject.<string, url>
maximum-length of values: 254
Websites and other online resources. Use the object key like a name of the address. Example keys: Downloads, Support, FTP, etc.
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"addresses": {
		string: string
	},
	"company": number,
	"dates": {
		string: string
	},
	"emails": {
		string: string
	},
	"id": number,
	"name": string,
	"notes": string,
	"options": {
		string: string
	},
	"otherNames": {
		string: string
	},
	"phones": {
		string: number
	},
	"pictures": [
		number
	],
	"processedUtc": string,
	"roles": [
		string
	],
	"updated": {
	},
	"urls": {
		string: string
	},
	"v": [
		number
	]
}

ContactDeletedobject

The message format for when a deleted Contact is retrieved
JSON description
PropertyTypeValueDescription
companyuint64The company to which this contact belongs
deletedbooleantrue
iduint64Unique identifier of this contact.
namestring
maximum-length: 100
The person's name
notesstringNotes about this person.
sincedatetimeA timestamp from the moment the object was deleted.
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"company": number,
	"deleted": boolean,
	"id": number,
	"name": string,
	"notes": string,
	"since": string,
	"v": [
		number
	]
}

Machineobject

A service account that allowes for API access of system services.
JSON description
PropertyTypeDescription
companyuint64The company to which this user belongs.
enabledbooleanIndicates whether system access is disable.
formatsObject.<codified, datetimetemplate>
maximum-length of values: 20
The format strings defining the preferred way to display ambiguous values.
groupsArray.<uint64>A list of groups to which this machine account belongs.
insecurebooleanWhen true, no access restrictions (SelfMachine.secret, SelfMachine.referrers, or SelfMachine.ipRanges) are enforced.
ipRangesArray.<ipv4>
maximum-length of values: 19
Restrict service access to only the provided IP ranges. Currently we only support IPv4 ranges using CIDR slash-notation.
keystring
maximum-length: 50
The unique idenifier used to access the system.
languagecodified
maximum-length: 5
minimum-length: 2
Preferred region/language for the UI and notifications. Valid formats use <ISO 639-1><dash><ISO 3166-2> such as "fr-CA" or "en-US".
measurementsObject.<codified, SystemsOfUnits>Preferred way of displaying ambiguous numbers in the context of measurements.
nicknamestring
maximum-length: 100
Human friendly name for these credentials
notAfterdatetimeAn optional timestamp that restricts this machine account from being used after the given date.
notBeforedatetimeAn optional timestamp that restricts this machine account from being used before the given date.
notesstring
maximum-length: 8000
Notes about this machine.
optionsObject.<codified, string>
maximum-length of values: 20
Additional options which do not fit in with the formats or measurements preferences.
permissionsArray.<Permission>Permission rules which override the group rules.
processedUtcdatetimeWhen the was change procesed.
referrersArray.<url>
maximum-length of values: 254
Optional list of your managed domains from which this machine account can be used.
secretstring
maximum-length: 1000
A token used to encode or validate requests.
servicesArray.<url>
maximum-length of values: 254
List of system service URIs that this machine account is permitted to access.
timezonecodifiedThe service account's local timezone.
updatedby: login, from: monster
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"company": number,
	"enabled": boolean,
	"formats": {
		string: string
	},
	"groups": [
		number
	],
	"insecure": boolean,
	"ipRanges": [
		string
	],
	"key": string,
	"language": string,
	"measurements": {
		string: string
	},
	"nickname": string,
	"notAfter": string,
	"notBefore": string,
	"notes": string,
	"options": {
		string: string
	},
	"permissions": [
		{
			"company": number,
			"kind": string,
			"labels": [
				string
			],
			"level": string,
			"method": string,
			"type": string
		}
	],
	"processedUtc": string,
	"referrers": [
		string
	],
	"secret": string,
	"services": [
		string
	],
	"timezone": string,
	"updated": {
	},
	"v": [
		number
	]
}

MachineDeletedobject

The message format for when a deleted Machine is retrieved
JSON description
PropertyTypeValueDescription
companyuint64The company to which this user belongs.
deletedbooleantrue
keystring
maximum-length: 50
The unique idenifier used to access the system.
nicknamestring
maximum-length: 100
Human friendly name for these credentials
sincedatetimeA timestamp from the moment the object was deleted.
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"company": number,
	"deleted": boolean,
	"key": string,
	"nickname": string,
	"since": string,
	"v": [
		number
	]
}

NotificationMethodstring

The types of alerts used.
ValueDescription
emailCarrier pigeon.
popupA separate message sent across the WebSocket.
smsA text message (SMS).

ParamContactBatchDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
contactsArray.<ParamId>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"contacts": [
		{
			"id": number
		}
	],
	"reqId": number
}

ParamContactBatchMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
contactsArray.<ParameterContent>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"contacts": [
		{
			"addresses": {
				string: string
			},
			"company": number,
			"dates": {
				string: string
			},
			"emails": {
				string: string
			},
			"id": number,
			"name": string,
			"notes": string,
			"options": {
				string: string
			},
			"otherNames": {
				string: string
			},
			"phones": {
				string: number
			},
			"pictures": [
				number
			],
			"roles": [
				string
			],
			"urls": {
				string: string
			},
			"v": [
				number
			]
		}
	],
	"reqId": number
}

ParamContactDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
contactParamIdalwaysAn object to contain the "id" of the Contact.
contact.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"contact": {
		"id": number
	},
	"reqId": number
}

ParamContactGetBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
contactParamIdalwaysAn object to contain the "id" of the Contact.
contact.iduint64alwaysIdentifier given as input for the command.
includeDeletedbooleanoptionalfalseWhen true, the command will also return a deleted Contact.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"contact": {
		"id": number
	},
	"includeDeleted": boolean,
	"reqId": number
}

ParamContactListByCompanyBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
companyParamIdalwaysAn object to contain the "id" of the Company.
company.iduint64alwaysIdentifier given as input for the command.
highestuint64?optional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
lowestuint64?optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"company": {
		"id": number
	},
	"highest": number,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"lowest": number,
	"reqId": number
}

ParamContactMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
contactObject.<string, ?>alwaysA simple object to contain the Contact parameters.
contact.addressesObject.<string, string>optionalMailing addresses Use the object key like a name of the address. Example keys: Home, Work, Park, etc.
contact.companyuint64?createThe Company to which this Contact belongs. After creation, this value is read-only.
contact.datesObject.<string, datetime>optionalDate information Use the object key like a name of the date. Example keys: Birthday, Started Date, Retired On, etc.
contact.emailsObject.<string, email>
maximum-length of values: 254
optionalEmail addresses Use the object key like a name of the address. Example keys: Home, Work, Support, Old, etc.
contact.iduint64?updateThe unique identifier of the Contact you want to update.
contact.namestring
maximum-length: 100
optionalName for the Contact.
contact.notesstringoptionalNotes for the Contact.
contact.optionsObject.<string, string>optionalUncategorized information Use the object keys and values however you'd like.
contact.otherNamesObject.<string, string>
maximum-length of values: 254
optionalA collection of other names this person might go by. Use the object key like a name identifier. Example keys: Initials, Nickname, Maiden Name, etc.
contact.phonesObject.<string, phone?>optionalPhone numbers. Use the object key like a name of the phone number. Example keys: Mobile, Fax, Home, Office, etc.
contact.picturesArray.<uint64>
for values see: Picture.id
optionalPictures of this Contact.
contact.rolesArray.<codified>optionalA list of roles they play in the Company.
contact.urlsObject.<string, url>
maximum-length of values: 254
optionalWebsites and other online resources Use the object key like a name of the address. Example keys: Downloads, Support, FTP, etc.
contact.vArray.<int32>optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"contact": {
		"addresses": {
			string: string
		},
		"company": number,
		"dates": {
			string: string
		},
		"emails": {
			string: string
		},
		"id": number,
		"name": string,
		"notes": string,
		"options": {
			string: string
		},
		"otherNames": {
			string: string
		},
		"phones": {
			string: number
		},
		"pictures": [
			number
		],
		"roles": [
			string
		],
		"urls": {
			string: string
		},
		"v": [
			number
		]
	},
	"reqId": number
}

ParamContactRestoreBaseParametersobject

Request description
PropertyTypeRequiredDescription
contactParamIdalwaysAn object to contain the "id" of the Contact.
contact.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"contact": {
		"id": number
	},
	"reqId": number
}

ParamMachineBatchDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
machinesArray.<ParamKey>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"machines": [
		{
			"key": string
		}
	],
	"reqId": number
}

ParamMachineBatchMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
machinesArray.<ParameterContent>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"machines": [
		{
			"company": number,
			"enabled": boolean,
			"formats": {
				string: string
			},
			"groups": [
				number
			],
			"insecure": boolean,
			"ipRanges": [
				string
			],
			"key": string,
			"language": string,
			"measurements": {
				string: string
			},
			"nickname": string,
			"notAfter": string,
			"notBefore": string,
			"notes": string,
			"options": {
				string: string
			},
			"permissions": [
				{
					"company": number,
					"kind": string,
					"labels": [
						string
					],
					"level": string,
					"method": string
				}
			],
			"referrers": [
				string
			],
			"secret": boolean,
			"services": [
				string
			],
			"timezone": string,
			"v": [
				number
			]
		}
	],
	"reqId": number
}

ParamMachineDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
machineParamKeyalwaysAn object to contain the "key" of the Machine.
machine.keystringalwaysThe Machine's login.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"machine": {
		"key": string
	},
	"reqId": number
}

ParamMachineGetBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
includeDeletedbooleanoptionalfalseWhen true, the command will also return a deleted Machine.
machineParamKeyalwaysAn object to contain the "key" of the Machine.
machine.keystringalwaysThe Machine's login.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"includeDeleted": boolean,
	"machine": {
		"key": string
	},
	"reqId": number
}

ParamMachineListByCompanyBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
companyParamIdalwaysAn object to contain the "id" of the Company.
company.iduint64alwaysIdentifier given as input for the command.
firststringoptional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
laststringoptional
limituint16?optionalMaximum number of objects in this response.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"company": {
		"id": number
	},
	"first": string,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"last": string,
	"limit": number,
	"reqId": number
}

ParamMachineListByGroupBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
firststringoptional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
laststringoptional
limituint16?optionalMaximum number of objects in this response.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
userGroupParamIdalwaysAn object to contain the "id" of the UserGroup.
userGroup.iduint64alwaysIdentifier given as input for the command.
Request structure
{
	"first": string,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"last": string,
	"limit": number,
	"reqId": number,
	"userGroup": {
		"id": number
	}
}

ParamMachineMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
machineObject.<string, ?>alwaysAn object to contain the Machine parameters.
machine.companyuint64?createThe company to which this Machine belongs. After creation, this value is read-only.
machine.enabledbooleanoptionalIndicates whether system access is disable.
machine.formatsObject.<string, string>optionalThe format strings defining the preferred way to display ambiguous values.
machine.groupsArray.<uint64>
for values see: UserGroup.id
optionalA list of UserGroup to which this Machine belongs.
machine.insecurebooleanoptionalIndicates whether completely insecure/unrestricted system access is allowed.
machine.ipRangesArray.<ipv4>
maximum-length of values: 19
optionalRestrict Machine access to only the provided IPv4 ranges (using CIDR slash-notation).
machine.keystringupdateThe unique identifier of the Machine you want to update.
machine.languagestring
maximum-length: 5
minimum-length: 2
optionalPreferred region/language for the UI and notifications. Valid formats use <ISO 639-1><dash><ISO 3166-2> such as "fr-CA" or "en-US".
machine.measurementsObject.<string, SystemsOfUnits?>optionalPreferred way of displaying ambiguous numbers in the context of measurements.
machine.nicknamestring
maximum-length: 100
optionalHuman friendly name for this Machine.
machine.notAfterdatetimeoptionalAn optional timestamp that restricts this Machine from being used after the given date.
machine.notBeforedatetimeoptionalAn optional timestamp that restricts this Machine from being used before the given date.
machine.notesstring
maximum-length: 8000
optionalNotes about this Machine.
machine.optionsObject.<string, string>optionalAdditional options which do not fit in with the formats or measurements preferences.
machine.permissionsArray.<ParamPermission>optionalIndividual permission rules which override the UserGroup rules.
machine.referrersArray.<url>
maximum-length of values: 254
optionalOptional list of your managed domains from which this Machine can be used.
machine.secretbooleanoptionalA flag to either remove, or generate a new SelfMachine.secret.
machine.servicesArray.<url>
maximum-length of values: 254
optionalList of Fleet Freedom service URIs that this Machine is permitted to access.
machine.timezonecodifiedoptionalThe Machine's local timezone.
machine.vArray.<int32>optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"machine": {
		"company": number,
		"enabled": boolean,
		"formats": {
			string: string
		},
		"groups": [
			number
		],
		"insecure": boolean,
		"ipRanges": [
			string
		],
		"key": string,
		"language": string,
		"measurements": {
			string: string
		},
		"nickname": string,
		"notAfter": string,
		"notBefore": string,
		"notes": string,
		"options": {
			string: string
		},
		"permissions": [
			{
				"company": number,
				"kind": string,
				"labels": [
					string
				],
				"level": string,
				"method": string
			}
		],
		"referrers": [
			string
		],
		"secret": boolean,
		"services": [
			string
		],
		"timezone": string,
		"v": [
			number
		]
	},
	"reqId": number
}

ParamMachineRestoreBaseParametersobject

Request description
PropertyTypeRequiredDescription
machineParamKeyalwaysAn object to contain the "key" of the Machine.
machine.keystringalwaysThe Machine's login.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"machine": {
		"key": string
	},
	"reqId": number
}

ParamPermissionobject

Similar to the Permission object, but the ParamPermission.company, ParamPermission.level, ParamPermission.method, and ParamPermission.labels are all optional.
JSON description
PropertyTypeRequiredDefaultDescription
companyuint64?optionalThe Company that this permission targets. If not given, will default to the SelfUserAdvanced.company, UserGroup.company or SelfMachine.company to which it belongs.
kindPermissionTypealwaysThe kind of PermissionType.
labelsArray.<codified>
for values see: LabelStyle.code
optionalCodified names of Company.labels. If list is empty, this permission applies for all labels.
levelPermissionLevel?optionalPermissionLevel.readThe level of access being defined.
methodPermissionMethod?optionalPermissionMethod.grantThe way the access is used.
JSON structure
{
	"company": number,
	"kind": string,
	"labels": [
		string
	],
	"level": string,
	"method": string
}

ParamSelfSessionListBaseParametersobject

Request description
PropertyTypeRequiredDescription
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
userParamLoginalwaysAn object to contain the "login" of the User.
user.loginemailalwaysThe User's login.
Request structure
{
	"reqId": number,
	"user": {
		"login": string
	}
}

ParamSessionGetBaseParametersobject

Request description
PropertyTypeRequiredDescription
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
sessionParamHandlealwaysAn object to contain the "handle" of the SessionFull.
session.handlestringalwaysA "handle" identifying a session.
Request structure
{
	"reqId": number,
	"session": {
		"handle": string
	}
}

ParamSessionKillBaseParametersobject

Request description
PropertyTypeRequiredDescription
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
sessionParamHandlealwaysAn object to contain the "handle" of the SessionFull.
session.handlestringalwaysA "handle" identifying a session.
Request structure
{
	"reqId": number,
	"session": {
		"handle": string
	}
}

ParamSessionListByCompanyBaseParametersobject

Request description
PropertyTypeRequiredDescription
companyParamIdalwaysAn object to contain the "id" of the Company.
company.iduint64alwaysIdentifier given as input for the command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"company": {
		"id": number
	},
	"reqId": number
}

ParamSessionListByUserBaseParametersobject

Request description
PropertyTypeRequiredDescription
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
userParamLoginalwaysAn object to contain the "login" of the User.
user.loginemailalwaysThe User's login.
Request structure
{
	"reqId": number,
	"user": {
		"login": string
	}
}

ParamUserAdvancedListByCompanyBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
companyParamIdalwaysAn object to contain the "id" of the Company.
company.iduint64alwaysIdentifier given as input for the command.
firststringoptional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
laststringoptional
limituint16?optionalMaximum number of objects in this response.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"company": {
		"id": number
	},
	"first": string,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"last": string,
	"limit": number,
	"reqId": number
}

ParamUserAdvancedListByGroupBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
firststringoptional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
laststringoptional
limituint16?optionalMaximum number of objects in this response.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
userGroupParamIdalwaysAn object to contain the "id" of the UserGroup.
userGroup.iduint64alwaysIdentifier given as input for the command.
Request structure
{
	"first": string,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"last": string,
	"limit": number,
	"reqId": number,
	"userGroup": {
		"id": number
	}
}

ParamUserBatchDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
usersArray.<ParamLogin>optionalArray of parameters successfully parsed by the sub-command.
Request structure
{
	"reqId": number,
	"users": [
		{
			"login": string
		}
	]
}

ParamUserBatchMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
usersArray.<ParameterContent>optionalArray of parameters successfully parsed by the sub-command.
Request structure
{
	"reqId": number,
	"users": [
		{
			"company": number,
			"contact": number,
			"enabled": boolean,
			"formats": {
				string: string
			},
			"groups": [
				number
			],
			"language": string,
			"login": string,
			"measurements": {
				string: string
			},
			"nickname": string,
			"notify": [
				{
					"email": string,
					"enabled": boolean,
					"end": string,
					"name": string,
					"offline": [
						string
					],
					"online": [
						string
					],
					"sms": number,
					"start": string,
					"weekdays": [
						boolean
					]
				}
			],
			"options": {
				string: string
			},
			"password": string,
			"passwordExpired": boolean,
			"permissions": [
				{
					"company": number,
					"kind": string,
					"labels": [
						string
					],
					"level": string,
					"method": string
				}
			],
			"timezone": string,
			"v": [
				number
			]
		}
	]
}

ParamUserDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
userParamLoginalwaysAn object to contain the "login" of the User.
user.loginemailalwaysThe User's login.
Request structure
{
	"reqId": number,
	"user": {
		"login": string
	}
}

ParamUserGeneralListByCompanyBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
companyParamIdalwaysAn object to contain the "id" of the Company.
company.iduint64alwaysIdentifier given as input for the command.
firststringoptional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
laststringoptional
limituint16?optionalMaximum number of objects in this response.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"company": {
		"id": number
	},
	"first": string,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"last": string,
	"limit": number,
	"reqId": number
}

ParamUserGeneralListByGroupBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
firststringoptional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
laststringoptional
limituint16?optionalMaximum number of objects in this response.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
userGroupParamIdalwaysAn object to contain the "id" of the UserGroup.
userGroup.iduint64alwaysIdentifier given as input for the command.
Request structure
{
	"first": string,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"last": string,
	"limit": number,
	"reqId": number,
	"userGroup": {
		"id": number
	}
}

ParamUserGetBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
includeDeletedbooleanoptionalfalseWhen true, the command will also return a deleted User.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
userParamLoginalwaysAn object to contain the "login" of the User.
user.loginemailalwaysThe User's login.
Request structure
{
	"includeDeleted": boolean,
	"reqId": number,
	"user": {
		"login": string
	}
}

ParamUserGroupBatchDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
userGroupsArray.<ParamId>optionalArray of parameters successfully parsed by the sub-command.
Request structure
{
	"reqId": number,
	"userGroups": [
		{
			"id": number
		}
	]
}

ParamUserGroupBatchMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
userGroupsArray.<ParameterContent>optionalArray of parameters successfully parsed by the sub-command.
Request structure
{
	"reqId": number,
	"userGroups": [
		{
			"company": number,
			"id": number,
			"name": string,
			"notes": string,
			"permissions": [
				{
					"company": number,
					"kind": string,
					"labels": [
						string
					],
					"level": string,
					"method": string
				}
			],
			"v": [
				number
			]
		}
	]
}

ParamUserGroupDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
userGroupParamIdalwaysAn object to contain the "id" of the UserGroup.
userGroup.iduint64alwaysIdentifier given as input for the command.
Request structure
{
	"reqId": number,
	"userGroup": {
		"id": number
	}
}

ParamUserGroupGetBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
includeDeletedbooleanoptionalfalseWhen true, the command will also return a deleted UserGroup.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
userGroupParamIdalwaysAn object to contain the "id" of the UserGroup.
userGroup.iduint64alwaysIdentifier given as input for the command.
Request structure
{
	"includeDeleted": boolean,
	"reqId": number,
	"userGroup": {
		"id": number
	}
}

ParamUserGroupListByCompanyBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
companyParamIdalwaysAn object to contain the "id" of the Company.
company.iduint64alwaysIdentifier given as input for the command.
highestuint64?optional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
lowestuint64?optional
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"company": {
		"id": number
	},
	"highest": number,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"lowest": number,
	"reqId": number
}

ParamUserGroupMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
userGroupObject.<string, ?>alwaysA simple object to contain the UserGroup parameters.
userGroup.companyuint64?createThe company to which this UserGroup belongs. After creation, this value is read-only.
userGroup.iduint64?updateThe unique identifier of the UserGroup you want to update.
userGroup.namestring
maximum-length: 100
createName for the UserGroup.
userGroup.notesstringoptionalNotes for the UserGroup.
userGroup.permissionsArray.<ParamPermission>
maximum-count of values: 254
optionalList of permissions assigned to members of this UserGroup.
userGroup.vArray.<int32>optional
Request structure
{
	"reqId": number,
	"userGroup": {
		"company": number,
		"id": number,
		"name": string,
		"notes": string,
		"permissions": [
			{
				"company": number,
				"kind": string,
				"labels": [
					string
				],
				"level": string,
				"method": string
			}
		],
		"v": [
			number
		]
	}
}

ParamUserGroupRestoreBaseParametersobject

Request description
PropertyTypeRequiredDescription
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
userGroupParamIdalwaysAn object to contain the "id" of the UserGroup.
userGroup.iduint64alwaysIdentifier given as input for the command.
Request structure
{
	"reqId": number,
	"userGroup": {
		"id": number
	}
}

ParamUserListByCompanyBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
companyParamIdalwaysAn object to contain the "id" of the Company.
company.iduint64alwaysIdentifier given as input for the command.
firststringoptional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
laststringoptional
limituint16?optionalMaximum number of objects in this response.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"company": {
		"id": number
	},
	"first": string,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"last": string,
	"limit": number,
	"reqId": number
}

ParamUserListByGroupBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
firststringoptional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
laststringoptional
limituint16?optionalMaximum number of objects in this response.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
userGroupParamIdalwaysAn object to contain the "id" of the UserGroup.
userGroup.iduint64alwaysIdentifier given as input for the command.
Request structure
{
	"first": string,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"last": string,
	"limit": number,
	"reqId": number,
	"userGroup": {
		"id": number
	}
}

ParamUserMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
userObject.<string, ?>always
user.companyuint64?createThe company to which this User belongs. After creation, this value is read-only.
user.contactuint64?optionalContact information for this User.
user.enabledbooleanoptionalIndicates whether system access is disable.
user.formatsObject.<codified, string>optionalThe format strings defining the preferred way to display ambiguous values.
user.groupsArray.<uint64>
for values see: UserGroup.id
optionalA list of UserGroups to which this User is a member.
user.languagestring
maximum-length: 5
minimum-length: 2
optionalPreferred region/language for the UI and notifications. Valid formats use <ISO 639-1><dash><ISO 3166-2> such as "fr-CA" or "en-US".
user.loginemailalwaysThe unique identifier of the User you want to update.
user.measurementsObject.<codified, SystemsOfUnits?>optionalPreferred way of displaying ambiguous numbers in the context of measurements.
user.nicknamestring
maximum-length: 100
optionalHuman friendly name for these credentials
user.notifyArray.<UserNotifications>optionalDefinition of how and when to send alerts to the User.
user.optionsObject.<codified, string>optionalAdditional options which do not fit in with the formats or measurements preferences.
user.passwordstringcreateThis User's password.
user.passwordExpiredbooleanoptionalIndicated whether the credentials have expired according to the company's policy.
user.permissionsArray.<ParamPermission>
maximum-count of values: 254
optionalIndividual permission rules which override the UserGroup rules.
user.timezonecodifiedoptionalThe User's local timezone.
user.vArray.<int32>optional
Request structure
{
	"reqId": number,
	"user": {
		"company": number,
		"contact": number,
		"enabled": boolean,
		"formats": {
			string: string
		},
		"groups": [
			number
		],
		"language": string,
		"login": string,
		"measurements": {
			string: string
		},
		"nickname": string,
		"notify": [
			{
				"email": string,
				"enabled": boolean,
				"end": string,
				"name": string,
				"offline": [
					string
				],
				"online": [
					string
				],
				"sms": number,
				"start": string,
				"weekdays": [
					boolean
				]
			}
		],
		"options": {
			string: string
		},
		"password": string,
		"passwordExpired": boolean,
		"permissions": [
			{
				"company": number,
				"kind": string,
				"labels": [
					string
				],
				"level": string,
				"method": string
			}
		],
		"timezone": string,
		"v": [
			number
		]
	}
}

ParamUserRestoreBaseParametersobject

Request description
PropertyTypeRequiredDescription
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
userParamLoginalwaysAn object to contain the "login" of the User.
user.loginemailalwaysThe User's login.
Request structure
{
	"reqId": number,
	"user": {
		"login": string
	}
}

Permissionobject

A defined permission for Users, UserGroups, and Machines.
JSON description
PropertyTypeDescription
companyuint64The Company that this permission targets.
kindPermissionTypeThe type of permission.
labelsArray.<codified>
for values see: LabelStyle.code
Codified names of LabelStyles. If list is empty, this permission applies for all labels.
levelPermissionLevelThe level of access being defined.
methodPermissionMethodThe way the access is used.
type
Deprecated
PermissionType?The kind of permission.
Use .kind instead.
JSON structure
{
	"company": number,
	"kind": string,
	"labels": [
		string
	],
	"level": string,
	"method": string,
	"type": string
}

PermissionEscalationobject

Used to throw permission escalation exceptions, this is similar to a Permission, but defines a PermissionEscalation.before and PermissionEscalation.after for a proposed change.
JSON description
PropertyTypeDescription
afterPermissionEscalationStateEffective permission after the proposed change.
beforePermissionEscalationStateEffective permission before the proposed change.
companyuint64The Company that this permission targets.
directionPermissionEscalationTypeGets the direction of the escalation.
kindPermissionTypeThe type of permission.
JSON structure
{
	"after": {
		"labels": [
			string
		],
		"level": string
	},
	"before": {
		"labels": [
			string
		],
		"level": string
	},
	"company": number,
	"direction": string,
	"kind": string
}

PermissionEscalationStateobject

Describes the changes in state that raised the escalation.
JSON description
PropertyTypeDescription
labelsArray.<codified>
for values see: LabelStyle.code
Codified names of LabelStyles. If list is empty, this permission applies for all labels.
levelPermissionLevel?The level of access defined before the proposed change.
JSON structure
{
	"labels": [
		string
	],
	"level": string
}

PermissionEscalationTypestring

Definition for the kinds of permission escalations.
ValueDescription
horizontalIncrease in access to an object.
verticalIncrease in privileges.

PermissionLevelstring

The levels of permission available.
ValueDescription
fullFull control to read, write, delete and create things.
readRead-only access, no changes allowed.
updateRead and write access, but things cannot be deleted or new things created.

PermissionMethodstring

How a permission is applied.
ValueDescription
grantPermission is given.
revokePermission is taken away.

PermissionTypestring

The kinds of permissions available for a UserPermission.
ValueObjectsDescription
Assets
assetAdvancedAssets' advanced properties such as position, attributes, and status tags.
assetGeneralAssets' general properties such as name, icon, and labels.
assetMessageAssetMessages from assets and AssetAlerts.
Behaviours
behaviourConfigured Behaviour.
behaviourLogView and clear the log of debug messages for a BehaviourScript or Behaviour.
behaviourScriptBehaviourScript logic.
Billing
billingHostingBilling rule for Assets.
billingLicenseHardware License for Providers.
billingProfileProfile used to generate BillingReport for a customer.
billingReportGenerated bill for a customer.
Company
companyCreateAccess to add a new child Company.
companyGeneralBasic information about a Company. This permissions is required to have access to other aspects of the company.
companyLabelsCompany's label and tag styles.
companyPoliciesCompany's SessionPolicy and PasswordPolicy.
companyResellerWhite-labeler specific settings.
Contacts
contactContact information.
Dispatch
dispatchJobSome work that needs to be completed by an Asset. Like a multi-step DispatchTask.
dispatchTaskAsset's tasks information.
dispatchTemplatePre-set routes, lists of DispatchJobs, and driving directions.
File Hosting
documentHosted Document information.
formResultFilled out forms.
formTemplateCustom forms to be filled.
iconIcon information.
picturePicture information.
Hours of Service
hosCarrier
Deprecated
Hours of Service Carriers.
Feature retired.
hosEvent
Deprecated
Driver's E-log event records.
Feature retired.
hosInspection
Deprecated
Driver vehicle inspection reports.
Feature retired.
Maintenance
maintenanceJobHistorical Vehicle and Trailer maintenance work.
maintenanceScheduleRecurring MaintenanceJobs for Vehicle and Trailer.
Places
placeGeneralPlace information.
Providers and Configurations
providerAdvancedRaw Provider data like GPS coordinates and parsed ODB-II values.
providerConfigurationProvider configurations.
providerControlSending and reading Provider commands.
providerGeneralProvider information like name, notes, and selected asset.
providerScriptAllows access to Provider logic scripts.
Reports
reportResultHistorical Asset details like breadcrumb trails.
reportScheduleReportSchedules used to automatically create ReportResults overnight.
reportTemplateReportTemplate configurations.
Users and Groups
machineMachine information and permissions.
sessionAccess to retrieve a list of active sessions and kill sessions.
userAdvancedUser information such as permissions and group membership.
userGeneralGeneral user information such as name, contact information, and preferences.
userGroupUserGroup information for easy access control.

RespContactBatchDeleteBaseResponseobject

Response description
PropertyTypeDescription
contactsArray.<RespDeleted>Array or responses successfully processed by the sub-command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"contacts": [
		{
			"company": number,
			"deleted": boolean,
			"id": number,
			"v": [
				number
			]
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespContactBatchMergeBaseResponseobject

Response description
PropertyTypeDescription
contactsArray.<RespIdCompany>Array or responses successfully processed by the sub-command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"contacts": [
		{
			"company": number,
			"id": number
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespContactDeleteBaseResponseobject

Response description
PropertyTypeDescription
contactRespDeletedAn object which contains the Contact's id, owning Company id, and deleted status.
contact.companyuint64Identifier of the Company to which this object belongs.
contact.deletedbooleanFlag showing if the object is deleted.
contact.iduint64?Identifier given as input for the command.
contact.vArray.<uint32>
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"contact": {
		"company": number,
		"deleted": boolean,
		"id": number,
		"v": [
			number
		]
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespContactGetBaseResponseobject

Response description
PropertyTypeDescription
contactContactThe requested Contact.
contact.addressesObject.<string, string>Mailing addresses. Use the object key like a name of the address. Example keys: Home, Work, Park, etc.
contact.companyuint64The company to which this contact belongs
contact.datesObject.<string, datetime>Date information. Use the object key like a name of the date. Example keys: Birthday, Started Date, Retired On, etc.
contact.emailsObject.<string, email>
maximum-length of values: 254
Email addresses. Use the object key like a name of the address. Example keys: Home, Work, Support, Old, etc.
contact.iduint64Unique identifier of this contact.
contact.namestring
maximum-length: 100
The person's name
contact.notesstringNotes about this person.
contact.optionsObject.<string, string>Uncategorized information. Use the object keys and values however you'd like.
contact.otherNamesObject.<string, string>
maximum-length of values: 254
A collection of other names this person might go by. Use the object key like a name identifier. Example keys: Initials, Nickname, Maiden Name, etc.
contact.phonesObject.<string, phone>Phone numbers. Use the object key like a name of the phone number. Example keys: Mobile, Fax, Home, Office, etc.
contact.picturesArray.<uint64>
for values see: Picture.id
Pictures of this Contact.
contact.processedUtcdatetimeWhen the was change procesed.
contact.rolesArray.<string>A list of roles they play in the Company.
contact.updatedby: login, from: monster
contact.urlsObject.<string, url>
maximum-length of values: 254
Websites and other online resources. Use the object key like a name of the address. Example keys: Downloads, Support, FTP, etc.
contact.vArray.<uint32>Object version keys used to validate synchronization for all object properties.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"contact": {
		"addresses": {
			string: string
		},
		"company": number,
		"dates": {
			string: string
		},
		"emails": {
			string: string
		},
		"id": number,
		"name": string,
		"notes": string,
		"options": {
			string: string
		},
		"otherNames": {
			string: string
		},
		"phones": {
			string: number
		},
		"pictures": [
			number
		],
		"processedUtc": string,
		"roles": [
			string
		],
		"updated": {
		},
		"urls": {
			string: string
		},
		"v": [
			number
		]
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespContactListByCompanyBaseResponseobject

Response description
PropertyTypeDescription
companyRespIdAn object to contain the "id" of the Company to which the array of Contacts belong.
company.iduint64?Identifier given as input for the command.
contactsArray.<Contact>The list of requested Contacts.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"company": {
		"id": number
	},
	"contacts": [
		{
			"addresses": {
				string: string
			},
			"company": number,
			"dates": {
				string: string
			},
			"emails": {
				string: string
			},
			"id": number,
			"name": string,
			"notes": string,
			"options": {
				string: string
			},
			"otherNames": {
				string: string
			},
			"phones": {
				string: number
			},
			"pictures": [
				number
			],
			"processedUtc": string,
			"roles": [
				string
			],
			"updated": {
			},
			"urls": {
				string: string
			},
			"v": [
				number
			]
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespContactMergeBaseResponseobject

Response description
PropertyTypeDescription
contactRespIdCompanyAn object which contains the "id" and "company" keys when there is no error.
contact.companyuint64Identifier of the Company to which this object belongs.
contact.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"contact": {
		"company": number,
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespContactRestoreBaseResponseobject

Response description
PropertyTypeDescription
contactRespDeletedAn object which contains the Contact's id, owning Company id, and deleted status.
contact.companyuint64Identifier of the Company to which this object belongs.
contact.deletedbooleanFlag showing if the object is deleted.
contact.iduint64?Identifier given as input for the command.
contact.vArray.<uint32>
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"contact": {
		"company": number,
		"deleted": boolean,
		"id": number,
		"v": [
			number
		]
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespMachineBatchDeleteBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
machinesArray.<RespKeyDeleted>Array or responses successfully processed by the sub-command.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"machines": [
		{
			"company": number,
			"deleted": boolean,
			"key": string,
			"v": [
				number
			]
		}
	],
	"message": string,
	"reqId": number
}

RespMachineBatchMergeBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
machinesArray.<RespKeyCompany>Array or responses successfully processed by the sub-command.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"machines": [
		{
			"company": number,
			"key": string
		}
	],
	"message": string,
	"reqId": number
}

RespMachineDeleteBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
machineRespKeyDeletedAn object which contains the Machine's key, owning Company id, and deleted status.
machine.companyuint64Identifier of the Company to which the Machine belongs.
machine.deletedbooleanFlag showing if the object is deleted.
machine.keystringThe Machine's key.
machine.vArray.<uint32>
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"machine": {
		"company": number,
		"deleted": boolean,
		"key": string,
		"v": [
			number
		]
	},
	"message": string,
	"reqId": number
}

RespMachineGetBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
machineMachineThe requested Machine.
machine.companyuint64The company to which this user belongs.
machine.enabledbooleanIndicates whether system access is disable.
machine.formatsObject.<codified, datetimetemplate>
maximum-length of values: 20
The format strings defining the preferred way to display ambiguous values.
machine.groupsArray.<uint64>A list of groups to which this machine account belongs.
machine.insecurebooleanWhen true, no access restrictions (SelfMachine.secret, SelfMachine.referrers, or SelfMachine.ipRanges) are enforced.
machine.ipRangesArray.<ipv4>
maximum-length of values: 19
Restrict service access to only the provided IP ranges. Currently we only support IPv4 ranges using CIDR slash-notation.
machine.keystring
maximum-length: 50
The unique idenifier used to access the system.
machine.languagecodified
maximum-length: 5
minimum-length: 2
Preferred region/language for the UI and notifications. Valid formats use <ISO 639-1><dash><ISO 3166-2> such as "fr-CA" or "en-US".
machine.measurementsObject.<codified, SystemsOfUnits>Preferred way of displaying ambiguous numbers in the context of measurements.
machine.nicknamestring
maximum-length: 100
Human friendly name for these credentials
machine.notAfterdatetimeAn optional timestamp that restricts this machine account from being used after the given date.
machine.notBeforedatetimeAn optional timestamp that restricts this machine account from being used before the given date.
machine.notesstring
maximum-length: 8000
Notes about this machine.
machine.optionsObject.<codified, string>
maximum-length of values: 20
Additional options which do not fit in with the formats or measurements preferences.
machine.permissionsArray.<Permission>Permission rules which override the group rules.
machine.processedUtcdatetimeWhen the was change procesed.
machine.referrersArray.<url>
maximum-length of values: 254
Optional list of your managed domains from which this machine account can be used.
machine.secretstring
maximum-length: 1000
A token used to encode or validate requests.
machine.servicesArray.<url>
maximum-length of values: 254
List of system service URIs that this machine account is permitted to access.
machine.timezonecodifiedThe service account's local timezone.
machine.updatedby: login, from: monster
machine.vArray.<uint32>Object version keys used to validate synchronization for all object properties.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"machine": {
		"company": number,
		"enabled": boolean,
		"formats": {
			string: string
		},
		"groups": [
			number
		],
		"insecure": boolean,
		"ipRanges": [
			string
		],
		"key": string,
		"language": string,
		"measurements": {
			string: string
		},
		"nickname": string,
		"notAfter": string,
		"notBefore": string,
		"notes": string,
		"options": {
			string: string
		},
		"permissions": [
			{
				"company": number,
				"kind": string,
				"labels": [
					string
				],
				"level": string,
				"method": string,
				"type": string
			}
		],
		"processedUtc": string,
		"referrers": [
			string
		],
		"secret": string,
		"services": [
			string
		],
		"timezone": string,
		"updated": {
		},
		"v": [
			number
		]
	},
	"message": string,
	"reqId": number
}

RespMachineListByCompanyBaseResponseobject

Response description
PropertyTypeDescription
companyRespIdAn object to contain the "id" of the Company to which the array of Machines belong.
company.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
machinesArray.<Machine>The list requested of Machines.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"company": {
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"machines": [
		{
			"company": number,
			"enabled": boolean,
			"formats": {
				string: string
			},
			"groups": [
				number
			],
			"insecure": boolean,
			"ipRanges": [
				string
			],
			"key": string,
			"language": string,
			"measurements": {
				string: string
			},
			"nickname": string,
			"notAfter": string,
			"notBefore": string,
			"notes": string,
			"options": {
				string: string
			},
			"permissions": [
				{
					"company": number,
					"kind": string,
					"labels": [
						string
					],
					"level": string,
					"method": string,
					"type": string
				}
			],
			"processedUtc": string,
			"referrers": [
				string
			],
			"secret": string,
			"services": [
				string
			],
			"timezone": string,
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"message": string,
	"reqId": number
}

RespMachineListByGroupBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
machinesArray.<Machine>The list requested of Machines.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
userGroupRespIdCompanyAn object to contain the "id" of the UserGroup to which the array of Machines belong.
userGroup.companyuint64Identifier of the Company to which this object belongs.
userGroup.iduint64?Identifier given as input for the command.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"machines": [
		{
			"company": number,
			"enabled": boolean,
			"formats": {
				string: string
			},
			"groups": [
				number
			],
			"insecure": boolean,
			"ipRanges": [
				string
			],
			"key": string,
			"language": string,
			"measurements": {
				string: string
			},
			"nickname": string,
			"notAfter": string,
			"notBefore": string,
			"notes": string,
			"options": {
				string: string
			},
			"permissions": [
				{
					"company": number,
					"kind": string,
					"labels": [
						string
					],
					"level": string,
					"method": string,
					"type": string
				}
			],
			"processedUtc": string,
			"referrers": [
				string
			],
			"secret": string,
			"services": [
				string
			],
			"timezone": string,
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"message": string,
	"reqId": number,
	"userGroup": {
		"company": number,
		"id": number
	}
}

RespMachineMergeBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
machineRespKeyCompanyAn object which contains the "key" and "company" keys when there is no error.
machine.companyuint64Identifier of the Company to which the Machine belongs.
machine.keystringThe Machine's key.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"machine": {
		"company": number,
		"key": string
	},
	"message": string,
	"reqId": number
}

RespMachineRestoreBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
machineRespKeyDeletedAn object which contains the Machine's key, owning Company id, and deleted status.
machine.companyuint64Identifier of the Company to which the Machine belongs.
machine.deletedbooleanFlag showing if the object is deleted.
machine.keystringThe Machine's key.
machine.vArray.<uint32>
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"machine": {
		"company": number,
		"deleted": boolean,
		"key": string,
		"v": [
			number
		]
	},
	"message": string,
	"reqId": number
}

RespSelfSessionListBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
sessionsArray.<SessionFull>The list of requested SessionFull.
userRespLoginCompanyAn object to contain the "login" of the User to which the array of SessionFulls belong.
user.companyuint64Identifier of the Company to which the User belongs.
user.loginstringThe User's login.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number,
	"sessions": [
		{
			"active": boolean,
			"company": number,
			"created": string,
			"expiry": string,
			"handle": string,
			"ipAddress": string,
			"lastActivity": string,
			"lastCommand": string,
			"login": string,
			"sockets": number,
			"status": string,
			"userAgent": string
		}
	],
	"user": {
		"company": number,
		"login": string
	}
}

RespSessionGetBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
sessionSessionFullThe requested SessionFull.
session.activebooleanIndicator that this SessionFull is using at least one WebSocket connection.
session.companyuint64?Identifier of the Company to which this object belongs
session.createddatetimeThe timestamp from the moment this SessionFull was created.
session.expirydatetimeA timestamp for when the Session will expire.
session.handlestringA "handle" identifying a resource.
session.ipAddressipv4The (most recent) IP address that used this SessionFull to connect.
session.lastActivitydatetimeA timestamp from the last command or call to the system.
session.lastCommandstringThe name or path of the last command executed.
session.loginstringThe User to which the Session belongs.
session.socketsint32The number of current-active WebSocket connections.
session.statusSessionStatusThis SessionFull's current state.
session.userAgentstringThe (most recent) software being used by this SessionFull.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number,
	"session": {
		"active": boolean,
		"company": number,
		"created": string,
		"expiry": string,
		"handle": string,
		"ipAddress": string,
		"lastActivity": string,
		"lastCommand": string,
		"login": string,
		"sockets": number,
		"status": string,
		"userAgent": string
	}
}

RespSessionKillBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
sessionSessionAn object which contains the SessionFull's handle, related User login, and owning Company id.
session.companyuint64?Identifier of the Company to which this object belongs
session.expirydatetimeA timestamp for when the Session will expire.
session.handlestringA "handle" identifying a resource.
session.loginstringThe User to which the Session belongs.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number,
	"session": {
		"company": number,
		"expiry": string,
		"handle": string,
		"login": string
	}
}

RespSessionListByCompanyBaseResponseobject

Response description
PropertyTypeDescription
companyRespIdAn object to contain the "id" of the Company to which the array of SessionFulls belong.
company.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
sessionsArray.<SessionFull>The list of requested SessionFull.
Response structure
{
	"company": {
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number,
	"sessions": [
		{
			"active": boolean,
			"company": number,
			"created": string,
			"expiry": string,
			"handle": string,
			"ipAddress": string,
			"lastActivity": string,
			"lastCommand": string,
			"login": string,
			"sockets": number,
			"status": string,
			"userAgent": string
		}
	]
}

RespSessionListByUserBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
sessionsArray.<SessionFull>The list of requested SessionFull.
userRespLoginCompanyAn object to contain the "login" of the User to which the array of SessionFulls belong.
user.companyuint64Identifier of the Company to which the User belongs.
user.loginstringThe User's login.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number,
	"sessions": [
		{
			"active": boolean,
			"company": number,
			"created": string,
			"expiry": string,
			"handle": string,
			"ipAddress": string,
			"lastActivity": string,
			"lastCommand": string,
			"login": string,
			"sockets": number,
			"status": string,
			"userAgent": string
		}
	],
	"user": {
		"company": number,
		"login": string
	}
}

RespUserAdvancedListByCompanyBaseResponseobject

Response description
PropertyTypeDescription
companyRespIdAn object to contain the "id" of the Company to which the array of Users belong.
company.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
userAdvancedsArray.<UserAdvanced>The list of requested Users.
Response structure
{
	"company": {
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number,
	"userAdvanceds": [
		{
			"company": number,
			"groups": [
				number
			],
			"login": string,
			"permissions": [
				{
					"company": number,
					"kind": string,
					"labels": [
						string
					],
					"level": string,
					"method": string,
					"type": string
				}
			],
			"processedUtc": string,
			"updated": {
			},
			"v": [
				number
			]
		}
	]
}

RespUserAdvancedListByGroupBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
userAdvancedsArray.<UserAdvanced>The list of requested Users.
userGroupRespIdCompanyAn object to contain the "id" of the UserGroup to which the array of Users belong.
userGroup.companyuint64Identifier of the Company to which this object belongs.
userGroup.iduint64?Identifier given as input for the command.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number,
	"userAdvanceds": [
		{
			"company": number,
			"groups": [
				number
			],
			"login": string,
			"permissions": [
				{
					"company": number,
					"kind": string,
					"labels": [
						string
					],
					"level": string,
					"method": string,
					"type": string
				}
			],
			"processedUtc": string,
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"userGroup": {
		"company": number,
		"id": number
	}
}

RespUserBatchDeleteBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
usersArray.<RespLoginDeleted>Array or responses successfully processed by the sub-command.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number,
	"users": [
		{
			"company": number,
			"deleted": boolean,
			"login": string,
			"v": [
				number
			]
		}
	]
}

RespUserBatchMergeBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
usersArray.<RespLoginCompany>Array or responses successfully processed by the sub-command.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number,
	"users": [
		{
			"company": number,
			"login": string
		}
	]
}

RespUserDeleteBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
userRespLoginDeletedAn object which contains the User's login, owning Company id, and deleted status.
user.companyuint64Identifier of the Company to which the User belongs.
user.deletedbooleanFlag showing if the object is deleted.
user.loginstringThe User's login.
user.vArray.<uint32>
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number,
	"user": {
		"company": number,
		"deleted": boolean,
		"login": string,
		"v": [
			number
		]
	}
}

RespUserGeneralListByCompanyBaseResponseobject

Response description
PropertyTypeDescription
companyRespIdAn object to contain the "id" of the Company to which the array of Users belong.
company.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
userGeneralsArray.<UserGeneral>The list of requested Users.
Response structure
{
	"company": {
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number,
	"userGenerals": [
		{
			"company": number,
			"contact": number,
			"enabled": boolean,
			"formats": {
				string: string
			},
			"language": string,
			"login": string,
			"measurements": {
				string: string
			},
			"nickname": string,
			"notify": [
				{
					"email": string,
					"enabled": boolean,
					"end": string,
					"name": string,
					"offline": [
						string
					],
					"online": [
						string
					],
					"sms": number,
					"start": string,
					"weekdays": [
						boolean
					]
				}
			],
			"options": {
				string: string
			},
			"passwordExpired": boolean,
			"processedUtc": string,
			"timezone": string,
			"updated": {
			},
			"v": [
				number
			]
		}
	]
}

RespUserGeneralListByGroupBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
userGeneralsArray.<UserGeneral>The list of requested Users.
userGroupRespIdCompanyAn object to contain the "id" of the UserGroup to which the array of Users belong.
userGroup.companyuint64Identifier of the Company to which this object belongs.
userGroup.iduint64?Identifier given as input for the command.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number,
	"userGenerals": [
		{
			"company": number,
			"contact": number,
			"enabled": boolean,
			"formats": {
				string: string
			},
			"language": string,
			"login": string,
			"measurements": {
				string: string
			},
			"nickname": string,
			"notify": [
				{
					"email": string,
					"enabled": boolean,
					"end": string,
					"name": string,
					"offline": [
						string
					],
					"online": [
						string
					],
					"sms": number,
					"start": string,
					"weekdays": [
						boolean
					]
				}
			],
			"options": {
				string: string
			},
			"passwordExpired": boolean,
			"processedUtc": string,
			"timezone": string,
			"updated": {
			},
			"v": [
				number
			]
		}
	],
	"userGroup": {
		"company": number,
		"id": number
	}
}

RespUserGetBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
userUserThe requested User.
user.companyuint64The company to which this user belongs.
user.contactuint64?Contact information for this user.
user.enabledbooleanIndicates whether system access is disabled.
user.formatsObject.<codified, datetimetemplate>
maximum-length of values: 20
The format strings defining the preferred way to display ambiguous values.
user.groupsArray.<uint64>A list of groups to which this user belongs.
user.languagecodified
maximum-length: 5
minimum-length: 2
Preferred region/language for the UI and notifications. Valid formats use <ISO 639-1><dash><ISO 3166-2> such as "fr-CA" or "en-US".
user.loginemail
maximum-length: 254
minimum-length: 6
Unique identifier of this user.
user.measurementsObject.<codified, SystemsOfUnits>Preferred way of displaying ambiguous numbers in the context of measurements.
user.nicknamestring
maximum-length: 100
Human friendly name for these credentials
user.notifyArray.<UserNotifications>
maximum-count: 7
Definition of how and when to send alerts to the user.
user.optionsObject.<codified, string>
maximum-length of values: 20
Additional options which do not fit in with the formats or measurements preferences.
user.passwordExpiredbooleanIndicated whether the credentials have expired according to the company's policy.
user.permissionsArray.<Permission>Individual permission rules which override the group rules.
user.processedUtcdatetimeWhen the was change procesed.
user.timezonecodifiedThe user's local timezone.
user.updatedby: login, from: monster
user.vArray.<int32>
fixed count: 2
Object version keys used to validate synchronization for all object properties.
user.v[0]int32The first element is for the general properties
user.v[1]int32The second element is for the advanced properties
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number,
	"user": {
		"company": number,
		"contact": number,
		"enabled": boolean,
		"formats": {
			string: string
		},
		"groups": [
			number
		],
		"language": string,
		"login": string,
		"measurements": {
			string: string
		},
		"nickname": string,
		"notify": [
			{
				"email": string,
				"enabled": boolean,
				"end": string,
				"name": string,
				"offline": [
					string
				],
				"online": [
					string
				],
				"sms": number,
				"start": string,
				"weekdays": [
					boolean
				]
			}
		],
		"options": {
			string: string
		},
		"passwordExpired": boolean,
		"permissions": [
			{
				"company": number,
				"kind": string,
				"labels": [
					string
				],
				"level": string,
				"method": string,
				"type": string
			}
		],
		"processedUtc": string,
		"timezone": string,
		"updated": {
		},
		"v": [
			number
		]
	}
}

RespUserGroupBatchDeleteBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
userGroupsArray.<RespDeleted>Array or responses successfully processed by the sub-command.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number,
	"userGroups": [
		{
			"company": number,
			"deleted": boolean,
			"id": number,
			"v": [
				number
			]
		}
	]
}

RespUserGroupBatchMergeBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
userGroupsArray.<RespIdCompany>Array or responses successfully processed by the sub-command.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number,
	"userGroups": [
		{
			"company": number,
			"id": number
		}
	]
}

RespUserGroupDeleteBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
userGroupRespDeletedAn object which contains the "id" and "company" keys when there is no error.
userGroup.companyuint64Identifier of the Company to which this object belongs.
userGroup.deletedbooleanFlag showing if the object is deleted.
userGroup.iduint64?Identifier given as input for the command.
userGroup.vArray.<uint32>
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number,
	"userGroup": {
		"company": number,
		"deleted": boolean,
		"id": number,
		"v": [
			number
		]
	}
}

RespUserGroupGetBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
userGroupUserGroupThe requested UserGroup.
userGroup.companyuint64The company to which this group belongs.
userGroup.iduint64Unique identifier of this group.
userGroup.namestring
maximum-length: 100
A name given to this group.
userGroup.notesstringNotes about this group, and to whom this group should be applied.
userGroup.permissionsArray.<Permission>Permissions for this group.
userGroup.processedUtcdatetimeWhen the was change procesed.
userGroup.updatedby: login, from: monster
userGroup.vArray.<uint32>Object version keys used to validate synchronization for all object properties.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number,
	"userGroup": {
		"company": number,
		"id": number,
		"name": string,
		"notes": string,
		"permissions": [
			{
				"company": number,
				"kind": string,
				"labels": [
					string
				],
				"level": string,
				"method": string,
				"type": string
			}
		],
		"processedUtc": string,
		"updated": {
		},
		"v": [
			number
		]
	}
}

RespUserGroupListByCompanyBaseResponseobject

Response description
PropertyTypeDescription
companyRespIdAn object to contain the "id" of the Company to which the array of contacts belong.
company.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
userGroupsArray.<UserGroup>The requested list of UserGroups.
Response structure
{
	"company": {
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number,
	"userGroups": [
		{
			"company": number,
			"id": number,
			"name": string,
			"notes": string,
			"permissions": [
				{
					"company": number,
					"kind": string,
					"labels": [
						string
					],
					"level": string,
					"method": string,
					"type": string
				}
			],
			"processedUtc": string,
			"updated": {
			},
			"v": [
				number
			]
		}
	]
}

RespUserGroupMergeBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
userGroupRespIdCompanyAn object which contains the "id" and "company".
userGroup.companyuint64Identifier of the Company to which this object belongs.
userGroup.iduint64?Identifier given as input for the command.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number,
	"userGroup": {
		"company": number,
		"id": number
	}
}

RespUserGroupRestoreBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
userGroupRespDeletedAn object which contains the "id" and "company" keys when there is no error.
userGroup.companyuint64Identifier of the Company to which this object belongs.
userGroup.deletedbooleanFlag showing if the object is deleted.
userGroup.iduint64?Identifier given as input for the command.
userGroup.vArray.<uint32>
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number,
	"userGroup": {
		"company": number,
		"deleted": boolean,
		"id": number,
		"v": [
			number
		]
	}
}

RespUserListByCompanyBaseResponseobject

Response description
PropertyTypeDescription
companyRespIdAn object to contain the "id" of the Company to which the array of Users belong.
company.iduint64?Identifier given as input for the command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
usersArray.<User>The list of requested Users.
Response structure
{
	"company": {
		"id": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number,
	"users": [
		{
			"company": number,
			"contact": number,
			"enabled": boolean,
			"formats": {
				string: string
			},
			"groups": [
				number
			],
			"language": string,
			"login": string,
			"measurements": {
				string: string
			},
			"nickname": string,
			"notify": [
				{
					"email": string,
					"enabled": boolean,
					"end": string,
					"name": string,
					"offline": [
						string
					],
					"online": [
						string
					],
					"sms": number,
					"start": string,
					"weekdays": [
						boolean
					]
				}
			],
			"options": {
				string: string
			},
			"passwordExpired": boolean,
			"permissions": [
				{
					"company": number,
					"kind": string,
					"labels": [
						string
					],
					"level": string,
					"method": string,
					"type": string
				}
			],
			"processedUtc": string,
			"timezone": string,
			"updated": {
			},
			"v": [
				number
			]
		}
	]
}

RespUserListByGroupBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
userGroupRespIdCompanyAn object to contain the "id" of the UserGroup to which the array of Users belong.
userGroup.companyuint64Identifier of the Company to which this object belongs.
userGroup.iduint64?Identifier given as input for the command.
usersArray.<User>The list of requested Users.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number,
	"userGroup": {
		"company": number,
		"id": number
	},
	"users": [
		{
			"company": number,
			"contact": number,
			"enabled": boolean,
			"formats": {
				string: string
			},
			"groups": [
				number
			],
			"language": string,
			"login": string,
			"measurements": {
				string: string
			},
			"nickname": string,
			"notify": [
				{
					"email": string,
					"enabled": boolean,
					"end": string,
					"name": string,
					"offline": [
						string
					],
					"online": [
						string
					],
					"sms": number,
					"start": string,
					"weekdays": [
						boolean
					]
				}
			],
			"options": {
				string: string
			},
			"passwordExpired": boolean,
			"permissions": [
				{
					"company": number,
					"kind": string,
					"labels": [
						string
					],
					"level": string,
					"method": string,
					"type": string
				}
			],
			"processedUtc": string,
			"timezone": string,
			"updated": {
			},
			"v": [
				number
			]
		}
	]
}

RespUserMergeBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
userRespLoginCompany
user.companyuint64Identifier of the Company to which the User belongs.
user.loginstringThe User's login.
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number,
	"user": {
		"company": number,
		"login": string
	}
}

RespUserRestoreBaseResponseobject

Response description
PropertyTypeDescription
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
userRespLoginDeletedAn object which contains the User's login, owning Company id, and deleted status.
user.companyuint64Identifier of the Company to which the User belongs.
user.deletedbooleanFlag showing if the object is deleted.
user.loginstringThe User's login.
user.vArray.<uint32>
Response structure
{
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number,
	"user": {
		"company": number,
		"deleted": boolean,
		"login": string,
		"v": [
			number
		]
	}
}

Sessionobject

A container class used to house the "handle" identifying a resource. Used specifically to after a kill session command.
JSON description
PropertyTypeDescription
companyuint64?Identifier of the Company to which this object belongs
expirydatetimeA timestamp for when the Session will expire.
handlestringA "handle" identifying a resource.
loginstringThe User to which the Session belongs.
JSON structure
{
	"company": number,
	"expiry": string,
	"handle": string,
	"login": string
}

SessionFullSessionobject

Container for a full session response. Used specifically to give session details.
JSON description
PropertyTypeDescription
activebooleanIndicator that this SessionFull is using at least one WebSocket connection.
companyuint64?Identifier of the Company to which this object belongs
createddatetimeThe timestamp from the moment this SessionFull was created.
expirydatetimeA timestamp for when the Session will expire.
handlestringA "handle" identifying a resource.
ipAddressipv4The (most recent) IP address that used this SessionFull to connect.
lastActivitydatetimeA timestamp from the last command or call to the system.
lastCommandstringThe name or path of the last command executed.
loginstringThe User to which the Session belongs.
socketsint32The number of current-active WebSocket connections.
statusSessionStatusThis SessionFull's current state.
userAgentstringThe (most recent) software being used by this SessionFull.
JSON structure
{
	"active": boolean,
	"company": number,
	"created": string,
	"expiry": string,
	"handle": string,
	"ipAddress": string,
	"lastActivity": string,
	"lastCommand": string,
	"login": string,
	"sockets": number,
	"status": string,
	"userAgent": string
}

SessionStatusstring

Current state of a session
ValueDescription
activeUser is logged-in and one or more WebSocket connections are open.
createdSession created but user hasn't logged-in yet.
expiredSession is being killed because it has expired.
idleUser is logged-in but no WebSocket connections are open.
notFoundInvalid session reference.
passwordExpiredUser is logged-in and password is expired and needs to be changed before any commands can be processed.

SystemsOfUnitsstring

A type of measurement system
ValueDescription
metricMetric
standardUS Standard.

Userobject

A grouping of credentials, information, preferences, and permissions for a person or machine to login to the system and access its resources.
JSON description
PropertyTypeDescription
companyuint64The company to which this user belongs.
contactuint64?Contact information for this user.
enabledbooleanIndicates whether system access is disabled.
formatsObject.<codified, datetimetemplate>
maximum-length of values: 20
The format strings defining the preferred way to display ambiguous values.
groupsArray.<uint64>A list of groups to which this user belongs.
languagecodified
maximum-length: 5
minimum-length: 2
Preferred region/language for the UI and notifications. Valid formats use <ISO 639-1><dash><ISO 3166-2> such as "fr-CA" or "en-US".
loginemail
maximum-length: 254
minimum-length: 6
Unique identifier of this user.
measurementsObject.<codified, SystemsOfUnits>Preferred way of displaying ambiguous numbers in the context of measurements.
nicknamestring
maximum-length: 100
Human friendly name for these credentials
notifyArray.<UserNotifications>
maximum-count: 7
Definition of how and when to send alerts to the user.
optionsObject.<codified, string>
maximum-length of values: 20
Additional options which do not fit in with the formats or measurements preferences.
passwordExpiredbooleanIndicated whether the credentials have expired according to the company's policy.
permissionsArray.<Permission>Individual permission rules which override the group rules.
processedUtcdatetimeWhen the was change procesed.
timezonecodifiedThe user's local timezone.
updatedby: login, from: monster
vArray.<int32>
fixed count: 2
Object version keys used to validate synchronization for all object properties.
v[0]int32The first element is for the general properties
v[1]int32The second element is for the advanced properties
JSON structure
{
	"company": number,
	"contact": number,
	"enabled": boolean,
	"formats": {
		string: string
	},
	"groups": [
		number
	],
	"language": string,
	"login": string,
	"measurements": {
		string: string
	},
	"nickname": string,
	"notify": [
		{
			"email": string,
			"enabled": boolean,
			"end": string,
			"name": string,
			"offline": [
				string
			],
			"online": [
				string
			],
			"sms": number,
			"start": string,
			"weekdays": [
				boolean
			]
		}
	],
	"options": {
		string: string
	},
	"passwordExpired": boolean,
	"permissions": [
		{
			"company": number,
			"kind": string,
			"labels": [
				string
			],
			"level": string,
			"method": string,
			"type": string
		}
	],
	"processedUtc": string,
	"timezone": string,
	"updated": {
	},
	"v": [
		number
	]
}

UserAdvancedobject

Permissions and group membership defined for a user.
JSON description
PropertyTypeDescription
companyuint64The company to which this user belongs.
groupsArray.<uint64>A list of groups to which this user belongs.
loginemail
maximum-length: 254
minimum-length: 6
The unique public email address used to access the system.
permissionsArray.<Permission>Individual permission rules which override the group rules.
processedUtcdatetimeWhen the was change procesed.
updatedby: login, from: monster
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"company": number,
	"groups": [
		number
	],
	"login": string,
	"permissions": [
		{
			"company": number,
			"kind": string,
			"labels": [
				string
			],
			"level": string,
			"method": string,
			"type": string
		}
	],
	"processedUtc": string,
	"updated": {
	},
	"v": [
		number
	]
}

UserDeletedobject

The message format for when a deleted User is retrieved
JSON description
PropertyTypeValueDescription
companyuint64The company to which this user belongs.
deletedbooleantrue
loginemail
maximum-length: 254
minimum-length: 6
The unique public email address used to access the system.
nicknamestring
maximum-length: 100
Human friendly name for these credentials
sincedatetimeA timestamp from the moment the object was deleted.
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"company": number,
	"deleted": boolean,
	"login": string,
	"nickname": string,
	"since": string,
	"v": [
		number
	]
}

UserGeneralobject

Credentials, information, and preferences about a user.
JSON description
PropertyTypeDescription
companyuint64The company to which this user belongs.
contactuint64?Contact information for this user.
enabledbooleanIndicates whether system access is disabled.
formatsObject.<codified, datetimetemplate>
maximum-length of values: 20
The format strings defining the preferred way to display ambiguous values.
languagecodified
maximum-length: 5
minimum-length: 2
Preferred region/language for the UI and notifications. Valid formats use <ISO 639-1><dash><ISO 3166-2> such as "fr-CA" or "en-US".
loginemail
maximum-length: 254
minimum-length: 6
The unique public email address used to access the system.
measurementsObject.<codified, SystemsOfUnits>Preferred way of displaying ambiguous numbers in the context of measurements.
nicknamestring
maximum-length: 100
Human friendly name for these credentials
notifyArray.<UserNotifications>
maximum-count: 7
Definition of how and when to send alerts to the user.
optionsObject.<codified, string>
maximum-length of values: 20
Additional options which do not fit in with the formats or measurements preferences.
passwordExpiredbooleanIndicated whether the credentials have expired according to the company's policy.
processedUtcdatetimeWhen the was change procesed.
timezonecodifiedThe user's local timezone.
updatedby: login, from: monster
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"company": number,
	"contact": number,
	"enabled": boolean,
	"formats": {
		string: string
	},
	"language": string,
	"login": string,
	"measurements": {
		string: string
	},
	"nickname": string,
	"notify": [
		{
			"email": string,
			"enabled": boolean,
			"end": string,
			"name": string,
			"offline": [
				string
			],
			"online": [
				string
			],
			"sms": number,
			"start": string,
			"weekdays": [
				boolean
			]
		}
	],
	"options": {
		string: string
	},
	"passwordExpired": boolean,
	"processedUtc": string,
	"timezone": string,
	"updated": {
	},
	"v": [
		number
	]
}

UserGroupobject

Members of a group (as set by a User's User.groups or Machine's Machine.groups) allow for easy administration of permissions and levels of access.
JSON description
PropertyTypeDescription
companyuint64The company to which this group belongs.
iduint64Unique identifier of this group.
namestring
maximum-length: 100
A name given to this group.
notesstringNotes about this group, and to whom this group should be applied.
permissionsArray.<Permission>Permissions for this group.
processedUtcdatetimeWhen the was change procesed.
updatedby: login, from: monster
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"company": number,
	"id": number,
	"name": string,
	"notes": string,
	"permissions": [
		{
			"company": number,
			"kind": string,
			"labels": [
				string
			],
			"level": string,
			"method": string,
			"type": string
		}
	],
	"processedUtc": string,
	"updated": {
	},
	"v": [
		number
	]
}

UserGroupDeletedobject

The message format for when a deleted UserGroup is retrieved
JSON description
PropertyTypeValueDescription
companyuint64The company to which this group belongs.
deletedbooleantrue
iduint64Unique identifier of this group.
namestring
maximum-length: 100
A name given to this group.
notesstringNotes about this group, and to whom this group should be applied.
sincedatetimeA timestamp from the moment the object was deleted.
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"company": number,
	"deleted": boolean,
	"id": number,
	"name": string,
	"notes": string,
	"since": string,
	"v": [
		number
	]
}

UserNotificationsobject

Definition of how and when to send alerts to the user.
JSON description
PropertyTypeDescription
emailemail
maximum-length: 254
minimum-length: 6
Email address where the sent is sent. If not specified, the email address from the User's Contact is taken. If the contact has no email address, the alert is sent to the user's login.
enabledbooleanA flag for whether or not this schedule is in use.
endtimespanEnd time portion of the schedule that defines a period of the day when the user wants to receive alerts. The time value is defined in local time, not UTC.
namestring
maximum-length: 100
A common name like "Weekdays" or "Off Hours".
offlineArray.<NotificationMethod>A list of the types of methods to use to notify the user when they are not connected.
onlineArray.<NotificationMethod>A list of the types of methods to use to notify the user when they have an active WebSocket connection.
smsuint64?SMS address where the alert is sent. If not specified, the mobile phone number from the User's Contact is taken. If the contact has no mobile phone number, the alert is not sent.
starttimespanStart time portion of the schedule that defines a period of the day when the user wants to receive alerts. The time value is defined in local time, not UTC.
weekdaysArray.<boolean>
fixed count: 7
A 7 item, boolean array, determines if the user should be notified on that day of the week. The days of the week are defined in local time, not UTC.
JSON structure
{
	"email": string,
	"enabled": boolean,
	"end": string,
	"name": string,
	"offline": [
		string
	],
	"online": [
		string
	],
	"sms": number,
	"start": string,
	"weekdays": [
		boolean
	]
}

White-labelling

ColourStyleobject

Part of the White-labelling profile definitions.
JSON description
PropertyTypeDescription
fillcolour
maximum-length: 22
The colour of the background.
strokecolour
maximum-length: 22
The colour of the text or outline.
JSON structure
{
	"fill": string,
	"stroke": string
}

CompanyResellerobject

Defines the seller company's details for white-labelling.
JSON description
PropertyTypeDescription
contactInfoObject.<string, uint64>
maximum-count of keys: 100
for values see: Contact.id
A list of Contacts for company specific things like Technical Support, Billing, etc...
domainstring
maximum-length: 100
The URN and path to the instance of v4. It does not contain the protocol because all instances are required to be HTTPS.
favouritestring
maximum-length: 200
The name of the icon file used for browser bookmarks.
gamutObject.<string, ColourStyle>
maximum-length of keys: 25
Colours used as templates for status tags, labels, and places.
graphicsObject.<string, codified>
maximum-length of keys: 25
maximum-length of values: 30
A list of symbol names and their corresponding FontAwesome icon names.
iconstring
maximum-length: 200
The name of the image uploaded as the logo (used for collapsed/mobile view).
iduint64Unique identifier of the Company.
languagesArray.<codified>
maximum-length of values: 5
A list of supported languages for your customers.
notifyEmailNotificationServerEmailThe server used for notification and conversational email messages sent and received by the system.
notifySmsNotificationServerSmsDefinition for load-balanced outbound SMS numbers for the reseller.
parentuint64The unique identifier of this company's parent organization.
processedUtcdatetimeWhen the was change procesed.
recoverBodystringThe body of the email sent to a user requesting a password reset.
recoverIsHtmlboolean
recoverSubjectstringThe subject of the email sent to a user requesting a password reset.
serviceNamestring
maximum-length: 150
The name of the branded service being provided to the seller's customers.
termsPreamblestringA preamble to the general terms and conditions offered by Fleet Freedom.
termsUpdateddatetimeThe date and time when the terms were updated. This will promt users who are logging-in to re-agree to the new terms
updatedby: login, from: monster
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
websiteObject.<string, colour>
maximum-length of keys: 25
maximum-length of values: 22
Themed colours used in the web-based UI.
JSON structure
{
	"contactInfo": {
		string: number
	},
	"domain": string,
	"favourite": string,
	"gamut": {
		string: {
			"fill": string,
			"stroke": string
		}
	},
	"graphics": {
		string: string
	},
	"icon": string,
	"id": number,
	"languages": [
		string
	],
	"logo": string,
	"notifyEmail": {
		"incomingAddress": string,
		"incomingLogin": string,
		"incomingMessageNumber": number,
		"incomingPort": number,
		"incomingSecure": boolean,
		"incomingType": string,
		"outgoingAddress": string,
		"outgoingLogin": string,
		"outgoingPort": number,
		"outgoingReplyTo": string,
		"outgoingSecure": boolean,
		"outgoingType": string
	},
	"notifySms": {
		"notifyLimit": number,
		"phoneNumbers": {
			string: [
				number
			]
		}
	},
	"parent": number,
	"processedUtc": string,
	"recoverBody": string,
	"recoverIsHtml": boolean,
	"recoverSubject": string,
	"serviceName": string,
	"termsPreamble": string,
	"termsUpdated": string,
	"updated": {
	},
	"v": [
		number
	],
	"website": {
		string: string
	}
}

CompanyResellerDeletedobject

The message format for when a deleted CompanyReseller is retrieved
JSON description
PropertyTypeValueDescription
deletedbooleantrue
iduint64Unique identifier of the Company.
parentuint64The unique identifier of this company's parent organization.
sincedatetimeA timestamp from the moment the object was deleted.
vArray.<uint32>Object version keys used to validate synchronization for all object properties.
JSON structure
{
	"deleted": boolean,
	"id": number,
	"parent": number,
	"since": string,
	"v": [
		number
	]
}

NotificationServerEmailobject

The server used for notification and conversational email messages sent and received by the system.
JSON description
PropertyTypeDescription
incomingAddressstringThe domain or IP address of the incoming email server.
incomingLoginstringThe username used to login to the incoming email server.
incomingMessageNumberuint32IMAP message sequence number so only recent messages are retrieved.
incomingPortuint16The port number of the incoming email server.
incomingSecurebooleanIs the incoming email server using a secure SSL/TLS connection (it should).
incomingTypestringThe type of incoming protocol to use (IMAP or POP3).
outgoingAddressstringThe domain or IP address of the outgoing email server.
outgoingLoginstringThe username used to login to the outgoing email server.
outgoingPortuint16The port number of the outgoing email server.
outgoingReplyToemailAn optional field which can be set as the "sent from" and/or "reply-to" address.
outgoingSecurebooleanIs the outgoing email server using a secure SSL/TLS connection (it should).
outgoingTypestringThe type of outgoing protocol to use (only SMTP).
JSON structure
{
	"incomingAddress": string,
	"incomingLogin": string,
	"incomingMessageNumber": number,
	"incomingPort": number,
	"incomingSecure": boolean,
	"incomingType": string,
	"outgoingAddress": string,
	"outgoingLogin": string,
	"outgoingPort": number,
	"outgoingReplyTo": string,
	"outgoingSecure": boolean,
	"outgoingType": string
}

NotificationServerSmsobject

Definition for load-balanced outbound SMS numbers for the White-labelling profile.
JSON description
PropertyTypeDescription
notifyLimituint16A per-number/per-day limit on the amount of Notifications sent.
phoneNumbersObject.<string, Array.<phone>>
fixed length of keys: 2
All phone numbers listed by the country (using two-digit ISO 3166-1 alpha-2 country codes) they each serve.
JSON structure
{
	"notifyLimit": number,
	"phoneNumbers": {
		string: [
			number
		]
	}
}

ParamCompanyDirectoryGetBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
companyParamIdalwaysAn object to contain the "id" key.
company.iduint64alwaysIdentifier given as input for the command.
includeDeletedbooleanoptionalfalseWhen true, the command will also return a deleted Company.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"company": {
		"id": number
	},
	"includeDeleted": boolean,
	"reqId": number
}

ParamCompanyGeneralGetBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
companyParamIdalwaysAn object to contain the "id" key.
company.iduint64alwaysIdentifier given as input for the command.
includeDeletedbooleanoptionalfalseWhen true, the command will also return a deleted Company.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"company": {
		"id": number
	},
	"includeDeleted": boolean,
	"reqId": number
}

ParamCompanyLabelsGetBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
companyParamIdalwaysAn object to contain the "id" key.
company.iduint64alwaysIdentifier given as input for the command.
includeDeletedbooleanoptionalfalseWhen true, the command will also return a deleted Company.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"company": {
		"id": number
	},
	"includeDeleted": boolean,
	"reqId": number
}

ParamCompanyPoliciesGetBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
companyParamIdalwaysAn object to contain the "id" key.
company.iduint64alwaysIdentifier given as input for the command.
includeDeletedbooleanoptionalfalseWhen true, the command will also return a deleted Company.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"company": {
		"id": number
	},
	"includeDeleted": boolean,
	"reqId": number
}

ParamCompanyResellerBatchDeleteBaseParametersobject

Request description
PropertyTypeRequiredDescription
companyResellersArray.<ParamId>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"companyResellers": [
		{
			"id": number
		}
	],
	"reqId": number
}

ParamCompanyResellerBatchMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
companyResellersArray.<ParameterContent>optionalArray of parameters successfully parsed by the sub-command.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"companyResellers": [
		{
			"contactInfo": {
				string: number
			},
			"domain": string,
			"favourite": string,
			"gamut": {
				string: {
					"fill": string,
					"stroke": string
				}
			},
			"graphics": {
				string: string
			},
			"icon": string,
			"id": number,
			"languages": [
				string
			],
			"logo": string,
			"notifyEmail": {
				"incomingAddress": string,
				"incomingLogin": string,
				"incomingMessageNumber": number,
				"incomingPassword": string,
				"incomingPort": number,
				"incomingSecure": boolean,
				"incomingType": string,
				"outgoingAddress": string,
				"outgoingLogin": string,
				"outgoingPassword": string,
				"outgoingPort": number,
				"outgoingReplyTo": string,
				"outgoingSecure": boolean
			},
			"notifySms": {
				"notifyLimit": number,
				"phoneNumbers": {
					string: [
						number
					]
				}
			},
			"recoverBody": string,
			"recoverIsHtml": boolean,
			"recoverSubject": string,
			"serviceName": string,
			"termsPreamble": string,
			"termsUpdated": string,
			"v": [
				number
			],
			"website": {
				string: string
			}
		}
	],
	"reqId": number
}

ParamCompanyResellerDeleteBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
companyParamIdalwaysAn object to contain the "id" key.
company.iduint64alwaysIdentifier given as input for the command.
includeDeletedbooleanoptionalfalseWhen true, the command will also return a deleted Company.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"company": {
		"id": number
	},
	"includeDeleted": boolean,
	"reqId": number
}

ParamCompanyResellerGetBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
companyParamIdalwaysAn object to contain the "id" key.
company.iduint64alwaysIdentifier given as input for the command.
includeDeletedbooleanoptionalfalseWhen true, the command will also return a deleted Company.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"company": {
		"id": number
	},
	"includeDeleted": boolean,
	"reqId": number
}

ParamCompanyResellerListByParentBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
limituint16?optionalMaximum number of objects in this response.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"limit": number,
	"reqId": number
}

ParamCompanyResellerListByRefPairsBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
companyParamIdalways
company.iduint64alwaysIdentifier given as input for the command.
highestuint64?optional
includeArchivebooleanoptionalTakes the value of Parameters.includeDeleted when not specified. When true, the command will also return archived objects.
includeDeletedbooleanoptionalfalseWhen true, the command will also return deleted objects.
includeParentbooleanoptional
limituint16?optionalMaximum number of objects in this response.
lowestuint64?optional
referencesObject.<string, string>optionalCase-insensitive reference pairs used to match Companys.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
treebooleanoptional
Request structure
{
	"company": {
		"id": number
	},
	"highest": number,
	"includeArchive": boolean,
	"includeDeleted": boolean,
	"includeParent": boolean,
	"limit": number,
	"lowest": number,
	"references": {
		string: string
	},
	"reqId": number,
	"tree": boolean
}

ParamCompanyResellerMergeBaseParametersobject

Request description
PropertyTypeRequiredDescription
companyResellerObject.<string, ?>alwaysA simple object to contain the CompanyReseller parameters.
companyReseller.contactInfoObject.<string, uint64?>
maximum-count of keys: 100
for values see: Contact.id
optionalA list of Contacts for company specific things like Technical Support, Billing, etc...
companyReseller.domainstring
maximum-length: 100
createThe URN and path to the instance of v4. It does not contain the protocol because all instances are required to be HTTPS.
companyReseller.favouritestring
maximum-length: 200
optionalThe name of the icon file used for browser bookmarks.
companyReseller.gamutObject.<string, ColourStyle>
maximum-length of keys: 25
createColours used as templates for status tags, labels, and places.
companyReseller.graphicsObject.<string, codified>
maximum-length of keys: 25
maximum-length of values: 30
createA list of symbol names and their corresponding FontAwesome icon names.
companyReseller.iconstring
maximum-length: 200
createThe name of the image uploaded as the logo (used for collapsed/mobile view).
companyReseller.iduint64alwaysThe unique identifier of the company you want to update.
companyReseller.languagesArray.<codified>
maximum-length of values: 5
optionalA list of supported languages for your customers.
companyReseller.notifyEmailObject.<string, ?>createSettings for sending and receiving email notifcations and asset messages.
companyReseller.notifyEmail.incomingAddressstringoptionalThe domain or IP address of the incoming email server.
companyReseller.notifyEmail.incomingLoginstringoptionalThe username used to login to the incoming email server.
companyReseller.notifyEmail.incomingMessageNumberuint32?optionalIMAP message sequence number so only recent messages are retrieved.
companyReseller.notifyEmail.incomingPasswordstringoptionalThe password used to login to the incoming email server.
companyReseller.notifyEmail.incomingPortuint16?optionalThe port number of the incoming email server.
companyReseller.notifyEmail.incomingSecurebooleanoptionalIs the incoming email server using a secure SSL/TLS connection (it should).
companyReseller.notifyEmail.incomingTypestringoptionalThe type of incoming protocol to use (IMAP or POP3).
companyReseller.notifyEmail.outgoingAddressstringoptionalThe domain or IP address of the outgoing email server.
companyReseller.notifyEmail.outgoingLoginstringoptionalThe username used to login to the outgoing email server.
companyReseller.notifyEmail.outgoingPasswordstringoptionalThe password used to login to the outgoing email server.
companyReseller.notifyEmail.outgoingPortuint16?optionalThe port number of the outgoing email server.
companyReseller.notifyEmail.outgoingReplyToemailoptionalAn optional field which can be set as the "sent from" and/or "reply-to" address.
companyReseller.notifyEmail.outgoingSecurebooleanoptionalIs the outgoing email server using a secure SSL/TLS connection (it should).
companyReseller.notifySmsObject.<string, ?>createSettings for sending and receiving SMS notifcations and asset messages.
companyReseller.notifySms.notifyLimituint16?optionalA per-number/per-day limit on the amount of Notifications sent.
companyReseller.notifySms.phoneNumbersObject.<string, Array.<phone>>
fixed length of keys: 2
optionalAll phone numbers listed by the country (using two-digit ISO 3166-1 alpha-2 country codes) they each serve.
companyReseller.recoverBodystringcreateThe body of the email sent to a user requesting a password reset.
companyReseller.recoverIsHtmlbooleanoptional
companyReseller.recoverSubjectstringoptionalThe subject of the email sent to a user requesting a password reset.
companyReseller.serviceNamestring
maximum-length: 150
createThe name of the branded service being provided to the seller's customers.
companyReseller.termsPreamblestringoptionalA small body of text added as a preamble for the Trak-iT Wireless Inc. terms of service.
companyReseller.termsUpdateddatetimeoptionalA timestamp from when the preamble was changed.
companyReseller.vArray.<int32>optional
companyReseller.websiteObject.<string, colour>
maximum-length of keys: 25
maximum-length of values: 22
createThemed colours used in the web-based UI.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"companyReseller": {
		"contactInfo": {
			string: number
		},
		"domain": string,
		"favourite": string,
		"gamut": {
			string: {
				"fill": string,
				"stroke": string
			}
		},
		"graphics": {
			string: string
		},
		"icon": string,
		"id": number,
		"languages": [
			string
		],
		"logo": string,
		"notifyEmail": {
			"incomingAddress": string,
			"incomingLogin": string,
			"incomingMessageNumber": number,
			"incomingPassword": string,
			"incomingPort": number,
			"incomingSecure": boolean,
			"incomingType": string,
			"outgoingAddress": string,
			"outgoingLogin": string,
			"outgoingPassword": string,
			"outgoingPort": number,
			"outgoingReplyTo": string,
			"outgoingSecure": boolean
		},
		"notifySms": {
			"notifyLimit": number,
			"phoneNumbers": {
				string: [
					number
				]
			}
		},
		"recoverBody": string,
		"recoverIsHtml": boolean,
		"recoverSubject": string,
		"serviceName": string,
		"termsPreamble": string,
		"termsUpdated": string,
		"v": [
			number
		],
		"website": {
			string: string
		}
	},
	"reqId": number
}

ParamCompanyResellerRestoreBaseParametersobject

Request description
PropertyTypeRequiredDefaultDescription
companyParamIdalwaysAn object to contain the "id" key.
company.iduint64alwaysIdentifier given as input for the command.
includeDeletedbooleanoptionalfalseWhen true, the command will also return a deleted Company.
reqIdint32?optionalIdentifier used by external system to correlate requests to responses.
Request structure
{
	"company": {
		"id": number
	},
	"includeDeleted": boolean,
	"reqId": number
}

ParamEmailServerobject

The server used for notification and conversational email messages sent and received by the system.
JSON description
PropertyTypeDescription
incomingAddressstringThe domain or IP address of the incoming email server.
incomingLoginstringThe username used to login to the incoming email server.
incomingMessageNumberuint32?IMAP message sequence number so only recent messages are retrieved.
incomingPasswordstringThe password used to login to the incoming email server.
incomingPortuint16?The port number of the incoming email server.
incomingSecurebooleanIs the incoming email server using a secure SSL/TLS connection (it should).
incomingTypestringThe type of incoming protocol to use (IMAP or POP3).
outgoingAddressstringThe domain or IP address of the outgoing email server.
outgoingLoginstringThe username used to login to the outgoing email server.
outgoingPasswordstringThe password used to login to the outgoing email server.
outgoingPortuint16?The port number of the outgoing email server.
outgoingReplyToemailAn optional field which can be set as the "sent from" and/or "reply-to" address.
outgoingSecurebooleanIs the outgoing email server using a secure SSL/TLS connection (it should).
JSON structure
{
	"incomingAddress": string,
	"incomingLogin": string,
	"incomingMessageNumber": number,
	"incomingPassword": string,
	"incomingPort": number,
	"incomingSecure": boolean,
	"incomingType": string,
	"outgoingAddress": string,
	"outgoingLogin": string,
	"outgoingPassword": string,
	"outgoingPort": number,
	"outgoingReplyTo": string,
	"outgoingSecure": boolean
}

ParamSmsServerobject

Definition for load-balanced outbound SMS numbers for the White-labelling profile.
JSON description
PropertyTypeDescription
notifyLimituint16?A per-number/per-day limit on the amount of Notifications sent.
phoneNumbersObject.<string, Array.<phone>>
fixed length of keys: 2
All phone numbers listed by the country (using two-digit ISO 3166-1 alpha-2 country codes) they each serve.
JSON structure
{
	"notifyLimit": number,
	"phoneNumbers": {
		string: [
			number
		]
	}
}

RespCompanyDirectoryGetBaseResponseobject

Response description
PropertyTypeDescription
companyDirectoryThe requested CompanyDirectory.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"companyDirectory": {
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespCompanyGeneralGetBaseResponseobject

Response description
PropertyTypeDescription
companyGeneralCompanyGeneralThe requested CompanyGeneral.
companyGeneral.iduint64Unique identifier of the Company.
companyGeneral.namestring
maximum-length: 100
The organizational name.
companyGeneral.notesstringNotes.
companyGeneral.parentuint64The unique identifier of this company's parent organization.
companyGeneral.processedUtcdatetimeWhen the was change procesed.
companyGeneral.referencesObject.<string, string>
maximum-count: 10
maximum-length of keys: 20
maximum-length of values: 100
Name/value collections of custom fields used to refer to external systems.
companyGeneral.updatedby: login, from: monster
companyGeneral.vArray.<uint32>Object version keys used to validate synchronization for all object properties.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"companyGeneral": {
		"id": number,
		"name": string,
		"notes": string,
		"parent": number,
		"processedUtc": string,
		"references": {
			string: string
		},
		"updated": {
		},
		"v": [
			number
		]
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespCompanyLabelsGetBaseResponseobject

Response description
PropertyTypeDescription
companyLabelsCompanyStylesThe requested CompanyStyles.
companyLabels.iduint64Unique identifier of the Company.
companyLabels.labelsObject.<codified, LabelStyle>
for keys see: LabelStyle.code
The styles for labels added to Assets, Places, and other things.
companyLabels.parentuint64The unique identifier of this company's parent organization.
companyLabels.processedUtcdatetimeWhen the was change procesed.
companyLabels.tagsObject.<codified, LabelStyle>
for keys see: LabelStyle.code
The styles for status tags added to Assets.
companyLabels.updatedby: login, from: monster
companyLabels.vArray.<uint32>Object version keys used to validate synchronization for all object properties.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"companyLabels": {
		"id": number,
		"labels": {
			string: {
				"code": string,
				"fill": string,
				"graphic": string,
				"name": string,
				"notes": string,
				"stroke": string
			}
		},
		"parent": number,
		"processedUtc": string,
		"tags": {
			string: {
				"code": string,
				"fill": string,
				"graphic": string,
				"name": string,
				"notes": string,
				"stroke": string
			}
		},
		"updated": {
		},
		"v": [
			number
		]
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespCompanyPoliciesGetBaseResponseobject

Response description
PropertyTypeDescription
companyPoliciesCompanyPoliciesThe requested CompanyPolicies.
companyPolicies.iduint64Unique identifier of the Company.
companyPolicies.parentuint64The unique identifier of this company's parent organization.
companyPolicies.passwordPolicyPasswordPolicyThe password complexity and expiry policy.
companyPolicies.passwordPolicy.expireModePasswordExpiryModeDefines how passwords expire.
companyPolicies.passwordPolicy.expireThresholdbyteThe threshold for expiry.
companyPolicies.passwordPolicy.includeLettersbooleanDo passwords require alphabetical characters.
companyPolicies.passwordPolicy.includeNumbersbooleanDo passwords require numeric characters.
companyPolicies.passwordPolicy.includeSpecialbooleanDo passwords require non-alphanumeric characters.
companyPolicies.passwordPolicy.includeUpperLowerbooleanDo passwords require upper-case and lower-case letters.
companyPolicies.passwordPolicy.minimumLengthbyteThe minimum number of characters required.
companyPolicies.processedUtcdatetimeWhen the was change procesed.
companyPolicies.sessionPolicySessionPolicyThe session lifetime policy.
companyPolicies.sessionPolicy.applicationsArray.<string>The list of applications users are allowed to use to create sessions.
companyPolicies.sessionPolicy.expireTimeoutuint16The lifetime duration of a session in minutes.
companyPolicies.sessionPolicy.idleAllowedbooleanDefines whether a session should be automatically killed when the connection breaks.
companyPolicies.sessionPolicy.ipv4RangesArray.<ipv4>
maximum-length of values: 19
Restrict session creation to only the provided IPv4 ranges (using CIDR slash-notation). Leave blank for Internet access.
companyPolicies.sessionPolicy.maxSessionsbyteThe maximum number of sessions allowed per user.
companyPolicies.sessionPolicy.multiUserSessionMultiUserDefines the behaviour of the system when a user creates multiple sessions.
companyPolicies.updatedby: login, from: monster
companyPolicies.vArray.<uint32>Object version keys used to validate synchronization for all object properties.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"companyPolicies": {
		"id": number,
		"parent": number,
		"passwordPolicy": {
			"expireMode": string,
			"expireThreshold": number,
			"includeLetters": boolean,
			"includeNumbers": boolean,
			"includeSpecial": boolean,
			"includeUpperLower": boolean,
			"minimumLength": number
		},
		"processedUtc": string,
		"sessionPolicy": {
			"applications": [
				string
			],
			"expireTimeout": number,
			"idleAllowed": boolean,
			"ipv4Ranges": [
				string
			],
			"maxSessions": number,
			"multiUser": string
		},
		"updated": {
		},
		"v": [
			number
		]
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespCompanyResellerBatchDeleteBaseResponseobject

Response description
PropertyTypeDescription
companyResellersArray.<RespParentDeleted>Array or responses successfully processed by the sub-command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"companyResellers": [
		{
			"deleted": boolean,
			"id": number,
			"parent": number,
			"v": [
				number
			]
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespCompanyResellerBatchMergeBaseResponseobject

Response description
PropertyTypeDescription
companyResellersArray.<RespIdParent>Array or responses successfully processed by the sub-command.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"companyResellers": [
		{
			"id": number,
			"parent": number
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespCompanyResellerDeleteBaseResponseobject

Response description
PropertyTypeDescription
companyResellerRespParentDeletedAn object which contains the company's unique identifier and deleted status.
companyReseller.deletedbooleanFlag showing if the object is deleted.
companyReseller.iduint64?Identifier given as input for the command.
companyReseller.parentuint64Identifier of the parent to which the Company is a child.
companyReseller.vArray.<uint32>
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"companyReseller": {
		"deleted": boolean,
		"id": number,
		"parent": number,
		"v": [
			number
		]
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespCompanyResellerGetBaseResponseobject

Response description
PropertyTypeDescription
companyResellerCompanyResellerThe requested CompanyReseller.
companyReseller.contactInfoObject.<string, uint64>
maximum-count of keys: 100
for values see: Contact.id
A list of Contacts for company specific things like Technical Support, Billing, etc...
companyReseller.domainstring
maximum-length: 100
The URN and path to the instance of v4. It does not contain the protocol because all instances are required to be HTTPS.
companyReseller.favouritestring
maximum-length: 200
The name of the icon file used for browser bookmarks.
companyReseller.gamutObject.<string, ColourStyle>
maximum-length of keys: 25
Colours used as templates for status tags, labels, and places.
companyReseller.graphicsObject.<string, codified>
maximum-length of keys: 25
maximum-length of values: 30
A list of symbol names and their corresponding FontAwesome icon names.
companyReseller.iconstring
maximum-length: 200
The name of the image uploaded as the logo (used for collapsed/mobile view).
companyReseller.iduint64Unique identifier of the Company.
companyReseller.languagesArray.<codified>
maximum-length of values: 5
A list of supported languages for your customers.
companyReseller.notifyEmailNotificationServerEmailThe server used for notification and conversational email messages sent and received by the system.
companyReseller.notifyEmail.incomingAddressstringThe domain or IP address of the incoming email server.
companyReseller.notifyEmail.incomingLoginstringThe username used to login to the incoming email server.
companyReseller.notifyEmail.incomingMessageNumberuint32IMAP message sequence number so only recent messages are retrieved.
companyReseller.notifyEmail.incomingPortuint16The port number of the incoming email server.
companyReseller.notifyEmail.incomingSecurebooleanIs the incoming email server using a secure SSL/TLS connection (it should).
companyReseller.notifyEmail.incomingTypestringThe type of incoming protocol to use (IMAP or POP3).
companyReseller.notifyEmail.outgoingAddressstringThe domain or IP address of the outgoing email server.
companyReseller.notifyEmail.outgoingLoginstringThe username used to login to the outgoing email server.
companyReseller.notifyEmail.outgoingPortuint16The port number of the outgoing email server.
companyReseller.notifyEmail.outgoingReplyToemailAn optional field which can be set as the "sent from" and/or "reply-to" address.
companyReseller.notifyEmail.outgoingSecurebooleanIs the outgoing email server using a secure SSL/TLS connection (it should).
companyReseller.notifyEmail.outgoingTypestringThe type of outgoing protocol to use (only SMTP).
companyReseller.notifySmsNotificationServerSmsDefinition for load-balanced outbound SMS numbers for the reseller.
companyReseller.notifySms.notifyLimituint16A per-number/per-day limit on the amount of Notifications sent.
companyReseller.notifySms.phoneNumbersObject.<string, Array.<phone>>
fixed length of keys: 2
All phone numbers listed by the country (using two-digit ISO 3166-1 alpha-2 country codes) they each serve.
companyReseller.parentuint64The unique identifier of this company's parent organization.
companyReseller.processedUtcdatetimeWhen the was change procesed.
companyReseller.recoverBodystringThe body of the email sent to a user requesting a password reset.
companyReseller.recoverIsHtmlboolean
companyReseller.recoverSubjectstringThe subject of the email sent to a user requesting a password reset.
companyReseller.serviceNamestring
maximum-length: 150
The name of the branded service being provided to the seller's customers.
companyReseller.termsPreamblestringA preamble to the general terms and conditions offered by Fleet Freedom.
companyReseller.termsUpdateddatetimeThe date and time when the terms were updated. This will promt users who are logging-in to re-agree to the new terms
companyReseller.updatedby: login, from: monster
companyReseller.vArray.<uint32>Object version keys used to validate synchronization for all object properties.
companyReseller.websiteObject.<string, colour>
maximum-length of keys: 25
maximum-length of values: 22
Themed colours used in the web-based UI.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"companyReseller": {
		"contactInfo": {
			string: number
		},
		"domain": string,
		"favourite": string,
		"gamut": {
			string: {
				"fill": string,
				"stroke": string
			}
		},
		"graphics": {
			string: string
		},
		"icon": string,
		"id": number,
		"languages": [
			string
		],
		"logo": string,
		"notifyEmail": {
			"incomingAddress": string,
			"incomingLogin": string,
			"incomingMessageNumber": number,
			"incomingPort": number,
			"incomingSecure": boolean,
			"incomingType": string,
			"outgoingAddress": string,
			"outgoingLogin": string,
			"outgoingPort": number,
			"outgoingReplyTo": string,
			"outgoingSecure": boolean,
			"outgoingType": string
		},
		"notifySms": {
			"notifyLimit": number,
			"phoneNumbers": {
				string: [
					number
				]
			}
		},
		"parent": number,
		"processedUtc": string,
		"recoverBody": string,
		"recoverIsHtml": boolean,
		"recoverSubject": string,
		"serviceName": string,
		"termsPreamble": string,
		"termsUpdated": string,
		"updated": {
		},
		"v": [
			number
		],
		"website": {
			string: string
		}
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespCompanyResellerListByParentBaseResponseobject

Response description
PropertyTypeDescription
companyResellersArray.<CompanyReseller>The list of requested companies.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"companyResellers": [
		{
			"contactInfo": {
				string: number
			},
			"domain": string,
			"favourite": string,
			"gamut": {
				string: {
					"fill": string,
					"stroke": string
				}
			},
			"graphics": {
				string: string
			},
			"icon": string,
			"id": number,
			"languages": [
				string
			],
			"logo": string,
			"notifyEmail": {
				"incomingAddress": string,
				"incomingLogin": string,
				"incomingMessageNumber": number,
				"incomingPort": number,
				"incomingSecure": boolean,
				"incomingType": string,
				"outgoingAddress": string,
				"outgoingLogin": string,
				"outgoingPort": number,
				"outgoingReplyTo": string,
				"outgoingSecure": boolean,
				"outgoingType": string
			},
			"notifySms": {
				"notifyLimit": number,
				"phoneNumbers": {
					string: [
						number
					]
				}
			},
			"parent": number,
			"processedUtc": string,
			"recoverBody": string,
			"recoverIsHtml": boolean,
			"recoverSubject": string,
			"serviceName": string,
			"termsPreamble": string,
			"termsUpdated": string,
			"updated": {
			},
			"v": [
				number
			],
			"website": {
				string: string
			}
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespCompanyResellerListByRefPairsBaseResponseobject

Response description
PropertyTypeDescription
companyResellersArray.<CompanyReseller>The list of requested companies.
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
referencesObject.<string, string>The reference string given as input.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"companyResellers": [
		{
			"contactInfo": {
				string: number
			},
			"domain": string,
			"favourite": string,
			"gamut": {
				string: {
					"fill": string,
					"stroke": string
				}
			},
			"graphics": {
				string: string
			},
			"icon": string,
			"id": number,
			"languages": [
				string
			],
			"logo": string,
			"notifyEmail": {
				"incomingAddress": string,
				"incomingLogin": string,
				"incomingMessageNumber": number,
				"incomingPort": number,
				"incomingSecure": boolean,
				"incomingType": string,
				"outgoingAddress": string,
				"outgoingLogin": string,
				"outgoingPort": number,
				"outgoingReplyTo": string,
				"outgoingSecure": boolean,
				"outgoingType": string
			},
			"notifySms": {
				"notifyLimit": number,
				"phoneNumbers": {
					string: [
						number
					]
				}
			},
			"parent": number,
			"processedUtc": string,
			"recoverBody": string,
			"recoverIsHtml": boolean,
			"recoverSubject": string,
			"serviceName": string,
			"termsPreamble": string,
			"termsUpdated": string,
			"updated": {
			},
			"v": [
				number
			],
			"website": {
				string: string
			}
		}
	],
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"references": {
		string: string
	},
	"reqId": number
}

RespCompanyResellerMergeBaseResponseobject

Response description
PropertyTypeDescription
companyResellerRespIdParentAn object which contains the "id" and "company" keys.
companyReseller.iduint64?Identifier given as input for the command.
companyReseller.parentuint64?Identifier of the parent to which this company belongs
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"companyReseller": {
		"id": number,
		"parent": number
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}

RespCompanyResellerRestoreBaseResponseobject

Response description
PropertyTypeDescription
companyResellerRespParentDeletedAn object which contains the company's unique identifier and deleted status.
companyReseller.deletedbooleanFlag showing if the object is deleted.
companyReseller.iduint64?Identifier given as input for the command.
companyReseller.parentuint64Identifier of the parent to which the Company is a child.
companyReseller.vArray.<uint32>
errorCodeErrorCodeThe unique, numeric error code when processing this request.
errorDetailsErrorDetailAn object to provide developers with a hint about the nature of the error. The key is not always present, and only available for some errors.
messagestringAn English description of the error.
reqIdint32?Identifier used by external system to correlate requests to responses.
Response structure
{
	"companyReseller": {
		"deleted": boolean,
		"id": number,
		"parent": number,
		"v": [
			number
		]
	},
	"errorCode": number,
	"errorDetails": {
		"kind": string
	},
	"message": string,
	"reqId": number
}