digitaluapi

<back to all web services

CampaignActionInboxDetailsRequest

Requires Authentication
Requires any of the roles:Client, Admin, Partner
The following routes are available for this service:
GET/campaign/responses/inbox/{PublicAccessGuid}/Campaign Action Inbox Detail Responses
"use strict";
export class CampaignActionInboxResponsesDetailView {
    /** @param {{Id?:number,UniqueIdentifier?:string,FirstName?:string,LastName?:string,ContactNumber?:string,Email?:string,ActionTimestamp?:string,StatusCodesDescription?:string,StatusCodesId?:number,CampaignActionsId?:number}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {?number} */
    Id;
    /** @type {string} */
    UniqueIdentifier;
    /** @type {string} */
    FirstName;
    /** @type {string} */
    LastName;
    /** @type {string} */
    ContactNumber;
    /** @type {string} */
    Email;
    /** @type {?string} */
    ActionTimestamp;
    /** @type {string} */
    StatusCodesDescription;
    /** @type {?number} */
    StatusCodesId;
    /** @type {?number} */
    CampaignActionsId;
}
export class CampaignActionInboxDetailsResponse {
    /** @param {{campaignActionInboxResponsesDetailViews?:CampaignActionInboxResponsesDetailView[],ResponseStatus?:ResponseStatus}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {CampaignActionInboxResponsesDetailView[]} */
    campaignActionInboxResponsesDetailViews;
    /** @type {ResponseStatus} */
    ResponseStatus;
}
export class CampaignActionInboxDetailsRequest {
    /** @param {{PublicAccessGuid?:string,CampaignActionsId?:number,PageNumber?:number,PageSize?:number,UniqueIdentifier?:string,FirstName?:string,LastName?:string,ContactNumber?:string,Email?:string,StatusCodesId?:number}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    PublicAccessGuid;
    /** @type {number} */
    CampaignActionsId;
    /** @type {number} */
    PageNumber;
    /** @type {number} */
    PageSize;
    /** @type {string} */
    UniqueIdentifier;
    /** @type {string} */
    FirstName;
    /** @type {string} */
    LastName;
    /** @type {string} */
    ContactNumber;
    /** @type {string} */
    Email;
    /** @type {?number} */
    StatusCodesId;
}

JavaScript CampaignActionInboxDetailsRequest 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 /campaign/responses/inbox/{PublicAccessGuid}/ HTTP/1.1 
Host: duengageapi.uat.scadsoftware.com 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	campaignActionInboxResponsesDetailViews: 
	[
		{
			Id: 0,
			UniqueIdentifier: String,
			FirstName: String,
			LastName: String,
			ContactNumber: String,
			Email: String,
			ActionTimestamp: 0001-01-01T00:00:00.0000000+00:00,
			StatusCodesDescription: String,
			StatusCodesId: 0,
			CampaignActionsId: 0
		}
	],
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	}
}