The List of Districts

ILCE_LISTESI

This method is used to access the list of districts. It is used in adding and updating sub-merchants.


Parameter Required Type Length Description
G * Object - ST_WS_Guvenlik Object
ETS_GUID * String 36 Value of Marketplace GUID
Il_Plaka * Integer 2 License plate code of the relevant province
Parameter Type Length Description
Toplam_Kayit Integer - Total record
DT_Bilgi Object - The list of districts are displayed
Sonuc Integer 1 Result Value
Sonuc_Str String 150 Result Description, Sonuc_Ack Parameter > 0 Operation Successful, otherwise failed.

G Object:

Parameter Required Type Length Description
CLIENT_CODE * Integer 5 Terminal ID will be forwarded by us.
CLIENT_USERNAME * String max 16 Username will be transmitted by us.
CLIENT_PASSWORD * String max 11 Password will be transmitted by us.
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body>
<ILCE_LISTESI xmlns="https://turkpos.com.tr/">
<G>
<CLIENT_CODE>10738</CLIENT_CODE>
<CLIENT_USERNAME>Test</CLIENT_USERNAME>
<CLIENT_PASSWORD>Test</CLIENT_PASSWORD>
</G>
<ETS_GUID>0c13d406-873b-403b-9c09-a5766840d98c</ETS_GUID>
<Il_Plaka>76</Il_Plaka>
</ILCE_LISTESI>
</soap:Body>
</soap:Envelope>
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<ILCE_LISTESIResponse xmlns="https://turkpos.com.tr/">
<ILCE_LISTESIResult>
<Toplam_Kayit>0</Toplam_Kayit>
<DT_Bilgi>
<xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:MainDataTable="Temp" msdata:UseCurrentLocale="true">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="Temp">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="xs:int" minOccurs="0" />
<xs:element name="ILCE" type="xs:string" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:schema>
<diffgr:diffgram xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1">
<NewDataSet xmlns="">
<Temp diffgr:id="Temp1" msdata:rowOrder="0">
<ID>1142</ID>
<ILCE>ARALIK</ILCE>
</Temp>
<Temp diffgr:id="Temp2" msdata:rowOrder="1">
<ID>1398</ID>
<ILCE>IĞDIR MERKEZ</ILCE>
</Temp>
<Temp diffgr:id="Temp3" msdata:rowOrder="2">
<ID>2011</ID>
<ILCE>KARAKOYUNLU</ILCE>
</Temp>
<Temp diffgr:id="Temp4" msdata:rowOrder="3">
<ID>1692</ID>
<ILCE>TUZLUCA</ILCE>
</Temp>
</NewDataSet>
</diffgr:diffgram>
</DT_Bilgi>
<Sonuc>1</Sonuc>
<Sonuc_Str>Başarılı</Sonuc_Str>
</ILCE_LISTESIResult>
</ILCE_LISTESIResponse>
</soap:Body>
</soap:Envelope>

DT_Bilgi Object

Parameter Type Length Description
ID String - District Code
ILCE String - District Name