You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 43 Next »

Showns all form data, recieved by the selected vehicles, for defined date range.

Description

get_custom_form_data.php?company=COMPANY_RTIKEY&import=IMPORT_RTIKEY&form=FORM_NAME&start=YYYYMMDDHHMMSS&end=YYYYMMDDHHMMSS

Parameters

 

Parameter
Description
Type
Note
Required
companyRTI company keystring yes
vehicleRTI vehicle keystringOn of vehicle, group or import must be defined!yes
groupRTI group keystringOn of vehicle, group or import must be defined!yes
import

RTI import key (all vehicles)

stringOn of vehicle, group or import must be defined!yes
startDatum ab dem alle Formulardaten zurückgegeben werdenstringFormat: YYYYMMDDHHMMSSyes
endDatum bis zu dem alle Formulardaten zurückgegeben werdenstringFormat: YYYYMMDDHHMMSSyes
formthe form namestringPossible to define form or custorder as parameter but not needed, then all is reportedno
custorderUser defined order numberstringPossible to define form or custorder as parameter but not needed, then all is reportedno
outputSelection of output formatstringChoice to select output format, if not set the automatic format is CVS 

Return

A string is returned. On error "ERROR:Description" is returned.

CSV format

If the request is valid, the data are returned as CSV (Comma Separated Value) format. The first response line is always
the header, defining the column names. After it the personal data follows.

Meta informations

SeparatorSemicolon ( ; )
DelimiterDouble quote ( " )
Line break0x0D 0x0A (CarriageReturn LineFeed)
HeaderLine 1
EncodingUTF-8

Columns

Column
Description
DATEDate with format (YYYY-MM-DD HH:MM:SS)
VEHICLEVehicle sign
DRIVERDriver name (if avialable)
LATLatitude coordinate
LONLongitude coordinate
SATSatellite count
IGNITIONIgnition ON(1) or OFF(0)
ENTRY1Input field 1 value.
ENTRY2Input field 2 value.
ENTRY3Input field 3 value.
ENTRY4Input field 4 value.
ENTRY5Input field 5 value.
ENTRY6Input field 6 value.
ENTRY7Input field 7 value.
ENTRY8Input field 8 value.
ENTRY9Input field 9 value.
ENTRY10Input field 10 value.
KMCurrent mileage in kilometers of the vehicle at time of completing form
ORDERuser defined order number if form is assigned to an order
FORMThe form name

Example

Example-Answer
"DATE";"VEHICLE";"DRIVER";"LAT";"LON";"SAT";"IGNITION";"ENTRY1";"ENTRY2";"ENTRY3";"ENTRY4";"ENTRY5";"ENTRY6";"ENTRY7";"ENTRY8";"ENTRY9";"ENTRY10";"KM";"ORDER";"FORM"
"2013-03-28 09:29:17";"DD-AB 123";"Herr Fuchs";"51.036687";"13.599141";"9";"0";"111";"22.12.89";"11:33";"Eintrag5";"TEXT10";"TEXT30";"777.77";"1";"";"";"123456";"AUFTRAG1";"UNTERSCHRIFT"

JSON format

Example

[{
	"date":"2013-03-28 09:29:17",
	"vehicle":"DD-AB 123",
	"driver":"Herr Fuchs",
	"lat":51.036687,
	"lon":13.599141,
	"sat":9,
	"ignition":0,
	"entry1":"111",
	"entry2":"22.12.89",
	"entry3":"11:33",
	"entry4":"Eintrag5",
	"entry5":"TEXT10",
	"entry6":"TEXT30",
	"entry7":"777.77",
	"entry8":"1",
	"entry9":"",
	"entry10":"",
	"km":"123456",
	"order":"AUFTRAG1",
	"form":"UNTERSCHRIFT"
}]

Example calls

For all Vehicles at 2015-08-01 for form "Form Name"
http://map.yellowfox.de/rti/get_custom_form_data.php?company=COMPANY_RTIKEY&import=IMPORT_RTIKEY&form=Form+Name&start=20150801000000&end=20150801235959
For a single vehicle at august 2015 and custom order number 123456
http://map.yellowfox.de/rti/get_custom_form_data.php?company=COMPANY_RTIKEY&vehicle=VEHICLE_RTIKEY&custorder=123456&start=20150801000000&end=20150831235959

 

 

 

  • No labels