POST api/Developers

Request Information

URI Parameters

None.

Body Parameters

Developer
NameDescriptionTypeAdditional information
DeveloperId

integer

None.

LegacyElectricDeveloperId

integer

None.

LegacyWaterDeveloperId

integer

None.

DeveloperName

string

Max length: 255

ContactName

string

Max length: 255

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

Status

string

Max length: 20

DateCreated

date

None.

DateUpdated

date

None.

CreatedBy

integer

None.

UpdatedBy

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "DeveloperId": 1,
  "LegacyElectricDeveloperId": 1,
  "LegacyWaterDeveloperId": 1,
  "DeveloperName": "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",
  "Status": "sample string 11",
  "DateCreated": "2020-02-15T11:14:10.773347+00:00",
  "DateUpdated": "2020-02-15T11:14:10.773347+00:00",
  "CreatedBy": 14,
  "UpdatedBy": 15
}

application/xml, text/xml

Sample:
<Developer 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>
  <City>sample string 6</City>
  <ContactName>sample string 3</ContactName>
  <CreatedBy>14</CreatedBy>
  <DateCreated>2020-02-15T11:14:10.773347+00:00</DateCreated>
  <DateUpdated>2020-02-15T11:14:10.773347+00:00</DateUpdated>
  <DeveloperId>1</DeveloperId>
  <DeveloperName>sample string 2</DeveloperName>
  <EmailAddress>sample string 10</EmailAddress>
  <LegacyElectricDeveloperId>1</LegacyElectricDeveloperId>
  <LegacyWaterDeveloperId>1</LegacyWaterDeveloperId>
  <Phone>sample string 9</Phone>
  <State>sample string 7</State>
  <Status>sample string 11</Status>
  <UpdatedBy>15</UpdatedBy>
  <ZIP>sample string 8</ZIP>
</Developer>

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

Response Information

Resource Description

Developer
NameDescriptionTypeAdditional information
DeveloperId

integer

None.

LegacyElectricDeveloperId

integer

None.

LegacyWaterDeveloperId

integer

None.

DeveloperName

string

Max length: 255

ContactName

string

Max length: 255

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

Status

string

Max length: 20

DateCreated

date

None.

DateUpdated

date

None.

CreatedBy

integer

None.

UpdatedBy

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "DeveloperId": 1,
  "LegacyElectricDeveloperId": 1,
  "LegacyWaterDeveloperId": 1,
  "DeveloperName": "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",
  "Status": "sample string 11",
  "DateCreated": "2020-02-15T11:14:10.773347+00:00",
  "DateUpdated": "2020-02-15T11:14:10.773347+00:00",
  "CreatedBy": 14,
  "UpdatedBy": 15
}

application/xml, text/xml

Sample:
<Developer 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>
  <City>sample string 6</City>
  <ContactName>sample string 3</ContactName>
  <CreatedBy>14</CreatedBy>
  <DateCreated>2020-02-15T11:14:10.773347+00:00</DateCreated>
  <DateUpdated>2020-02-15T11:14:10.773347+00:00</DateUpdated>
  <DeveloperId>1</DeveloperId>
  <DeveloperName>sample string 2</DeveloperName>
  <EmailAddress>sample string 10</EmailAddress>
  <LegacyElectricDeveloperId>1</LegacyElectricDeveloperId>
  <LegacyWaterDeveloperId>1</LegacyWaterDeveloperId>
  <Phone>sample string 9</Phone>
  <State>sample string 7</State>
  <Status>sample string 11</Status>
  <UpdatedBy>15</UpdatedBy>
  <ZIP>sample string 8</ZIP>
</Developer>