Requires any of the roles: | admin, oauthadmin |
GET | /Ams/{ClientID}/CampaignEmailLists | Return the CampaignEmailLists data. | |
---|---|---|---|
DELETE | /Ams/{ClientID}/CampaignEmailLists/{ListId}/ListRecipientId/{ListRecipientId} | Delete a Recipient in the CampaignEmailList for a given List ID. | |
GET | /Ams/{ClientID}/CampaignEmailLists/{ListId} | Return the CampaignEmailList details and records. | |
PUT | /Ams/{ClientID}/CampaignEmailLists/{ListId} | Update the CampaignEmailList. | |
DELETE | /Ams/{ClientID}/CampaignEmailLists/{ListId} | Delete the CampaignEmailList for a given List ID. |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ListType | body | EmailListType | No | |
ListId | path | int | No | |
ListRecipientId | path | long | No | |
CategoryId | body | int | No | |
StatusId | body | EmailStatus | No | |
ListName | body | string | No | |
PageSize | body | int | No | |
PageNumber | body | int | No | |
IsForceReload | body | bool | No | |
OrderBy | body | string | No | |
OrderByDirection | body | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
UsingRedis | form | bool | No | |
AppInitTime | form | DateTime | No | |
ServerID | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ClientID | form | int | No | |
ResponseStatus | form | ResponseStatus | No | |
BypassCache | form | bool | No | |
DateCached | form | DateTime | No | |
Device | form | Device | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ListCount | form | int | No | |
CampaignEmailListDetail | form | CampaignEmailListDetail | No | |
CampaignEmailLists | form | List<CampaignEmailList> | No | |
ListReLoadStatus | form | CampaignListReloadStatus | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
TotalCount | form | int | No | |
TotalToSend | form | int | No | |
Complaints | form | int | No | |
HardBounces | form | int | No | |
GlobalOptouts | form | int | No | |
CategoryOptouts | form | int | No | |
CampaignEmailListItems | form | List<CampaignEmailListItem> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ListId | form | int | No | |
ListType | form | EmailListType | No | |
ListSize | form | int | No | |
ListName | form | string | No | |
ListArea | form | EmailListArea | No | |
DateCreated | form | DateTime | No | |
DateModified | form | DateTime | No | |
DateLastUpdated | form | DateTime | No | |
HumanQuery | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | long | No | |
MemberId | form | int | No | |
FirstName | form | string | No | |
LastName | form | string | No | |
form | string | No | ||
CounrtyDialCode | form | string | No | |
AreaCode | form | string | No | |
Mobile | form | string | No | |
EmailStatus | form | EmailStatus | No |
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.
PUT /Ams/{ClientID}/CampaignEmailLists HTTP/1.1
Host: ws.yourmembership.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
ListType: None,
ListId: 0,
ListRecipientId: 0,
CategoryId: 0,
StatusId: None,
ListName: String,
PageSize: 0,
PageNumber: 0,
IsForceReload: False,
OrderBy: String,
OrderByDirection: String,
UsingRedis: True,
AppInitTime: 2025-01-15T07:15:52.7259632-05:00,
ServerID: WS-4-190-907,
ClientID: 0,
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
},
BypassCache: False,
DateCached: 2025-01-15T08:55:50.2201753-05:00,
Device: Desktop
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { ListCount: 0, CampaignEmailListDetail: { TotalCount: 0, TotalToSend: 0, Complaints: 0, HardBounces: 0, GlobalOptouts: 0, CategoryOptouts: 0, CampaignEmailListItems: [ { Id: 0, MemberId: 0, FirstName: String, LastName: String, Email: String, CounrtyDialCode: String, AreaCode: String, Mobile: String, EmailStatus: None } ], ListId: 0, ListType: None, ListSize: 0, ListName: String, ListArea: None, DateCreated: 0001-01-01, DateModified: 0001-01-01, DateLastUpdated: 0001-01-01, HumanQuery: String }, CampaignEmailLists: [ { ListId: 0, ListType: None, ListSize: 0, ListName: String, ListArea: None, DateCreated: 0001-01-01, DateModified: 0001-01-01, DateLastUpdated: 0001-01-01, HumanQuery: String } ], ListReLoadStatus: None, ListType: None, ListId: 0, ListRecipientId: 0, CategoryId: 0, StatusId: None, ListName: String, PageSize: 0, PageNumber: 0, IsForceReload: False, OrderBy: String, OrderByDirection: String, UsingRedis: True, AppInitTime: 2025-01-15T07:15:52.7259632-05:00, ServerID: WS-4-190-907, ClientID: 0, ResponseStatus: { ErrorCode: String, Message: String, StackTrace: String, Errors: [ { ErrorCode: String, FieldName: String, Message: String, Meta: { String: String } } ], Meta: { String: String } }, BypassCache: False, DateCached: 2025-01-15T08:55:50.2358094-05:00, Device: Desktop }