/one-sessions-post-one

Summary

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

  • Source SHA: a8edf3d77c4689168400069ba74f46fd06c3178c

  • Source run id: 30149511957

  • Lambda function: jef-one-post-005

  • HTTP method: POST

  • API path: /one-sessions-post-one

  • Cloudflare path: /one/async-post/one-sessions-post-one

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

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

  • Cloudflare parent path: /one

  • Cloudflare scope: async-post

  • Cloudflare scope path: /one/async-post

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

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

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

  • Payload mode: json-body

Description

Function

jef-one-post-005 Logical ID: jef-one:jef-one-sessions:post-one Order Number: 005

Module

jef-one

Action

post-one

Method

POST

Invocation Mode

ASYNC

Resource Path

/one-sessions-post-one Endpoint Name: jef-one-sessions-post-one

Table

jef-one-sessions

Primary Key

session_id

API Gateway Response

status\_code

202

message

Request accepted for asynchronous processing.

Payload Example

session\_id

e5256cfa-a8f7-4535-9ba7-5bc85fa2943f

domain\_id

56bc48f4-fe27-48cf-ae95-4572fba322b2

employee\_id

7351974e-7c6f-4dbf-b72e-561da860268f

entity\_id

25a2fc2d-578f-4331-99b7-420347ea5f9b

application\_id

f4ae5df4-84b6-4457-ace1-c4e6dee8e2ab

role\_type

value-001

role\_name

Sample Name

role\_description

value-001

status

value-001

is\_valid

True

is\_active

True

expires\_at

2026-07-25T07:32:49Z

created

2026-07-25T07:32:49Z

updated

2026-07-25T07:32:49Z

verified\_at

2026-07-25T07:32:49Z

failure\_code

value-001

failure\_reason

value-001

children.jef-one-session-attached-credentials\[0\].session\_attached\_credential\_id

ffd9cefd-63a9-46db-ae27-1bb7f6fa41d8

children.jef-one-session-attached-credentials\[0\].session\_id

e5256cfa-a8f7-4535-9ba7-5bc85fa2943f

children.jef-one-session-attached-credentials\[0\].application\_allowed\_entity\_id

2fce8946-5172-477b-a695-3599b4852e36

children.jef-one-session-attached-credentials\[0\].main\_parent\_key\_name

Sample Name

children.jef-one-session-attached-credentials\[0\].main\_parent\_key\_value

value-001

children.jef-one-session-attached-credentials\[0\].iat

1

children.jef-one-session-attached-credentials\[0\].exp

1

children.jef-one-session-attached-credentials\[0\].created

2026-07-25T07:32:49Z

children.jef-one-session-attached-credentials\[0\].updated

2026-07-25T07:32:49Z

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-one-sessions",
  "primary_key": "session_id",
  "required[0]": "domain_id",
  "required[1]": "employee_id",
  "required[2]": "entity_id",
  "required[3]": "application_id",
  "required[4]": "role_type",
  "required[5]": "role_name",
  "required[6]": "role_description",
  "required[7]": "status",
  "required[8]": "is_valid",
  "required[9]": "expires_at",
  "properties.session_id.field": "session_id",
  "properties.session_id.type": "S",
  "properties.session_id.required": "False",
  "properties.session_id.source_required": "True",
  "properties.session_id.server_generated": "True",
  "properties.session_id.autogenerated": "False",
  "properties.session_id.frontend_autocomputed": "False",
  "properties.session_id.format": "uuidv4",
  "properties.session_id.regex": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
  "properties.domain_id.field": "domain_id",
  "properties.domain_id.type": "S",
  "properties.domain_id.required": "True",
  "properties.domain_id.source_required": "True",
  "properties.domain_id.server_generated": "True",
  "properties.domain_id.autogenerated": "False",
  "properties.domain_id.frontend_autocomputed": "False",
  "properties.domain_id.format": "uuidv4",
  "properties.domain_id.regex": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
  "properties.employee_id.field": "employee_id",
  "properties.employee_id.type": "S",
  "properties.employee_id.required": "True",
  "properties.employee_id.source_required": "True",
  "properties.employee_id.server_generated": "True",
  "properties.employee_id.autogenerated": "False",
  "properties.employee_id.frontend_autocomputed": "False",
  "properties.employee_id.format": "uuidv4",
  "properties.employee_id.regex": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
  "properties.entity_id.field": "entity_id",
  "properties.entity_id.type": "S",
  "properties.entity_id.required": "True",
  "properties.entity_id.source_required": "True",
  "properties.entity_id.server_generated": "True",
  "properties.entity_id.autogenerated": "False",
  "properties.entity_id.frontend_autocomputed": "False",
  "properties.entity_id.format": "uuidv4",
  "properties.entity_id.regex": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
  "properties.application_id.field": "application_id",
  "properties.application_id.type": "S",
  "properties.application_id.required": "True",
  "properties.application_id.source_required": "True",
  "properties.application_id.server_generated": "True",
  "properties.application_id.autogenerated": "False",
  "properties.application_id.frontend_autocomputed": "False",
  "properties.application_id.format": "uuidv4",
  "properties.application_id.regex": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
  "properties.role_type.field": "role_type",
  "properties.role_type.type": "S",
  "properties.role_type.required": "True",
  "properties.role_type.source_required": "True",
  "properties.role_type.server_generated": "True",
  "properties.role_type.autogenerated": "False",
  "properties.role_type.frontend_autocomputed": "False",
  "properties.role_type.regex": "^(user|admin)$",
  "properties.role_name.field": "role_name",
  "properties.role_name.type": "S",
  "properties.role_name.required": "True",
  "properties.role_name.source_required": "True",
  "properties.role_name.server_generated": "True",
  "properties.role_name.autogenerated": "False",
  "properties.role_name.frontend_autocomputed": "False",
  "properties.role_name.regex": "^[A-Za-z0-9 .,'_-]{1,120}$",
  "properties.role_description.field": "role_description",
  "properties.role_description.type": "S",
  "properties.role_description.required": "True",
  "properties.role_description.source_required": "True",
  "properties.role_description.server_generated": "True",
  "properties.role_description.autogenerated": "False",
  "properties.role_description.frontend_autocomputed": "False",
  "properties.role_description.regex": "^.{1,500}$",
  "properties.status.field": "status",
  "properties.status.type": "S",
  "properties.status.required": "True",
  "properties.status.source_required": "True",
  "properties.status.server_generated": "False",
  "properties.status.autogenerated": "False",
  "properties.status.frontend_autocomputed": "False",
  "properties.status.regex": "^[a-z][a-z0-9_-]{0,63}$",
  "properties.is_valid.field": "is_valid",
  "properties.is_valid.type": "BOOL",
  "properties.is_valid.required": "True",
  "properties.is_valid.source_required": "True",
  "properties.is_valid.server_generated": "False",
  "properties.is_valid.autogenerated": "False",
  "properties.is_valid.frontend_autocomputed": "False",
  "properties.is_valid.regex": "^(true|false)$",
  "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": "False",
  "properties.is_active.autogenerated": "False",
  "properties.is_active.frontend_autocomputed": "False",
  "properties.is_active.regex": "^(true|false)$",
  "properties.expires_at.field": "expires_at",
  "properties.expires_at.type": "S",
  "properties.expires_at.required": "True",
  "properties.expires_at.source_required": "True",
  "properties.expires_at.server_generated": "True",
  "properties.expires_at.autogenerated": "False",
  "properties.expires_at.frontend_autocomputed": "False",
  "properties.expires_at.format": "iso8601",
  "properties.expires_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.verified_at.field": "verified_at",
  "properties.verified_at.type": "S",
  "properties.verified_at.required": "False",
  "properties.verified_at.source_required": "False",
  "properties.verified_at.server_generated": "True",
  "properties.verified_at.autogenerated": "False",
  "properties.verified_at.frontend_autocomputed": "False",
  "properties.verified_at.format": "iso8601",
  "properties.verified_at.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$",
  "properties.failure_code.field": "failure_code",
  "properties.failure_code.type": "S",
  "properties.failure_code.required": "False",
  "properties.failure_code.source_required": "False",
  "properties.failure_code.server_generated": "False",
  "properties.failure_code.autogenerated": "False",
  "properties.failure_code.frontend_autocomputed": "False",
  "properties.failure_code.regex": "^[a-z][a-z0-9_-]{0,63}$",
  "properties.failure_reason.field": "failure_reason",
  "properties.failure_reason.type": "S",
  "properties.failure_reason.required": "False",
  "properties.failure_reason.source_required": "False",
  "properties.failure_reason.server_generated": "False",
  "properties.failure_reason.autogenerated": "False",
  "properties.failure_reason.frontend_autocomputed": "False",
  "properties.failure_reason.regex": "^.{0,500}$",
  "children[0].parent_table": "jef-one-sessions",
  "children[0].child_table": "jef-one-session-attached-credentials",
  "children[0].parent_key": "session_id",
  "children[0].child_foreign_key": "session_id",
  "children[0].child_index_name": "gsi_1",
  "children[0].child_index_key": "gsi_1_pk",
  "children[0].aliases[0]": "jef-one-session-attached-credentials",
  "children[0].aliases[1]": "session-attached-credentials",
  "children[0].aliases[2]": "one-session-attached-credentials",
  "children[0].aliases[3]": "jef_one_session_attached_credentials",
  "children[0].aliases[4]": "session_attached_credentials",
  "children[0].aliases[5]": "one_session_attached_credentials",
  "children[0].aliases[6]": "credentials",
  "root.type": "object",
  "root.attributes.session_id.field": "session_id",
  "root.attributes.session_id.type": "S",
  "root.attributes.session_id.required": "False",
  "root.attributes.session_id.source_required": "True",
  "root.attributes.session_id.server_generated": "True",
  "root.attributes.session_id.autogenerated": "False",
  "root.attributes.session_id.frontend_autocomputed": "False",
  "root.attributes.session_id.format": "uuidv4",
  "root.attributes.session_id.regex": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
  "root.attributes.domain_id.field": "domain_id",
  "root.attributes.domain_id.type": "S",
  "root.attributes.domain_id.required": "True",
  "root.attributes.domain_id.source_required": "True",
  "root.attributes.domain_id.server_generated": "True",
  "root.attributes.domain_id.autogenerated": "False",
  "root.attributes.domain_id.frontend_autocomputed": "False",
  "root.attributes.domain_id.format": "uuidv4",
  "root.attributes.domain_id.regex": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
  "root.attributes.employee_id.field": "employee_id",
  "root.attributes.employee_id.type": "S",
  "root.attributes.employee_id.required": "True",
  "root.attributes.employee_id.source_required": "True",
  "root.attributes.employee_id.server_generated": "True",
  "root.attributes.employee_id.autogenerated": "False",
  "root.attributes.employee_id.frontend_autocomputed": "False",
  "root.attributes.employee_id.format": "uuidv4",
  "root.attributes.employee_id.regex": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
  "root.attributes.entity_id.field": "entity_id",
  "root.attributes.entity_id.type": "S",
  "root.attributes.entity_id.required": "True",
  "root.attributes.entity_id.source_required": "True",
  "root.attributes.entity_id.server_generated": "True",
  "root.attributes.entity_id.autogenerated": "False",
  "root.attributes.entity_id.frontend_autocomputed": "False",
  "root.attributes.entity_id.format": "uuidv4",
  "root.attributes.entity_id.regex": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
  "root.attributes.application_id.field": "application_id",
  "root.attributes.application_id.type": "S",
  "root.attributes.application_id.required": "True",
  "root.attributes.application_id.source_required": "True",
  "root.attributes.application_id.server_generated": "True",
  "root.attributes.application_id.autogenerated": "False",
  "root.attributes.application_id.frontend_autocomputed": "False",
  "root.attributes.application_id.format": "uuidv4",
  "root.attributes.application_id.regex": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
  "root.attributes.role_type.field": "role_type",
  "root.attributes.role_type.type": "S",
  "root.attributes.role_type.required": "True",
  "root.attributes.role_type.source_required": "True",
  "root.attributes.role_type.server_generated": "True",
  "root.attributes.role_type.autogenerated": "False",
  "root.attributes.role_type.frontend_autocomputed": "False",
  "root.attributes.role_type.regex": "^(user|admin)$",
  "root.attributes.role_name.field": "role_name",
  "root.attributes.role_name.type": "S",
  "root.attributes.role_name.required": "True",
  "root.attributes.role_name.source_required": "True",
  "root.attributes.role_name.server_generated": "True",
  "root.attributes.role_name.autogenerated": "False",
  "root.attributes.role_name.frontend_autocomputed": "False",
  "root.attributes.role_name.regex": "^[A-Za-z0-9 .,'_-]{1,120}$",
  "root.attributes.role_description.field": "role_description",
  "root.attributes.role_description.type": "S",
  "root.attributes.role_description.required": "True",
  "root.attributes.role_description.source_required": "True",
  "root.attributes.role_description.server_generated": "True",
  "root.attributes.role_description.autogenerated": "False",
  "root.attributes.role_description.frontend_autocomputed": "False",
  "root.attributes.role_description.regex": "^.{1,500}$",
  "root.attributes.status.field": "status",
  "root.attributes.status.type": "S",
  "root.attributes.status.required": "True",
  "root.attributes.status.source_required": "True",
  "root.attributes.status.server_generated": "False",
  "root.attributes.status.autogenerated": "False",
  "root.attributes.status.frontend_autocomputed": "False",
  "root.attributes.status.regex": "^[a-z][a-z0-9_-]{0,63}$",
  "root.attributes.is_valid.field": "is_valid",
  "root.attributes.is_valid.type": "BOOL",
  "root.attributes.is_valid.required": "True",
  "root.attributes.is_valid.source_required": "True",
  "root.attributes.is_valid.server_generated": "False",
  "root.attributes.is_valid.autogenerated": "False",
  "root.attributes.is_valid.frontend_autocomputed": "False",
  "root.attributes.is_valid.regex": "^(true|false)$",
  "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": "False",
  "root.attributes.is_active.autogenerated": "False",
  "root.attributes.is_active.frontend_autocomputed": "False",
  "root.attributes.is_active.regex": "^(true|false)$",
  "root.attributes.expires_at.field": "expires_at",
  "root.attributes.expires_at.type": "S",
  "root.attributes.expires_at.required": "True",
  "root.attributes.expires_at.source_required": "True",
  "root.attributes.expires_at.server_generated": "True",
  "root.attributes.expires_at.autogenerated": "False",
  "root.attributes.expires_at.frontend_autocomputed": "False",
  "root.attributes.expires_at.format": "iso8601",
  "root.attributes.expires_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.verified_at.field": "verified_at",
  "root.attributes.verified_at.type": "S",
  "root.attributes.verified_at.required": "False",
  "root.attributes.verified_at.source_required": "False",
  "root.attributes.verified_at.server_generated": "True",
  "root.attributes.verified_at.autogenerated": "False",
  "root.attributes.verified_at.frontend_autocomputed": "False",
  "root.attributes.verified_at.format": "iso8601",
  "root.attributes.verified_at.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$",
  "root.attributes.failure_code.field": "failure_code",
  "root.attributes.failure_code.type": "S",
  "root.attributes.failure_code.required": "False",
  "root.attributes.failure_code.source_required": "False",
  "root.attributes.failure_code.server_generated": "False",
  "root.attributes.failure_code.autogenerated": "False",
  "root.attributes.failure_code.frontend_autocomputed": "False",
  "root.attributes.failure_code.regex": "^[a-z][a-z0-9_-]{0,63}$",
  "root.attributes.failure_reason.field": "failure_reason",
  "root.attributes.failure_reason.type": "S",
  "root.attributes.failure_reason.required": "False",
  "root.attributes.failure_reason.source_required": "False",
  "root.attributes.failure_reason.server_generated": "False",
  "root.attributes.failure_reason.autogenerated": "False",
  "root.attributes.failure_reason.frontend_autocomputed": "False",
  "root.attributes.failure_reason.regex": "^.{0,500}$"
}

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

{
  "session_id": "e5256cfa-a8f7-4535-9ba7-5bc85fa2943f",
  "domain_id": "56bc48f4-fe27-48cf-ae95-4572fba322b2",
  "employee_id": "7351974e-7c6f-4dbf-b72e-561da860268f",
  "entity_id": "25a2fc2d-578f-4331-99b7-420347ea5f9b",
  "application_id": "f4ae5df4-84b6-4457-ace1-c4e6dee8e2ab",
  "role_type": "value-001",
  "role_name": "Sample Name",
  "role_description": "value-001",
  "status": "value-001",
  "is_valid": "True",
  "is_active": "True",
  "expires_at": "2026-07-25T07:32:49Z",
  "created": "2026-07-25T07:32:49Z",
  "updated": "2026-07-25T07:32:49Z",
  "verified_at": "2026-07-25T07:32:49Z",
  "failure_code": "value-001",
  "failure_reason": "value-001",
  "children.jef-one-session-attached-credentials[0].session_attached_credential_id": "ffd9cefd-63a9-46db-ae27-1bb7f6fa41d8",
  "children.jef-one-session-attached-credentials[0].session_id": "e5256cfa-a8f7-4535-9ba7-5bc85fa2943f",
  "children.jef-one-session-attached-credentials[0].application_allowed_entity_id": "2fce8946-5172-477b-a695-3599b4852e36",
  "children.jef-one-session-attached-credentials[0].main_parent_key_name": "Sample Name",
  "children.jef-one-session-attached-credentials[0].main_parent_key_value": "value-001",
  "children.jef-one-session-attached-credentials[0].iat": "1",
  "children.jef-one-session-attached-credentials[0].exp": "1",
  "children.jef-one-session-attached-credentials[0].created": "2026-07-25T07:32:49Z",
  "children.jef-one-session-attached-credentials[0].updated": "2026-07-25T07:32:49Z"
}

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/one/async-post/one-sessions-post-one" -H "Content-Type: application/json" --data-raw "{\"session_id\": \"e5256cfa-a8f7-4535-9ba7-5bc85fa2943f\", \"domain_id\": \"56bc48f4-fe27-48cf-ae95-4572fba322b2\", \"employee_id\": \"7351974e-7c6f-4dbf-b72e-561da860268f\", \"entity_id\": \"25a2fc2d-578f-4331-99b7-420347ea5f9b\", \"application_id\": \"f4ae5df4-84b6-4457-ace1-c4e6dee8e2ab\", \"role_type\": \"value-001\", \"role_name\": \"Sample Name\", \"role_description\": \"value-001\", \"status\": \"value-001\", \"is_valid\": true, \"is_active\": true, \"expires_at\": \"2026-07-25T07:32:49Z\", \"created\": \"2026-07-25T07:32:49Z\", \"updated\": \"2026-07-25T07:32:49Z\", \"verified_at\": \"2026-07-25T07:32:49Z\", \"failure_code\": \"value-001\", \"failure_reason\": \"value-001\", \"children\": {\"jef-one-session-attached-credentials\": [{\"session_attached_credential_id\": \"ffd9cefd-63a9-46db-ae27-1bb7f6fa41d8\", \"session_id\": \"e5256cfa-a8f7-4535-9ba7-5bc85fa2943f\", \"application_allowed_entity_id\": \"2fce8946-5172-477b-a695-3599b4852e36\", \"main_parent_key_name\": \"Sample Name\", \"main_parent_key_value\": \"value-001\", \"iat\": 1, \"exp\": 1, \"created\": \"2026-07-25T07:32:49Z\", \"updated\": \"2026-07-25T07:32:49Z\"}]}}"

PowerShell curl

curl.exe -X POST "https://api.jefoffice.com/one/async-post/one-sessions-post-one" -H "Content-Type: application/json" --data-raw '{"session_id": "e5256cfa-a8f7-4535-9ba7-5bc85fa2943f", "domain_id": "56bc48f4-fe27-48cf-ae95-4572fba322b2", "employee_id": "7351974e-7c6f-4dbf-b72e-561da860268f", "entity_id": "25a2fc2d-578f-4331-99b7-420347ea5f9b", "application_id": "f4ae5df4-84b6-4457-ace1-c4e6dee8e2ab", "role_type": "value-001", "role_name": "Sample Name", "role_description": "value-001", "status": "value-001", "is_valid": true, "is_active": true, "expires_at": "2026-07-25T07:32:49Z", "created": "2026-07-25T07:32:49Z", "updated": "2026-07-25T07:32:49Z", "verified_at": "2026-07-25T07:32:49Z", "failure_code": "value-001", "failure_reason": "value-001", "children": {"jef-one-session-attached-credentials": [{"session_attached_credential_id": "ffd9cefd-63a9-46db-ae27-1bb7f6fa41d8", "session_id": "e5256cfa-a8f7-4535-9ba7-5bc85fa2943f", "application_allowed_entity_id": "2fce8946-5172-477b-a695-3599b4852e36", "main_parent_key_name": "Sample Name", "main_parent_key_value": "value-001", "iat": 1, "exp": 1, "created": "2026-07-25T07:32:49Z", "updated": "2026-07-25T07:32:49Z"}]}}'