Get mailing list details
GET /lists/{MailingListID}/details.{Format}
Retrieves the details about a specific email list in your account. You can include subscriber statistics in your results. Any segments existing in the requested email list are excluded from the results.
Request
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
| Format | path | string | true | The supported file format for getting a response.Possible values: json and xml. |
| MailingListID | path | string | true | The ID of the email list that contains the details you are requesting. |
| apikey | query | string | true | The API key of your account. |
| WithStatistics | query | string | false | Specifies whether to fetch statistics for the subscribers.Possible values: true (Default) and false. |
Response
| Status | Description | Headers | Schema |
|---|---|---|---|
| 200 OK | The request is successful. | Content-Type/json | N/A |
-
Code- the response code. This is0if successful. -
Error- the response error message. This isnullif successful. -
Context- an object that contains all the following information for the requested email list: -
ID- the ID of the email list. -
Name- the name of the email list. -
ActiveMemberCount- the number of active members in the email list. -
BouncedMemberCount- the number of bounced emails in the email list. -
RemovedMemberCount- the number of emails removed from the email list. -
UnsubscribedMemberCount- the number of emails unsubscribed from the email list. -
Status- status of the email list. For created, this is0, for imported, this is1, for importing, this is2, and for deleted, this is3. -
CustomFieldsDefinition- an array containing the parameters of custom fields in the email list. The parameters are:-
ID- the ID of the custom field. -
Name- the name of the custom field -
Context- the context of the custom field. This isnullif the field type is notSingleSelectDropDown. -
IsRequired- this istrueif the custom field is required andfalseif it is not. -
Type- the data type of the custom field. Possible values:0for text,1for number,2for dateTime,3for SingleSelectDropDown, and5for checkbox.
-
-
CreatedBy- the IP address used to create the requested email list. -
CreatedOn- the date-time the requested email list was created. -
UpdatedBy- the IP address used to update the requested email list. -
UpdatedOn- the date-time the requested email list was updated. -
ImportOperation- an object that contains the details of the latest import operation performed in the requested email list. This is blank if there was no import done.-
ID- the ID of the import operation. -
DataHash- a globally unique identifier (GUID) for the import operation -
Mappings- the data mappings used for the specific import operation. -
EmailNotify- this isnullif the import operation notification email was not selected to be sent -
CreatedOn- the date-time when the import operation was created. -
StartedOn- the date-time when the import operation was stated. -
CompletedOn- the date-time when the import operation was completed. -
TotalInserted- the total number of inserted emails. -
TotalUpdated- the total number of updated emails. -
TotalUnsubscribed- the total number of unsubscribed emails. -
TotalInvalid- the total number of invalid emails. -
TotalIgnored- the total number of ignored emails. -
TotalDuplicate- the total number of duplicate emails. -
TotalMembers- the total number of members that were selected to be imported. -
Message- the message of the import operation. This isnullif successful. -
Success- this istrueif successful. -
SkipNewMembers- this isfalseif the skip new members option was not selected before the import operation began.
-
-
Preferences- an object that contains the details of the preferences field.-
FallbackValue- this returns if the field has a fallback value. -
IsRequired- this istrueif the preferences field is required, andfalseif it is not. -
Options- an object that contains all the Preferences options. -
SelectType- this is the data type of the field. It is 0 for single-select and 1 for multi-select.
-