Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent
with a free APIs.io key —
sign in with
GitHub,
Google or
LinkedIn.
No form to fill in; signing in shares your email address with us (Privacy).
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
description: ''
license:
name: ''
title: Wenmar Labour times API
version: 0.1.0
tags:
- name: Labour times
paths:
/labour_codes/link_suggestions:
get:
operationId: labour_codes_link_suggestions
responses:
'200':
content:
application/json:
schema:
type: object
description: '{codes: [{code, description, suggestion: {job_id, name} or null}]}: every labour code with no job and the job its description suggests'
'401':
description: unauthenticated
security:
- bearer: []
tags:
- Labour times
summary: Labour codes link suggestions
x-summary-source: derived
/labour_codes/links:
post:
operationId: labour_codes_link
requestBody:
content:
application/json:
schema:
type: object
description: '{links: [{labor_code, job_id}]}, at most 200; a null job_id unlinks the code'
required: true
responses:
'200':
content:
application/json:
schema:
type: object
description: '{linked}: how many codes were set'
'401':
description: unauthenticated
'403':
description: not authorized (catalog.write)
'422':
description: 'validation_failed: links (an unknown labour code or Wenmar job, named by its index)'
security:
- bearer: []
tags:
- Labour times
summary: Labour codes link
x-summary-source: derived
components:
securitySchemes:
bearer:
scheme: bearer
type: http