FieldEx Logo Black
FieldEx Developer
developer notes

Patch Project Contacts

The PartialUpdate API allows targeted modification of project contact fields, ideal when updating specific aspects without impacting all fields.

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

‍

Headers

‍

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

‍

Example Request

‍

{
      "title": "",
      "fullName": "edited",
      "email": "test@custella.com",
      "phone": "1221212323233",
      "type": "PUBLIC",
      "department": null,
      "designation": "Mr.",
      "fax": null,
      "externalId": "contact1",
      "enableCustomerPortal": false,
      "customer": null,
      "site": null,
      "project": {
          "externalId": "123"
      }
}

‍

Example Response

‍

// 400 Response Code 

{
    "message": "contact not found with ext : contact1"
}