Search

Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

URL

LIVE: http://api.relateddigital.com/resta/api/Member/RemoveFromSendLists

ECOMM: http://api.relateddigital.com/reste/api/Member/RemoveFromSendLists

Http verb

DELETE

Parameters


Header

Content-Type: application/json

Authorization: The ticket issued by the system after successful login

Body

Key(string): This can be EMAIL, MEMBER_ID or any column the developer wants to use like Name, Surname as configured by using the RMC admin panel.

Value(string): This is the value of the Key Column. If this value sent in wrong format, it will be ignored and the main process will not be interrupted.

Move(bool): If the member is in no list after removal, this flag specifies whether the member should be completely deleted from the database or not. Use False if you do not want to delete the member.

SendLists(SendList []): The member specified by Key and Value pair will be removed from these lists.

Sample Body

{

"Key" : "",

"Value" : "",

"DeleteIfInNoList" : false,

"SendLists" :

    [

       { "ListName" : "", "GroupName": ""},

       { "ListName" : "", "GroupName": ""}

    ]

}

Sample Response

{

"MemberId": ""

"Success": false,

  "Errors": [

    {

      "Code": "",

      "Message": ""

    }

  ],

"DetailedMessage": ""

"TransactionId": ""

}

Success Response

Status Code: 200

Http Error Response

Status Code: 400 Bad Request

Status Code: 401 Unauthorized

Status Code: 404 Not Found

Error Code

00, 01,43,69, 99, 107,108

...