PATCH api/v2/clientcontact/{clientContactId}/phone

Request Information

URI Parameters

NameDescriptionTypeAdditional information
clientContactId

integer

Required

Body Parameters

Phone
NameDescriptionTypeAdditional information
PhoneID

integer

None.

RefType

ObjectTypes

None.

RefID

integer

None.

PhoneType

integer

None.

PhoneTypeName

string

None.

AreaCode

string

None.

Number

string

None.

Extension

string

None.

IsPrimary

boolean

None.

IsSecondary

boolean

None.

NameOption

NameOptions

None.

IsDeleted

boolean

None.

DateCreated

date

None.

CreatedBy

integer

None.

LastModified

date

None.

ModifiedBy

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "PhoneID": 1,
  "RefType": 0,
  "RefID": 1,
  "PhoneType": 1,
  "PhoneTypeName": "sample string 2",
  "AreaCode": "sample string 3",
  "Number": "sample string 4",
  "Extension": "sample string 5",
  "IsPrimary": true,
  "IsSecondary": true,
  "NameOption": 0,
  "IsDeleted": true,
  "DateCreated": "2025-05-20T10:21:27.3260116-07:00",
  "CreatedBy": 1,
  "LastModified": "2025-05-20T10:21:27.3260116-07:00",
  "ModifiedBy": 1
}

application/xml, text/xml

Sample:
<Phone xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CaliberAPI">
  <AreaCode>sample string 3</AreaCode>
  <CreatedBy>1</CreatedBy>
  <DateCreated>2025-05-20T10:21:27.3260116-07:00</DateCreated>
  <Extension>sample string 5</Extension>
  <IsDeleted>true</IsDeleted>
  <IsPrimary>true</IsPrimary>
  <IsSecondary>true</IsSecondary>
  <LastModified>2025-05-20T10:21:27.3260116-07:00</LastModified>
  <ModifiedBy>1</ModifiedBy>
  <NameOption>Contact1</NameOption>
  <Number>sample string 4</Number>
  <PhoneID>1</PhoneID>
  <PhoneType>1</PhoneType>
  <PhoneTypeName>sample string 2</PhoneTypeName>
  <RefID>1</RefID>
  <RefType>Division</RefType>
</Phone>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Phone'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.