Skip to main content
GET
/
api
/
Clients
/
{clientId}
/
PreviousContacts
Retrieve previous contacts for a client.
curl --request GET \
  --url https://api.example.com/api/Clients/{clientId}/PreviousContacts
[
  {
    "id": 123,
    "customerId": 123,
    "clientId": 123,
    "contactId": 123,
    "contactFirstName": "<string>",
    "contactSurname": "<string>",
    "contactFullName": "<string>",
    "contactEmail": "<string>",
    "contactPhone": "<string>",
    "jobTitle": "<string>",
    "startDate": "2023-11-07T05:31:56Z",
    "endDate": "2023-11-07T05:31:56Z",
    "createdDate": "2023-11-07T05:31:56Z",
    "createdById": 123,
    "createdByName": "<string>",
    "isCurrentContact": true
  }
]

Path Parameters

clientId
integer<int32>
required

Response

200 - application/json

OK

id
integer<int32>
customerId
integer<int32>
clientId
integer<int32>
contactId
integer<int32>
contactFirstName
string | null
contactSurname
string | null
contactFullName
string | null
contactEmail
string | null
contactPhone
string | null
jobTitle
string | null
startDate
string<date-time> | null
endDate
string<date-time> | null
createdDate
string<date-time>
createdById
integer<int32>
createdByName
string | null
isCurrentContact
boolean