Client

A Client is essentially a company which can be associated with one or more units. A client is defined by a name, address details, and possible notes on this. For any client, a range of contacts can be created.

URL Structure is:
https://api.trackunit.com/public/Client

GetClient

Will list parameters on a specified client.

Parameters

NameData typeUnit of measurementNote
id *StringN/AUnique identifier.

Columns

NameData typeUnit of measurementNullabilityNote
idStringN/AFALSEUnique identifier.
nameStringN/AFALSEName of client.
noteStringN/ATRUEA note/text of any kind.
addressAddressN/ATRUEGeographical location.

Request (example)

{
  "id": "38171"
}

Response

{
    "list":[
            {
              "id":"38171",
               "name":"Chemnitz Bau- & Materiel",
               "address":{
                    "country":"DE",
                    "zipCode":"",
                    "city":"Chemnitz",
                    "streetAddress":""
               }
             }
           ]
}
 

CreateClient

Will create a new client.

Parameters

NameDate typeUnit of measurementNote
name *StringN/AName of client.
noteStringN/AA note/text of any kind.
addressAddressN/AGeographical location.

Request (example)

{
          "name": "Nordic Papermaking Inc.",
          "note": "General papermaking",
          "address": {
                    "country": "SE",
                    "zipCode": "84080",
                    "city": "Bäckby",
                    "streetAddress": "Lindströmsvegan 12"
                    }
 }

Response

{
      "id": "39471"
}
 

UpdateClient

Will update parameters on an existing client.

Parameters

NameData typeUnit of measurementNote
id *StringN/AUnique identifier
nameStringN/AName of client.
noteStringN/AA note/text of any kind.
addressAddressN/AGeographical location.

Request (example)

{
          "id": "38170",
          "name": "Nordic Papermaking Inc.",
  		    "note": "A leading papermaking company" 
}

Response

{}
 

DeleteClient

Will delete an existing client.

Parameters

NameData typeUnit of measurementNote
id *StringN/AUnique identifier.

Request (example)

{
   "id": "38171"
}

Response

{}