Versions Compared

Key

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

...

...

...

...


Tip

Available from CRM.COM R9.0.0

Deprecated from CRM.COM R18.0.0


Excerpt

This method is used to delete successful or rejected alerts.  A single alert can be deleted through this method

Resource URL

Parameters

Name

Type

Description

 


token

String

The token retrieved from the login method

 


alert_identifier

(mandatory)

Alert Identifier

The identifier of the alert that should be deleted. The allowed alert Identifier fields are the following:

Include Page
V4:alert_identifier
V4:alert_identifier

 

Restrictions

  • It is mandatory to specify one of the semi-optional parameters. Only one of those parameters is allowed to be specified.

...

Expand
titleExample 1

HTTP Method: POST

 


Request:

Body:

Code Block
language
languagejs
themeConfluence
jslinenumberstrue
{
    "token":"7A5D6BFA7366434EB60EC189D6474836",
    "alert_identifier":{"number":"7"}
} 

 


Response:

Code Block
languagejavascript
themeConfluencelanguagejavascript
linenumberstrue
{
    "status":
    {
        "message": "",
        "description": "",
        "code": "OK"
    },
    "data":
    {
        "entity": "ACTIVITIES",
        "number": "7",
        "recipient_email_address": "m_ioannou@crm.com",
        "subject": "Test Alert ACT000366 ",
        "log_information":
        {
            "updated_date": "2015-11-06T08:12:28",
            "created_date": "2015-11-03T16:44:21",
            "created_by_unit":
            {
                "community_name": "Internal Community",
                "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                "name": "Admin Unit",
                "group_name": "Main Group",
                "description": "r1 Test Description for resource  request tab.Test Description for resource  request tab.",
                "alternative_code": "MG"
            },
            "updated_by_unit":
            {
                "community_name": "Internal Community",
                "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                "name": "Admin Unit",
                "group_name": "Main Group",
                "description": "r1 Test Description for resource  request tab.Test Description for resource  request tab.",
                "alternative_code": "MG"
            },
            "created_by_user":
            {
                "person_name": "MPAdministrator",
                "username": "MPAdministrator",
                "id": "1",
                "email": "sakkascy1986@hotmail.com"
            },
            "updated_by_user":
            {
                "person_name": "Marios Lannister",
                "username": "MPAdministrator",
                "id": "1"
            }
        },
        "life_cycle_state": "SUCCESSFUL",
        "alert_definition":
        {
            "life_cycle_state": "EFFECTIVE",
            "type": "EMAIL",
            "id": "26D38E26DE6647529FDCCBFD0F2F7C48",
            "name": "Send Alert To created By User",
            "alternative_code": "CREATED_BY_USER"
        },
        "entity_id": "78F2C4952DF14A38B7F789393AC84EDC",
        "content": "  Mr Ioannou132 Marios  your  activity with number  ACT000366 was created

  with sub    location    

   with job     location    

   with lead           ",
        "recipient":
        {
            "person_name": "m_ioannou",
            "username": "m_ioannou",
            "id": "C5D6D95C71C4484F9168A5444FC928EF"
			"email":"m_ioannou@crm.com"
		 },
        "type": "EMAIL",
        "id": "D5C9543925F54A9199D1F451AB03B909",
        "workflow_rule":
        {
            "life_cycle_state": "EFFECTIVE",
            "id": "5DB96A77C25B4D19A65C4515D4E0D394",
            "name": "Workflow Rule Activity On Update",
            "alternative_code": "Upd_Act"
        }
    }
} 


...