Skip to content

Get WIP entry by ID

Request

🔐 Required role: API_ADMIN

📖 Data dictionary: Work in progress (WIP)

Retrieve a specific work-in-progress (WIP) record by its unique identifier

Returns the WIP record with the same fields as POST /gql/v1/wip, including inactive records (check isActive; inactive records represent deletions). The record is wrapped in a wip array that holds at most one element; an id that does not exist returns 200 with an empty array.

Security
(BearerAuth and CfAccessClientId and CfAccessClientSecret) or BearerAuth
Path
idinteger, >= 1required

Unique identifier of the WIP record

Example:89012
curl -i -X GET \
  https://api.sandbox.aiwyn.app/gql/v1/time/wip/89012 \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'CF-Access-Client-Id: YOUR_API_KEY_HERE' \
  -H 'CF-Access-Client-Secret: YOUR_API_KEY_HERE'

Responses

The WIP record, wrapped in a wip array with at most one element. An id that does not exist returns an empty array.

Bodyapplication/json
wipArray of objects, <= 1 itemsrequired

Single-element array containing the matching WIP record (empty if not found)

Response
{ "wip": [ { … } ] }