digitaluapi

<back to all web services

RunCampaignScheduleInstance

Requires Authentication
Requires any of the roles:Client, Admin, Partner
The following routes are available for this service:
GET POST/campaign/runscheduleinstance/{Id}Run Campaign Schedule Instance
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports digitaluapi.ServiceModel

Namespace Global

    Namespace digitaluapi.ServiceModel

        Public Partial Class RunCampaignScheduleInstance
            <DataMember(Order:=1)>
            <Validate(Validator:="NotNull")>
            Public Overridable Property Id As Long

            <DataMember(Order:=2)>
            <Validate(Validator:="NotNull")>
            Public Overridable Property CampaignsId As Long

            <DataMember(Order:=3)>
            Public Overridable Property NoOfRecords As Integer
        End Class

        Public Partial Class RunCampaignScheduleInstanceResponse
            Public Overridable Property Status As String
            Public Overridable Property ResponseStatus As ResponseStatus
        End Class
    End Namespace
End Namespace

VB.NET RunCampaignScheduleInstance DTOs

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

HTTP + CSV

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

POST /campaign/runscheduleinstance/{Id} HTTP/1.1 
Host: duengageapi.uat.scadsoftware.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"Id":0,"CampaignsId":0,"NoOfRecords":0}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Status":"String","ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}