API reference
//
Get an operational code b...
🔐 Required role:
TM_CODE_RorTM_CODE_C📖 Data dictionary: Time-management code
Get an operational code by Aiwyn ID
Returns the OperationalCode whose aiwynId is id, in the same shape as a record of the paged lookup. An ID that belongs to no OperationalCode returns 404.
Security
(BearerAuth and CfAccessClientId and CfAccessClientSecret) or BearerAuth
- Sandbox (requires Cloudflare Access headers)https://api.sandbox.aiwyn.app/api/v1/operational-codes/{id}
- Staging (requires Cloudflare Access headers)https://api.staging.aiwyn.app/api/v1/operational-codes/{id}
- Production (your live firm data; no Cloudflare Access headers)https://api.aiwyn.ai/api/v1/operational-codes/{id}
curl -i -X GET \
'https://api.sandbox.aiwyn.app/api/v1/operational-codes/{id}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'CF-Access-Client-Id: YOUR_API_KEY_HERE' \
-H 'CF-Access-Client-Secret: YOUR_API_KEY_HERE'Response
{ "data": { "type": "string", "aiwynId": 0, "systemRefs": [ … ], "attributes": {} }, "error": {}, "meta": { "success": true, "message": "string", "timestamp": "2019-08-24T14:15:22Z", "version": "string" } }