FieldEx Developer
developer notes

Update Project Contact

The ProjectContactUpdate API allows you to update an existing project contact. The request body includes full name, email, phone number, and other relevant information.

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

Headers

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

Example Request

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

Example Response

// 400 Response Code 

{
    "type": "http://www.jhipster.tech/problem/problem-with-message",
    "title": "Contact not found with external Id : lkklo",
    "status": 400
}