POST api/ContactAccounts

Request Information

URI Parameters

None.

Body Parameters

ContactAccount
NameDescriptionTypeAdditional information
RecordId

integer

None.

ContactId

integer

None.

AccountId

integer

None.

AccountNum

integer

None.

UtilityId

integer

None.

Status

string

Max length: 20

UnitId

integer

None.

BeginDate

date

None.

EndDate

date

None.

FeesOnly

string

None.

DateCreated

date

None.

DateUpdated

date

None.

CreatedBy

integer

None.

UpdatedBy

integer

None.

MoveInPropertyManager

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "RecordId": 1,
  "ContactId": 2,
  "AccountId": 3,
  "AccountNum": 4,
  "UtilityId": 5,
  "Status": "sample string 6",
  "UnitId": 7,
  "BeginDate": "2020-08-27T14:11:54.0740263+00:00",
  "EndDate": "2020-08-27T14:11:54.0740263+00:00",
  "FeesOnly": "sample string 8",
  "DateCreated": "2020-08-27T14:11:54.0740263+00:00",
  "DateUpdated": "2020-08-27T14:11:54.0740263+00:00",
  "CreatedBy": 1,
  "UpdatedBy": 1,
  "MoveInPropertyManager": true
}

application/xml, text/xml

Sample:
<ContactAccount xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APL.Models">
  <AccountId>3</AccountId>
  <AccountNum>4</AccountNum>
  <BeginDate>2020-08-27T14:11:54.0740263+00:00</BeginDate>
  <ContactId>2</ContactId>
  <CreatedBy>1</CreatedBy>
  <DateCreated>2020-08-27T14:11:54.0740263+00:00</DateCreated>
  <DateUpdated>2020-08-27T14:11:54.0740263+00:00</DateUpdated>
  <EndDate>2020-08-27T14:11:54.0740263+00:00</EndDate>
  <FeesOnly>sample string 8</FeesOnly>
  <MoveInPropertyManager>true</MoveInPropertyManager>
  <RecordId>1</RecordId>
  <Status>sample string 6</Status>
  <UnitId>7</UnitId>
  <UpdatedBy>1</UpdatedBy>
  <UtilityId>5</UtilityId>
</ContactAccount>

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

Response Information

Resource Description

ContactAccount
NameDescriptionTypeAdditional information
RecordId

integer

None.

ContactId

integer

None.

AccountId

integer

None.

AccountNum

integer

None.

UtilityId

integer

None.

Status

string

Max length: 20

UnitId

integer

None.

BeginDate

date

None.

EndDate

date

None.

FeesOnly

string

None.

DateCreated

date

None.

DateUpdated

date

None.

CreatedBy

integer

None.

UpdatedBy

integer

None.

MoveInPropertyManager

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "RecordId": 1,
  "ContactId": 2,
  "AccountId": 3,
  "AccountNum": 4,
  "UtilityId": 5,
  "Status": "sample string 6",
  "UnitId": 7,
  "BeginDate": "2020-08-27T14:11:54.0740263+00:00",
  "EndDate": "2020-08-27T14:11:54.0740263+00:00",
  "FeesOnly": "sample string 8",
  "DateCreated": "2020-08-27T14:11:54.0740263+00:00",
  "DateUpdated": "2020-08-27T14:11:54.0740263+00:00",
  "CreatedBy": 1,
  "UpdatedBy": 1,
  "MoveInPropertyManager": true
}

application/xml, text/xml

Sample:
<ContactAccount xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APL.Models">
  <AccountId>3</AccountId>
  <AccountNum>4</AccountNum>
  <BeginDate>2020-08-27T14:11:54.0740263+00:00</BeginDate>
  <ContactId>2</ContactId>
  <CreatedBy>1</CreatedBy>
  <DateCreated>2020-08-27T14:11:54.0740263+00:00</DateCreated>
  <DateUpdated>2020-08-27T14:11:54.0740263+00:00</DateUpdated>
  <EndDate>2020-08-27T14:11:54.0740263+00:00</EndDate>
  <FeesOnly>sample string 8</FeesOnly>
  <MoveInPropertyManager>true</MoveInPropertyManager>
  <RecordId>1</RecordId>
  <Status>sample string 6</Status>
  <UnitId>7</UnitId>
  <UpdatedBy>1</UpdatedBy>
  <UtilityId>5</UtilityId>
</ContactAccount>