POST api/PropertyManagers

Request Information

URI Parameters

None.

Body Parameters

PropertyManager
NameDescriptionTypeAdditional information
PropertyManagerId

integer

None.

LegacyElectricPropertyManagerId

integer

None.

LegacyWaterPropertyManagerId

integer

None.

PropertyManagerName

string

Max length: 200

ContactName

string

Max length: 200

Address1

string

Max length: 80

Address2

string

Max length: 80

City

string

Max length: 50

State

string

Max length: 2

ZIP

string

Max length: 10

Phone

string

Max length: 20

EmailAddress

string

Max length: 200

Username

string

Max length: 200

Password

string

Max length: 200

DelinquencyEmailAddress

string

Max length: 200

BillingEmailAddress

string

Max length: 200

Status

string

Max length: 20

DateCreated

date

None.

DateUpdated

date

None.

CreatedBy

integer

None.

UpdatedBy

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "PropertyManagerId": 1,
  "LegacyElectricPropertyManagerId": 1,
  "LegacyWaterPropertyManagerId": 1,
  "PropertyManagerName": "sample string 2",
  "ContactName": "sample string 3",
  "Address1": "sample string 4",
  "Address2": "sample string 5",
  "City": "sample string 6",
  "State": "sample string 7",
  "ZIP": "sample string 8",
  "Phone": "sample string 9",
  "EmailAddress": "sample string 10",
  "Username": "sample string 11",
  "Password": "sample string 12",
  "DelinquencyEmailAddress": "sample string 13",
  "BillingEmailAddress": "sample string 14",
  "Status": "sample string 15",
  "DateCreated": "2020-08-27T22:36:13.0532545+00:00",
  "DateUpdated": "2020-08-27T22:36:13.0532545+00:00",
  "CreatedBy": 1,
  "UpdatedBy": 1
}

application/xml, text/xml

Sample:
<PropertyManager xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APL.Models">
  <Address1>sample string 4</Address1>
  <Address2>sample string 5</Address2>
  <BillingEmailAddress>sample string 14</BillingEmailAddress>
  <City>sample string 6</City>
  <ContactName>sample string 3</ContactName>
  <CreatedBy>1</CreatedBy>
  <DateCreated>2020-08-27T22:36:13.0532545+00:00</DateCreated>
  <DateUpdated>2020-08-27T22:36:13.0532545+00:00</DateUpdated>
  <DelinquencyEmailAddress>sample string 13</DelinquencyEmailAddress>
  <EmailAddress>sample string 10</EmailAddress>
  <LegacyElectricPropertyManagerId>1</LegacyElectricPropertyManagerId>
  <LegacyWaterPropertyManagerId>1</LegacyWaterPropertyManagerId>
  <Password>sample string 12</Password>
  <Phone>sample string 9</Phone>
  <PropertyManagerId>1</PropertyManagerId>
  <PropertyManagerName>sample string 2</PropertyManagerName>
  <State>sample string 7</State>
  <Status>sample string 15</Status>
  <UpdatedBy>1</UpdatedBy>
  <Username>sample string 11</Username>
  <ZIP>sample string 8</ZIP>
</PropertyManager>

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

Response Information

Resource Description

PropertyManager
NameDescriptionTypeAdditional information
PropertyManagerId

integer

None.

LegacyElectricPropertyManagerId

integer

None.

LegacyWaterPropertyManagerId

integer

None.

PropertyManagerName

string

Max length: 200

ContactName

string

Max length: 200

Address1

string

Max length: 80

Address2

string

Max length: 80

City

string

Max length: 50

State

string

Max length: 2

ZIP

string

Max length: 10

Phone

string

Max length: 20

EmailAddress

string

Max length: 200

Username

string

Max length: 200

Password

string

Max length: 200

DelinquencyEmailAddress

string

Max length: 200

BillingEmailAddress

string

Max length: 200

Status

string

Max length: 20

DateCreated

date

None.

DateUpdated

date

None.

CreatedBy

integer

None.

UpdatedBy

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "PropertyManagerId": 1,
  "LegacyElectricPropertyManagerId": 1,
  "LegacyWaterPropertyManagerId": 1,
  "PropertyManagerName": "sample string 2",
  "ContactName": "sample string 3",
  "Address1": "sample string 4",
  "Address2": "sample string 5",
  "City": "sample string 6",
  "State": "sample string 7",
  "ZIP": "sample string 8",
  "Phone": "sample string 9",
  "EmailAddress": "sample string 10",
  "Username": "sample string 11",
  "Password": "sample string 12",
  "DelinquencyEmailAddress": "sample string 13",
  "BillingEmailAddress": "sample string 14",
  "Status": "sample string 15",
  "DateCreated": "2020-08-27T22:36:13.0532545+00:00",
  "DateUpdated": "2020-08-27T22:36:13.0532545+00:00",
  "CreatedBy": 1,
  "UpdatedBy": 1
}

application/xml, text/xml

Sample:
<PropertyManager xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APL.Models">
  <Address1>sample string 4</Address1>
  <Address2>sample string 5</Address2>
  <BillingEmailAddress>sample string 14</BillingEmailAddress>
  <City>sample string 6</City>
  <ContactName>sample string 3</ContactName>
  <CreatedBy>1</CreatedBy>
  <DateCreated>2020-08-27T22:36:13.0532545+00:00</DateCreated>
  <DateUpdated>2020-08-27T22:36:13.0532545+00:00</DateUpdated>
  <DelinquencyEmailAddress>sample string 13</DelinquencyEmailAddress>
  <EmailAddress>sample string 10</EmailAddress>
  <LegacyElectricPropertyManagerId>1</LegacyElectricPropertyManagerId>
  <LegacyWaterPropertyManagerId>1</LegacyWaterPropertyManagerId>
  <Password>sample string 12</Password>
  <Phone>sample string 9</Phone>
  <PropertyManagerId>1</PropertyManagerId>
  <PropertyManagerName>sample string 2</PropertyManagerName>
  <State>sample string 7</State>
  <Status>sample string 15</Status>
  <UpdatedBy>1</UpdatedBy>
  <Username>sample string 11</Username>
  <ZIP>sample string 8</ZIP>
</PropertyManager>