Skip to main content

list-offices

Method returns offices list

Parameters

Parameter Name

Required?

Notes

offset

No

numeric offset from where to fetch offices, default is 0

count

No

number of offices to return in response, default is 10

Example

Request

https://ws.idibu.com/ws/rest/v1/offices?hash=[your_hash]&count=100

Response

<?xml version="1.0" encoding="utf8"?>
<idibu generator="idibu" version="1.0">
<response>
<offices>
<office>
<id>33000170</id>
<name>moldova</name>
<contacts>
<address>xxx
xx
xxx, xxx
xxxxx
</address>
<address-line1>xxx</address-line1>
<address-line2>xx</address-line2>
<address-line3>xxx</address-line3>
<country>xxx</country>
<postcode>xxxxx</postcode>
<email>x@x.pl</email>
<phone>345678</phone>
<fax>456789</fax>
<www>www.w.ww</www>
</contacts>
</office>
<office>
<id>33000178</id>
<name>Big office</name>
<contacts>
<address>somewhere street 12
, Poland
83-333
</address>
<address-line1>somewhere street 12</address-line1>
<address-line2></address-line2>
<address-line3></address-line3>
<country>Poland</country>
<postcode>83-333</postcode>
<email>bro.tru@gmail.com</email>
<phone>234234</phone>
<fax></fax>
<www>www.www.www</www>
</contacts>
</office>
<office>
<id>33000182</id>
<name>test</name>
<contacts>
<address>testes
tsetse
tsetset, stset
set
</address>
<address-line1>testes</address-line1>
<address-line2>tsetse</address-line2>
<address-line3>tsetset</address-line3>
<country>stset</country>
<postcode>set</postcode>
<email>tse@pl.pl</email>
<phone>987564231</phone>
<fax></fax>
<www>46654654</www>
</contacts>
</office>
</offices>
<total>3</total>
</response>
<status>success</status>
</idibu>