RestPostData
| 📊 Overview: 4 Properties | 1 Constructor | 5 Functions |
📝 Description
Creates REST post data handler from object containing JSON strings and staff ID
🕐 Last updated: 2025-12-10T11:45:24.252Z
📑 Table of Contents
- 📋 Properties (4)
- 🏗️ Constructor (1 param)
- ⚙️ Functions
- Regular Functions
- getStaffEntity →
cs.StaffEntity - getScannerObject →
Object - getScannerText →
Text - getRestPostObject →
Object - toObject →
Object
- getStaffEntity →
- Regular Functions
Properties
| Property | Type | Default | Description |
|---|---|---|---|
RestPostJson | Text | - | JSON string from REST POST request |
ScannerData | Text | - | Raw scanner input data |
PromptResult | Text | - | Result from user prompt dialog |
StaffID | Integer | - | ID of staff member associated with request |
Constructor
constructor
[🏗️ constructor]
Class constructor($RestPostDataObject : Object)
Creates REST post data handler from object containing JSON strings and staff ID
Parameters:
| Name | Type | Optional | Description |
|---|---|---|---|
$RestPostDataObject | Object | - | - |
Functions
Regular Functions
getStaffEntity
Function getStaffEntity -> cs.StaffEntity
Returns the staff entity associated with this request
Returns: cs.StaffEntity
getScannerObject
Function getScannerObject -> Object
Parses and returns scanner data as object, returns Null on parse error
Returns: Object
getScannerText
Function getScannerText -> Text
Returns the raw scanner data text
Returns: Text
getRestPostObject
Function getRestPostObject -> Object
Parses and returns REST POST JSON as object, returns Null on parse error
Returns: Object
toObject
Function toObject -> Object
Converts this object to a plain object suitable for serialization
Returns: Object
Generated from RestPostData.4dm