Job Request Body
POST request body contains information about the job sent to the asset with the Fleet Connectivity ecosystem.
The overall message size must not exceed 3500 characters in UTF-8 encoding.
The table below lists the elements of the post body. For an example of a post body, see Sending a Job to an Asset.
| ||Yes||String||Specifies the identifier for the asset receiving the job. The maximum length is 50 characters. For more information on the Fleet Connectivity ecosystem, see Fleet Connectivity Ecosystem.|
| ||Yes||String|| Contains the structure expected by the application in the asset, allows for any JSON structure. For example, the asset application expects destination geocoordinates and the asset needs to avoid a bounding box of an area. If the application uses the parameter |
| ||Yes||String||Specifies the identifier for the dispatcher of the job. The maximum length is 50 characters. For more information on the Fleet Connectivity ecosystem, see Fleet Connectivity Ecosystem.|
| ||Yes||String||Specifies a threshold as a percentage of the estimated time of arrival at which the application used by the asset should send an update. For example, when you specify a value of 5, the asset's application sends an update if the estimated time of arrival changes by more than five percent (5%).|
| ||Yes||String||Specifies a unique identifier defined by the dispatcher application. The maximum length is 50 characters. For more information on the Fleet Connectivity ecosystem, see Fleet Connectivity Ecosystem.|
| ||No||String||Optional text message.|
| ||Yes||String|| Specifies the type of job. The allowed values are: |
| ||Yes||String||Indicates the protocol version used in the message. The value must be 1.0.|
| ||No||String|| Firebase Cloud Messaging server key. If set, an empty push notification will be sent to the Android device, so that asset's app knows it should check for updates. Obtain a server key for your application at firebase.google.com. Assets must send their |