.. AUTO-GENERATED FILE. DO NOT EDIT. /one-applications-post-one ========================== Summary ------- - **Source repository:** ``jef-systems/jef-one-backend`` - **Source SHA:** ``a8edf3d77c4689168400069ba74f46fd06c3178c`` - **Source run id:** ``30149511957`` - **Lambda function:** ``jef-one-post-001`` - **HTTP method:** ``POST`` - **API path:** ``/one-applications-post-one`` - **Cloudflare path:** ``/one/async-post/one-applications-post-one`` - **Endpoint URL:** ``https://api.jefoffice.com/one/async-post/one-applications-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-001 Logical ID: jef-one:jef-one-applications:post-one Order Number: 001 * - ``Module`` - jef-one * - ``Action`` - post-one * - ``Method`` - POST * - ``Invocation Mode`` - ASYNC * - ``Resource Path`` - /one-applications-post-one Endpoint Name: jef-one-applications-post-one * - ``Table`` - jef-one-applications * - ``Primary Key`` - application\_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 * - ``application\_id`` - 49b494ba-e8b3-4b42-bbd8-7472350e7fb3 * - ``domain\_id`` - 030630ba-954d-4f05-aba5-2f79942749ee * - ``application\_name`` - Sample Name * - ``is\_active`` - True * - ``created`` - 2026-07-25T07:32:49Z * - ``updated`` - 2026-07-25T07:32:49Z * - ``children.jef-one-application-allowed-entities\[0\].application\_allowed\_entity\_id`` - 86ed2507-c163-4cac-8ec6-b685693cc9a1 * - ``children.jef-one-application-allowed-entities\[0\].domain\_id`` - 72af86e9-ef93-4ef8-8d6b-3dcf19537e10 * - ``children.jef-one-application-allowed-entities\[0\].application\_id`` - 49b494ba-e8b3-4b42-bbd8-7472350e7fb3 * - ``children.jef-one-application-allowed-entities\[0\].entity\_id`` - 3247efda-a955-4a8a-b69b-c104a8e7428e * - ``children.jef-one-application-allowed-entities\[0\].application\_name`` - Sample Name * - ``children.jef-one-application-allowed-entities\[0\].entity\_number`` - value-001 * - ``children.jef-one-application-allowed-entities\[0\].main\_parent\_key\_name`` - Sample Name * - ``children.jef-one-application-allowed-entities\[0\].main\_parent\_key\_value`` - value-001 * - ``children.jef-one-application-allowed-entities\[0\].is\_active`` - True * - ``children.jef-one-application-allowed-entities\[0\].created`` - 2026-07-25T07:32:49Z * - ``children.jef-one-application-allowed-entities\[0\].updated`` - 2026-07-25T07:32:49Z Payload Schema -------------- .. code-block:: json { "type": "object", "additionalProperties": "False", "payload_mode": "parent-plus-children-wrapper", "allow_children_wrapper": "True", "children_wrapper_field": "children", "allow_batch": "False", "table": "jef-one-applications", "primary_key": "application_id", "required[0]": "domain_id", "required[1]": "application_name", "properties.application_id.field": "application_id", "properties.application_id.type": "S", "properties.application_id.required": "False", "properties.application_id.source_required": "True", "properties.application_id.server_generated": "True", "properties.application_id.autogenerated": "False", "properties.application_id.frontend_autocomputed": "False", "properties.application_id.format": "uuidv4", "properties.application_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.application_name.field": "application_name", "properties.application_name.type": "S", "properties.application_name.required": "True", "properties.application_name.source_required": "True", "properties.application_name.server_generated": "False", "properties.application_name.autogenerated": "False", "properties.application_name.frontend_autocomputed": "False", "properties.application_name.regex": "^[A-Za-z0-9 .,'_-]{1,120}$", "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[0].parent_table": "jef-one-applications", "children[0].child_table": "jef-one-application-allowed-entities", "children[0].parent_key": "application_id", "children[0].child_foreign_key": "application_id", "children[0].child_index_name": "gsi_1", "children[0].child_index_key": "gsi_1_pk", "children[0].aliases[0]": "jef-one-application-allowed-entities", "children[0].aliases[1]": "application-allowed-entities", "children[0].aliases[2]": "one-application-allowed-entities", "children[0].aliases[3]": "jef_one_application_allowed_entities", "children[0].aliases[4]": "application_allowed_entities", "children[0].aliases[5]": "one_application_allowed_entities", "children[0].aliases[6]": "entities", "root.type": "object", "root.attributes.application_id.field": "application_id", "root.attributes.application_id.type": "S", "root.attributes.application_id.required": "False", "root.attributes.application_id.source_required": "True", "root.attributes.application_id.server_generated": "True", "root.attributes.application_id.autogenerated": "False", "root.attributes.application_id.frontend_autocomputed": "False", "root.attributes.application_id.format": "uuidv4", "root.attributes.application_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.application_name.field": "application_name", "root.attributes.application_name.type": "S", "root.attributes.application_name.required": "True", "root.attributes.application_name.source_required": "True", "root.attributes.application_name.server_generated": "False", "root.attributes.application_name.autogenerated": "False", "root.attributes.application_name.frontend_autocomputed": "False", "root.attributes.application_name.regex": "^[A-Za-z0-9 .,'_-]{1,120}$", "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 { "application_id": "49b494ba-e8b3-4b42-bbd8-7472350e7fb3", "domain_id": "030630ba-954d-4f05-aba5-2f79942749ee", "application_name": "Sample Name", "is_active": "True", "created": "2026-07-25T07:32:49Z", "updated": "2026-07-25T07:32:49Z", "children.jef-one-application-allowed-entities[0].application_allowed_entity_id": "86ed2507-c163-4cac-8ec6-b685693cc9a1", "children.jef-one-application-allowed-entities[0].domain_id": "72af86e9-ef93-4ef8-8d6b-3dcf19537e10", "children.jef-one-application-allowed-entities[0].application_id": "49b494ba-e8b3-4b42-bbd8-7472350e7fb3", "children.jef-one-application-allowed-entities[0].entity_id": "3247efda-a955-4a8a-b69b-c104a8e7428e", "children.jef-one-application-allowed-entities[0].application_name": "Sample Name", "children.jef-one-application-allowed-entities[0].entity_number": "value-001", "children.jef-one-application-allowed-entities[0].main_parent_key_name": "Sample Name", "children.jef-one-application-allowed-entities[0].main_parent_key_value": "value-001", "children.jef-one-application-allowed-entities[0].is_active": "True", "children.jef-one-application-allowed-entities[0].created": "2026-07-25T07:32:49Z", "children.jef-one-application-allowed-entities[0].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-applications-post-one" -H "Content-Type: application/json" --data-raw "{\"application_id\": \"49b494ba-e8b3-4b42-bbd8-7472350e7fb3\", \"domain_id\": \"030630ba-954d-4f05-aba5-2f79942749ee\", \"application_name\": \"Sample Name\", \"is_active\": true, \"created\": \"2026-07-25T07:32:49Z\", \"updated\": \"2026-07-25T07:32:49Z\", \"children\": {\"jef-one-application-allowed-entities\": [{\"application_allowed_entity_id\": \"86ed2507-c163-4cac-8ec6-b685693cc9a1\", \"domain_id\": \"72af86e9-ef93-4ef8-8d6b-3dcf19537e10\", \"application_id\": \"49b494ba-e8b3-4b42-bbd8-7472350e7fb3\", \"entity_id\": \"3247efda-a955-4a8a-b69b-c104a8e7428e\", \"application_name\": \"Sample Name\", \"entity_number\": \"value-001\", \"main_parent_key_name\": \"Sample Name\", \"main_parent_key_value\": \"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-applications-post-one" -H "Content-Type: application/json" --data-raw '{"application_id": "49b494ba-e8b3-4b42-bbd8-7472350e7fb3", "domain_id": "030630ba-954d-4f05-aba5-2f79942749ee", "application_name": "Sample Name", "is_active": true, "created": "2026-07-25T07:32:49Z", "updated": "2026-07-25T07:32:49Z", "children": {"jef-one-application-allowed-entities": [{"application_allowed_entity_id": "86ed2507-c163-4cac-8ec6-b685693cc9a1", "domain_id": "72af86e9-ef93-4ef8-8d6b-3dcf19537e10", "application_id": "49b494ba-e8b3-4b42-bbd8-7472350e7fb3", "entity_id": "3247efda-a955-4a8a-b69b-c104a8e7428e", "application_name": "Sample Name", "entity_number": "value-001", "main_parent_key_name": "Sample Name", "main_parent_key_value": "value-001", "is_active": true, "created": "2026-07-25T07:32:49Z", "updated": "2026-07-25T07:32:49Z"}]}}'