Viewing Dispatch Task Signature
Task Signatures
Some Task clients can send a captured, bitmap image, of a signature upon completion of a task. For example, the Trak iT Wireless Mobile App installed from the Play Store or the iTunes App Store optionally records a signature with each completed task.
Previously, the session identifier was being passed in the URL, but it is now passed in the query string as ghostId.
Original size
The signature is returned in its original size, but cropped to remove all white-space. The file may have been re-compressed or re-processed by the server so do not expect a bit-wise identical image.
https://img.fleetfreedom.com/signature/taskId?ghostId=ghostId
Rotation for optimal viewing
To help make the signatures look their best, the Pictures API can rotate any captured signature from portrait to landscape (or to portrait) on request. By default, no rotation action takes place.
Rotating the signature also works in tandem with re-sizing. In that case, the rotation operation is performed first and then the re-size operation.
https://img.fleetfreedom.com/signature/taskId?ghostId=ghostId&rotate=mode
Re-sized
Re-sizing is accomplished by using the "size" parameter in the request's query string and specifying only one number (unsigned integer). This number will restrict the maximum height and width of the returned image without affecting the aspect ratio.
Before the re-sizing operation is performed, the image is cropped to remove all white-space around the captured signature.
https://img.fleetfreedom.com/signature/taskId?ghostId=ghostId&size=maxWidthOrHeight