/hardware-rentals-patch-one

Summary

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

  • Source SHA: 1146eff13985802eaaa2190d185be080bba0aad5

  • Source run id: 28799104519

  • Lambda function: jef-hardware-rentals-patch-one

  • HTTP method: PATCH

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

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

  • Payload mode: json-body

Description

Function

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

Module

jef-hardware

Action

patch-one

Method

PATCH

Invocation Mode

SYNCHRONOUS

Resource Path

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

Table

jef-hardware-rentals

Primary Key

rental_id

API Gateway Response

status\_code

Lambda proxy statusCode

message

Lambda response reflects commit success or failure.

Payload Example

rental\_id

cf4f607e-6599-4e43-b88d-9f39c775e6c0

store\_id

0dfac214-c5b6-4900-86dc-09987304546a

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]": "rental_id",
  "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}$",
  "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",
  "patch.semantic_patch_version": "patch-ignore-immutable-v2",
  "patch.allowed_fields[0]": "rental_id",
  "patch.allowed_fields[1]": "store_id",
  "patch.allowed_fields[2]": "order_number",
  "patch.allowed_fields[3]": "cashier_name",
  "patch.allowed_fields[4]": "terminal_name",
  "patch.allowed_fields[5]": "customer_id",
  "patch.allowed_fields[6]": "customer_name",
  "patch.allowed_fields[7]": "customer_mobile_number",
  "patch.allowed_fields[8]": "customer_address",
  "patch.allowed_fields[9]": "customer_government_id_type",
  "patch.allowed_fields[10]": "customer_government_id_number",
  "patch.allowed_fields[11]": "deposit",
  "patch.allowed_fields[12]": "gross_total",
  "patch.allowed_fields[13]": "total_due",
  "patch.allowed_fields[14]": "rental_started_at",
  "patch.allowed_fields[15]": "expected_return_at",
  "patch.allowed_fields[16]": "rental_status",
  "patch.allowed_fields[17]": "print_status",
  "patch.allowed_fields[18]": "printed_at",
  "patch.allowed_fields[19]": "printer_device_id",
  "patch.allowed_fields[20]": "printer_device_name",
  "patch.ignored_fields[0]": "created",
  "patch.ignored_fields[1]": "created_at",
  "patch.ignored_fields[2]": "deleted_at",
  "patch.ignored_fields[3]": "idempotency_key",
  "patch.ignored_fields[4]": "is_deleted",
  "patch.ignored_fields[5]": "schema_version",
  "patch.ignored_fields[6]": "updated",
  "patch.ignored_fields[7]": "updated_at",
  "patch.editable_attributes.rental_id.field": "rental_id",
  "patch.editable_attributes.rental_id.type": "S",
  "patch.editable_attributes.rental_id.required": "False",
  "patch.editable_attributes.rental_id.source_required": "True",
  "patch.editable_attributes.rental_id.server_generated": "True",
  "patch.editable_attributes.rental_id.autogenerated": "False",
  "patch.editable_attributes.rental_id.frontend_autocomputed": "False",
  "patch.editable_attributes.rental_id.format": "uuidv4",
  "patch.editable_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}$",
  "patch.editable_attributes.store_id.field": "store_id",
  "patch.editable_attributes.store_id.type": "S",
  "patch.editable_attributes.store_id.required": "True",
  "patch.editable_attributes.store_id.source_required": "True",
  "patch.editable_attributes.store_id.server_generated": "True",
  "patch.editable_attributes.store_id.autogenerated": "False",
  "patch.editable_attributes.store_id.frontend_autocomputed": "False",
  "patch.editable_attributes.store_id.format": "uuidv4",
  "patch.editable_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}$",
  "patch.editable_attributes.order_number.field": "order_number",
  "patch.editable_attributes.order_number.type": "S",
  "patch.editable_attributes.order_number.required": "True",
  "patch.editable_attributes.order_number.source_required": "True",
  "patch.editable_attributes.order_number.server_generated": "False",
  "patch.editable_attributes.order_number.autogenerated": "False",
  "patch.editable_attributes.order_number.frontend_autocomputed": "False",
  "patch.editable_attributes.order_number.regex": "^[A-Za-z0-9_-]{1,64}$",
  "patch.editable_attributes.cashier_name.field": "cashier_name",
  "patch.editable_attributes.cashier_name.type": "S",
  "patch.editable_attributes.cashier_name.required": "True",
  "patch.editable_attributes.cashier_name.source_required": "True",
  "patch.editable_attributes.cashier_name.server_generated": "False",
  "patch.editable_attributes.cashier_name.autogenerated": "False",
  "patch.editable_attributes.cashier_name.frontend_autocomputed": "False",
  "patch.editable_attributes.cashier_name.regex": "^[A-Za-z0-9 .,'_-]{1,120}$",
  "patch.editable_attributes.terminal_name.field": "terminal_name",
  "patch.editable_attributes.terminal_name.type": "S",
  "patch.editable_attributes.terminal_name.required": "True",
  "patch.editable_attributes.terminal_name.source_required": "True",
  "patch.editable_attributes.terminal_name.server_generated": "False",
  "patch.editable_attributes.terminal_name.autogenerated": "False",
  "patch.editable_attributes.terminal_name.frontend_autocomputed": "False",
  "patch.editable_attributes.terminal_name.regex": "^[A-Za-z0-9_-]{1,64}$",
  "patch.editable_attributes.customer_id.field": "customer_id",
  "patch.editable_attributes.customer_id.type": "S",
  "patch.editable_attributes.customer_id.required": "True",
  "patch.editable_attributes.customer_id.source_required": "True",
  "patch.editable_attributes.customer_id.server_generated": "False",
  "patch.editable_attributes.customer_id.autogenerated": "False",
  "patch.editable_attributes.customer_id.frontend_autocomputed": "False",
  "patch.editable_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}$",
  "patch.editable_attributes.customer_name.field": "customer_name",
  "patch.editable_attributes.customer_name.type": "S",
  "patch.editable_attributes.customer_name.required": "True",
  "patch.editable_attributes.customer_name.source_required": "True",
  "patch.editable_attributes.customer_name.server_generated": "False",
  "patch.editable_attributes.customer_name.autogenerated": "False",
  "patch.editable_attributes.customer_name.frontend_autocomputed": "False",
  "patch.editable_attributes.customer_name.regex": "^[A-Za-z0-9 .,'_-]{1,120}$",
  "patch.editable_attributes.customer_mobile_number.field": "customer_mobile_number",
  "patch.editable_attributes.customer_mobile_number.type": "S",
  "patch.editable_attributes.customer_mobile_number.required": "True",
  "patch.editable_attributes.customer_mobile_number.source_required": "True",
  "patch.editable_attributes.customer_mobile_number.server_generated": "False",
  "patch.editable_attributes.customer_mobile_number.autogenerated": "False",
  "patch.editable_attributes.customer_mobile_number.frontend_autocomputed": "False",
  "patch.editable_attributes.customer_mobile_number.regex": "^[A-Za-z0-9_-]{1,64}$",
  "patch.editable_attributes.customer_address.field": "customer_address",
  "patch.editable_attributes.customer_address.type": "S",
  "patch.editable_attributes.customer_address.required": "True",
  "patch.editable_attributes.customer_address.source_required": "True",
  "patch.editable_attributes.customer_address.server_generated": "False",
  "patch.editable_attributes.customer_address.autogenerated": "False",
  "patch.editable_attributes.customer_address.frontend_autocomputed": "False",
  "patch.editable_attributes.customer_address.regex": "^.{1,300}$",
  "patch.editable_attributes.customer_government_id_type.field": "customer_government_id_type",
  "patch.editable_attributes.customer_government_id_type.type": "S",
  "patch.editable_attributes.customer_government_id_type.required": "True",
  "patch.editable_attributes.customer_government_id_type.source_required": "True",
  "patch.editable_attributes.customer_government_id_type.server_generated": "False",
  "patch.editable_attributes.customer_government_id_type.autogenerated": "False",
  "patch.editable_attributes.customer_government_id_type.frontend_autocomputed": "False",
  "patch.editable_attributes.customer_government_id_type.regex": "^[A-Za-z0-9_-]{1,64}$",
  "patch.editable_attributes.customer_government_id_number.field": "customer_government_id_number",
  "patch.editable_attributes.customer_government_id_number.type": "S",
  "patch.editable_attributes.customer_government_id_number.required": "True",
  "patch.editable_attributes.customer_government_id_number.source_required": "True",
  "patch.editable_attributes.customer_government_id_number.server_generated": "False",
  "patch.editable_attributes.customer_government_id_number.autogenerated": "False",
  "patch.editable_attributes.customer_government_id_number.frontend_autocomputed": "False",
  "patch.editable_attributes.customer_government_id_number.regex": "^[A-Za-z0-9_-]{1,64}$",
  "patch.editable_attributes.deposit.field": "deposit",
  "patch.editable_attributes.deposit.type": "N",
  "patch.editable_attributes.deposit.required": "True",
  "patch.editable_attributes.deposit.source_required": "True",
  "patch.editable_attributes.deposit.server_generated": "False",
  "patch.editable_attributes.deposit.autogenerated": "False",
  "patch.editable_attributes.deposit.frontend_autocomputed": "False",
  "patch.editable_attributes.deposit.regex": "^-?\\d+(\\.\\d+)?$",
  "patch.editable_attributes.gross_total.field": "gross_total",
  "patch.editable_attributes.gross_total.type": "N",
  "patch.editable_attributes.gross_total.required": "True",
  "patch.editable_attributes.gross_total.source_required": "True",
  "patch.editable_attributes.gross_total.server_generated": "False",
  "patch.editable_attributes.gross_total.autogenerated": "False",
  "patch.editable_attributes.gross_total.frontend_autocomputed": "False",
  "patch.editable_attributes.gross_total.regex": "^-?\\d+(\\.\\d+)?$",
  "patch.editable_attributes.total_due.field": "total_due",
  "patch.editable_attributes.total_due.type": "N",
  "patch.editable_attributes.total_due.required": "False",
  "patch.editable_attributes.total_due.source_required": "True",
  "patch.editable_attributes.total_due.server_generated": "False",
  "patch.editable_attributes.total_due.autogenerated": "False",
  "patch.editable_attributes.total_due.frontend_autocomputed": "True",
  "patch.editable_attributes.total_due.regex": "^-?\\d+(\\.\\d+)?$",
  "patch.editable_attributes.rental_started_at.field": "rental_started_at",
  "patch.editable_attributes.rental_started_at.type": "S",
  "patch.editable_attributes.rental_started_at.required": "True",
  "patch.editable_attributes.rental_started_at.source_required": "True",
  "patch.editable_attributes.rental_started_at.server_generated": "True",
  "patch.editable_attributes.rental_started_at.autogenerated": "False",
  "patch.editable_attributes.rental_started_at.frontend_autocomputed": "False",
  "patch.editable_attributes.rental_started_at.format": "iso8601",
  "patch.editable_attributes.rental_started_at.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$",
  "patch.editable_attributes.expected_return_at.field": "expected_return_at",
  "patch.editable_attributes.expected_return_at.type": "S",
  "patch.editable_attributes.expected_return_at.required": "True",
  "patch.editable_attributes.expected_return_at.source_required": "True",
  "patch.editable_attributes.expected_return_at.server_generated": "True",
  "patch.editable_attributes.expected_return_at.autogenerated": "False",
  "patch.editable_attributes.expected_return_at.frontend_autocomputed": "False",
  "patch.editable_attributes.expected_return_at.format": "iso8601",
  "patch.editable_attributes.expected_return_at.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$",
  "patch.editable_attributes.rental_status.field": "rental_status",
  "patch.editable_attributes.rental_status.type": "S",
  "patch.editable_attributes.rental_status.required": "True",
  "patch.editable_attributes.rental_status.source_required": "True",
  "patch.editable_attributes.rental_status.server_generated": "False",
  "patch.editable_attributes.rental_status.autogenerated": "False",
  "patch.editable_attributes.rental_status.frontend_autocomputed": "False",
  "patch.editable_attributes.rental_status.regex": "^[A-Za-z0-9_-]{1,64}$",
  "patch.editable_attributes.print_status.field": "print_status",
  "patch.editable_attributes.print_status.type": "S",
  "patch.editable_attributes.print_status.required": "True",
  "patch.editable_attributes.print_status.source_required": "True",
  "patch.editable_attributes.print_status.server_generated": "False",
  "patch.editable_attributes.print_status.autogenerated": "False",
  "patch.editable_attributes.print_status.frontend_autocomputed": "False",
  "patch.editable_attributes.print_status.regex": "^[A-Za-z0-9_-]{1,64}$",
  "patch.editable_attributes.printed_at.field": "printed_at",
  "patch.editable_attributes.printed_at.type": "S",
  "patch.editable_attributes.printed_at.required": "False",
  "patch.editable_attributes.printed_at.source_required": "False",
  "patch.editable_attributes.printed_at.server_generated": "True",
  "patch.editable_attributes.printed_at.autogenerated": "False",
  "patch.editable_attributes.printed_at.frontend_autocomputed": "False",
  "patch.editable_attributes.printed_at.format": "iso8601",
  "patch.editable_attributes.printed_at.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$",
  "patch.editable_attributes.printer_device_id.field": "printer_device_id",
  "patch.editable_attributes.printer_device_id.type": "S",
  "patch.editable_attributes.printer_device_id.required": "False",
  "patch.editable_attributes.printer_device_id.source_required": "False",
  "patch.editable_attributes.printer_device_id.server_generated": "False",
  "patch.editable_attributes.printer_device_id.autogenerated": "False",
  "patch.editable_attributes.printer_device_id.frontend_autocomputed": "False",
  "patch.editable_attributes.printer_device_id.regex": "^[A-Za-z0-9_-]{1,64}$",
  "patch.editable_attributes.printer_device_name.field": "printer_device_name",
  "patch.editable_attributes.printer_device_name.type": "S",
  "patch.editable_attributes.printer_device_name.required": "False",
  "patch.editable_attributes.printer_device_name.source_required": "False",
  "patch.editable_attributes.printer_device_name.server_generated": "False",
  "patch.editable_attributes.printer_device_name.autogenerated": "False",
  "patch.editable_attributes.printer_device_name.frontend_autocomputed": "False",
  "patch.editable_attributes.printer_device_name.regex": "^[A-Za-z0-9 .,'_-]{1,120}$",
  "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}$"
}

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_update_count.type": "number",
  "properties.child_update_count.type": "number"
}

Request Payload

{
  "rental_id": "cf4f607e-6599-4e43-b88d-9f39c775e6c0",
  "store_id": "0dfac214-c5b6-4900-86dc-09987304546a"
}

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_update_count.type": "number",
  "properties.child_update_count.type": "number"
}

CMD curl

curl -X PATCH "https://api.jefoffice.com/hardware-rentals-patch-one" -H "Content-Type: application/json" --data-raw "{\"rental_id\": \"cf4f607e-6599-4e43-b88d-9f39c775e6c0\", \"store_id\": \"0dfac214-c5b6-4900-86dc-09987304546a\"}"

PowerShell curl

curl.exe -X PATCH "https://api.jefoffice.com/hardware-rentals-patch-one" -H "Content-Type: application/json" --data-raw '{"rental_id": "cf4f607e-6599-4e43-b88d-9f39c775e6c0", "store_id": "0dfac214-c5b6-4900-86dc-09987304546a"}'