API — Specific Methods

Endpoint reference for the Core Inspection REST API: clients, equipment, inspections, jobs, users, certificates and reports, with parameters and error messages.

Last updated

Every endpoint on this page needs an admin or API login unless marked otherwise (see Logins). Paths are relative to https://api4.coreinspection.com. Fields are shown in PascalCase; list responses use the same names in camelCase (see General Structure). The full field list for each object is on Object Definitions.

Clients

GET /Clients

Returns every client in a reduced form (ClientId, Name, Importuniqueid, ModifiedDt, ShowActiveJobInspections), including inactive clients.

ParameterTypeRequiredDescription
modifiedDtdatetimeNoReturns only clients modified on or after this date.
GET /Clients?modifiedDt=2025-06-01T00:00:00

GET /Clients/{id}

Returns one client with all its fields, including ClientLocations and ShowActiveJobInspections. {id} is the ClientId (Core's GUID) or your Importuniqueid.

PUT /Clients

Creates a client, or updates the one whose Importuniqueid matches. An update replaces the whole record, so read PUT (create or update) before you use it for changes.

  • Name is the only required field.
  • ClientId is ignored if you send it.
  • A new client sent without ClientLocations gets a default location named after the client, set as its default location.
  • ClientLocations is an array, and each item needs a LocationName. When the PUT updates an existing client, items are matched to its locations by LocationName, and any existing location missing from the list is deactivated.

PATCH /Clients/{id}

Takes a patch document and returns the updated client. {id} is the ClientId or your Importuniqueid.

PhysicalLocationId must be one of this client's locations, otherwise you get 400 PhysicalLocationId must be one of this client's locations.

ShowActiveJobInspections (Boolean) sets whether this client's portal users see inspections on jobs that are still Active. It only takes effect when your site is set to decide this per customer, and PATCH is the only way to change it.

[
  {
    "path": "ShowActiveJobInspections",
    "value": true
  }
]

Client locations

There is no list call for client locations. They come inside GET /Clients/{id}.

GET /ClientLocations/{id}

Returns one client location. {id} is the LocationId or your Importuniqueid.

PUT /ClientLocations

Creates a client location, or updates the one whose Importuniqueid matches.

  • LocationName is required. Without it you get 400 Must supply locationname.
  • ClientId or Client_importUniqueId is required. Without either you get 400 Need to supply ClientID or Client_importUniqueId.

PATCH /ClientLocations/{id}

Updates a client location. {id} is the LocationId or your Importuniqueid.

To change the salesperson, patch SalesPersonEmail with the email of a user in your site. An email with no matching user returns 400 Error: No matching salesperson email. Send null to clear the salesperson.

[
  {
    "path": "SalesPersonEmail",
    "value": "sales.rep@yourcompany.com"
  }
]

Equipment

GET /Equipment

Returns equipment in a reduced form, including archived items. Send locationId, modifiedDt or both; with neither, the call returns 400. Results are sorted by modified time, 200 per page, and the response includes X-Total-Count and X-Total-Pages headers.

ParameterTypeRequiredDescription
locationIdGUIDThis or modifiedDtReturns equipment at one client location.
modifiedDtdatetimeThis or locationIdReturns only equipment modified on or after this date.
pageNointNoPage number, starting at 1. Defaults to 1.
GET /Equipment?locationId=xxxx-xxxx&modifiedDt=2025-06-01T00:00:00&pageNo=1

GET /Equipment/{id}

Returns one item with all its fields. {id} is the EquipmentGuid or your Importuniqueid.

GET /Equipment/search/barcode/{barcode}

Finds the item with exactly this barcode in your site and returns the first match. No match returns 404 Equipment with the given barcode not found.

GET /Equipment/counts/byClientLocation

Takes no parameters. Returns the number of active equipment items at each client location, sorted by client and then location. The row fields are on Object Definitions.

PUT /Equipment

Creates an item, or updates the one whose Importuniqueid matches. If you leave Importuniqueid out on create, Core uses the SerialNumber.

Required:

  • SerialNumber
  • EquipmentTypeId, or EquipmentType with the type's exact name
  • ClientId, or Client_importUniqueId

ClientLocationId is optional. It defaults to the client's default location, and if you send it, it must belong to that client.

In EquipmentDetails, each item is matched to an attribute on the equipment type by AttributeName, and date values must be dd/MM/yyyy.

{
  "SerialNumber": "CS-10442",
  "EquipmentType": "Chain Sling",
  "Client_importUniqueId": "CUST-0001",
  "Description": "4-leg chain sling, 8mm",
  "EquipmentDetails": [
    {
      "AttributeName": "Date of Manufacture",
      "Value": "14/03/2024"
    }
  ]
}

Errors (all 400):

  • Need to supply a serialnumber.
  • Need to supply a EquipmentTypeID or EquipmentType (string)
  • EquipmentTypeID is not valid or does not exist.
  • EquipmentType does not exist.
  • There is no matching Client_importUniqueId, ClientName or clientid.
  • Clientlocationid is not valid for this client.

PATCH /Equipment/{id}

Updates an item. {id} is the EquipmentGuid or your Importuniqueid. Fields such as Location and ClientReference take a plain value.

EquipmentDetails takes an array. Each item needs an EquipmentDetailId and a Value.

  • It only updates detail rows the item already has. An unknown ID returns 400 EquipmentDetailId: X not found.
  • To add a value for an attribute the item has no row for yet, use PUT.
  • Get the EquipmentDetailId values from GET /Equipment/{id}.
[
  {
    "path": "ClientReference",
    "value": "REF-001"
  },
  {
    "path": "EquipmentDetails",
    "value": [
      {
        "EquipmentDetailId": "xxxx-xxxx-xxxx-xxxx",
        "Value": "Updated Value"
      }
    ]
  }
]

A change to ClientId, ClientLocationId or EquipmentTypeId goes through the same checks as PUT. Errors (all 400):

  • There is no matching clientid.
  • Clientlocationid is not valid for this client.
  • EquipmentTypeID is not valid or does not exist.

Equipment types

GET /EquipmentTypes

Returns equipment types in a reduced form.

ParameterTypeRequiredDescription
modifiedDtdatetimeNoReturns only equipment types modified on or after this date.
GET /EquipmentTypes?modifiedDt=2025-06-01T00:00:00

GET /EquipmentTypes/{id}

Returns one equipment type, including its attributes. {id} is the integer EquipmentTypeId.


Inspections

GET /Inspections

Returns inspections in a reduced form, including inactive ones. modifiedDt is required, which stops the call from scanning every inspection you have. 200 per page, with X-Total-Count and X-Total-Pages headers.

ParameterTypeRequiredDescription
modifiedDtdatetimeYesReturns only inspections modified on or after this date.
pageNointNoPage number, starting at 1. Defaults to 1.
GET /Inspections?modifiedDt=2025-06-01T00:00:00&pageNo=1

GET /Inspections/{id}

Returns one inspection. {id} is the InspectionGuid only. An inspection from another site returns 400.

GET https://api4.coreinspection.com/Inspections/6418a8a6-d68f-41ff-aa62-b2d9dc522767

PUT /Inspections

Creates an inspection, or updates the one whose Importuniqueid matches.

FieldTypeRequiredNotes
Equipment_importUniqueIdTextYesThe item's Importuniqueid (its serial number if none was set). Missing: 400 Need to supply Equipment_importUniqueId. The item must be active, otherwise you get Equipment not found.
InspectionTemplateIdIntegerYesMissing: 400 Need to supply InspectionTemplateId. Must be one of your site's templates, otherwise 400 InspectionTemplateId must be one of your site's templates.
ImportuniqueidTextNoYour ID. A match updates that inspection.
JobGuid or Job_importUniqueIdGUID or TextNoThe job to file the inspection under. See Object Definitions for the job rules. A job that doesn't qualify returns an error starting Job not found for.
DateCreatedDateNoThe inspection date. Defaults to now.
StatusLookupGuidGUIDNoMust exist in your site.
Passed, Failed, Missed, Notes and the other inspection fieldsNoSee Object Definitions.
InspectionComponentResultsArrayNoThe checklist answers (rules below).

When PUT updates an existing inspection, the stored DateCreated, WorkerId and equipment item are kept.

InspectionComponentResults on PUT:

  • Each item is matched to a checklist question on the template by both Section and Description. The match ignores case and surrounding spaces.
  • Items that don't match are skipped without an error, so check the spelling against the template.
  • Date answers must be dd/MM/yyyy.
  • InspectionComponentResultId is ignored on PUT.
{
  "Equipment_importUniqueId": "CS-10442",
  "InspectionTemplateId": 12,
  "Importuniqueid": "INSP-2025-0001",
  "DateCreated": "2025-06-01T00:00:00",
  "Passed": true,
  "Notes": "Six-monthly thorough examination",
  "InspectionComponentResults": [
    {
      "Section": "Chain",
      "Description": "Wear within limits",
      "Value": "Yes"
    }
  ]
}

PATCH /Inspections/{id}

Updates an inspection. {id} is the InspectionGuid only. Fields you can patch include DateCreated, Passed, Failed, Missed, Notes and these four:

  • InspectionComponentResults items are matched by InspectionComponentResultId (get the IDs from GET /Inspections/{id}). Each item sets both Value and Value2, so if the answer has a second-language value, send Value2 again or it's cleared.
  • JobGuid moves the inspection to another job. The same job rules apply as on PUT.
  • EquipmentGuid moves the inspection to another item in your site.
  • InspectionTemplateId must be one of your site's templates, otherwise you get 400 InspectionTemplateId must be one of your site's templates.
[
  {
    "path": "DateCreated",
    "value": "2025-09-20T00:00:00"
  },
  {
    "path": "Passed",
    "value": null
  },
  {
    "path": "Failed",
    "value": true
  },
  {
    "path": "Missed",
    "value": null
  },
  {
    "path": "Notes",
    "value": "Updated inspection notes"
  },
  {
    "path": "InspectionComponentResults",
    "value": [
      {
        "InspectionComponentResultId": "8ed66b61-41d7-492d-abab-5ec6b2c8d1d1",
        "Value": "Test",
        "Value2": "Test-fr"
      },
      {
        "InspectionComponentResultId": "b8622c4d-0e44-4464-9c3f-00edc126f7d0",
        "Value": "Yes"
      }
    ]
  }
]

GET /Inspections/{id}/certificate

Returns the inspection's certificate as a file, normally a PDF.

  • 404 if there's no certificate, or the inspection isn't in your site.
  • 502 or 503 if the certificate service fails. Retry later.

Jobs

GET /Jobs

Returns jobs in a reduced form, filtered by the parameters you send. statusId is required, one status per call. Without it you get 400 You must supply a statusId.

The common statuses are below. GET /JobStatuses returns the full list.

IDStatus
1Pending (GET /JobStatuses lists it as "Not Active")
2Active
3Cancelled
5Complete
6Complete and Approved
ParameterTypeRequiredDescription
statusIdintYesThe job status to return.
substatusIdintNoFilter by job sub-status.
branchidstringNoFilter by branch: the branch GUID, its Importuniqueid or the numeric BranchId. No match returns 400.
dateFromdatetimeNoStart date from.
dateTodatetimeNoStart date to (exclusive).
dateCompletedFromdatetimeNoCompletion date from.
dateCompletedTodatetimeNoCompletion date to (exclusive).
modifiedDtdatetimeNoReturns only jobs modified on or after this date.
pageNointNoPage number, starting at 1. Defaults to 1.
  • "To" dates are exclusive. dateTo=2022-02-01 covers up to the end of 31 January.
  • Each page holds up to 200 jobs. This call doesn't send the total-count headers, so keep requesting pages until one comes back with fewer than 200.

Typical scenarios:

  • Jobs completed in January: /Jobs?statusId=5&dateCompletedFrom=2022-01-01&dateCompletedTo=2022-02-01, then repeat with statusId=6 for the ones that were also approved.
  • All active jobs: /Jobs?statusId=2
  • Recently changed active jobs: /Jobs?statusId=2&modifiedDt=2025-06-01T00:00:00

GET /Jobs/{id}

Returns one job with all its fields. {id} is the JobGuid or your Importuniqueid.

GET /Jobs/{id}/inspections

Returns the job's inspections, including inactive ones. {id} is the JobGuid.

GET /Jobs/{id}/parts

Returns the job's parts, taken from the active lines on its active service records. {id} is the JobGuid.

GET /Jobs/{id}/servicerecords

Returns the job's service records, including inactive ones. {id} is the JobGuid.

GET /Jobs/{id}/certificates

Returns a ZIP of the certificates for the job's active inspections, one file per inspection, named {serial}_{yyyy-MM-dd}.pdf.

  • Any certificates that couldn't be produced are listed in _errors.txt inside the ZIP.
  • One call returns up to 200 certificates, and at most 50 of them can be ones that haven't been generated before. Over either limit returns 400.
  • 404 if the job doesn't exist or has no inspections.

PUT /Jobs

Creates a job, or updates the one whose Importuniqueid matches.

FieldTypeRequiredNotes
clientidGUIDYes, or Client_importUniqueIdSend clientid, not CustomerId.
StartTimeDate/timeYes
ClientLocationId or ClientLocation_importUniqueIdGUID or TextNoDefaults to the client's default location. If sent, it must belong to that client.
BranchGuid or Branch_importUniqueIdGUID or TextNoDefaults to your site's default branch. If your site has none, the PUT returns 400. You can also send the numeric BranchId (from GET /Branches), which must be one of your branches.
EndTimeDate/timeNoDefaults to one hour after StartTime. Must be after it.
HoursDecimalNoDefaults to 1.
StatusIdIntegerNoDefaults to 2 (Active). 8 isn't allowed.
JobNumberIntegerNoOnly on sites with manual job numbers.
ImportuniqueidTextNoYour ID. A match updates that job.
JobWorkersArrayNoSee Job workers.
ExtraFieldsTextNoA JSON string, [{"Name":"…","Value":"…"}], where Name is the field's name on your job template.
{
  "clientid": "d01c5e7d-cf39-4fcd-bc01-0bb964d539b0",
  "StartTime": "2025-06-02T08:00:00",
  "Importuniqueid": "WO-55120",
  "CustomerRef": "PO 7781",
  "JobWorkers": [
    { "WorkerEmail": "worker1@domain.com" }
  ]
}

Errors (all 400):

  • You must supply a valid clientid or Client_importUniqueId.
  • No matching clientid or client_uniqueimportid.
  • Location does not exist for that client.
  • No matching BranchGuid.
  • No matching Branch_importUniqueId.
  • No matching BranchId.
  • No default branch setup. Please supply a valid BranchId.
  • You must have a startTime.
  • endTime must be greater than startTime.
  • Not a valid job status.
  • Supplied substatusid does not exist
  • You can't create a repeating job type
  • Job Numbers are auto generated.

PATCH /Jobs/{id}

Updates a job. {id} is the JobGuid or your Importuniqueid.

  • StatusId must be a valid status, and can't be 8 (repeating-job template).
  • SubStatusId must exist in your site.
  • BranchId (the number from GET /Branches) must be one of your branches, otherwise you get 400 No matching BranchId.
  • JobNumber can only be patched on sites with manual job numbers.
  • ExtraFields takes the same JSON string as on PUT.
[
  {
    "path": "StatusId",
    "value": 5
  },
  {
    "path": "ExtraFields",
    "value": "[{\"Name\":\"Site contact\",\"Value\":\"J. Smith\"}]"
  }
]

Job workers

Job workers are the technicians on a job, identified by email.

  • On PATCH, the list you send replaces the job's workers. Any workers allocated before are removed. If an email doesn't match a technician, you get 400 JobWorker x does not exist.
  • On a PUT that updates an existing job, the workers in the body are added and existing workers stay on. Use PATCH to replace the list.
  • The property name must be exactly WorkerEmail.
[
  {
    "path": "JobWorkers",
    "value": [
      { "WorkerEmail": "worker1@domain.com" },
      { "WorkerEmail": "worker2@domain.com" }
    ]
  }
]

Reports

GET /Reports

Returns the rows of one of your site's reports.

ParameterTypeRequiredDescription
reportNamestringYesThe exact name of a report as it appears in your site's Reports list in Core. Names differ between sites, so All Inspections by Month is an example, not a fixed value. An unknown name returns 400 error:Report name: X does not exist.
branchIdintNoOnly needed for reports that filter by branch. -1 means all branches.
monthintNo1 to 12. Send with year, for reports that cover a month.
yearintNoFor example 2025. Send with month.
pageNumberintNo1 or more. Only applies when sent with pageSize.
pageSizeintNo1 to 1000. Only applies when sent with pageNumber.

Without pageNumber and pageSize, the report returns all its rows (see Pagination).

GET https://api4.coreinspection.com/Reports?reportName=All Inspections by Month&month=9&year=2025&pageSize=50&pageNumber=1

Branches

In the URL, {id} is the BranchGuid or your Importuniqueid, not the numeric BranchId.

GET /Branches

Returns all branches, including inactive ones.

ParameterTypeRequiredDescription
modifiedDtdatetimeNoReturns only branches modified on or after this date.
GET /Branches?modifiedDt=2025-06-01T00:00:00

GET /Branches/{id}

Returns one branch.

PATCH /Branches/{id}

Updates a branch record via a JSON patch document.


Parts

In the URL, {id} is the PartsGuid or your Importuniqueid.

GET /Parts

Returns all parts.

ParameterTypeRequiredDescription
modifiedDtdatetimeNoReturns only parts modified on or after this date.
GET /Parts?modifiedDt=2025-06-01T00:00:00

GET /Parts/{id}

Returns one part.

PUT /Parts

Creates a part, or updates the one whose Importuniqueid matches. Description, Code and Value are required.

PATCH /Parts/{id}

Updates a part record via a JSON patch document, for fields such as Description and Code. An unknown field or a value of the wrong type returns 400, as on the other endpoints.


Users

GET /Users

Returns the users in your site.

ParameterTypeRequiredDescription
ActiveOnlybooleanNotrue returns only active users. Defaults to false (all users).

GET /Users/{id}

Returns one user. {id} is the UserId GUID. An unknown ID returns 400 User not found.

PATCH /Users/{id}

Updates a user. {id} is the UserId or the user's email.

  • Only the fields listed on Object Definitions can be changed. Anything else returns 400 Field(s) X cannot be edited.
  • Email can't be changed.
  • UserGroupId or UserGroupName puts the user in a group and gives them exactly that group's permissions. null or "" removes them from the group.
  • While a user is in a group, a permission the group grants can't be switched off for that user alone. The request returns 400.
[
  {
    "path": "UserGroupName",
    "value": "Tech"
  }
]

POST /Users

Creates a customer portal login.

The body takes Email, GivenName and FamilyName, plus exactly one of:

  • CustomerId: the user sees all of that client's sites.
  • ClientSiteId: the user sees one site.

Email can be up to 255 characters, and the names up to 250.

{
  "Email": "portal.user@customer.com",
  "GivenName": "Portal",
  "FamilyName": "User",
  "CustomerId": "d01c5e7d-cf39-4fcd-bc01-0bb964d539b0"
}

The response has UserId, Email, AutoLoginUrl, Association, ClientSitesLinked and Warning. The new user signs in through AutoLoginUrl. Treat that link like a password, because anyone who has it can sign in as that user.

  • 400: a value failed validation.
  • 404: the customer or site wasn't found.
  • 409: the email already has a login. Nothing is created.

GET /UserGroups

Returns your site's user groups (UserGroupId, UserGroupName, BaseRole). The list is empty if your site doesn't use groups.


Service records

Service records are read only. There is no PUT or PATCH.

GET /ServiceRecords

Returns service records in a reduced form. modifiedDt is required, which stops the call from scanning every record you have. 200 per page, with X-Total-Count and X-Total-Pages headers.

ParameterTypeRequiredDescription
modifiedDtdatetimeYesReturns only service records modified on or after this date.
pageNointNoPage number, starting at 1. Defaults to 1.
GET /ServiceRecords?modifiedDt=2025-06-01T00:00:00&pageNo=1

GET /ServiceRecords/{id}

Returns one service record. {id} is the ServiceRecordGuid.


Certificates

GET /Certificates

Returns a ZIP of the certificates for every active inspection dated within a range.

ParameterTypeRequiredDescription
fromdateYesFirst inspection date to include.
todateYesLast inspection date to include.
GET /Certificates?from=2026-08-01&to=2026-08-31
  • Both days are included. from after to returns 400.
  • The ZIP is named certificates_{from}_{to}.zip. Inside, files are named and errors listed the same way as GET /Jobs/{id}/certificates, with the same limits: 200 certificates per call, at most 50 of them not generated before.
  • Large date ranges hit those limits, so split them into smaller ranges.

Customer equipment

GET /CustomerEquipment

For customer portal logins only. clientId and ModifiedDate are both required. See Customer API Calls for the full guide.


Lookup endpoints

These return reference data used across the system.

EndpointDescription
GET /JobStatusesThe job statuses and their IDs. The list is the same for every site.
GET /InspectionIntervalsYour site's inspection intervals, including inactive ones.
GET /EquipmentTypesYour site's equipment types (see Equipment types).

HeartBeat

GET /HeartBeat

No login needed. Returns 200 and the server time as plain text. It shows the API is up, but it doesn't check credentials. Use GET /JobStatuses for that.