digitaluapi

<back to all web services

CampaignActionsLookup

Requires Authentication
Requires any of the roles:Client, Admin, Partner
The following routes are available for this service:
GET/campaign_actions
import 'package:servicestack/servicestack.dart';

// @DataContract
class CampaignActionsLookup implements IConvertible
{
    // @DataMember(Order=2)
    int? CampaignsId;

    // @DataMember(Order=3)
    int? ActionsId;

    CampaignActionsLookup({this.CampaignsId,this.ActionsId});
    CampaignActionsLookup.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        CampaignsId = json['CampaignsId'];
        ActionsId = json['ActionsId'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'CampaignsId': CampaignsId,
        'ActionsId': ActionsId
    };

    getTypeName() => "CampaignActionsLookup";
    TypeContext? context = _ctx;
}

TypeContext _ctx = TypeContext(library: 'duengageapi.uat.scadsoftware.com', types: <String, TypeInfo> {
    'CampaignActionsLookup': TypeInfo(TypeOf.Class, create:() => CampaignActionsLookup()),
});

Dart CampaignActionsLookup DTOs

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

GET /campaign_actions HTTP/1.1 
Host: duengageapi.uat.scadsoftware.com 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

[{"CampaignsId":0,"ActionsId":0,"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}]