Struktura ShipStructure
Opisywana struktura jest obiektem służącym do opisywania przesyłek w systemie.
Pola struktury
Nazwa pola | Typ | Wymagane? | Opis |
---|---|---|---|
shipper | FullAddressDataStructure | Tak | Struktura adresowa nadawcy |
receiver | FullAddressDataStructure | Tak | Struktura adresowa odbiorcy |
servicePointAccountNumber | string (7) | Tak | Numer SAP service pointu, wymagany do pobrania adresu |
Przykład
<ship> <shipper> <address> <name>Testomir Testalski</name> <postcode>00999</postcode> <city>Testowa</city> <street>Testnicka</street> <houseNumber>78</houseNumber> <apartmentNumber>3</apartmentNumber> </address> <contact> <personName>Testomir</personName> <phoneNumber>600700800</phoneNumber> <emailAddress>testomir@testalski.pl</emailAddress> </contact> <preaviso> <personName>Zbigniew Nowak</personName> <phoneNumber>669324789</phoneNumber> <emailAddress>zibi.nowy@op.pl</emailAddress> </preaviso> </shipper> <receiver> <address> <addressType></addressType> <name>Testomir Testalski</name> <postcode>00999</postcode> <city>Testowa</city> <street>Testnicka</street> <houseNumber>78</houseNumber> <apartmentNumber>3</apartmentNumber> </address> <contact> <personName>Testomir</personName> <phoneNumber>600700800</phoneNumber> <emailAddress>testomir@testalski.pl</emailAddress> </contact> <preaviso> <personName>Zbigniew Nowak</personName> <phoneNumber>669324789</phoneNumber> <emailAddress>zibi.nowy@op.pl</emailAddress> </preaviso> </receiver> <servicePointAccountNumber>1254823</servicePointAccountNumber> </ship>