SetTrackPhoto

Uploads one or more picture joining them to a given point returning the number of pictures uploaded

public int SetTrackPhoto(bool <byHttps>, string <userName>, string <password>, TrackPhotoParameters <trackPhotoParameters>, ref HttpFileCollection <uploadFiles>, ref char <messageType>, ref string <message>)

Parameters:

bool <byHttps> Set to true if you want to user https protocol otherwise, if you want to use http, set it to false
string <userName> A string containing the username assigned from MyWakes
string <password> A string containing the password for the MyWakes user
TrackPhotoParameters <trackPhotoParameters> A TrackPhotoParameters object containing command's specific parameters
HttpFileCollection <UploadFiles> HttpFileCollections with files streams to upload
ref char <messageType> A string containing output parameter that will return the type of message returned in <message> field: I=information, W=warning, E=error
ref string <message> A string containing output parameter with the message content

TrackPhotoParameters

decimal <Altitude> Optional. The altitude to link to the pictures.
decimal <Latitude> Optional. The latitude to link to the pictures.
decimal <Longitude> Optional. The longitude to link to the pictures.
string <Message> Optional. A description to link to the pictures.
UInt32 <TrackId> The Id of the track in which save the uploaded pictures

Returned Type: int

Returns the number of picture successfully uploaded.

Terms Of Use | Privacy Statement | Company info
  • © Cedac Sistemi srl
  • Head office: Via Toscana, 3 40035 Castiglione dei Pepoli (Italy) Tel.: +39 0534-93811 Fax: +39 0534-93899
  • Branch office: Via del Lavoro, 47 40033 Casalecchio di Reno (Italy)
  • Branch office: Via Parini, 1 40033 Casalecchio di Reno (Italy)
  • Share capital Euro 26,000.00 - Company Register of Bologna / VAT no / fiscal code 01695261204