PUT 17.0/database/contactsync/{contactid}/{altid}/{synctypeid}/{synckey}

Description

Update existing Contact Sync

URI Parameters

Name Description Type Additional information
contactID

integer

Required

altID

integer

Required

syncTypeID

integer

Required

syncKey

string

Required

Name Description Type Additional information
ContactID

integer

None.

AltID

integer

None.

SyncTypeID

integer

None.

SyncKey

string

String length: inclusive between 0 and 255

Status

byte

None.

StatusDate

date

None.

AddedDate

date

None.

UpdatedDate

date

None.

AltID2

integer

None.

AltID3

integer

None.

UserID

integer

None.

application/json, text/json

Sample:
{
  "contactID": 1,
  "altID": 1,
  "syncTypeID": 1,
  "syncKey": "sample string 1",
  "status": 64,
  "statusDate": "2025-01-09T20:45",
  "addedDate": "2025-01-09T20:45",
  "updatedDate": "2025-01-09T20:45",
  "altID2": 1,
  "altID3": 1,
  "userID": 1
}

application/xml, text/xml

Sample:
<ContactSyncUpdate xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ContactID>1</ContactID>
  <AltID>1</AltID>
  <SyncTypeID>1</SyncTypeID>
  <SyncKey>sample string 1</SyncKey>
  <Status>64</Status>
  <StatusDate>2025-01-09T20:45:52.8439427+00:00</StatusDate>
  <AddedDate>2025-01-09T20:45:52.8439427+00:00</AddedDate>
  <UpdatedDate>2025-01-09T20:45:52.8439427+00:00</UpdatedDate>
  <AltID2>1</AltID2>
  <AltID3>1</AltID3>
  <UserID>1</UserID>
</ContactSyncUpdate>

application/x-www-form-urlencoded

Sample:

Sample not available.

Name Description Type Additional information
ContactID

integer

None.

AltID

integer

None.

SyncTypeID

integer

None.

SyncKey

string

String length: inclusive between 0 and 255

Status

byte

None.

StatusDate

date

None.

AddedDate

date

None.

UpdatedDate

date

None.

AltID2

integer

None.

AltID3

integer

None.

UserID

integer

None.

application/json, text/json

Sample:
{
  "contactID": 1,
  "altID": 2,
  "syncTypeID": 3,
  "syncKey": "sample string 4",
  "status": 64,
  "statusDate": "2025-01-09T20:45",
  "addedDate": "2025-01-09T20:45",
  "updatedDate": "2025-01-09T20:45",
  "altID2": 9,
  "altID3": 10,
  "userID": 11
}

application/xml, text/xml

Sample:
<ContactSync xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ContactID>1</ContactID>
  <AltID>2</AltID>
  <SyncTypeID>3</SyncTypeID>
  <SyncKey>sample string 4</SyncKey>
  <Status>64</Status>
  <StatusDate>2025-01-09T20:45:52.8439427+00:00</StatusDate>
  <AddedDate>2025-01-09T20:45:52.8439427+00:00</AddedDate>
  <UpdatedDate>2025-01-09T20:45:52.8439427+00:00</UpdatedDate>
  <AltID2>9</AltID2>
  <AltID3>10</AltID3>
  <UserID>11</UserID>
</ContactSync>