POST costcentre/add

Adds the specified cost centre.

Request Information


NameDescriptionAdditional information
The address.
            1) ReferenceNumber: Mandatory. String max 10chars. Needs to be unique per company. 
            2) AccountNumber: Mandatory. String max 10chars. Account number for company that the cost centre belongs to
            3) AddressName: String max 50chars
            4) Address1: Mandatory. String max 50chars
            5) Address2: String max 50chars
            6) Address3: String max 50chars
            7) City: String max 50chars
            8) County: String max 50chars
            9) Postcode:String max 10chars
            10) Tel: String max 50chars
            11) Fax: String max 50chars
            12) ApplyAllCustomers : Boolean

Define this parameter in the request body.

Request body formats

application/json, text/json

  "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-07-19T10:54:45.4916176+01:00",
  "NewReferenceNumber": "sample string 15",
  "Email": "sample string 16"

application/xml, text/xml

<CompanyAddressModel xmlns:i="" xmlns="">
  <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>
  <City>sample string 8</City>
  <County>sample string 9</County>
  <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>



Sample not available.