getSetting
getSetting will retrieve a single setting from the Settings table.
Authentication
A standard OAUTH session must be created before a call can be made to this API. A Bearer token (header) is required.
Endpoint
The user profile is retrieved by submitting a GET request on the following Endpoint.
https://[tenant].lasertask.com/graphql
The [tenant] is the tenant name as used to log in to the Web Application.
Parameters
You must supply
param
String name of the parameter required. To get the full list of params available please see getSettings.
and you may request any one or more of the following parameters…
param
String name of the parameter required.
value
String of the setting value.
Example
query { getSetting (param: "company_name") { param value } }
Data Returned
All data is returned in a JSON Array.
{ "data": { "getSetting": { "param": "company_name", "value": "Demo Company" } } }