Email Agents
GET email_notification_agents
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | GET |
Returns a list of all Email agents configurations in the system.
Resource URL
http://{host}/api/2.0/email_notification_agents/.format
Example Request
GET
GET email_notification_agents/{id}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | GET |
Returns a single Email Notification Agent configuration data.
Resource URL
http://{host}/api/2.0/email_notification_agents/{id}/.format
Parameters
Parameter | Data Type | Description |
---|---|---|
id | integer | The ID of the desired agent. |
Example Request
GET
POST email_notification_agents
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | POST |
Adds a new Email Notification Agent.
Resource URL
http://{host}/api/2.0/email_notification_agents/.format
Example Request
POST
POST email_notification_agents/{id}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | POST |
Copies an existing agent configuration into a new one.
Resource URL
http://{host}/api/2.0/email_notification_agents/{id}/.format
Parameters
Parameter | Data Type | Description |
---|---|---|
id | integer | The ID of the agent to be copied. |
Example Request
POST
PUT email_notification_agents/{id}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | PUT |
Updates an agent configuration data.
Resource URL
http://{host}/api/2.0/email_notification_agents/{id}/.format
Parameters
Parameter | Data Type | Description |
---|---|---|
id | integer | The ID of the desired agent to be updated. |
Example Request
PUT
DELETE email_notification_agents/{id}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | DELETE |
Deletes an existing agent and all its references.
Resource URL
http://{host}/api/2.0/email_notification_agents/{id}/.format
Parameters
Parameter | Data Type | Description |
---|---|---|
id | integer | The ID of the desired agent to be deleted. |
Example Request
DELETE
GET email_notification_agents/command/test/{id}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | GET |
Sends test email for an existing agent.
Resource URL
http://{host}/api/2.0/email_notification_agents/command/test/{id}/.format
Parameters
Parameter | Data Type | Description |
---|---|---|
id | integer | The ID of the desired agent to send email notification. |
Example Request
GET