POST customer/add

Adds the specified customer.

Request Information


NameDescriptionAdditional information
The customer.
            1) AccountNumber: Mandatory. String, max 10 chars. Company's account number
            2) Forename: Mandatory. String, max 50 chars
            3) Surname: Mandatory. String, max 50 chars
            4) Email: Mandatory. String, max 100 chars. Needs to be unique for each customer the same customer cannot belong to more than one company.
            5) Password: Mandatory. String, max 50 chars. Special characters are also allowed. Password will be hash-encrypted

Define this parameter in the request body.

Request body formats

application/json, text/json

  "Email": "sample string 1",
  "Forename": "sample string 2",
  "Surname": "sample string 3",
  "DateAdded": "2024-07-19T10:17:24.3486536+01:00",
  "Password": "sample string 5",
  "AccountNumber": "sample string 6"

application/xml, text/xml

<CustomerModel xmlns:i="" xmlns="">
  <AccountNumber>sample string 6</AccountNumber>
  <Email>sample string 1</Email>
  <Forename>sample string 2</Forename>
  <Password>sample string 5</Password>
  <Surname>sample string 3</Surname>



Sample not available.