| Required role: | Admin |
| GET | /Outbound/Campaigns/{CampaignId} |
|---|
namespace TicketUserServices.ServiceModel
open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<AllowNullLiteral>]
type OutboundCampaignResult() =
member val CampaignId:Int32 = new Int32() with get,set
member val Decisions:Dictionary<String, Int32> = new Dictionary<String, Int32>() with get,set
member val QueuedByChannel:Dictionary<String, Int32> = new Dictionary<String, Int32>() with get,set
member val MessageStatuses:Dictionary<String, Int32> = new Dictionary<String, Int32>() with get,set
member val Duplicates:Int32 = new Int32() with get,set
member val NoIdentity:Int32 = new Int32() with get,set
member val StatusCode:Int32 = new Int32() with get,set
member val Message:String = null with get,set
[<AllowNullLiteral>]
type OutboundCampaignGetRequest() =
member val CampaignId:Int32 = new Int32() with get,set
F# OutboundCampaignGetRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /Outbound/Campaigns/{CampaignId} HTTP/1.1
Host: stubbur-app.azurewebsites.net
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
campaignId: 0,
decisions:
{
String: 0
},
queuedByChannel:
{
String: 0
},
messageStatuses:
{
String: 0
},
duplicates: 0,
noIdentity: 0,
statusCode: 0,
message: String
}