PUT Contacts/Address/{addressID}?validateOnly={validateOnly}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
addressID

integer

Required

validateOnly

boolean

Default value is False

Body Parameters

AddressDTO
NameDescriptionTypeAdditional information
AddressID

integer

None.

EntityID

integer

None.

AddressTypeEntryID

integer

None.

StartDateUtc

date

None.

StopDateUtc

date

None.

Description

string

None.

AddressLine1

string

None.

AddressLine2

string

None.

City

string

None.

County

string

None.

ProvinceStateCode

string

None.

PostalZipCode

string

None.

CountryCode

string

None.

Directions

string

None.

GeoDataExists

boolean

None.

GeoLatitude

decimal number

None.

GeoLongitude

decimal number

None.

GeoProps

Collection of Object

None.

SortOrder

integer

None.

PartialData

PartialDataType

None.

RecordState

RecordState

None.

Created

AuditDataDTO

None.

LastUpdated

AuditDataDTO

None.

AddressTypeEntryValue

string

None.

IsPrimary

boolean

None.

Summary

string

None.

SummaryShort

string

None.

SummaryMasked

string

None.

SummaryLink

string

None.

Request Formats

application/json, text/json

Sample:
{
  "addressID": 1,
  "entityID": 2,
  "addressTypeEntryID": 3,
  "startDateUtc": "2024-12-04T07:53:12.836383+00:00",
  "stopDateUtc": "2024-12-04T07:53:12.836383+00:00",
  "description": "sample string 5",
  "addressLine1": "sample string 6",
  "addressLine2": "sample string 7",
  "city": "sample string 8",
  "county": "sample string 9",
  "provinceStateCode": "sample string 10",
  "postalZipCode": "sample string 11",
  "countryCode": "sample string 12",
  "directions": "sample string 13",
  "geoDataExists": true,
  "geoLatitude": 1.0,
  "geoLongitude": 1.0,
  "sortOrder": 15,
  "partialData": 1,
  "recordState": 1,
  "created": {
    "dateUtc": "2024-12-04T07:53:12.836383+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 7:53:12 AM"
  },
  "lastUpdated": {
    "dateUtc": "2024-12-04T07:53:12.836383+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 7:53:12 AM"
  },
  "addressTypeEntryValue": "sample string 16",
  "isPrimary": true,
  "summary": "sample string 6, sample string 7, sample string 8, sample string 10, sample string 11",
  "summaryShort": "sample string 6, sample string 7, sample string 8",
  "summaryMasked": "sample string, sample string, sample string 8",
  "summaryLink": "http://maps.google.com/maps?&q=sample+string+6%2c+sample+string+7%2c+sample+string+10%2c+sample+string+11%2c+sample+string+12"
}

application/xml, text/xml

Sample:
<AddressDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProcuraGroup.Models">
  <AddressID>1</AddressID>
  <AddressLine1>sample string 6</AddressLine1>
  <AddressLine2>sample string 7</AddressLine2>
  <AddressTypeEntryID>3</AddressTypeEntryID>
  <AddressTypeEntryValue>sample string 16</AddressTypeEntryValue>
  <City>sample string 8</City>
  <CountryCode>sample string 12</CountryCode>
  <County>sample string 9</County>
  <Created>
    <DateUtc>2024-12-04T07:53:12.836383+00:00</DateUtc>
    <UserName>sample string 2</UserName>
  </Created>
  <Description>sample string 5</Description>
  <Directions>sample string 13</Directions>
  <EntityID>2</EntityID>
  <GeoDataExists>true</GeoDataExists>
  <GeoLatitude>1</GeoLatitude>
  <GeoLongitude>1</GeoLongitude>
  <GeoProps xmlns:d2p1="http://schemas.datacontract.org/2004/07/ProcuraGroup.Common" i:nil="true" />
  <IsPrimary>true</IsPrimary>
  <LastUpdated>
    <DateUtc>2024-12-04T07:53:12.836383+00:00</DateUtc>
    <UserName>sample string 2</UserName>
  </LastUpdated>
  <PartialData>FullData</PartialData>
  <PostalZipCode>sample string 11</PostalZipCode>
  <ProvinceStateCode>sample string 10</ProvinceStateCode>
  <RecordState>Active</RecordState>
  <SortOrder>15</SortOrder>
  <StartDateUtc>2024-12-04T07:53:12.836383+00:00</StartDateUtc>
  <StopDateUtc>2024-12-04T07:53:12.836383+00:00</StopDateUtc>
</AddressDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

application/x-compressed-json

Sample:
��S�n�0���lnz����B����Xtg�Vj5���A\U�2|��qB)7N+���2gΙ�3������)Ay����,'�v1��}�l�ԑ	��EN|EP�"%�/?��3�)WE��|[��m1����D�u�H�+�.hkP�E�����ي���X��z���	�Lۘ���H�Ô�C�J����J��X�Y�Ps��4��7��4��hPU���|��ZY\�8��}@J�N����u�*�������W�
0^�xK-�X��ւ��q
?%)o�|�;��hS{ѝ��V@�d�Y���E��-�}<!�9i��N��i��ƅh��[Ʒ��7�C��N�5\��衎��`4A؃��+<�K�<�8�:.|��H���kT_���Ţ��kk�F�+������� ����j�mR��	�M`���m���

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.