Resources

Inspections

Resource Description
GET /api/v1/inspections.xml Returns a list of all inspections for API-connected user
POST /api/v1/inspections.xml Adds an inspection for API-connected user
GET /api/v1/inspections/:id.xml Retrieves a single specified inspection for the API-connected user
PUT /api/v1/inspections/:id.xml Modifies an inspection for API-connected user
DELETE /api/v1/inspections/:id.xml Deletes the inspection with given id, or only its units (depends on deleteUnitsOnly-parameter). Only editable (no inspector assigned) inspections can be removed.

Organisations

Resource Description
GET /api/v1/organisations.xml Returns a list of all organisations
GET /api/v1/organisations/:id.xml Retrieves a single organisation
POST /api/v1/organisations.xml Creates an organisation
PATCH /api/v1/organisation/:id.xml Modifies an organisation

Products

Resource Description
GET /api/v1/products.xml Returns a list of all products

Units

Resource Description
POST /api/v1/inspections/:inspection_id/units.xml Adds units to an existing inspection for API-connected user

Varieties

Resource Description
GET /api/v1/varieties.xml Returns a list of all varieties