POST api/Address

Request Information

URI Parameters

None.

Body Parameters

Address
NameDescriptionTypeAdditional information
Type

string

String length: inclusive between 0 and 50

IsPrimary

boolean

None.

AddressLine1

string

String length: inclusive between 0 and 100

AddressLine2

string

String length: inclusive between 0 and 100

City

string

String length: inclusive between 0 and 100

StateProvince

string

String length: inclusive between 0 and 50

PostalCode

string

String length: inclusive between 0 and 50

RelationshipId

string

Required

String length: inclusive between 0 and 50

RelationshipPmsId

string

Required

String length: inclusive between 0 and 50

RelationshipEntity

string

Required

String length: inclusive between 0 and 50

ApiCreateDate

date

Required

ApiLastChangeDate

date

None.

CheckSum

integer

None.

RowKey

integer

Required

Id

string

Required

String length: inclusive between 0 and 50

SyncId

string

Required

String length: inclusive between 0 and 50

SubscriberId

string

Required

String length: inclusive between 0 and 50

Deleted

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Type": "sample string 1",
  "IsPrimary": true,
  "AddressLine1": "sample string 2",
  "AddressLine2": "sample string 3",
  "City": "sample string 4",
  "StateProvince": "sample string 5",
  "PostalCode": "sample string 6",
  "RelationshipId": "sample string 7",
  "RelationshipPmsId": "sample string 8",
  "RelationshipEntity": "sample string 9",
  "ApiCreateDate": "2025-12-16T00:52:16.8775199+00:00",
  "ApiLastChangeDate": "2025-12-16T00:52:16.8775199+00:00",
  "CheckSum": 11,
  "RowKey": 12,
  "Id": "sample string 13",
  "SyncId": "sample string 14",
  "SubscriberId": "sample string 15",
  "Deleted": true
}

application/xml, text/xml

Sample:
<Address xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PVExDataModel">
  <AddressLine1>sample string 2</AddressLine1>
  <AddressLine2>sample string 3</AddressLine2>
  <ApiCreateDate>2025-12-16T00:52:16.8775199+00:00</ApiCreateDate>
  <ApiLastChangeDate>2025-12-16T00:52:16.8775199+00:00</ApiLastChangeDate>
  <CheckSum>11</CheckSum>
  <City>sample string 4</City>
  <Deleted>true</Deleted>
  <Id>sample string 13</Id>
  <IsPrimary>true</IsPrimary>
  <PostalCode>sample string 6</PostalCode>
  <RelationshipEntity>sample string 9</RelationshipEntity>
  <RelationshipId>sample string 7</RelationshipId>
  <RelationshipPmsId>sample string 8</RelationshipPmsId>
  <RowKey>12</RowKey>
  <StateProvince>sample string 5</StateProvince>
  <SubscriberId>sample string 15</SubscriberId>
  <SyncId>sample string 14</SyncId>
  <Type>sample string 1</Type>
</Address>

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 'Address'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.