Email Routers
[DEPRECATED]
The id of the campaign from which to get the email router selections
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/email_campaigns/{campaign_id}/email_routers HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"count": 1,
"max_results": 1,
"status": "ok",
"first_result": 1,
"total": 1,
"data": [
{
"id": "text",
"name": "text",
"email_router_id": "text",
"email_router_version_id": "text"
}
]
}The id of the campaign from which to get the email router selections
Success !
Error response
Error response
Error response
Error response
Error response
Error response
POST /v1/email_campaigns/{campaign_id}/email_routers HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 26
{
"email_router_id": "text"
}{
"status": "ok",
"data": {
"id": "text",
"name": "text",
"email_router_id": "text",
"email_router_version_id": "text"
}
}The id of the campaign from which to get the email routers
The id of specific email router you want to access
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/email_campaigns/{campaign_id}/email_routers/{router_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok",
"data": {
"id": "text",
"name": "text",
"email_router_id": "text",
"email_router_version_id": "text"
}
}Delete a specific email router selection
The id of the campaign from which to get the email routers
The id of specific email router you want to access
Success response
Error response
Error response
Error response
Error response
Error response
Error response
DELETE /v1/email_campaigns/{campaign_id}/email_routers/{router_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok"
}Last updated
Was this helpful?