Please notice
that the examples below do not show all possibilities of data you can send.
Refer to the specification
to check out all possibilities.
One complete
RSI-XML message can look like this:
<?xml version="1.0"?>
<!DOCTYPE Interface SYSTEM "interface-v1-0.dtd">
<Interface>
<Header>
<Sender>
<CommunicationId>
RSIDUS
</CommunicationId>
<Ref>
<Type>
PSN
</Type>
<Data>
6550001000
</Data>
</Ref>
<Timestamp>
<Type>
GEN
</Type>
<Data>
20000208115637
</Data>
</Timestamp>
</Sender>
<Receiver>
<CommunicationId>
WACHEL
</CommunicationId>
</Receiver>
<MessageId>
40
</MessageId>
</Header>
<Shipment>
<ShipmentId>
<UniqueId>
RSIDUS00000032108
</UniqueId>
<Master>
-
</Master>
<House>
FRA-00000001
</House>
<TransportType>
air
</TransportType>
<ShipmentType>
house
</ShipmentType>
</ShipmentId>
<Shipper>
<AddressId>
<Data>
900045
</Data>
<Type>
NAD
</Type>
</AddressId>
<Address>
<Name>
TEST AGENT - FRANKFURT
</Name>
<Street>
9 KLEE STRASSE
</Street>
<Street>
GERMANY
</Street>
<City>
<CityName>
FRANKFURT
</CityName>
<Zip>
23456
</Zip>
<CityCode>
FRA
</CityCode>
</City>
<Country>
<CountryName>
GERMANY, FEDERAL REPUBLIC
</CountryName>
<CountryIsoCode>
DE
</CountryIsoCode>
</Country>
</Address>
<AccountNo>
888888
</AccountNo>
</Shipper>
<Consignee>
<AddressId>
<Data>
000004
</Data>
<Type>
NAD
</Type>
</AddressId>
<Address>
<Name>
TEST USA LTD.
</Name>
<Street>
FIFTH AVENUE
</Street>
<Street>
USA
</Street>
<City>
<CityName>
NEW YORK
</CityName>
<Zip>
12345
</Zip>
<State>
NY
</State>
<CityCode>
JFK
</CityCode>
</City>
<Country>
<CountryName>
UNITED STATES OF AMERICA
</CountryName>
<CountryIsoCode>
US
</CountryIsoCode>
</Country>
</Address>
<AccountNo>
888888
</AccountNo>
</Consignee>
<Goods>
<Description>
<Data>
1 MOTORBLOCK AND
</Data>
<Data>
9 BATTERIES
</Data>
<Data>
1 RADIO
</Data>
<Data>
NO DANGEROUS GOODS
</Data>
</Description>
<Gid>
<Pieces>
10
</Pieces>
<Vol>
<Data>
1
</Data>
<Unit>
CBM
</Unit>
</Vol>
<Mea>
<Type>
chargeable
</Type>
<Data>
259.0
</Data>
<Unit>
KG
</Unit>
</Mea>
<Mea>
<Type>
gross
</Type>
<Data>
259.0
</Data>
<Unit>
KG
</Unit>
</Mea>
<RateClass>
M
</RateClass>
<Rate>
<Data>
150.00
</Data>
<Cur>
DEM
</Cur>
</Rate>
<WeightCharge>
<Data>
150.00
</Data>
<Cur>
DEM
</Cur>
</WeightCharge>
<Details>
<Pieces>
1
</Pieces>
<Length>
100
</Length>
<Height>
120
</Height>
<Width>
120
</Width>
<Unit>
CM
</Unit>
<Vol>
<Data>
1440.000
</Data>
<Unit>
CBM
</Unit>
</Vol>
</Details>
<Details>
<Pieces>
9
</Pieces>
<Length>
10
</Length>
<Height>
25
</Height>
<Width>
50
</Width>
<Unit>
CM
</Unit>
<Vol>
<Data>
112.500
</Data>
<Unit>
CBM
</Unit>
</Vol>
</Details>
</Gid>
<Gid>
<Pieces>
1
</Pieces>
<Vol>
<Data>
3
</Data>
<Unit>
CBM
</Unit>
</Vol>
<Mea>
<Type>
chargeable
</Type>
<Data>
80.0
</Data>
<Unit>
KG
</Unit>
</Mea>
<Mea>
<Type>
gross
</Type>
<Data>
80.0
</Data>
<Unit>
KG
</Unit>
</Mea>
<RateClass>
M
</RateClass>
<Rate>
<Data>
13.00
</Data>
<Cur>
DEM
</Cur>
</Rate>
<WeightCharge>
<Data>
13.00
</Data>
<Cur>
DEM
</Cur>
</WeightCharge>
<Details>
<Pieces>
1
</Pieces>
<Length>
50
</Length>
<Height>
50
</Height>
<Width>
50
</Width>
<Unit>
CM
</Unit>
<Vol>
<Data>
125.000
</Data>
<Unit>
CBM
</Unit>
</Vol>
</Details>
</Gid>
</Goods>
<IncoTerms>
<Type>
EXW
</Type>
</IncoTerms>
<Tdt>
<Departure>
<CityCode>
FRA
</CityCode>
<CityName>
FRANKFURT ON MAIN
</CityName>
</Departure>
<Destination>
<CityCode>
NYC
</CityCode>
<CityName>
NEW YORK INT
</CityName>
</Destination>
<Air>
<Departure>
<CityCode>
FRA
</CityCode>
<CityName>
FRANKFURT ON MAIN
</CityName>
</Departure>
<Destination>
<CityCode>
NYC
</CityCode>
<CityName>
NEW YORK INT
</CityName>
</Destination>
<FlightId>
<CarrierCode>
LH
</CarrierCode>
<FlightNo>
123412
</FlightNo>
<Timestamp>
<Type>
ETD
</Type>
<Data>
20000212094500
</Data>
</Timestamp>
<Timestamp>
<Type>
ETA
</Type>
<Data>
20000212133700
</Data>
</Timestamp>
</FlightId>
<Carrier>
<AddressId>
<Data>
600156
</Data>
<Type>
NAD
</Type>
</AddressId>
<Address>
<Name>
DEUTSCHE LUFTHANSA AG
</Name>
<Name>
ROOM 302, 3/F
</Name>
<Street>
CARGO TERMINAL II
</Street>
<Street>
HK INT'L AIRPORT
</Street>
<City>
<CityName>
KOWLOON
</CityName>
</City>
<Country>
<CountryName>
HONG KONG
</CountryName>
<CountryIsoCode>
HK
</CountryIsoCode>
</Country>
</Address>
</Carrier>
</Air>
<Air>
<Departure>
<CityCode>
FRA
</CityCode>
<CityName>
FRANKFURT ON MAIN
</CityName>
</Departure>
<Destination>
<CityCode>
NYC
</CityCode>
<CityName>
NEW YORK INT
</CityName>
</Destination>
<FlightId>
<CarrierCode>
LH
</CarrierCode>
<FlightNo>
432113
</FlightNo>
<Timestamp>
<Type>
ETD
</Type>
<Data>
20000213101700
</Data>
</Timestamp>
<Timestamp>
<Type>
ETA
</Type>
<Data>
20000213141300
</Data>
</Timestamp>
</FlightId>
<Carrier>
<AddressId>
<Data>
600156
</Data>
<Type>
NAD
</Type>
</AddressId>
<Address>
<Name>
DEUTSCHE LUFTHANSA AG
</Name>
<Name>
ROOM 302, 3/F
</Name>
<Street>
CARGO TERMINAL II
</Street>
<Street>
HK INT'L AIRPORT
</Street>
<City>
<CityName>
KOWLOON
</CityName>
</City>
<Country>
<CountryName>
HONG KONG
</CountryName>
<CountryIsoCode>
HK
</CountryIsoCode>
</Country>
</Address>
</Carrier>
</Air>
</Tdt>
<Charges>
<Type>
21
</Type>
<Ftx>
<Type>
Charges
</Type>
<Data>
WAREHOUSE STORAGE............:
</Data>
</Ftx>
<Data>
250.00
</Data>
<Cur>
EUR
</Cur>
<Terms>
P
</Terms>
<Due>
A
</Due>
</Charges>
<Charges>
<Type>
GL
</Type>
<Ftx>
<Type>
Charges
</Type>
<Data>
GENERAL......................:
</Data>
</Ftx>
<Data>
34.00
</Data>
<Cur>
EUR
</Cur>
<Terms>
C
</Terms>
<Due>
A
</Due>
</Charges>
<Charges>
<Type>
17
</Type>
<Ftx>
<Type>
Charges
</Type>
<Data>
DOCUMENTATION................:
</Data>
</Ftx>
<Data>
100.00
</Data>
<Cur>
EUR
</Cur>
<Terms>
P
</Terms>
<Due>
A
</Due>
</Charges>
<Values>
<Type>
carriage
</Type>
<Data>
13.00
</Data>
<Cur>
DEM
</Cur>
</Values>
<Values>
<Type>
customs
</Type>
<Data>
25.00
</Data>
<Cur>
DEM
</Cur>
</Values>
<Values>
<Type>
insurance
</Type>
<Data>
1000.00
</Data>
<Cur>
DEM
</Cur>
</Values>
<Values>
<Type>
cod
</Type>
<Data>
132.00
</Data>
<Cur>
DEM
</Cur>
</Values>
<Values>
<Type>
svs
</Type>
<Data>
13.00
</Data>
<Cur>
DEM
</Cur>
</Values>
<Ref>
<Type>
SRF
</Type>
<Data>
SREF 4711
</Data>
</Ref>
<Ref>
<Type>
PON
</Type>
<Data>
PON 12345-A
</Data>
</Ref>
<Timestamp>
<Type>
ENT
</Type>
<Data>
20000208000000
</Data>
</Timestamp>
<Timestamp>
<Type>
SHP
</Type>
<Data>
20000208000000
</Data>
</Timestamp>
<Ftx>
<Type>
HAN
</Type>
<Data>
SHIPPERS: REFERENCE SREF 4711 HANDLING INFORMATION
</Data>
</Ftx>
<Ftx>
<Type>
ACC
</Type>
<Data>
ACCOUNTING INFORMATION P.O. NO. :PON 12345-A E C D'S : :
</Data>
</Ftx>
</Shipment>
</Interface>
To delete a
shipment, you send something like this:
<?xml version="1.0"?>
<!DOCTYPE Interface SYSTEM "interface-v1-0.dtd">
<Interface>
<Header>
<Sender>
<CommunicationId>
RSIDUS
</CommunicationId>
<Ref>
<Type>
PSN
</Type>
<Data>
6000702000
</Data>
</Ref>
<Timestamp>
<Type>
GEN
</Type>
<Data>
20000208120031
</Data>
</Timestamp>
</Sender>
<Receiver>
<CommunicationId>
WACHEL
</CommunicationId>
</Receiver>
<MessageId>
41
</MessageId>
</Header>
<Shipment>
<ShipmentId>
<UniqueId>
RSIDUS00000032107
</UniqueId>
<Master>
DUS-44141414
</Master>
<House>
DUS-44141414
</House>
<TransportType>
air
</TransportType>
<ShipmentType>
direct
</ShipmentType>
</ShipmentId>
<DeleteFlag>
Delete
</DeleteFlag>
</Interface>