Accounting - Administrations(sessionID)

Modified on Fri, 24 Dec 2021 at 12:19 PM

Administrations(sessionID)

Returns all the administrations that can be approached via the used access code.


Parameters


sessionID

Returns a session ID that is obtained from the Authenticate(accessKey) method.


Response XML scheme


<xs:element name="Administrations">

      <xs:complexType>

            <xs:sequence>

                    <xs:element name="Administration" maxOccurs="unbounded">

                            <xs:complexType>

                                    <xs:sequence>

                                            <xs:element name="Name" type="xs:string" />

                                            <xs:element name="AddressLine" type="xs:string" />

                                            <xs:element name="AddressLine_2" type="xs:string" />

                                            <xs:element name="Postcode" type="xs:string" />

                                            <xs:element name="City" type="xs:string" />

                                            <xs:element name="Country" type="xs:string" />

                                            <xs:element name="CoCNumber" type="xs:string" />

                                            <xs:element name="VATNumber" type="xs:string" />

                                            <xs:element name="StartDate" type="xs:date" />

                                    </xs:sequence>

                                    <xs:attribute name="ID" type="xs:string" />

                            </xs:complexType>

                    </xs:element>

            </xs:sequence>

        </xs:complexType>
</xs:element>



Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article