Skip to content

Instantly share code, notes, and snippets.

@tamr
Created April 29, 2018 23:39
Show Gist options
  • Save tamr/99b2fe636a48f037598976a49dd0d613 to your computer and use it in GitHub Desktop.
Save tamr/99b2fe636a48f037598976a49dd0d613 to your computer and use it in GitHub Desktop.
request example
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://service.core.epmx.application.eestipost.ee/xsd">
<soapenv:Header/>
<soapenv:Body>
<xsd:businessToClientMsgRequest>
<partner>?</partner>
<interchange msg_type="?">
<!--Optional:-->
<header file_id="?" sender_cd="?" currency_cd="?" dateTime="?" prep_date_time="?" recipient_cd="?" ref_doc_id="?">
<!--Optional:-->
<comment>?</comment>
</header>
<item_list>
<!--1 or more repetitions:-->
<item service="?" packetUnitIdentificator="?" id="?">
<!--Optional:-->
<add_service>
<!--1 or more repetitions:-->
<option code="?" payed_amount="?"/>
</add_service>
<!--Optional:-->
<measures weight="?" volume="?" length="?" width="?" height="?"/>
<!--Optional:-->
<monetary_values>
<!--1 or more repetitions:-->
<cod_receiver>?</cod_receiver>
<values code="?" amount="?"/>
</monetary_values>
<!--Optional:-->
<account>?</account>
<!--Optional:-->
<reference_number>?</reference_number>
<!--Optional:-->
<comment>?</comment>
<!--Optional:-->
<show_return_code_sms>?</show_return_code_sms>
<!--Optional:-->
<show_return_code_email>?</show_return_code_email>
<!--Optional:-->
<partnerId>?</partnerId>
<receiverAddressee id="?">
<person_name>?</person_name>
<!--Optional:-->
<phone>?</phone>
<!--Optional:-->
<mobile>?</mobile>
<!--Optional:-->
<email>?</email>
<!--Optional:-->
<person_code>?</person_code>
<!--Optional:-->
<delivery_time start="?" end="?"/>
<address postcode="?" deliverypoint="?" country="?" street="?" offloadPostcode="?"/>
</receiverAddressee>
<!--Optional:-->
<returnAddressee id="?">
<person_name>?</person_name>
<!--Optional:-->
<phone>?</phone>
<!--Optional:-->
<mobile>?</mobile>
<!--Optional:-->
<email>?</email>
<address postcode="?" deliverypoint="?" country="?" street="?"/>
</returnAddressee>
<!--Optional:-->
<onloadAddressee id="?">
<person_name>?</person_name>
<!--Optional:-->
<phone>?</phone>
<!--Optional:-->
<mobile>?</mobile>
<!--Optional:-->
<email>?</email>
<address postcode="?" deliverypoint="?" country="?" street="?"/>
<!--Optional:-->
<pick_up_time start="?" finish="?"/>
</onloadAddressee>
</item>
</item_list>
</interchange>
</xsd:businessToClientMsgRequest>
</soapenv:Body>
</soapenv:Envelope>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment