FieldEx Developer
developer notes

Get All Site Contact By Site

The SiteContactGetAllBySite API allows you to retrieve all existing Site Contact by Site.

Method API Endpoint
GET {{endpoint}}/api/ext/contacts

Headers

Key Value
Content-Type application/json
Authorization Bearer{{token}}

Filter Fields

Parameter Type Example Length Required Description
customerId Number 1 true Customer ID for filtering
projectId Number 1 true Project ID for filtering
siteId Number 1 true Site ID for filtering
search String test true Specifies the search query

API Query Example

Method API Call
GET api/ext/contacts?customerId=&projectId=9&siteId=&search=t

Example Response

// 200 Response Code
[
    {
        "id": 1,
        "title": "Ms.",
        "fullName": "test",
        "email": null,
        "phone": "0124578946",
        "type": "PUBLIC",
        "designation": null
    }
]