GET customer/getcostcentres?email={email}
Gets the list of cost centres.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
The email. |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
[ { "AccountNumber": "sample string 1", "Type": "sample string 2", "ReferenceNumber": "sample string 3", "AddressName": "sample string 4", "Address1": "sample string 5", "Address2": "sample string 6", "Address3": "sample string 7", "City": "sample string 8", "County": "sample string 9", "Postcode": "sample string 10", "Tel": "sample string 11", "Fax": "sample string 12", "ApplyAllCustomers": true, "DateAdded": "2024-11-21T08:32:22.2126715+00:00", "NewReferenceNumber": "sample string 15", "Email": "sample string 16" }, { "AccountNumber": "sample string 1", "Type": "sample string 2", "ReferenceNumber": "sample string 3", "AddressName": "sample string 4", "Address1": "sample string 5", "Address2": "sample string 6", "Address3": "sample string 7", "City": "sample string 8", "County": "sample string 9", "Postcode": "sample string 10", "Tel": "sample string 11", "Fax": "sample string 12", "ApplyAllCustomers": true, "DateAdded": "2024-11-21T08:32:22.2126715+00:00", "NewReferenceNumber": "sample string 15", "Email": "sample string 16" }, { "AccountNumber": "sample string 1", "Type": "sample string 2", "ReferenceNumber": "sample string 3", "AddressName": "sample string 4", "Address1": "sample string 5", "Address2": "sample string 6", "Address3": "sample string 7", "City": "sample string 8", "County": "sample string 9", "Postcode": "sample string 10", "Tel": "sample string 11", "Fax": "sample string 12", "ApplyAllCustomers": true, "DateAdded": "2024-11-21T08:32:22.2126715+00:00", "NewReferenceNumber": "sample string 15", "Email": "sample string 16" } ]
application/xml, text/xml
Sample:
<ArrayOfCompanyAddressModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webi.Api2.Models"> <CompanyAddressModel> <AccountNumber>sample string 1</AccountNumber> <Address1>sample string 5</Address1> <Address2>sample string 6</Address2> <Address3>sample string 7</Address3> <AddressName>sample string 4</AddressName> <ApplyAllCustomers>true</ApplyAllCustomers> <City>sample string 8</City> <County>sample string 9</County> <DateAdded>2024-11-21T08:32:22.2126715+00:00</DateAdded> <Email>sample string 16</Email> <Fax>sample string 12</Fax> <NewReferenceNumber>sample string 15</NewReferenceNumber> <Postcode>sample string 10</Postcode> <ReferenceNumber>sample string 3</ReferenceNumber> <Tel>sample string 11</Tel> <Type>sample string 2</Type> </CompanyAddressModel> <CompanyAddressModel> <AccountNumber>sample string 1</AccountNumber> <Address1>sample string 5</Address1> <Address2>sample string 6</Address2> <Address3>sample string 7</Address3> <AddressName>sample string 4</AddressName> <ApplyAllCustomers>true</ApplyAllCustomers> <City>sample string 8</City> <County>sample string 9</County> <DateAdded>2024-11-21T08:32:22.2126715+00:00</DateAdded> <Email>sample string 16</Email> <Fax>sample string 12</Fax> <NewReferenceNumber>sample string 15</NewReferenceNumber> <Postcode>sample string 10</Postcode> <ReferenceNumber>sample string 3</ReferenceNumber> <Tel>sample string 11</Tel> <Type>sample string 2</Type> </CompanyAddressModel> <CompanyAddressModel> <AccountNumber>sample string 1</AccountNumber> <Address1>sample string 5</Address1> <Address2>sample string 6</Address2> <Address3>sample string 7</Address3> <AddressName>sample string 4</AddressName> <ApplyAllCustomers>true</ApplyAllCustomers> <City>sample string 8</City> <County>sample string 9</County> <DateAdded>2024-11-21T08:32:22.2126715+00:00</DateAdded> <Email>sample string 16</Email> <Fax>sample string 12</Fax> <NewReferenceNumber>sample string 15</NewReferenceNumber> <Postcode>sample string 10</Postcode> <ReferenceNumber>sample string 3</ReferenceNumber> <Tel>sample string 11</Tel> <Type>sample string 2</Type> </CompanyAddressModel> </ArrayOfCompanyAddressModel>