/hardware-rentals-post-one

Summary

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

  • Source SHA: 61af4e71dbca0b2ddf0490d03bb53fe1ee254027

  • Source run id: 29186391370

  • Lambda function: jef-hardware-post-001

  • HTTP method: POST

  • API path: /hardware-rentals-post-one

  • Cloudflare path: /hardware/async-post/hardware-rentals-post-one

  • Endpoint URL: https://api.jefoffice.com/hardware/async-post/hardware-rentals-post-one

  • Cloudflare base URL: https://api.jefoffice.com/hardware/async-post

  • Cloudflare parent path: /hardware

  • Cloudflare scope: async-post

  • Cloudflare scope path: /hardware/async-post

  • Cloudflare mode: one-worker-for-lambda-async-post

  • Cloudflare Worker: jef-hardware-lambda-async-post

  • Cloudflare Worker route: api.jefoffice.com/hardware/async-post/\*

  • Payload mode: json-body

Description

Function

jef-hardware-post-001 Logical ID: jef-hardware:jef-hardware-rentals:post-one Order Number: 001

Module

jef-hardware

Action

post-one

Method

POST

Invocation Mode

ASYNC

Resource Path

/hardware-rentals-post-one Endpoint Name: jef-hardware-rentals-post-one

Table

jef-hardware-rentals

Primary Key

rental_id

API Gateway Response

status\_code

202

message

Request accepted for asynchronous processing.

Payload Example

rental\_id

8502b54a-64f6-4358-859f-64dd2f52792b

store\_id

2cacd5ec-7f88-4fff-851d-2bae356b20d1

order\_number

value-001

cashier\_name

Sample Name

terminal\_name

Sample Name

customer\_id

818cb433-d901-4524-b877-b7f047bfba84

customer\_name

Sample Name

customer\_mobile\_number

value-001

customer\_address

value-001

customer\_government\_id\_type

value-001

customer\_government\_id\_number

value-001

deposit

1

gross\_total

1

total\_due

1

rental\_started\_at

2026-07-12T08:46:37Z

expected\_return\_at

2026-07-12T08:46:37Z

rental\_status

value-001

print\_status

value-001

printed\_at

2026-07-12T08:46:37Z

printer\_device\_id

6b703d52-b875-4ca0-8da9-316e816cdfd0

printer\_device\_name

Sample Name

created

2026-07-12T08:46:37Z

updated

2026-07-12T08:46:37Z

deleted\_at

2026-07-12T08:46:37Z

children.jef-hardware-rental-items\[0\].rental\_item\_id

a902bacf-d7b2-4dbe-8fb1-3e45c6873ed8

children.jef-hardware-rental-items\[0\].rental\_id

8502b54a-64f6-4358-859f-64dd2f52792b

children.jef-hardware-rental-items\[0\].store\_id

9608977f-bac3-473c-85e7-858002cae587

children.jef-hardware-rental-items\[0\].toolbox\_id

a278766f-6a1e-47c1-8948-c8b7c4d969d3

children.jef-hardware-rental-items\[0\].line\_number

1

children.jef-hardware-rental-items\[0\].equipment\_name

Sample Name

children.jef-hardware-rental-items\[0\].category

value-001

children.jef-hardware-rental-items\[0\].included\_items\_text

value-001

children.jef-hardware-rental-items\[0\].rate\_per\_day

1

children.jef-hardware-rental-items\[0\].days

1

children.jef-hardware-rental-items\[0\].subtotal

1

children.jef-hardware-rental-items\[0\].qr\_value

value-001

children.jef-hardware-rental-items\[0\].expected\_return\_at

2026-07-12T08:46:37Z

children.jef-hardware-rental-items\[0\].rental\_item\_status

value-001

children.jef-hardware-rental-items\[0\].created

2026-07-12T08:46:37Z

children.jef-hardware-rental-items\[0\].updated

2026-07-12T08:46:37Z

children.jef-hardware-rental-items\[0\].deleted\_at

2026-07-12T08:46:37Z

Payload Schema

{
  "type": "object",
  "additionalProperties": "False",
  "payload_mode": "parent-plus-children-wrapper",
  "allow_children_wrapper": "True",
  "children_wrapper_field": "children",
  "allow_batch": "False",
  "table": "jef-hardware-rentals",
  "primary_key": "rental_id",
  "required[0]": "store_id",
  "required[1]": "order_number",
  "required[2]": "cashier_name",
  "required[3]": "terminal_name",
  "required[4]": "customer_id",
  "required[5]": "customer_name",
  "required[6]": "customer_mobile_number",
  "required[7]": "customer_address",
  "required[8]": "customer_government_id_type",
  "required[9]": "customer_government_id_number",
  "required[10]": "deposit",
  "required[11]": "gross_total",
  "required[12]": "rental_started_at",
  "required[13]": "expected_return_at",
  "required[14]": "rental_status",
  "required[15]": "print_status",
  "properties.rental_id.field": "rental_id",
  "properties.rental_id.type": "S",
  "properties.rental_id.required": "False",
  "properties.rental_id.source_required": "True",
  "properties.rental_id.server_generated": "True",
  "properties.rental_id.autogenerated": "False",
  "properties.rental_id.frontend_autocomputed": "False",
  "properties.rental_id.format": "uuidv4",
  "properties.rental_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.store_id.field": "store_id",
  "properties.store_id.type": "S",
  "properties.store_id.required": "True",
  "properties.store_id.source_required": "True",
  "properties.store_id.server_generated": "True",
  "properties.store_id.autogenerated": "False",
  "properties.store_id.frontend_autocomputed": "False",
  "properties.store_id.format": "uuidv4",
  "properties.store_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.order_number.field": "order_number",
  "properties.order_number.type": "S",
  "properties.order_number.required": "True",
  "properties.order_number.source_required": "True",
  "properties.order_number.server_generated": "False",
  "properties.order_number.autogenerated": "False",
  "properties.order_number.frontend_autocomputed": "False",
  "properties.order_number.regex": "^[A-Za-z0-9_-]{1,64}$",
  "properties.cashier_name.field": "cashier_name",
  "properties.cashier_name.type": "S",
  "properties.cashier_name.required": "True",
  "properties.cashier_name.source_required": "True",
  "properties.cashier_name.server_generated": "False",
  "properties.cashier_name.autogenerated": "False",
  "properties.cashier_name.frontend_autocomputed": "False",
  "properties.cashier_name.regex": "^[A-Za-z0-9 .,'_-]{1,120}$",
  "properties.terminal_name.field": "terminal_name",
  "properties.terminal_name.type": "S",
  "properties.terminal_name.required": "True",
  "properties.terminal_name.source_required": "True",
  "properties.terminal_name.server_generated": "False",
  "properties.terminal_name.autogenerated": "False",
  "properties.terminal_name.frontend_autocomputed": "False",
  "properties.terminal_name.regex": "^[A-Za-z0-9_-]{1,64}$",
  "properties.customer_id.field": "customer_id",
  "properties.customer_id.type": "S",
  "properties.customer_id.required": "True",
  "properties.customer_id.source_required": "True",
  "properties.customer_id.server_generated": "False",
  "properties.customer_id.autogenerated": "False",
  "properties.customer_id.frontend_autocomputed": "False",
  "properties.customer_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.customer_name.field": "customer_name",
  "properties.customer_name.type": "S",
  "properties.customer_name.required": "True",
  "properties.customer_name.source_required": "True",
  "properties.customer_name.server_generated": "False",
  "properties.customer_name.autogenerated": "False",
  "properties.customer_name.frontend_autocomputed": "False",
  "properties.customer_name.regex": "^[A-Za-z0-9 .,'_-]{1,120}$",
  "properties.customer_mobile_number.field": "customer_mobile_number",
  "properties.customer_mobile_number.type": "S",
  "properties.customer_mobile_number.required": "True",
  "properties.customer_mobile_number.source_required": "True",
  "properties.customer_mobile_number.server_generated": "False",
  "properties.customer_mobile_number.autogenerated": "False",
  "properties.customer_mobile_number.frontend_autocomputed": "False",
  "properties.customer_mobile_number.regex": "^[A-Za-z0-9_-]{1,64}$",
  "properties.customer_address.field": "customer_address",
  "properties.customer_address.type": "S",
  "properties.customer_address.required": "True",
  "properties.customer_address.source_required": "True",
  "properties.customer_address.server_generated": "False",
  "properties.customer_address.autogenerated": "False",
  "properties.customer_address.frontend_autocomputed": "False",
  "properties.customer_address.regex": "^.{1,300}$",
  "properties.customer_government_id_type.field": "customer_government_id_type",
  "properties.customer_government_id_type.type": "S",
  "properties.customer_government_id_type.required": "True",
  "properties.customer_government_id_type.source_required": "True",
  "properties.customer_government_id_type.server_generated": "False",
  "properties.customer_government_id_type.autogenerated": "False",
  "properties.customer_government_id_type.frontend_autocomputed": "False",
  "properties.customer_government_id_type.regex": "^[A-Za-z0-9_-]{1,64}$",
  "properties.customer_government_id_number.field": "customer_government_id_number",
  "properties.customer_government_id_number.type": "S",
  "properties.customer_government_id_number.required": "True",
  "properties.customer_government_id_number.source_required": "True",
  "properties.customer_government_id_number.server_generated": "False",
  "properties.customer_government_id_number.autogenerated": "False",
  "properties.customer_government_id_number.frontend_autocomputed": "False",
  "properties.customer_government_id_number.regex": "^[A-Za-z0-9_-]{1,64}$",
  "properties.deposit.field": "deposit",
  "properties.deposit.type": "N",
  "properties.deposit.required": "True",
  "properties.deposit.source_required": "True",
  "properties.deposit.server_generated": "False",
  "properties.deposit.autogenerated": "False",
  "properties.deposit.frontend_autocomputed": "False",
  "properties.deposit.regex": "^-?\\d+(\\.\\d+)?$",
  "properties.gross_total.field": "gross_total",
  "properties.gross_total.type": "N",
  "properties.gross_total.required": "True",
  "properties.gross_total.source_required": "True",
  "properties.gross_total.server_generated": "False",
  "properties.gross_total.autogenerated": "False",
  "properties.gross_total.frontend_autocomputed": "False",
  "properties.gross_total.regex": "^-?\\d+(\\.\\d+)?$",
  "properties.total_due.field": "total_due",
  "properties.total_due.type": "N",
  "properties.total_due.required": "False",
  "properties.total_due.source_required": "True",
  "properties.total_due.server_generated": "False",
  "properties.total_due.autogenerated": "False",
  "properties.total_due.frontend_autocomputed": "True",
  "properties.total_due.regex": "^-?\\d+(\\.\\d+)?$",
  "properties.rental_started_at.field": "rental_started_at",
  "properties.rental_started_at.type": "S",
  "properties.rental_started_at.required": "True",
  "properties.rental_started_at.source_required": "True",
  "properties.rental_started_at.server_generated": "True",
  "properties.rental_started_at.autogenerated": "False",
  "properties.rental_started_at.frontend_autocomputed": "False",
  "properties.rental_started_at.format": "iso8601",
  "properties.rental_started_at.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$",
  "properties.expected_return_at.field": "expected_return_at",
  "properties.expected_return_at.type": "S",
  "properties.expected_return_at.required": "True",
  "properties.expected_return_at.source_required": "True",
  "properties.expected_return_at.server_generated": "True",
  "properties.expected_return_at.autogenerated": "False",
  "properties.expected_return_at.frontend_autocomputed": "False",
  "properties.expected_return_at.format": "iso8601",
  "properties.expected_return_at.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$",
  "properties.rental_status.field": "rental_status",
  "properties.rental_status.type": "S",
  "properties.rental_status.required": "True",
  "properties.rental_status.source_required": "True",
  "properties.rental_status.server_generated": "False",
  "properties.rental_status.autogenerated": "False",
  "properties.rental_status.frontend_autocomputed": "False",
  "properties.rental_status.regex": "^[A-Za-z0-9_-]{1,64}$",
  "properties.print_status.field": "print_status",
  "properties.print_status.type": "S",
  "properties.print_status.required": "True",
  "properties.print_status.source_required": "True",
  "properties.print_status.server_generated": "False",
  "properties.print_status.autogenerated": "False",
  "properties.print_status.frontend_autocomputed": "False",
  "properties.print_status.regex": "^[A-Za-z0-9_-]{1,64}$",
  "properties.printed_at.field": "printed_at",
  "properties.printed_at.type": "S",
  "properties.printed_at.required": "False",
  "properties.printed_at.source_required": "False",
  "properties.printed_at.server_generated": "True",
  "properties.printed_at.autogenerated": "False",
  "properties.printed_at.frontend_autocomputed": "False",
  "properties.printed_at.format": "iso8601",
  "properties.printed_at.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$",
  "properties.printer_device_id.field": "printer_device_id",
  "properties.printer_device_id.type": "S",
  "properties.printer_device_id.required": "False",
  "properties.printer_device_id.source_required": "False",
  "properties.printer_device_id.server_generated": "False",
  "properties.printer_device_id.autogenerated": "False",
  "properties.printer_device_id.frontend_autocomputed": "False",
  "properties.printer_device_id.regex": "^[A-Za-z0-9_-]{1,64}$",
  "properties.printer_device_name.field": "printer_device_name",
  "properties.printer_device_name.type": "S",
  "properties.printer_device_name.required": "False",
  "properties.printer_device_name.source_required": "False",
  "properties.printer_device_name.server_generated": "False",
  "properties.printer_device_name.autogenerated": "False",
  "properties.printer_device_name.frontend_autocomputed": "False",
  "properties.printer_device_name.regex": "^[A-Za-z0-9 .,'_-]{1,120}$",
  "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.deleted_at.field": "deleted_at",
  "properties.deleted_at.type": "S",
  "properties.deleted_at.required": "False",
  "properties.deleted_at.source_required": "False",
  "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?$",
  "children[0].parent_table": "jef-hardware-rentals",
  "children[0].child_table": "jef-hardware-rental-items",
  "children[0].parent_key": "rental_id",
  "children[0].child_foreign_key": "rental_id",
  "children[0].child_index_name": "gsi_1",
  "children[0].child_index_key": "gsi_1_pk",
  "children[0].aliases[0]": "jef-hardware-rental-items",
  "children[0].aliases[1]": "rental-items",
  "children[0].aliases[2]": "hardware-rental-items",
  "children[0].aliases[3]": "jef_hardware_rental_items",
  "children[0].aliases[4]": "rental_items",
  "children[0].aliases[5]": "hardware_rental_items",
  "children[0].aliases[6]": "items",
  "root.type": "object",
  "root.attributes.rental_id.field": "rental_id",
  "root.attributes.rental_id.type": "S",
  "root.attributes.rental_id.required": "False",
  "root.attributes.rental_id.source_required": "True",
  "root.attributes.rental_id.server_generated": "True",
  "root.attributes.rental_id.autogenerated": "False",
  "root.attributes.rental_id.frontend_autocomputed": "False",
  "root.attributes.rental_id.format": "uuidv4",
  "root.attributes.rental_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.store_id.field": "store_id",
  "root.attributes.store_id.type": "S",
  "root.attributes.store_id.required": "True",
  "root.attributes.store_id.source_required": "True",
  "root.attributes.store_id.server_generated": "True",
  "root.attributes.store_id.autogenerated": "False",
  "root.attributes.store_id.frontend_autocomputed": "False",
  "root.attributes.store_id.format": "uuidv4",
  "root.attributes.store_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.order_number.field": "order_number",
  "root.attributes.order_number.type": "S",
  "root.attributes.order_number.required": "True",
  "root.attributes.order_number.source_required": "True",
  "root.attributes.order_number.server_generated": "False",
  "root.attributes.order_number.autogenerated": "False",
  "root.attributes.order_number.frontend_autocomputed": "False",
  "root.attributes.order_number.regex": "^[A-Za-z0-9_-]{1,64}$",
  "root.attributes.cashier_name.field": "cashier_name",
  "root.attributes.cashier_name.type": "S",
  "root.attributes.cashier_name.required": "True",
  "root.attributes.cashier_name.source_required": "True",
  "root.attributes.cashier_name.server_generated": "False",
  "root.attributes.cashier_name.autogenerated": "False",
  "root.attributes.cashier_name.frontend_autocomputed": "False",
  "root.attributes.cashier_name.regex": "^[A-Za-z0-9 .,'_-]{1,120}$",
  "root.attributes.terminal_name.field": "terminal_name",
  "root.attributes.terminal_name.type": "S",
  "root.attributes.terminal_name.required": "True",
  "root.attributes.terminal_name.source_required": "True",
  "root.attributes.terminal_name.server_generated": "False",
  "root.attributes.terminal_name.autogenerated": "False",
  "root.attributes.terminal_name.frontend_autocomputed": "False",
  "root.attributes.terminal_name.regex": "^[A-Za-z0-9_-]{1,64}$",
  "root.attributes.customer_id.field": "customer_id",
  "root.attributes.customer_id.type": "S",
  "root.attributes.customer_id.required": "True",
  "root.attributes.customer_id.source_required": "True",
  "root.attributes.customer_id.server_generated": "False",
  "root.attributes.customer_id.autogenerated": "False",
  "root.attributes.customer_id.frontend_autocomputed": "False",
  "root.attributes.customer_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.customer_name.field": "customer_name",
  "root.attributes.customer_name.type": "S",
  "root.attributes.customer_name.required": "True",
  "root.attributes.customer_name.source_required": "True",
  "root.attributes.customer_name.server_generated": "False",
  "root.attributes.customer_name.autogenerated": "False",
  "root.attributes.customer_name.frontend_autocomputed": "False",
  "root.attributes.customer_name.regex": "^[A-Za-z0-9 .,'_-]{1,120}$",
  "root.attributes.customer_mobile_number.field": "customer_mobile_number",
  "root.attributes.customer_mobile_number.type": "S",
  "root.attributes.customer_mobile_number.required": "True",
  "root.attributes.customer_mobile_number.source_required": "True",
  "root.attributes.customer_mobile_number.server_generated": "False",
  "root.attributes.customer_mobile_number.autogenerated": "False",
  "root.attributes.customer_mobile_number.frontend_autocomputed": "False",
  "root.attributes.customer_mobile_number.regex": "^[A-Za-z0-9_-]{1,64}$",
  "root.attributes.customer_address.field": "customer_address",
  "root.attributes.customer_address.type": "S",
  "root.attributes.customer_address.required": "True",
  "root.attributes.customer_address.source_required": "True",
  "root.attributes.customer_address.server_generated": "False",
  "root.attributes.customer_address.autogenerated": "False",
  "root.attributes.customer_address.frontend_autocomputed": "False",
  "root.attributes.customer_address.regex": "^.{1,300}$",
  "root.attributes.customer_government_id_type.field": "customer_government_id_type",
  "root.attributes.customer_government_id_type.type": "S",
  "root.attributes.customer_government_id_type.required": "True",
  "root.attributes.customer_government_id_type.source_required": "True",
  "root.attributes.customer_government_id_type.server_generated": "False",
  "root.attributes.customer_government_id_type.autogenerated": "False",
  "root.attributes.customer_government_id_type.frontend_autocomputed": "False",
  "root.attributes.customer_government_id_type.regex": "^[A-Za-z0-9_-]{1,64}$",
  "root.attributes.customer_government_id_number.field": "customer_government_id_number",
  "root.attributes.customer_government_id_number.type": "S",
  "root.attributes.customer_government_id_number.required": "True",
  "root.attributes.customer_government_id_number.source_required": "True",
  "root.attributes.customer_government_id_number.server_generated": "False",
  "root.attributes.customer_government_id_number.autogenerated": "False",
  "root.attributes.customer_government_id_number.frontend_autocomputed": "False",
  "root.attributes.customer_government_id_number.regex": "^[A-Za-z0-9_-]{1,64}$",
  "root.attributes.deposit.field": "deposit",
  "root.attributes.deposit.type": "N",
  "root.attributes.deposit.required": "True",
  "root.attributes.deposit.source_required": "True",
  "root.attributes.deposit.server_generated": "False",
  "root.attributes.deposit.autogenerated": "False",
  "root.attributes.deposit.frontend_autocomputed": "False",
  "root.attributes.deposit.regex": "^-?\\d+(\\.\\d+)?$",
  "root.attributes.gross_total.field": "gross_total",
  "root.attributes.gross_total.type": "N",
  "root.attributes.gross_total.required": "True",
  "root.attributes.gross_total.source_required": "True",
  "root.attributes.gross_total.server_generated": "False",
  "root.attributes.gross_total.autogenerated": "False",
  "root.attributes.gross_total.frontend_autocomputed": "False",
  "root.attributes.gross_total.regex": "^-?\\d+(\\.\\d+)?$",
  "root.attributes.total_due.field": "total_due",
  "root.attributes.total_due.type": "N",
  "root.attributes.total_due.required": "False",
  "root.attributes.total_due.source_required": "True",
  "root.attributes.total_due.server_generated": "False",
  "root.attributes.total_due.autogenerated": "False",
  "root.attributes.total_due.frontend_autocomputed": "True",
  "root.attributes.total_due.regex": "^-?\\d+(\\.\\d+)?$",
  "root.attributes.rental_started_at.field": "rental_started_at",
  "root.attributes.rental_started_at.type": "S",
  "root.attributes.rental_started_at.required": "True",
  "root.attributes.rental_started_at.source_required": "True",
  "root.attributes.rental_started_at.server_generated": "True",
  "root.attributes.rental_started_at.autogenerated": "False",
  "root.attributes.rental_started_at.frontend_autocomputed": "False",
  "root.attributes.rental_started_at.format": "iso8601",
  "root.attributes.rental_started_at.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$",
  "root.attributes.expected_return_at.field": "expected_return_at",
  "root.attributes.expected_return_at.type": "S",
  "root.attributes.expected_return_at.required": "True",
  "root.attributes.expected_return_at.source_required": "True",
  "root.attributes.expected_return_at.server_generated": "True",
  "root.attributes.expected_return_at.autogenerated": "False",
  "root.attributes.expected_return_at.frontend_autocomputed": "False",
  "root.attributes.expected_return_at.format": "iso8601",
  "root.attributes.expected_return_at.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$",
  "root.attributes.rental_status.field": "rental_status",
  "root.attributes.rental_status.type": "S",
  "root.attributes.rental_status.required": "True",
  "root.attributes.rental_status.source_required": "True",
  "root.attributes.rental_status.server_generated": "False",
  "root.attributes.rental_status.autogenerated": "False",
  "root.attributes.rental_status.frontend_autocomputed": "False",
  "root.attributes.rental_status.regex": "^[A-Za-z0-9_-]{1,64}$",
  "root.attributes.print_status.field": "print_status",
  "root.attributes.print_status.type": "S",
  "root.attributes.print_status.required": "True",
  "root.attributes.print_status.source_required": "True",
  "root.attributes.print_status.server_generated": "False",
  "root.attributes.print_status.autogenerated": "False",
  "root.attributes.print_status.frontend_autocomputed": "False",
  "root.attributes.print_status.regex": "^[A-Za-z0-9_-]{1,64}$",
  "root.attributes.printed_at.field": "printed_at",
  "root.attributes.printed_at.type": "S",
  "root.attributes.printed_at.required": "False",
  "root.attributes.printed_at.source_required": "False",
  "root.attributes.printed_at.server_generated": "True",
  "root.attributes.printed_at.autogenerated": "False",
  "root.attributes.printed_at.frontend_autocomputed": "False",
  "root.attributes.printed_at.format": "iso8601",
  "root.attributes.printed_at.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$",
  "root.attributes.printer_device_id.field": "printer_device_id",
  "root.attributes.printer_device_id.type": "S",
  "root.attributes.printer_device_id.required": "False",
  "root.attributes.printer_device_id.source_required": "False",
  "root.attributes.printer_device_id.server_generated": "False",
  "root.attributes.printer_device_id.autogenerated": "False",
  "root.attributes.printer_device_id.frontend_autocomputed": "False",
  "root.attributes.printer_device_id.regex": "^[A-Za-z0-9_-]{1,64}$",
  "root.attributes.printer_device_name.field": "printer_device_name",
  "root.attributes.printer_device_name.type": "S",
  "root.attributes.printer_device_name.required": "False",
  "root.attributes.printer_device_name.source_required": "False",
  "root.attributes.printer_device_name.server_generated": "False",
  "root.attributes.printer_device_name.autogenerated": "False",
  "root.attributes.printer_device_name.frontend_autocomputed": "False",
  "root.attributes.printer_device_name.regex": "^[A-Za-z0-9 .,'_-]{1,120}$",
  "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.deleted_at.field": "deleted_at",
  "root.attributes.deleted_at.type": "S",
  "root.attributes.deleted_at.required": "False",
  "root.attributes.deleted_at.source_required": "False",
  "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?$"
}

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

{
  "rental_id": "8502b54a-64f6-4358-859f-64dd2f52792b",
  "store_id": "2cacd5ec-7f88-4fff-851d-2bae356b20d1",
  "order_number": "value-001",
  "cashier_name": "Sample Name",
  "terminal_name": "Sample Name",
  "customer_id": "818cb433-d901-4524-b877-b7f047bfba84",
  "customer_name": "Sample Name",
  "customer_mobile_number": "value-001",
  "customer_address": "value-001",
  "customer_government_id_type": "value-001",
  "customer_government_id_number": "value-001",
  "deposit": "1",
  "gross_total": "1",
  "total_due": "1",
  "rental_started_at": "2026-07-12T08:46:37Z",
  "expected_return_at": "2026-07-12T08:46:37Z",
  "rental_status": "value-001",
  "print_status": "value-001",
  "printed_at": "2026-07-12T08:46:37Z",
  "printer_device_id": "6b703d52-b875-4ca0-8da9-316e816cdfd0",
  "printer_device_name": "Sample Name",
  "created": "2026-07-12T08:46:37Z",
  "updated": "2026-07-12T08:46:37Z",
  "deleted_at": "2026-07-12T08:46:37Z",
  "children.jef-hardware-rental-items[0].rental_item_id": "a902bacf-d7b2-4dbe-8fb1-3e45c6873ed8",
  "children.jef-hardware-rental-items[0].rental_id": "8502b54a-64f6-4358-859f-64dd2f52792b",
  "children.jef-hardware-rental-items[0].store_id": "9608977f-bac3-473c-85e7-858002cae587",
  "children.jef-hardware-rental-items[0].toolbox_id": "a278766f-6a1e-47c1-8948-c8b7c4d969d3",
  "children.jef-hardware-rental-items[0].line_number": "1",
  "children.jef-hardware-rental-items[0].equipment_name": "Sample Name",
  "children.jef-hardware-rental-items[0].category": "value-001",
  "children.jef-hardware-rental-items[0].included_items_text": "value-001",
  "children.jef-hardware-rental-items[0].rate_per_day": "1",
  "children.jef-hardware-rental-items[0].days": "1",
  "children.jef-hardware-rental-items[0].subtotal": "1",
  "children.jef-hardware-rental-items[0].qr_value": "value-001",
  "children.jef-hardware-rental-items[0].expected_return_at": "2026-07-12T08:46:37Z",
  "children.jef-hardware-rental-items[0].rental_item_status": "value-001",
  "children.jef-hardware-rental-items[0].created": "2026-07-12T08:46:37Z",
  "children.jef-hardware-rental-items[0].updated": "2026-07-12T08:46:37Z",
  "children.jef-hardware-rental-items[0].deleted_at": "2026-07-12T08:46:37Z"
}

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/hardware/async-post/hardware-rentals-post-one" -H "Content-Type: application/json" --data-raw "{\"rental_id\": \"8502b54a-64f6-4358-859f-64dd2f52792b\", \"store_id\": \"2cacd5ec-7f88-4fff-851d-2bae356b20d1\", \"order_number\": \"value-001\", \"cashier_name\": \"Sample Name\", \"terminal_name\": \"Sample Name\", \"customer_id\": \"818cb433-d901-4524-b877-b7f047bfba84\", \"customer_name\": \"Sample Name\", \"customer_mobile_number\": \"value-001\", \"customer_address\": \"value-001\", \"customer_government_id_type\": \"value-001\", \"customer_government_id_number\": \"value-001\", \"deposit\": 1, \"gross_total\": 1, \"total_due\": 1, \"rental_started_at\": \"2026-07-12T08:46:37Z\", \"expected_return_at\": \"2026-07-12T08:46:37Z\", \"rental_status\": \"value-001\", \"print_status\": \"value-001\", \"printed_at\": \"2026-07-12T08:46:37Z\", \"printer_device_id\": \"6b703d52-b875-4ca0-8da9-316e816cdfd0\", \"printer_device_name\": \"Sample Name\", \"created\": \"2026-07-12T08:46:37Z\", \"updated\": \"2026-07-12T08:46:37Z\", \"deleted_at\": \"2026-07-12T08:46:37Z\", \"children\": {\"jef-hardware-rental-items\": [{\"rental_item_id\": \"a902bacf-d7b2-4dbe-8fb1-3e45c6873ed8\", \"rental_id\": \"8502b54a-64f6-4358-859f-64dd2f52792b\", \"store_id\": \"9608977f-bac3-473c-85e7-858002cae587\", \"toolbox_id\": \"a278766f-6a1e-47c1-8948-c8b7c4d969d3\", \"line_number\": 1, \"equipment_name\": \"Sample Name\", \"category\": \"value-001\", \"included_items_text\": \"value-001\", \"rate_per_day\": 1, \"days\": 1, \"subtotal\": 1, \"qr_value\": \"value-001\", \"expected_return_at\": \"2026-07-12T08:46:37Z\", \"rental_item_status\": \"value-001\", \"created\": \"2026-07-12T08:46:37Z\", \"updated\": \"2026-07-12T08:46:37Z\", \"deleted_at\": \"2026-07-12T08:46:37Z\"}]}}"

PowerShell curl

curl.exe -X POST "https://api.jefoffice.com/hardware/async-post/hardware-rentals-post-one" -H "Content-Type: application/json" --data-raw '{"rental_id": "8502b54a-64f6-4358-859f-64dd2f52792b", "store_id": "2cacd5ec-7f88-4fff-851d-2bae356b20d1", "order_number": "value-001", "cashier_name": "Sample Name", "terminal_name": "Sample Name", "customer_id": "818cb433-d901-4524-b877-b7f047bfba84", "customer_name": "Sample Name", "customer_mobile_number": "value-001", "customer_address": "value-001", "customer_government_id_type": "value-001", "customer_government_id_number": "value-001", "deposit": 1, "gross_total": 1, "total_due": 1, "rental_started_at": "2026-07-12T08:46:37Z", "expected_return_at": "2026-07-12T08:46:37Z", "rental_status": "value-001", "print_status": "value-001", "printed_at": "2026-07-12T08:46:37Z", "printer_device_id": "6b703d52-b875-4ca0-8da9-316e816cdfd0", "printer_device_name": "Sample Name", "created": "2026-07-12T08:46:37Z", "updated": "2026-07-12T08:46:37Z", "deleted_at": "2026-07-12T08:46:37Z", "children": {"jef-hardware-rental-items": [{"rental_item_id": "a902bacf-d7b2-4dbe-8fb1-3e45c6873ed8", "rental_id": "8502b54a-64f6-4358-859f-64dd2f52792b", "store_id": "9608977f-bac3-473c-85e7-858002cae587", "toolbox_id": "a278766f-6a1e-47c1-8948-c8b7c4d969d3", "line_number": 1, "equipment_name": "Sample Name", "category": "value-001", "included_items_text": "value-001", "rate_per_day": 1, "days": 1, "subtotal": 1, "qr_value": "value-001", "expected_return_at": "2026-07-12T08:46:37Z", "rental_item_status": "value-001", "created": "2026-07-12T08:46:37Z", "updated": "2026-07-12T08:46:37Z", "deleted_at": "2026-07-12T08:46:37Z"}]}}'