Sage 200 Online Cost Centre XML
Cost centres are typically used to aid collating related costs and reporting on a specific segment of an organisation i.e. a company division such as sales or production. Further information can be found on the Sage 200 Online Cost Centre API Documentation.
Tasks
Fields for Download Only
id
Read Only
Cost centre record Id.
Type | Example | XML |
---|---|---|
integer(int64) | 2251 | <id>2251</id> |
date_time_created
Read Only
The date and time this entity was created (UTC).
Type | Example | XML |
---|---|---|
datetime | 2021-02-28T14:03:56.75Z | <date_time_created>2021-02-28T14:03:56.75Z</date_time_created> |
date_time_updated
Read Only
The date and time this entity was last updated (UTC).
Type | Example | XML |
---|---|---|
datetime | 2021-02-28T14:23:46.277Z | <date_time_updated>2021-02-28T14:23:46.277Z</date_time_updated> |
code
Read Only
Cost centre code.
Type | Example | XML |
---|---|---|
string(2) | AT | <code>AT</code> |
name
Read Only
Department name.
Type | Example | XML |
---|---|---|
string(60) | Sales | <name>Sales</name> |
contact_name
Read Only
Contact name.
Type | Example | XML |
---|---|---|
string(200) | John Smith | <contact_name>John Smith</contact_name> |
contact_details
Read Only
Contact Details.
Type | Example | XML |
---|---|---|
string(235) | 0191 393 7279 | <contact_details>0191 393 7279</contact_details> |
contact_email_address
Read Only
Contact email address
Type | Example | XML |
---|---|---|
string(200) | [email protected] | <contact_email_address>[email protected]</contact_email_address> |
Example XML
<?xml version="1.0" encoding="utf-8"?>
<CostCentres
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<CostCentre>
<id>44852</id>
<date_time_created>2021-07-22T14:03:17.543Z</date_time_created>
<date_time_updated>2021-02-28T14:23:46.23Z</date_time_updated>
<code>BIR</code>
<name>Birmingham</name>
<contact_name />
<contact_details />
<contact_email_address />
</CostCentre>
<CostCentre>
<id>44854</id>
<date_time_created>2021-07-22T14:03:17.55Z</date_time_created>
<date_time_updated>2021-02-28T14:23:46.23Z</date_time_updated>
<code>LON</code>
<name>London</name>
<contact_name />
<contact_details />
<contact_email_address />
</CostCentre>
<CostCentre>
<id>44855</id>
<date_time_created>2021-07-22T14:03:17.55Z</date_time_created>
<date_time_updated>2021-02-28T14:23:46.23Z</date_time_updated>
<code>MAN</code>
<name>Manchester</name>
<contact_name />
<contact_details />
<contact_email_address />
</CostCentre>
</CostCentres>