Client Details

Returns a single client record

ParameterMandatoryDescriptionExamplesMore Info
APIYesThe API areaclients.json
GeneralYesParameters described in overviewuser=user&password=user&version=3.9Overview
Model StructureYesName of model requiredmodelstructure=clientdetailsUsing data models
ViewNoStored filter appliedUsing views
SortNoChange the view's default sort ordersort=CLIENTSorting
FiltersNoFilter by a key fieldFilters
CompanyYesThe company numbercompany=1
IdentifierYesClient IDclient=1/P0909

Example request:

http://<SERVER>/jsonapi/clients.json?company=1&version=3.9&user=user&password=user&company=1&style=modeldata&modelstructure=clientdetails&client=1/P0909

Example response:

{
  "responsecode": 1,
  "responsestatus": "OK",
  "errorcode": 0,
  "errormessage": "",
  "totalrows": 1,
  "totalpages": 1,
  "responsemessage": "",
  "pagerows": 0,
  "pagenumber": 1,
  "success": true,
  "data": [
    {
      "clientUuid": "493686EA86774194831FFE438B031917",
      "clientTimeStampModified": 1623666082,
      "clientRecordVersionNumber": 103,
      "clientCustomField196": "a longer item to select",
      "clientCustomField260": "",
      "clientCustomField296": "1",
      "clientCustomField315": false,
      "clientCustomField323": "",
      "clientCustomField524": "0000-00-00",
      "clientCustomField561": false,
      "clientCustomField562": "",
      "clientCustomField564": false,
      "clientCustomField565": false,
      "clientCustomField566": false,
      "clientCustomField577": "",
      "clientCustomField578": "00:00:00",
      "clientNotes": "",
      "clientCode": "1/P0909",
      "clientName": "New Company & co",
      "clientStreet": "Hollins Park, Hollins Lane",
      "clientAddress1": "",
      "clientAddress2": "Warrington",
      "clientCounty": "http://www.synergist.co.uk",
      "clientPostcode": "WA2 8WA",
      "clientCountry": "",
      "clientCountryCode": "UK",
      "clientCountryName": "United Kingdom",
      "clientPhone": "",
      "clientFax": "",
      "clientHandlerUserID": 568,
      "clientHandlerFullName": "Aaron Dyson",
      "clientWebURL": "www.synergist.co.uk",
      "clientEmail": "",
      "clientISDN": "",
      "clientInternalClient": false,
      "clientInactive": false,
      "clientOPSourceClient": "",
      "clientType": "",
      "clientEmployees": "",
      "clientOpStatus": "",
      "clientMarketSector": "Animation",
      "clientDefaultSpec": "",
      "clientLeadRating": "",
      "clientOnHold": false,
      "clientTimeZoneCode": "UTCA",
      "clientTimezoneDescription": "",
      "clientCompanyNumber": 1,
      "clientCategory": 3,
      "clientCategoryName": "Client",
      "clientPricesReviewNextDate": "0000-00-00",
      "clientPricesReviewNotes": ""
    }
  ]
}

Note: needs 12.2 for custom fields