digitaluapi

<back to all web services

SystemConfigLookup

Requires Authentication
Requires any of the roles:Client, Admin, Partner
The following routes are available for this service:
GET/system_config
"use strict";
export class SystemConfigLookup {
    /** @param {{TenantsId?:number,FromEmailAddress?:string,PasswordResetUrlTemplate?:string,PasswordResetSubject?:string,PasswordResetBodyTemplate?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {?number} */
    TenantsId;
    /** @type {string} */
    FromEmailAddress;
    /** @type {string} */
    PasswordResetUrlTemplate;
    /** @type {string} */
    PasswordResetSubject;
    /** @type {string} */
    PasswordResetBodyTemplate;
}

JavaScript SystemConfigLookup DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /system_config HTTP/1.1 
Host: duengageapi.uat.scadsoftware.com 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

[
	{
		TenantsId: 0,
		FromEmailAddress: String,
		PasswordResetUrlTemplate: String,
		PasswordResetSubject: String,
		PasswordResetBodyTemplate: String,
		ResponseStatus: 
		{
			ErrorCode: String,
			Message: String,
			StackTrace: String,
			Errors: 
			[
				{
					ErrorCode: String,
					FieldName: String,
					Message: String,
					Meta: 
					{
						String: String
					}
				}
			],
			Meta: 
			{
				String: String
			}
		}
	}
]