POST
Service URL | sendlist.asmx |
---|
SendList web servisini kullanarak, toplu veri aktarımı, gönderim listesi yaratabilir veya mevcut gönderim listelerini hesabınızdan silebilirsiniz.
SendList Web Service Methods
Method | Description |
---|---|
AddBulk | Bulk adds to a Send List. |
AddBulkFile | Bulk adds to a Send List via File Upload. |
CreateSendList | Creates an empty Send List. |
QuerySendListMemberCount | Returns Member Count in a given Send List. |
RemoveBulkFile | Bulk removes from a Send List or deletes members via File Upload. |
RemoveSendList | Removes a Send List. |
CreateSendList
<CreateSendList> |
---|
Creates an empty Send List. |
Parameters
Parameter | Value | |
---|---|---|
ServiceTicket | ServiceTicket obtained through Login | MANDATORY |
ListGroup | Group Name of the List | MANDATORY |
ListName | Name of the list | MANDATORY |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <CreateSendList xmlns="http://ws.euromsg.com/sendlist"> <ServiceTicket>string</ServiceTicket> <ListGroup>string</ListGroup> <ListName>string</ListName> </CreateSendList> </soap:Body> </soap:Envelope>
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CreateSendListResponse xmlns="http://ws.euromsg.com/sendlist"> <CreateSendListResult> <Code>00</Code> <Message /> <DetailedMessage /> <CreatedListID>1686794</CreatedListID> </CreateSendListResult> </CreateSendListResponse> </soap:Body> </soap:Envelope>
If the request was successful, the CODE parameter will return 00 as a response. In addition to that, the ID of the created list CREATEDLISTID is returned.
Error Parameters
Code | Error Message | Description |
---|---|---|
9998 | No session. Please try re-logon. | No active sessions found. Try login again. |
AddBulk
<AddBulk> |
---|
Bulk adds to a Send List. |
Parameters
Parameter | Value | |
---|---|---|
ServiceTicket | ServiceTicket obtained through Login | MANDATORY |
ListGroup | Group name of the List to add | MANDATORY |
ListName | Name of the List | MANDATORY |
Key | Reference Key Name. Member adding and updating will be done based on this field. Reference Key value must be specified in the DemograficData field | MANDATORY |
DemograficData | ArrayOfEmKeyValue string defines the fields for the member | MANDATORY |
ForceInsert | If the member exists in the system and the value is true , the existing member is updated. | MANDATORY |
Static Fields
Field Name | Description |
---|---|
Email adresi | |
STATUS | Üye durumu. A : Aktif, P : Pasif |
EMAIL_PERMIT | Email izin durumu. Y : Evet, N : Hayır |
GSM_PERMIT | SMS izin durumu. Y : Evet, N : Hayır |
FAX_PERMIT | FAX izin durumu. Y : Evet, N : Hayır |
CALL_PERMIT | Call Center izin durumu. Y : Evet, N : Hayır |
PRINT_PERMIT | Print izin durumu. Y : Evet, N : Hayır |
REFERRAL | Referans adresi |
REFERRAL_DOMAIN | Referans domain |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <AddBulk xmlns="http://ws.euromsg.com/sendlist"> <ServiceTicket>string</ServiceTicket> <ListGroup>string</ListGroup> <ListName>string</ListName> <Key>string</Key> <DemograficData> <ArrayOfEmKeyValue> <EmKeyValue> <Key>string</Key> <Value>string</Value> </EmKeyValue> <EmKeyValue> <Key>string</Key> <Value>string</Value> </EmKeyValue> </ArrayOfEmKeyValue> <ArrayOfEmKeyValue> <EmKeyValue> <Key>string</Key> <Value>string</Value> </EmKeyValue> <EmKeyValue> <Key>string</Key> <Value>string</Value> </EmKeyValue> </ArrayOfEmKeyValue> </DemograficData> <ForceInsert>boolean</ForceInsert> </AddBulk> </soap:Body> </soap:Envelope>
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <AddBulkResponse xmlns="http://ws.euromsg.com/sendlist"> <AddBulkResult> <Code>00</Code> <Message /> <DetailedMessage /> <CreatedListID>0</CreatedListID> </AddBulkResult> <DetailsResult> <BulkDetailedResult> <Key>test1@sampledomain.com</Key> <Code>00</Code> <Message /> <DetailedMessage /> </BulkDetailedResult> <BulkDetailedResult> <Key>test2@sampledomain.com</Key> <Code>00</Code> <Message /> <DetailedMessage /> </BulkDetailedResult> </DetailsResult> </AddBulkResponse> </soap:Body> </soap:Envelope>
If the request was successful, the CODE parameter will return 00 as a response.
Error Parameters
Code | Error Message | Description |
---|---|---|
9998 | No session. Please try re-logon. | No active sessions found. Try login again. |
99 | No such list! | The specified List cannot be found. |
99 | Member is new. No update! | If ForceInsert is false and the user does not exist in the system, this error is given. The member is not added. To add the new member in the system the value of the ForceInsertparameter must be true. |
AddBulkFile
<AddBulkFile> |
---|
Allows you to add all the members listed in a file to your RMC account in bulk. |
Parameters
Parameter | Value | |
---|---|---|
ServiceTicket | ServiceTicket obtained through Login | MANDATORY |
ListGroup | Group name of the List to add | MANDATORY |
ListName | Name of the List | MANDATORY |
Key | Reference Key Name. Member adding and updating shall be done based on this field. | MANDATORY |
Map | Maps the fields in the file with the system fields. E.g. EMAIL=email; COLUMN1=NameSurname; COLUMN2=KeyID | MANDATORY |
File | Yüklenecek dosya. | MANDATORY |
FileType | Dosya türü. zip veya csv olmalı. | MANDATORY |
NotificationEmail | Yükleme işlemi bittiğinde, burada belirtilen email adresine bilgilendirme emaili gönderilir. | MANDATORY |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <AddBulkFile xmlns="http://ws.euromsg.com/sendlist"> <ServiceTicket>string</ServiceTicket> <ListGroup>string</ListGroup> <ListName>string</ListName> <Key>string</Key> <Map>string</Map> <File>base64Binary</File> <FileType>string</FileType> <NotificationEmail>string</NotificationEmail> </AddBulkFile> </soap:Body> </soap:Envelope>
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <AddBulkFileResponse xmlns="http://ws.euromsg.com/sendlist"> <AddBulkFileResult> <Code>00</Code> <Message /> <DetailedMessage /> <ConversationID>EEFF123AE537442BBF9AD3231F812684</ConversationID> <CreatedListID>0</CreatedListID> </AddBulkFileResult> </AddBulkFileResponse> </soap:Body> </soap:Envelope>
If the request was successful, the CODE parameter will return 00 as a response. In addition to that, the ID of the created list CREATEDLISTID is returned.
Error Parameters
Code | Error Message | Description |
---|---|---|
9998 | No session. Please try re-logon. | No active sessions found. Try login again. |
99 | Not a valid file type. It must be ZIP or CSV or TXT. |
QuerySendListMemberCount
<QuerySendListMemberCount> |
---|
Gönderim listesindeki kişi sayısını gösterir. |
Parameters
Parameter | Value | |
---|---|---|
ServiceTicket | ServiceTicket obtained through Login | MANDATORY |
ListID | List ID | MANDATORY |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <QuerySendListMemberCount xmlns="http://ws.euromsg.com/sendlist"> <ServiceTicket>string</ServiceTicket> <ListID>int</ListID> </QuerySendListMemberCount> </soap:Body> </soap:Envelope>
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <QuerySendListMemberCountResponse xmlns="http://ws.euromsg.com/sendlist"> <QuerySendListMemberCountResult> <Code>00</Code> <Message /> <DetailedMessage /> <CreatedListID>0</CreatedListID> </QuerySendListMemberCountResult> <MemberCount>0</MemberCount> </QuerySendListMemberCountResponse> </soap:Body> </soap:Envelope>
If the request was successful, the CODE parameter will return 00 as a response.
Error Parameters
Code | Error Message | Description |
---|---|---|
9998 | No session. Please try re-logon. | No active sessions found. Try login again. |
RemoveBulkFile
<RemoveBulkFile> |
---|
Bir dosyada yer alan üyelerin seçilerek Related Marketing Cloud hesabınızdan silinmesini sağlar. |
Parametreler
Parameter | Value | |
---|---|---|
ServiceTicket | ServiceTicket obtained through Login | MANDATORY |
ListGroup | Liste grup adı. | MANDATORY |
ListName | Listenin adı. | MANDATORY |
Key | Referans Key Adı. | MANDATORY |
Map | Dosyada ki alanların sistem alanları ile eşleştirilmesini yapar. Örn. EMAIL=email;COLUMN1=NameSurname;COLUMN2=KeyID. | MANDATORY |
File | Yüklenecek dosya. | MANDATORY |
FileType | Dosya türü. zip veya csv olmalı. | MANDATORY |
NotificationEmail | Yükleme işlemi bittiğinde, burada belirtilen email adresine bilgilendirme emaili gönderilir. | MANDATORY |
DeleteIfInNoList | Eğer üye hiç bir listede yer almıyorsa, true gönderilmesi durumunda, kullanıcıyı tamamen siler. | MANDATORY |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <RemoveBulkFile xmlns="http://ws.euromsg.com/sendlist"> <ServiceTicket>string</ServiceTicket> <ListGroup>string</ListGroup> <ListName>string</ListName> <Key>string</Key> <Map>string</Map> <File>base64Binary</File> <FileType>string</FileType> <NotificationEmail>string</NotificationEmail> <DeleteIfInNoList>boolean</DeleteIfInNoList> </RemoveBulkFile> </soap:Body> </soap:Envelope>
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <RemoveBulkFileResponse xmlns="http://ws.euromsg.com/sendlist"> <RemoveBulkFileResult> <Code>00</Code> <Message /> <DetailedMessage /> <ConversationID>EEFF123AE537442BBF9AD3231F812684</ConversationID> <CreatedListID>0</CreatedListID> </RemoveBulkFileResult> </RemoveBulkFileResponse > </soap:Body> </soap:Envelope>
If the request was successful, the CODE parameter will return 00 as a response. In addition to that, the ID of the created list CREATEDLISTID is returned.
Error Parameters
Code | Error Message | Description |
---|---|---|
9998 | No session. Please try re-logon. | No active sessions found. Try login again. |
RemoveSendList
<RemoveSendList> |
---|
Bir gönderim listesini siler. |
Parameters
Parameter | Value | |
---|---|---|
ServiceTicket | ServiceTicket obtained through Login | MANDATORY |
ListGroup | Listenin grup adı. | MANDATORY |
ListName | Listenin adı. | MANDATORY |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <RemoveSendList xmlns="http://ws.euromsg.com/sendlist"> <ServiceTicket>string</ServiceTicket> <ListGroup>string</ListGroup> <ListName>string</ListName> </RemoveSendList> </soap:Body> </soap:Envelope>
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <RemoveSendListResponse xmlns="http://ws.euromsg.com/sendlist"> <RemoveSendListResult> <Code>00</Code> <Message /> <DetailedMessage /> <CreatedListID>0</CreatedListID> </RemoveSendListResult> </RemoveSendListResponse> </soap:Body> </soap:Envelope>
If the request was successful, the CODE parameter will return 00 as a response. Aside from that, the returned 99 values indicate errors.
Error Parameters
Code | Error Message | Description |
---|---|---|
9998 | No session. Please try re-logon. | No active sessions found. Try login again. |