.. AUTO-GENERATED FILE. DO NOT EDIT. /one-entities-allowed-employees-post-one ======================================== Summary ------- - **Source repository:** ``jef-systems/jef-one-backend`` - **Source SHA:** ``a8edf3d77c4689168400069ba74f46fd06c3178c`` - **Source run id:** ``30149511957`` - **Lambda function:** ``jef-one-post-009`` - **HTTP method:** ``POST`` - **API path:** ``/one-entities-allowed-employees-post-one`` - **Cloudflare path:** ``/one/async-post/one-entities-allowed-employees-post-one`` - **Endpoint URL:** ``https://api.jefoffice.com/one/async-post/one-entities-allowed-employees-post-one`` - **Cloudflare base URL:** ``https://api.jefoffice.com/one/async-post`` - **Cloudflare parent path:** ``/one`` - **Cloudflare scope:** ``async-post`` - **Cloudflare scope path:** ``/one/async-post`` - **Cloudflare mode:** ``one-worker-for-lambda-async-post`` - **Cloudflare Worker:** ``jef-one-lambda-async-post`` - **Cloudflare Worker route:** ``api.jefoffice.com/one/async-post/\*`` - **Payload mode:** ``json-body`` Description ----------- .. list-table:: :widths: 30 70 * - ``Function`` - jef-one-post-009 Logical ID: jef-one:jef-one-entities-allowed-employees:post-one Order Number: 009 * - ``Module`` - jef-one * - ``Action`` - post-one * - ``Method`` - POST * - ``Invocation Mode`` - ASYNC * - ``Resource Path`` - /one-entities-allowed-employees-post-one Endpoint Name: jef-one-entities-allowed-employees-post-one * - ``Table`` - jef-one-entities-allowed-employees * - ``Primary Key`` - entity\_allowed\_employee\_id API Gateway Response -------------------- .. list-table:: :widths: 30 70 * - ``status\_code`` - 202 * - ``message`` - Request accepted for asynchronous processing. Payload Example --------------- .. list-table:: :widths: 30 70 * - ``entity\_allowed\_employee\_id`` - 827f6938-5004-4835-9c92-d250d5bb45bd * - ``domain\_id`` - d278ce4c-2f2d-45c3-9fe6-ad71a964465b * - ``entity\_id`` - 5c4c4f86-4c7e-4b4a-8f9d-6f01e5366594 * - ``employee\_id`` - d50698f9-7c64-4d98-9610-6ae61e26c1fc * - ``entity\_number`` - value-001 * - ``employee\_number`` - value-001 * - ``employee\_password\_hash`` - value-001 * - ``is\_active`` - True * - ``created`` - 2026-07-25T07:32:49Z * - ``updated`` - 2026-07-25T07:32:49Z Payload Schema -------------- .. code-block:: json { "type": "object", "additionalProperties": "False", "payload_mode": "flat", "allow_children_wrapper": "False", "children_wrapper_field": "", "allow_batch": "False", "table": "jef-one-entities-allowed-employees", "primary_key": "entity_allowed_employee_id", "required[0]": "domain_id", "required[1]": "entity_id", "required[2]": "employee_id", "required[3]": "entity_number", "required[4]": "employee_number", "required[5]": "employee_password_hash", "properties.entity_allowed_employee_id.field": "entity_allowed_employee_id", "properties.entity_allowed_employee_id.type": "S", "properties.entity_allowed_employee_id.required": "False", "properties.entity_allowed_employee_id.source_required": "True", "properties.entity_allowed_employee_id.server_generated": "True", "properties.entity_allowed_employee_id.autogenerated": "False", "properties.entity_allowed_employee_id.frontend_autocomputed": "False", "properties.entity_allowed_employee_id.format": "uuidv4", "properties.entity_allowed_employee_id.regex": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", "properties.domain_id.field": "domain_id", "properties.domain_id.type": "S", "properties.domain_id.required": "True", "properties.domain_id.source_required": "True", "properties.domain_id.server_generated": "True", "properties.domain_id.autogenerated": "False", "properties.domain_id.frontend_autocomputed": "False", "properties.domain_id.format": "uuidv4", "properties.domain_id.regex": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", "properties.entity_id.field": "entity_id", "properties.entity_id.type": "S", "properties.entity_id.required": "True", "properties.entity_id.source_required": "True", "properties.entity_id.server_generated": "True", "properties.entity_id.autogenerated": "False", "properties.entity_id.frontend_autocomputed": "False", "properties.entity_id.format": "uuidv4", "properties.entity_id.regex": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", "properties.employee_id.field": "employee_id", "properties.employee_id.type": "S", "properties.employee_id.required": "True", "properties.employee_id.source_required": "True", "properties.employee_id.server_generated": "True", "properties.employee_id.autogenerated": "False", "properties.employee_id.frontend_autocomputed": "False", "properties.employee_id.format": "uuidv4", "properties.employee_id.regex": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", "properties.entity_number.field": "entity_number", "properties.entity_number.type": "S", "properties.entity_number.required": "True", "properties.entity_number.source_required": "True", "properties.entity_number.server_generated": "False", "properties.entity_number.autogenerated": "False", "properties.entity_number.frontend_autocomputed": "False", "properties.entity_number.regex": "^[0-9]{4}$", "properties.employee_number.field": "employee_number", "properties.employee_number.type": "S", "properties.employee_number.required": "True", "properties.employee_number.source_required": "True", "properties.employee_number.server_generated": "False", "properties.employee_number.autogenerated": "False", "properties.employee_number.frontend_autocomputed": "False", "properties.employee_number.regex": "^[0-9]{5}$", "properties.employee_password_hash.field": "employee_password_hash", "properties.employee_password_hash.type": "S", "properties.employee_password_hash.required": "True", "properties.employee_password_hash.source_required": "True", "properties.employee_password_hash.server_generated": "False", "properties.employee_password_hash.autogenerated": "False", "properties.employee_password_hash.frontend_autocomputed": "False", "properties.employee_password_hash.regex": "^.{1,500}$", "properties.is_active.field": "is_active", "properties.is_active.type": "BOOL", "properties.is_active.required": "False", "properties.is_active.source_required": "True", "properties.is_active.server_generated": "False", "properties.is_active.autogenerated": "False", "properties.is_active.frontend_autocomputed": "False", "properties.is_active.regex": "^(true|false)$", "properties.created.field": "created", "properties.created.type": "S", "properties.created.required": "False", "properties.created.source_required": "True", "properties.created.server_generated": "True", "properties.created.autogenerated": "False", "properties.created.frontend_autocomputed": "False", "properties.created.format": "iso8601", "properties.created.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$", "properties.updated.field": "updated", "properties.updated.type": "S", "properties.updated.required": "False", "properties.updated.source_required": "True", "properties.updated.server_generated": "True", "properties.updated.autogenerated": "False", "properties.updated.frontend_autocomputed": "False", "properties.updated.format": "iso8601", "properties.updated.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$", "children": "[]", "root.type": "object", "root.attributes.entity_allowed_employee_id.field": "entity_allowed_employee_id", "root.attributes.entity_allowed_employee_id.type": "S", "root.attributes.entity_allowed_employee_id.required": "False", "root.attributes.entity_allowed_employee_id.source_required": "True", "root.attributes.entity_allowed_employee_id.server_generated": "True", "root.attributes.entity_allowed_employee_id.autogenerated": "False", "root.attributes.entity_allowed_employee_id.frontend_autocomputed": "False", "root.attributes.entity_allowed_employee_id.format": "uuidv4", "root.attributes.entity_allowed_employee_id.regex": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", "root.attributes.domain_id.field": "domain_id", "root.attributes.domain_id.type": "S", "root.attributes.domain_id.required": "True", "root.attributes.domain_id.source_required": "True", "root.attributes.domain_id.server_generated": "True", "root.attributes.domain_id.autogenerated": "False", "root.attributes.domain_id.frontend_autocomputed": "False", "root.attributes.domain_id.format": "uuidv4", "root.attributes.domain_id.regex": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", "root.attributes.entity_id.field": "entity_id", "root.attributes.entity_id.type": "S", "root.attributes.entity_id.required": "True", "root.attributes.entity_id.source_required": "True", "root.attributes.entity_id.server_generated": "True", "root.attributes.entity_id.autogenerated": "False", "root.attributes.entity_id.frontend_autocomputed": "False", "root.attributes.entity_id.format": "uuidv4", "root.attributes.entity_id.regex": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", "root.attributes.employee_id.field": "employee_id", "root.attributes.employee_id.type": "S", "root.attributes.employee_id.required": "True", "root.attributes.employee_id.source_required": "True", "root.attributes.employee_id.server_generated": "True", "root.attributes.employee_id.autogenerated": "False", "root.attributes.employee_id.frontend_autocomputed": "False", "root.attributes.employee_id.format": "uuidv4", "root.attributes.employee_id.regex": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", "root.attributes.entity_number.field": "entity_number", "root.attributes.entity_number.type": "S", "root.attributes.entity_number.required": "True", "root.attributes.entity_number.source_required": "True", "root.attributes.entity_number.server_generated": "False", "root.attributes.entity_number.autogenerated": "False", "root.attributes.entity_number.frontend_autocomputed": "False", "root.attributes.entity_number.regex": "^[0-9]{4}$", "root.attributes.employee_number.field": "employee_number", "root.attributes.employee_number.type": "S", "root.attributes.employee_number.required": "True", "root.attributes.employee_number.source_required": "True", "root.attributes.employee_number.server_generated": "False", "root.attributes.employee_number.autogenerated": "False", "root.attributes.employee_number.frontend_autocomputed": "False", "root.attributes.employee_number.regex": "^[0-9]{5}$", "root.attributes.employee_password_hash.field": "employee_password_hash", "root.attributes.employee_password_hash.type": "S", "root.attributes.employee_password_hash.required": "True", "root.attributes.employee_password_hash.source_required": "True", "root.attributes.employee_password_hash.server_generated": "False", "root.attributes.employee_password_hash.autogenerated": "False", "root.attributes.employee_password_hash.frontend_autocomputed": "False", "root.attributes.employee_password_hash.regex": "^.{1,500}$", "root.attributes.is_active.field": "is_active", "root.attributes.is_active.type": "BOOL", "root.attributes.is_active.required": "False", "root.attributes.is_active.source_required": "True", "root.attributes.is_active.server_generated": "False", "root.attributes.is_active.autogenerated": "False", "root.attributes.is_active.frontend_autocomputed": "False", "root.attributes.is_active.regex": "^(true|false)$", "root.attributes.created.field": "created", "root.attributes.created.type": "S", "root.attributes.created.required": "False", "root.attributes.created.source_required": "True", "root.attributes.created.server_generated": "True", "root.attributes.created.autogenerated": "False", "root.attributes.created.frontend_autocomputed": "False", "root.attributes.created.format": "iso8601", "root.attributes.created.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$", "root.attributes.updated.field": "updated", "root.attributes.updated.type": "S", "root.attributes.updated.required": "False", "root.attributes.updated.source_required": "True", "root.attributes.updated.server_generated": "True", "root.attributes.updated.autogenerated": "False", "root.attributes.updated.frontend_autocomputed": "False", "root.attributes.updated.format": "iso8601", "root.attributes.updated.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$" } Response Schema --------------- .. code-block:: json { "type": "object", "properties.ok.type": "boolean", "properties.accepted.type": "boolean", "properties.is_committed.type": "boolean", "properties.request_id.type": "string", "properties.message.type": "string", "properties.table.type": "string", "properties.operation.type": "string", "properties.primary_key.type": "string", "properties.primary_key_value.type": "string", "properties.item_write_count.type": "number", "properties.child_write_count.type": "number" } Request Payload --------------- .. code-block:: json { "entity_allowed_employee_id": "827f6938-5004-4835-9c92-d250d5bb45bd", "domain_id": "d278ce4c-2f2d-45c3-9fe6-ad71a964465b", "entity_id": "5c4c4f86-4c7e-4b4a-8f9d-6f01e5366594", "employee_id": "d50698f9-7c64-4d98-9610-6ae61e26c1fc", "entity_number": "value-001", "employee_number": "value-001", "employee_password_hash": "value-001", "is_active": "True", "created": "2026-07-25T07:32:49Z", "updated": "2026-07-25T07:32:49Z" } Response -------- .. code-block:: json { "type": "object", "properties.ok.type": "boolean", "properties.accepted.type": "boolean", "properties.is_committed.type": "boolean", "properties.request_id.type": "string", "properties.message.type": "string", "properties.table.type": "string", "properties.operation.type": "string", "properties.primary_key.type": "string", "properties.primary_key_value.type": "string", "properties.item_write_count.type": "number", "properties.child_write_count.type": "number" } CMD curl -------- .. code-block:: bat curl -X POST "https://api.jefoffice.com/one/async-post/one-entities-allowed-employees-post-one" -H "Content-Type: application/json" --data-raw "{\"entity_allowed_employee_id\": \"827f6938-5004-4835-9c92-d250d5bb45bd\", \"domain_id\": \"d278ce4c-2f2d-45c3-9fe6-ad71a964465b\", \"entity_id\": \"5c4c4f86-4c7e-4b4a-8f9d-6f01e5366594\", \"employee_id\": \"d50698f9-7c64-4d98-9610-6ae61e26c1fc\", \"entity_number\": \"value-001\", \"employee_number\": \"value-001\", \"employee_password_hash\": \"value-001\", \"is_active\": true, \"created\": \"2026-07-25T07:32:49Z\", \"updated\": \"2026-07-25T07:32:49Z\"}" PowerShell curl --------------- .. code-block:: powershell curl.exe -X POST "https://api.jefoffice.com/one/async-post/one-entities-allowed-employees-post-one" -H "Content-Type: application/json" --data-raw '{"entity_allowed_employee_id": "827f6938-5004-4835-9c92-d250d5bb45bd", "domain_id": "d278ce4c-2f2d-45c3-9fe6-ad71a964465b", "entity_id": "5c4c4f86-4c7e-4b4a-8f9d-6f01e5366594", "employee_id": "d50698f9-7c64-4d98-9610-6ae61e26c1fc", "entity_number": "value-001", "employee_number": "value-001", "employee_password_hash": "value-001", "is_active": true, "created": "2026-07-25T07:32:49Z", "updated": "2026-07-25T07:32:49Z"}'