Click or drag to resize
LegacyTelogisServiceCreatePhoto Method
Print this page
Uploads a driver photo.

Namespace: Telogis.API
 
Syntax
public long CreatePhoto(
	string type,
	byte[] data
)

Parameters

type
Type: SystemString
Specifies the file format for the photo. Valid formats are jpg, png, and gif.
data
Type: SystemByte
Binary data for the photo.

Return Value

Type: Int64
The ID of the created photo.
Remarks
Driver photos must be less than 320 x 240 pixels and uploaded in one of the following formats: .jpg, .png, and .gif. After you submit the request, the response returns an ID that you can use to set the PhotoId for the Driver Properties and Unit Properties.
See Also