digitaluapi

<back to all web services

StatusCodesLookup

Requires Authentication
Requires any of the roles:Client, Admin, Partner
The following routes are available for this service:
GET/status_codes

// @DataContract
export class StatusCodesLookup
{
    // @DataMember(Order=2)
    public TenantsId?: number;

    // @DataMember(Order=3)
    public StatusTypesId: number;

    // @DataMember(Order=4)
    public Code: string;

    // @DataMember(Order=5)
    public Description: string;

    public constructor(init?: Partial<StatusCodesLookup>) { (Object as any).assign(this, init); }
}

TypeScript StatusCodesLookup 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 /status_codes 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,
		StatusTypesId: 0,
		Code: String,
		Description: String,
		ResponseStatus: 
		{
			ErrorCode: String,
			Message: String,
			StackTrace: String,
			Errors: 
			[
				{
					ErrorCode: String,
					FieldName: String,
					Message: String,
					Meta: 
					{
						String: String
					}
				}
			],
			Meta: 
			{
				String: String
			}
		}
	}
]