.. AUTO-GENERATED FILE. DO NOT EDIT. /store-jefgas-purchase-orders-post-one ====================================== Summary ------- - **Source repository:** ``jef-systems/jef-store-backend`` - **Source SHA:** ``db30c43afdd1f6d3c445eb63c29f917771b95c97`` - **Source run id:** ``29187149032`` - **Lambda function:** ``jef-store-post-007`` - **HTTP method:** ``POST`` - **API path:** ``/store-jefgas-purchase-orders-post-one`` - **Cloudflare path:** ``/store/async-post/store-jefgas-purchase-orders-post-one`` - **Endpoint URL:** ``https://api.jefoffice.com/store/async-post/store-jefgas-purchase-orders-post-one`` - **Cloudflare base URL:** ``https://api.jefoffice.com/store/async-post`` - **Cloudflare parent path:** ``/store`` - **Cloudflare scope:** ``async-post`` - **Cloudflare scope path:** ``/store/async-post`` - **Cloudflare mode:** ``one-worker-for-lambda-async-post`` - **Cloudflare Worker:** ``jef-store-lambda-async-post`` - **Cloudflare Worker route:** ``api.jefoffice.com/store/async-post/\*`` - **Payload mode:** ``json-body`` Description ----------- .. list-table:: :widths: 30 70 * - ``Function`` - jef-store-post-007 Logical ID: jef-store:jef-store-jefgas-purchase-orders:post-one Order Number: 007 * - ``Module`` - jef-store * - ``Action`` - post-one * - ``Method`` - POST * - ``Invocation Mode`` - ASYNC * - ``Resource Path`` - /store-jefgas-purchase-orders-post-one Endpoint Name: jef-store-jefgas-purchase-orders-post-one * - ``Table`` - jef-store-jefgas-purchase-orders * - ``Primary Key`` - purchase\_order\_number API Gateway Response -------------------- .. list-table:: :widths: 30 70 * - ``status\_code`` - 202 * - ``message`` - Request accepted for asynchronous processing. Payload Example --------------- .. list-table:: :widths: 30 70 * - ``purchase\_order\_number`` - ac4e8de0-31f5-40c2-8175-3c0bd765f421 * - ``entity\_number`` - abf08d10-0923-4d1b-8bb3-8f0182766769 * - ``supplier`` - value-001 * - ``fuel\_type`` - value-001 * - ``quantity\_text`` - value-001 * - ``notes`` - value-001 * - ``status`` - value-001 * - ``is\_active`` - True * - ``is\_deleted`` - True * - ``deleted\_at`` - 2026-07-12T09:14:12Z * - ``created`` - 2026-07-12T09:14:12Z * - ``updated`` - 2026-07-12T09:14:12Z * - ``idempotency\_key`` - value-001 * - ``schema\_version`` - 1 * - ``version`` - 1 Payload Schema -------------- .. code-block:: json { "type": "object", "additionalProperties": "False", "payload_mode": "flat", "allow_children_wrapper": "False", "children_wrapper_field": "", "allow_batch": "False", "table": "jef-store-jefgas-purchase-orders", "primary_key": "purchase_order_number", "required[0]": "entity_number", "required[1]": "supplier", "required[2]": "fuel_type", "required[3]": "quantity_text", "required[4]": "notes", "required[5]": "status", "required[6]": "is_deleted", "required[7]": "deleted_at", "required[8]": "idempotency_key", "required[9]": "schema_version", "required[10]": "version", "properties.purchase_order_number.field": "purchase_order_number", "properties.purchase_order_number.type": "S", "properties.purchase_order_number.required": "False", "properties.purchase_order_number.source_required": "True", "properties.purchase_order_number.server_generated": "True", "properties.purchase_order_number.autogenerated": "False", "properties.purchase_order_number.frontend_autocomputed": "False", "properties.purchase_order_number.format": "uuidv4", "properties.purchase_order_number.regex": "^[1-9a-fA-F][0-9a-fA-F]{7}-[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": "True", "properties.entity_number.autogenerated": "False", "properties.entity_number.frontend_autocomputed": "False", "properties.entity_number.format": "uuidv4", "properties.entity_number.regex": "^[1-9a-fA-F][0-9a-fA-F]{7}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", "properties.supplier.field": "supplier", "properties.supplier.type": "S", "properties.supplier.required": "True", "properties.supplier.source_required": "True", "properties.supplier.server_generated": "False", "properties.supplier.autogenerated": "False", "properties.supplier.frontend_autocomputed": "False", "properties.supplier.regex": "^[A-Za-z0-9 ._-]{1,100}$", "properties.fuel_type.field": "fuel_type", "properties.fuel_type.type": "S", "properties.fuel_type.required": "True", "properties.fuel_type.source_required": "True", "properties.fuel_type.server_generated": "False", "properties.fuel_type.autogenerated": "False", "properties.fuel_type.frontend_autocomputed": "False", "properties.fuel_type.regex": "^[A-Za-z0-9 ._-]{1,100}$", "properties.quantity_text.field": "quantity_text", "properties.quantity_text.type": "S", "properties.quantity_text.required": "True", "properties.quantity_text.source_required": "True", "properties.quantity_text.server_generated": "False", "properties.quantity_text.autogenerated": "False", "properties.quantity_text.frontend_autocomputed": "False", "properties.quantity_text.regex": "^.{0,500}$", "properties.notes.field": "notes", "properties.notes.type": "S", "properties.notes.required": "True", "properties.notes.source_required": "True", "properties.notes.server_generated": "False", "properties.notes.autogenerated": "False", "properties.notes.frontend_autocomputed": "False", "properties.notes.regex": "^.{0,500}$", "properties.status.field": "status", "properties.status.type": "S", "properties.status.required": "True", "properties.status.source_required": "True", "properties.status.server_generated": "False", "properties.status.autogenerated": "False", "properties.status.frontend_autocomputed": "False", "properties.status.regex": "^[A-Za-z0-9 ._-]{1,100}$", "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": "True", "properties.is_active.autogenerated": "False", "properties.is_active.frontend_autocomputed": "False", "properties.is_active.regex": "^(true|false)$", "properties.is_deleted.field": "is_deleted", "properties.is_deleted.type": "BOOL", "properties.is_deleted.required": "True", "properties.is_deleted.source_required": "True", "properties.is_deleted.server_generated": "True", "properties.is_deleted.autogenerated": "False", "properties.is_deleted.frontend_autocomputed": "False", "properties.is_deleted.regex": "^(true|false)$", "properties.deleted_at.field": "deleted_at", "properties.deleted_at.type": "S", "properties.deleted_at.required": "True", "properties.deleted_at.source_required": "True", "properties.deleted_at.server_generated": "True", "properties.deleted_at.autogenerated": "False", "properties.deleted_at.frontend_autocomputed": "False", "properties.deleted_at.format": "iso8601", "properties.deleted_at.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$", "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?$", "properties.idempotency_key.field": "idempotency_key", "properties.idempotency_key.type": "S", "properties.idempotency_key.required": "True", "properties.idempotency_key.source_required": "True", "properties.idempotency_key.server_generated": "True", "properties.idempotency_key.autogenerated": "False", "properties.idempotency_key.frontend_autocomputed": "False", "properties.idempotency_key.regex": "^.{1,300}$", "properties.schema_version.field": "schema_version", "properties.schema_version.type": "N", "properties.schema_version.required": "True", "properties.schema_version.source_required": "True", "properties.schema_version.server_generated": "False", "properties.schema_version.autogenerated": "False", "properties.schema_version.frontend_autocomputed": "False", "properties.schema_version.regex": "^\\d+$", "properties.version.field": "version", "properties.version.type": "N", "properties.version.required": "True", "properties.version.source_required": "True", "properties.version.server_generated": "False", "properties.version.autogenerated": "False", "properties.version.frontend_autocomputed": "False", "properties.version.regex": "^\\d+$", "children": "[]", "root.type": "object", "root.attributes.purchase_order_number.field": "purchase_order_number", "root.attributes.purchase_order_number.type": "S", "root.attributes.purchase_order_number.required": "False", "root.attributes.purchase_order_number.source_required": "True", "root.attributes.purchase_order_number.server_generated": "True", "root.attributes.purchase_order_number.autogenerated": "False", "root.attributes.purchase_order_number.frontend_autocomputed": "False", "root.attributes.purchase_order_number.format": "uuidv4", "root.attributes.purchase_order_number.regex": "^[1-9a-fA-F][0-9a-fA-F]{7}-[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": "True", "root.attributes.entity_number.autogenerated": "False", "root.attributes.entity_number.frontend_autocomputed": "False", "root.attributes.entity_number.format": "uuidv4", "root.attributes.entity_number.regex": "^[1-9a-fA-F][0-9a-fA-F]{7}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", "root.attributes.supplier.field": "supplier", "root.attributes.supplier.type": "S", "root.attributes.supplier.required": "True", "root.attributes.supplier.source_required": "True", "root.attributes.supplier.server_generated": "False", "root.attributes.supplier.autogenerated": "False", "root.attributes.supplier.frontend_autocomputed": "False", "root.attributes.supplier.regex": "^[A-Za-z0-9 ._-]{1,100}$", "root.attributes.fuel_type.field": "fuel_type", "root.attributes.fuel_type.type": "S", "root.attributes.fuel_type.required": "True", "root.attributes.fuel_type.source_required": "True", "root.attributes.fuel_type.server_generated": "False", "root.attributes.fuel_type.autogenerated": "False", "root.attributes.fuel_type.frontend_autocomputed": "False", "root.attributes.fuel_type.regex": "^[A-Za-z0-9 ._-]{1,100}$", "root.attributes.quantity_text.field": "quantity_text", "root.attributes.quantity_text.type": "S", "root.attributes.quantity_text.required": "True", "root.attributes.quantity_text.source_required": "True", "root.attributes.quantity_text.server_generated": "False", "root.attributes.quantity_text.autogenerated": "False", "root.attributes.quantity_text.frontend_autocomputed": "False", "root.attributes.quantity_text.regex": "^.{0,500}$", "root.attributes.notes.field": "notes", "root.attributes.notes.type": "S", "root.attributes.notes.required": "True", "root.attributes.notes.source_required": "True", "root.attributes.notes.server_generated": "False", "root.attributes.notes.autogenerated": "False", "root.attributes.notes.frontend_autocomputed": "False", "root.attributes.notes.regex": "^.{0,500}$", "root.attributes.status.field": "status", "root.attributes.status.type": "S", "root.attributes.status.required": "True", "root.attributes.status.source_required": "True", "root.attributes.status.server_generated": "False", "root.attributes.status.autogenerated": "False", "root.attributes.status.frontend_autocomputed": "False", "root.attributes.status.regex": "^[A-Za-z0-9 ._-]{1,100}$", "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": "True", "root.attributes.is_active.autogenerated": "False", "root.attributes.is_active.frontend_autocomputed": "False", "root.attributes.is_active.regex": "^(true|false)$", "root.attributes.is_deleted.field": "is_deleted", "root.attributes.is_deleted.type": "BOOL", "root.attributes.is_deleted.required": "True", "root.attributes.is_deleted.source_required": "True", "root.attributes.is_deleted.server_generated": "True", "root.attributes.is_deleted.autogenerated": "False", "root.attributes.is_deleted.frontend_autocomputed": "False", "root.attributes.is_deleted.regex": "^(true|false)$", "root.attributes.deleted_at.field": "deleted_at", "root.attributes.deleted_at.type": "S", "root.attributes.deleted_at.required": "True", "root.attributes.deleted_at.source_required": "True", "root.attributes.deleted_at.server_generated": "True", "root.attributes.deleted_at.autogenerated": "False", "root.attributes.deleted_at.frontend_autocomputed": "False", "root.attributes.deleted_at.format": "iso8601", "root.attributes.deleted_at.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$", "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?$", "root.attributes.idempotency_key.field": "idempotency_key", "root.attributes.idempotency_key.type": "S", "root.attributes.idempotency_key.required": "True", "root.attributes.idempotency_key.source_required": "True", "root.attributes.idempotency_key.server_generated": "True", "root.attributes.idempotency_key.autogenerated": "False", "root.attributes.idempotency_key.frontend_autocomputed": "False", "root.attributes.idempotency_key.regex": "^.{1,300}$", "root.attributes.schema_version.field": "schema_version", "root.attributes.schema_version.type": "N", "root.attributes.schema_version.required": "True", "root.attributes.schema_version.source_required": "True", "root.attributes.schema_version.server_generated": "False", "root.attributes.schema_version.autogenerated": "False", "root.attributes.schema_version.frontend_autocomputed": "False", "root.attributes.schema_version.regex": "^\\d+$", "root.attributes.version.field": "version", "root.attributes.version.type": "N", "root.attributes.version.required": "True", "root.attributes.version.source_required": "True", "root.attributes.version.server_generated": "False", "root.attributes.version.autogenerated": "False", "root.attributes.version.frontend_autocomputed": "False", "root.attributes.version.regex": "^\\d+$" } 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 { "purchase_order_number": "ac4e8de0-31f5-40c2-8175-3c0bd765f421", "entity_number": "abf08d10-0923-4d1b-8bb3-8f0182766769", "supplier": "value-001", "fuel_type": "value-001", "quantity_text": "value-001", "notes": "value-001", "status": "value-001", "is_active": "True", "is_deleted": "True", "deleted_at": "2026-07-12T09:14:12Z", "created": "2026-07-12T09:14:12Z", "updated": "2026-07-12T09:14:12Z", "idempotency_key": "value-001", "schema_version": "1", "version": "1" } 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/store/async-post/store-jefgas-purchase-orders-post-one" -H "Content-Type: application/json" --data-raw "{\"purchase_order_number\": \"ac4e8de0-31f5-40c2-8175-3c0bd765f421\", \"entity_number\": \"abf08d10-0923-4d1b-8bb3-8f0182766769\", \"supplier\": \"value-001\", \"fuel_type\": \"value-001\", \"quantity_text\": \"value-001\", \"notes\": \"value-001\", \"status\": \"value-001\", \"is_active\": true, \"is_deleted\": true, \"deleted_at\": \"2026-07-12T09:14:12Z\", \"created\": \"2026-07-12T09:14:12Z\", \"updated\": \"2026-07-12T09:14:12Z\", \"idempotency_key\": \"value-001\", \"schema_version\": 1, \"version\": 1}" PowerShell curl --------------- .. code-block:: powershell curl.exe -X POST "https://api.jefoffice.com/store/async-post/store-jefgas-purchase-orders-post-one" -H "Content-Type: application/json" --data-raw '{"purchase_order_number": "ac4e8de0-31f5-40c2-8175-3c0bd765f421", "entity_number": "abf08d10-0923-4d1b-8bb3-8f0182766769", "supplier": "value-001", "fuel_type": "value-001", "quantity_text": "value-001", "notes": "value-001", "status": "value-001", "is_active": true, "is_deleted": true, "deleted_at": "2026-07-12T09:14:12Z", "created": "2026-07-12T09:14:12Z", "updated": "2026-07-12T09:14:12Z", "idempotency_key": "value-001", "schema_version": 1, "version": 1}'