/accounting-form-lookups-post-one¶
Summary¶
Source repository:
jef-systems/jef-accounting-backendSource SHA:
a4fcf0e2deccf8422f4a15a76dac8d4ec4ddbff8Source run id:
30027826522Lambda function:
jef-accounting-post-004HTTP method:
POSTAPI path:
/accounting-form-lookups-post-oneCloudflare path:
/accounting/async-post/accounting-form-lookups-post-oneEndpoint URL:
https://api.jefoffice.com/accounting/async-post/accounting-form-lookups-post-oneCloudflare base URL:
https://api.jefoffice.com/accounting/async-postCloudflare parent path:
/accountingCloudflare scope:
async-postCloudflare scope path:
/accounting/async-postCloudflare mode:
one-worker-for-lambda-async-postCloudflare Worker:
jef-accounting-lambda-async-postCloudflare Worker route:
api.jefoffice.com/accounting/async-post/\*Payload mode:
json-body
Description¶
|
jef-accounting-post-004 Logical ID: jef-accounting:jef-accounting-form-lookups:post-one Order Number: 004 |
|
jef-accounting |
|
post-one |
|
POST |
|
ASYNC |
|
/accounting-form-lookups-post-one Endpoint Name: jef-accounting-form-lookups-post-one |
|
jef-accounting-form-lookups |
|
form_lookup_id |
API Gateway Response¶
|
202 |
|
Request accepted for asynchronous processing. |
Payload Example¶
|
c11f2784-0d25-456c-93f7-2b1be3dc8eb9 |
|
value-001 |
|
value-001 |
|
value-001 |
|
4f46c7b8-983e-45e0-9478-9b7c141c7155 |
|
value-001 |
|
value-001 |
|
value-001 |
|
value-001 |
|
True |
|
2026-07-23T17:03:38Z |
|
2026-07-23T17:03:38Z |
Payload Schema¶
{
"type": "object",
"additionalProperties": "False",
"payload_mode": "flat",
"allow_children_wrapper": "False",
"children_wrapper_field": "",
"allow_batch": "False",
"table": "jef-accounting-form-lookups",
"primary_key": "form_lookup_id",
"required[0]": "lookup_key",
"required[1]": "lookup_type",
"required[2]": "lookup_value",
"required[3]": "form_id",
"required[4]": "form_code",
"required[5]": "active_spec_version",
"required[6]": "active_spec_sha256",
"required[7]": "spec_schema_version",
"properties.form_lookup_id.field": "form_lookup_id",
"properties.form_lookup_id.type": "S",
"properties.form_lookup_id.required": "False",
"properties.form_lookup_id.source_required": "True",
"properties.form_lookup_id.server_generated": "True",
"properties.form_lookup_id.autogenerated": "False",
"properties.form_lookup_id.frontend_autocomputed": "False",
"properties.form_lookup_id.format": "uuidv4",
"properties.form_lookup_id.regex": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$",
"properties.lookup_key.field": "lookup_key",
"properties.lookup_key.type": "S",
"properties.lookup_key.required": "True",
"properties.lookup_key.source_required": "True",
"properties.lookup_key.server_generated": "True",
"properties.lookup_key.autogenerated": "False",
"properties.lookup_key.frontend_autocomputed": "False",
"properties.lookup_key.regex": "^(QR#[1-9][0-9]{0,127}|CODE#[a-z][a-z0-9_]{2,127})$",
"properties.lookup_type.field": "lookup_type",
"properties.lookup_type.type": "S",
"properties.lookup_type.required": "True",
"properties.lookup_type.source_required": "True",
"properties.lookup_type.server_generated": "True",
"properties.lookup_type.autogenerated": "False",
"properties.lookup_type.frontend_autocomputed": "False",
"properties.lookup_type.regex": "^(qr_code|form_code)$",
"properties.lookup_value.field": "lookup_value",
"properties.lookup_value.type": "S",
"properties.lookup_value.required": "True",
"properties.lookup_value.source_required": "True",
"properties.lookup_value.server_generated": "True",
"properties.lookup_value.autogenerated": "False",
"properties.lookup_value.frontend_autocomputed": "False",
"properties.lookup_value.regex": "^([1-9][0-9]{0,127}|[a-z][a-z0-9_]{2,127})$",
"properties.form_id.field": "form_id",
"properties.form_id.type": "S",
"properties.form_id.required": "True",
"properties.form_id.source_required": "True",
"properties.form_id.server_generated": "True",
"properties.form_id.autogenerated": "False",
"properties.form_id.frontend_autocomputed": "False",
"properties.form_id.format": "uuidv4",
"properties.form_id.regex": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$",
"properties.form_code.field": "form_code",
"properties.form_code.type": "S",
"properties.form_code.required": "True",
"properties.form_code.source_required": "True",
"properties.form_code.server_generated": "True",
"properties.form_code.autogenerated": "False",
"properties.form_code.frontend_autocomputed": "False",
"properties.form_code.regex": "^[a-z][a-z0-9_]{2,127}$",
"properties.active_spec_version.field": "active_spec_version",
"properties.active_spec_version.type": "S",
"properties.active_spec_version.required": "True",
"properties.active_spec_version.source_required": "True",
"properties.active_spec_version.server_generated": "True",
"properties.active_spec_version.autogenerated": "False",
"properties.active_spec_version.frontend_autocomputed": "False",
"properties.active_spec_version.regex": "^[0-9]{9}$",
"properties.active_spec_sha256.field": "active_spec_sha256",
"properties.active_spec_sha256.type": "S",
"properties.active_spec_sha256.required": "True",
"properties.active_spec_sha256.source_required": "True",
"properties.active_spec_sha256.server_generated": "True",
"properties.active_spec_sha256.autogenerated": "False",
"properties.active_spec_sha256.frontend_autocomputed": "False",
"properties.active_spec_sha256.regex": "^[0-9a-f]{64}$",
"properties.spec_schema_version.field": "spec_schema_version",
"properties.spec_schema_version.type": "S",
"properties.spec_schema_version.required": "True",
"properties.spec_schema_version.source_required": "True",
"properties.spec_schema_version.server_generated": "True",
"properties.spec_schema_version.autogenerated": "False",
"properties.spec_schema_version.frontend_autocomputed": "False",
"properties.spec_schema_version.regex": "^[0-9]{9}$",
"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.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}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}Z$",
"children": "[]",
"root.type": "object",
"root.attributes.form_lookup_id.field": "form_lookup_id",
"root.attributes.form_lookup_id.type": "S",
"root.attributes.form_lookup_id.required": "False",
"root.attributes.form_lookup_id.source_required": "True",
"root.attributes.form_lookup_id.server_generated": "True",
"root.attributes.form_lookup_id.autogenerated": "False",
"root.attributes.form_lookup_id.frontend_autocomputed": "False",
"root.attributes.form_lookup_id.format": "uuidv4",
"root.attributes.form_lookup_id.regex": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$",
"root.attributes.lookup_key.field": "lookup_key",
"root.attributes.lookup_key.type": "S",
"root.attributes.lookup_key.required": "True",
"root.attributes.lookup_key.source_required": "True",
"root.attributes.lookup_key.server_generated": "True",
"root.attributes.lookup_key.autogenerated": "False",
"root.attributes.lookup_key.frontend_autocomputed": "False",
"root.attributes.lookup_key.regex": "^(QR#[1-9][0-9]{0,127}|CODE#[a-z][a-z0-9_]{2,127})$",
"root.attributes.lookup_type.field": "lookup_type",
"root.attributes.lookup_type.type": "S",
"root.attributes.lookup_type.required": "True",
"root.attributes.lookup_type.source_required": "True",
"root.attributes.lookup_type.server_generated": "True",
"root.attributes.lookup_type.autogenerated": "False",
"root.attributes.lookup_type.frontend_autocomputed": "False",
"root.attributes.lookup_type.regex": "^(qr_code|form_code)$",
"root.attributes.lookup_value.field": "lookup_value",
"root.attributes.lookup_value.type": "S",
"root.attributes.lookup_value.required": "True",
"root.attributes.lookup_value.source_required": "True",
"root.attributes.lookup_value.server_generated": "True",
"root.attributes.lookup_value.autogenerated": "False",
"root.attributes.lookup_value.frontend_autocomputed": "False",
"root.attributes.lookup_value.regex": "^([1-9][0-9]{0,127}|[a-z][a-z0-9_]{2,127})$",
"root.attributes.form_id.field": "form_id",
"root.attributes.form_id.type": "S",
"root.attributes.form_id.required": "True",
"root.attributes.form_id.source_required": "True",
"root.attributes.form_id.server_generated": "True",
"root.attributes.form_id.autogenerated": "False",
"root.attributes.form_id.frontend_autocomputed": "False",
"root.attributes.form_id.format": "uuidv4",
"root.attributes.form_id.regex": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$",
"root.attributes.form_code.field": "form_code",
"root.attributes.form_code.type": "S",
"root.attributes.form_code.required": "True",
"root.attributes.form_code.source_required": "True",
"root.attributes.form_code.server_generated": "True",
"root.attributes.form_code.autogenerated": "False",
"root.attributes.form_code.frontend_autocomputed": "False",
"root.attributes.form_code.regex": "^[a-z][a-z0-9_]{2,127}$",
"root.attributes.active_spec_version.field": "active_spec_version",
"root.attributes.active_spec_version.type": "S",
"root.attributes.active_spec_version.required": "True",
"root.attributes.active_spec_version.source_required": "True",
"root.attributes.active_spec_version.server_generated": "True",
"root.attributes.active_spec_version.autogenerated": "False",
"root.attributes.active_spec_version.frontend_autocomputed": "False",
"root.attributes.active_spec_version.regex": "^[0-9]{9}$",
"root.attributes.active_spec_sha256.field": "active_spec_sha256",
"root.attributes.active_spec_sha256.type": "S",
"root.attributes.active_spec_sha256.required": "True",
"root.attributes.active_spec_sha256.source_required": "True",
"root.attributes.active_spec_sha256.server_generated": "True",
"root.attributes.active_spec_sha256.autogenerated": "False",
"root.attributes.active_spec_sha256.frontend_autocomputed": "False",
"root.attributes.active_spec_sha256.regex": "^[0-9a-f]{64}$",
"root.attributes.spec_schema_version.field": "spec_schema_version",
"root.attributes.spec_schema_version.type": "S",
"root.attributes.spec_schema_version.required": "True",
"root.attributes.spec_schema_version.source_required": "True",
"root.attributes.spec_schema_version.server_generated": "True",
"root.attributes.spec_schema_version.autogenerated": "False",
"root.attributes.spec_schema_version.frontend_autocomputed": "False",
"root.attributes.spec_schema_version.regex": "^[0-9]{9}$",
"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.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}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}Z$"
}
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¶
{
"form_lookup_id": "c11f2784-0d25-456c-93f7-2b1be3dc8eb9",
"lookup_key": "value-001",
"lookup_type": "value-001",
"lookup_value": "value-001",
"form_id": "4f46c7b8-983e-45e0-9478-9b7c141c7155",
"form_code": "value-001",
"active_spec_version": "value-001",
"active_spec_sha256": "value-001",
"spec_schema_version": "value-001",
"is_active": "True",
"created": "2026-07-23T17:03:38Z",
"updated": "2026-07-23T17:03:38Z"
}
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/accounting/async-post/accounting-form-lookups-post-one" -H "Content-Type: application/json" --data-raw "{\"form_lookup_id\": \"c11f2784-0d25-456c-93f7-2b1be3dc8eb9\", \"lookup_key\": \"value-001\", \"lookup_type\": \"value-001\", \"lookup_value\": \"value-001\", \"form_id\": \"4f46c7b8-983e-45e0-9478-9b7c141c7155\", \"form_code\": \"value-001\", \"active_spec_version\": \"value-001\", \"active_spec_sha256\": \"value-001\", \"spec_schema_version\": \"value-001\", \"is_active\": true, \"created\": \"2026-07-23T17:03:38Z\", \"updated\": \"2026-07-23T17:03:38Z\"}"
PowerShell curl¶
curl.exe -X POST "https://api.jefoffice.com/accounting/async-post/accounting-form-lookups-post-one" -H "Content-Type: application/json" --data-raw '{"form_lookup_id": "c11f2784-0d25-456c-93f7-2b1be3dc8eb9", "lookup_key": "value-001", "lookup_type": "value-001", "lookup_value": "value-001", "form_id": "4f46c7b8-983e-45e0-9478-9b7c141c7155", "form_code": "value-001", "active_spec_version": "value-001", "active_spec_sha256": "value-001", "spec_schema_version": "value-001", "is_active": true, "created": "2026-07-23T17:03:38Z", "updated": "2026-07-23T17:03:38Z"}'