Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Sv translation
languageen

Returns RS-232 Data with activated RS-232 Extension

Description

get_rs232ext.php?company=COMPANY_RTIKEY&vehicle=VEHICLE_RTIKEY&start=YYYYMMDDHHMMSS&end=YYYYMMDDHHMMSS&format=CSV&charset=ISO-8859-1

Parameter

Parameter
Beschreibung
Typ
Hinweis
Pflicht
companyRTI company keystring yes
vehicleRTI vehicle keystring yes
beginstart of requested time rangedatestring

Format: YYYYMMDDHHMMSS

Between begin and end maximum 7 days difference allowed

yes

endned of requested time rangedatestring

Format: YYYYMMDDHHMMSS

Between begin and end maximum 7 days difference allowed

yes
modereturn formatstringCSV (Standard) or CSV_B64no
charsetreturn charsetstringDefault: ISO-8859-1 (alltough a free defined charset code)no

Return

Return a string. In case of error "ERROR:Description" will be returned.

CSV Format

Metainformationen

Delimitersemicolon ( ; )
Text Delimiterdouble quote ( " )
Line End0x0D 0x0A (CarriageReturn LineFeed)
HeaderLine 1

Columns

Column
Description
 
DATEGPS date when measurement was created YYYY-MM-DD HH:MM:SS
CARVehicle LicenceString
SERIALOUTPUTRS-232 DataString

Example

Code Block
"DATE";"CAR";"SERIALOUTPUT"
"2014-03-20 11:43:01";"FLT017 (T34118.0110)";"Prop.Skalning     Av"
"2014-03-20 11:43:01";"FLT017 (T34118.0110)";"Oputput Portt 1         Text"
"2014-03-20 11:43:01";"FLT017 (T34118.0110)";"F"rvald Tara  Av"

CSV Base 64 Format

Metainformationen

DelimiterComma semicolon ( , ; )
Text Delimiterdouble quote ( " )
Line End0x0D 0x0A (CarriageReturn LineFeed)
HeaderLine 1

Columns

Column
Description
 
DATEGPS date when measurement was created YYYY-MM-DD HH:MM:SS
CARVehicle LicenceString
SERIALOUTPUTRS-232 DataString

Example

Code Block
"DATE",;"CAR",;"SERIALOUTPUTSERIALOUTPUTB64"
"2014-03-20 11:43:01",;"DD-ABC 123","//////////8bIQ=FLT017 (T34118.0110)";"UHJvcC5Ta2FsbmluZyAgICAgQXY="
"2014-03-20 11:43:01",;"DD-ABC 123","UHJvZ3JhbXZhcmEgbm8uIFBTMzEyLTAwMnJldjA4FLT017 (T34118.0110)";"T3B1dHB1dCBQb3J0dCAxICAgICAgICAgVGV4dA=="
"2014-03-20 11:43:01",;"DD-ABC 123","S2FsaWJyZXJpbmdzbW9kIEluc3QudCAzMiBUaW1lcwFLT017 (T34118.0110)";"RpRydmFsZCBUYXJhICBBdg=="

Example Calls

Code Block
titleRequest with default CSVformat and UTF-8 charset
http://map.yellowfox.de/rti/get_rs232ext.aspphp?company=COMPANY_RTIKEY&vehicle=VEHICLE_RTIKEY&beginstart=20140320000000&end=20140321000000&charset=UTFutf-8
Code Block
titleRequest with format CSV Base 64
http://map.yellowfox.de/rti/get_rs232ext.aspphp?company=COMPANY_RTIKEY&vehicle=VEHICLE_RTIKEY&beginstart=20140320000000&end=20140321000000&modeformat=CSVcsv_B64b64