/store-attendances-post-one

Summary

  • Source repository: jef-systems/jef-store-backend

  • Source SHA: db30c43afdd1f6d3c445eb63c29f917771b95c97

  • Source run id: 29187149032

  • Lambda function: jef-store-post-004

  • HTTP method: POST

  • API path: /store-attendances-post-one

  • Cloudflare path: /store/async-post/store-attendances-post-one

  • Endpoint URL: https://api.jefoffice.com/store/async-post/store-attendances-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

Function

jef-store-post-004 Logical ID: jef-store:jef-store-attendances:post-one Order Number: 004

Module

jef-store

Action

post-one

Method

POST

Invocation Mode

ASYNC

Resource Path

/store-attendances-post-one Endpoint Name: jef-store-attendances-post-one

Table

jef-store-attendances

Primary Key

attendance_id

API Gateway Response

status\_code

202

message

Request accepted for asynchronous processing.

Payload Example

attendance\_id

e4e2b1fb-5a87-4169-bbd6-6b4e458384b4

entity\_number

842b0c89-52f2-46e1-be31-fe0c809e5dfa

employee\_number

f00cff88-8074-4e55-931b-a00736b2b682

employee\_name

Sample Name

attendance\_date

2026-05-17

schedule

value-001

status

value-001

notes

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

{
  "type": "object",
  "additionalProperties": "False",
  "payload_mode": "flat",
  "allow_children_wrapper": "False",
  "children_wrapper_field": "",
  "allow_batch": "False",
  "table": "jef-store-attendances",
  "primary_key": "attendance_id",
  "required[0]": "entity_number",
  "required[1]": "employee_number",
  "required[2]": "employee_name",
  "required[3]": "attendance_date",
  "required[4]": "schedule",
  "required[5]": "status",
  "required[6]": "notes",
  "required[7]": "is_deleted",
  "required[8]": "deleted_at",
  "required[9]": "idempotency_key",
  "required[10]": "schema_version",
  "required[11]": "version",
  "properties.attendance_id.field": "attendance_id",
  "properties.attendance_id.type": "S",
  "properties.attendance_id.required": "False",
  "properties.attendance_id.source_required": "True",
  "properties.attendance_id.server_generated": "True",
  "properties.attendance_id.autogenerated": "False",
  "properties.attendance_id.frontend_autocomputed": "False",
  "properties.attendance_id.format": "uuidv4",
  "properties.attendance_id.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.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": "True",
  "properties.employee_number.autogenerated": "False",
  "properties.employee_number.frontend_autocomputed": "False",
  "properties.employee_number.format": "uuidv4",
  "properties.employee_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.employee_name.field": "employee_name",
  "properties.employee_name.type": "S",
  "properties.employee_name.required": "True",
  "properties.employee_name.source_required": "True",
  "properties.employee_name.server_generated": "False",
  "properties.employee_name.autogenerated": "False",
  "properties.employee_name.frontend_autocomputed": "False",
  "properties.employee_name.regex": "^[A-Za-z0-9 ._-]{1,100}$",
  "properties.attendance_date.field": "attendance_date",
  "properties.attendance_date.type": "S",
  "properties.attendance_date.required": "True",
  "properties.attendance_date.source_required": "True",
  "properties.attendance_date.server_generated": "False",
  "properties.attendance_date.autogenerated": "False",
  "properties.attendance_date.frontend_autocomputed": "False",
  "properties.attendance_date.regex": "^\\d{4}-\\d{2}-\\d{2}$",
  "properties.schedule.field": "schedule",
  "properties.schedule.type": "S",
  "properties.schedule.required": "True",
  "properties.schedule.source_required": "True",
  "properties.schedule.server_generated": "False",
  "properties.schedule.autogenerated": "False",
  "properties.schedule.frontend_autocomputed": "False",
  "properties.schedule.regex": "^[A-Za-z0-9 ._-]{1,100}$",
  "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.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.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.attendance_id.field": "attendance_id",
  "root.attributes.attendance_id.type": "S",
  "root.attributes.attendance_id.required": "False",
  "root.attributes.attendance_id.source_required": "True",
  "root.attributes.attendance_id.server_generated": "True",
  "root.attributes.attendance_id.autogenerated": "False",
  "root.attributes.attendance_id.frontend_autocomputed": "False",
  "root.attributes.attendance_id.format": "uuidv4",
  "root.attributes.attendance_id.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.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": "True",
  "root.attributes.employee_number.autogenerated": "False",
  "root.attributes.employee_number.frontend_autocomputed": "False",
  "root.attributes.employee_number.format": "uuidv4",
  "root.attributes.employee_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.employee_name.field": "employee_name",
  "root.attributes.employee_name.type": "S",
  "root.attributes.employee_name.required": "True",
  "root.attributes.employee_name.source_required": "True",
  "root.attributes.employee_name.server_generated": "False",
  "root.attributes.employee_name.autogenerated": "False",
  "root.attributes.employee_name.frontend_autocomputed": "False",
  "root.attributes.employee_name.regex": "^[A-Za-z0-9 ._-]{1,100}$",
  "root.attributes.attendance_date.field": "attendance_date",
  "root.attributes.attendance_date.type": "S",
  "root.attributes.attendance_date.required": "True",
  "root.attributes.attendance_date.source_required": "True",
  "root.attributes.attendance_date.server_generated": "False",
  "root.attributes.attendance_date.autogenerated": "False",
  "root.attributes.attendance_date.frontend_autocomputed": "False",
  "root.attributes.attendance_date.regex": "^\\d{4}-\\d{2}-\\d{2}$",
  "root.attributes.schedule.field": "schedule",
  "root.attributes.schedule.type": "S",
  "root.attributes.schedule.required": "True",
  "root.attributes.schedule.source_required": "True",
  "root.attributes.schedule.server_generated": "False",
  "root.attributes.schedule.autogenerated": "False",
  "root.attributes.schedule.frontend_autocomputed": "False",
  "root.attributes.schedule.regex": "^[A-Za-z0-9 ._-]{1,100}$",
  "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.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.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

{
  "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

{
  "attendance_id": "e4e2b1fb-5a87-4169-bbd6-6b4e458384b4",
  "entity_number": "842b0c89-52f2-46e1-be31-fe0c809e5dfa",
  "employee_number": "f00cff88-8074-4e55-931b-a00736b2b682",
  "employee_name": "Sample Name",
  "attendance_date": "2026-05-17",
  "schedule": "value-001",
  "status": "value-001",
  "notes": "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

{
  "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

curl -X POST "https://api.jefoffice.com/store/async-post/store-attendances-post-one" -H "Content-Type: application/json" --data-raw "{\"attendance_id\": \"e4e2b1fb-5a87-4169-bbd6-6b4e458384b4\", \"entity_number\": \"842b0c89-52f2-46e1-be31-fe0c809e5dfa\", \"employee_number\": \"f00cff88-8074-4e55-931b-a00736b2b682\", \"employee_name\": \"Sample Name\", \"attendance_date\": \"2026-05-17\", \"schedule\": \"value-001\", \"status\": \"value-001\", \"notes\": \"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

curl.exe -X POST "https://api.jefoffice.com/store/async-post/store-attendances-post-one" -H "Content-Type: application/json" --data-raw '{"attendance_id": "e4e2b1fb-5a87-4169-bbd6-6b4e458384b4", "entity_number": "842b0c89-52f2-46e1-be31-fe0c809e5dfa", "employee_number": "f00cff88-8074-4e55-931b-a00736b2b682", "employee_name": "Sample Name", "attendance_date": "2026-05-17", "schedule": "value-001", "status": "value-001", "notes": "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}'