Constructor of OINODbApiResult.
DbApi request parameters
Optionaldata: OINODbModelSetresult data
OptionaldataReturned data if any
Error / warning messages
DbApi request params
HTTP status code
HTTP status message
Wheter request was successfully executed
Add debug message. Returns self reference for chaining.
HTTP status message
operation where debug occured
Add info message. Returns self reference for chaining.
HTTP status message
operation where info occured
Add warning message. Returns self reference for chaining.
HTTP status message
operation where warning occured
Copy given messages to HTTP headers.
HTTP headers
OptionalcopyErrors: booleanwether error messages should be copied (default true)
OptionalcopyWarnings: booleanwether warning messages should be copied (default false)
OptionalcopyInfos: booleanwether info messages should be copied (default false)
OptionalcopyDebug: booleanwether debug messages should be copied (default false)
Get a Response object from the result values.
Optionalheaders: Record<string, string>HTTP headers (overrides existing values)
Print result for logging.
Set HTTP error status using given code and message. Returns self reference for chaining.
HTTP status code
HTTP status message
operation where error occured
Set HTTP OK status (does not reset messages).
Creates a HTTP Response from API results.
Headers to include in the response
OINO API request result object with returned data and/or http status code/message and error / warning messages.