get listing
GET /api/rest/admin/contacts
Parameters
Name |
Description |
filter[id]
|
id filter
|
filter[email-eq]
|
email eq filter
|
filter[email-not-eq]
|
email not eq filter
|
filter[email-cont]
|
email cont filter
|
filter[email-start]
|
email start filter
|
filter[email-end]
|
email end filter
|
filter[email-in]
|
email in filter
|
filter[email-not-in]
|
email not in filter
|
filter[email-cont-any]
|
email cont any filter
|
filter[notes-eq]
|
notes eq filter
|
filter[notes-not-eq]
|
notes not eq filter
|
filter[notes-cont]
|
notes cont filter
|
filter[notes-start]
|
notes start filter
|
filter[notes-end]
|
notes end filter
|
filter[notes-in]
|
notes in filter
|
filter[notes-not-in]
|
notes not in filter
|
filter[notes-cont-any]
|
notes cont any filter
|
Request
Headers
Route
GET /api/rest/admin/contacts
Response
Headers
Status
200 OK
Body
{
"data": [
{
"id": "55",
"type": "contacts",
"links": {
"self": "http://example.org/api/rest/admin/contacts/55"
},
"attributes": {
"email": "rspec_mail_1@example.com",
"notes": null
},
"relationships": {
"contractor": {
"links": {
"self": "http://example.org/api/rest/admin/contacts/55/relationships/contractor",
"related": "http://example.org/api/rest/admin/contacts/55/contractor"
},
"data": {
"type": "contractors",
"id": "48"
}
}
}
},
{
"id": "56",
"type": "contacts",
"links": {
"self": "http://example.org/api/rest/admin/contacts/56"
},
"attributes": {
"email": "rspec_mail_2@example.com",
"notes": null
},
"relationships": {
"contractor": {
"links": {
"self": "http://example.org/api/rest/admin/contacts/56/relationships/contractor",
"related": "http://example.org/api/rest/admin/contacts/56/contractor"
},
"data": {
"type": "contractors",
"id": "49"
}
}
}
}
],
"meta": {
"total-count": 2
},
"links": {
"first": "http://example.org/api/rest/admin/contacts?page%5Bnumber%5D=1&page%5Bsize%5D=50",
"last": "http://example.org/api/rest/admin/contacts?page%5Bnumber%5D=1&page%5Bsize%5D=50"
}
}