Salamek / PplMyApi

Professional Parcel Logistic MyApi PHP client implementation with PDF and ZPL label generator
GNU Lesser General Public License v3.0
27 stars 34 forks source link

ParcelShopCode #78

Closed ne2d closed 1 year ago

ne2d commented 1 year ago

https://github.com/Salamek/PplMyApi/blob/812b3c3b4d2a8b6f44abf26ad9826d3ced40fe0f/src/Api.php#L188

Nema tady byt ParcelShopCode?

Salamek commented 1 year ago

Ne https://myapi.ppl.cz/MyApi.svc?singleWsdl

ne2d commented 1 year ago

A jeste mi teda v te verzi 2.7 nefunguje $pplMyApi->getParcelShops("KM11776001"); nic to nevraci, pritom ten kod je spravne

Salamek commented 1 year ago

Dle wsdl parametry te funkce jsou

<xs:complexType name="ParcelShopFilter">
<xs:sequence>
<xs:element minOccurs="0" name="AccessPointType" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="ActiveCardPayment" nillable="true" type="xs:boolean"/>
<xs:element minOccurs="0" name="City" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="Code" nillable="true" type="xs:string"/>
<xs:element name="CountryCode" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="Latitude" nillable="true" type="xs:double"/>
<xs:element minOccurs="0" name="Longitude" nillable="true" type="xs:double"/>
<xs:element minOccurs="0" name="Radius" nillable="true" type="xs:int"/>
<xs:element minOccurs="0" name="ZipCode" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>