POST api/PropertyGLCodes

Request Information

URI Parameters

None.

Body Parameters

PropertyGLCode
NameDescriptionTypeAdditional information
RecordId

integer

None.

PropertyId

integer

None.

UtilityId

integer

None.

GLCode

string

Max length: 50

GLDescription

string

Max length: 100

Request Formats

application/json, text/json

Sample:
{
  "RecordId": 1,
  "PropertyId": 2,
  "UtilityId": 3,
  "GLCode": "sample string 4",
  "GLDescription": "sample string 5"
}

application/xml, text/xml

Sample:
<PropertyGLCode xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APL.Models">
  <GLCode>sample string 4</GLCode>
  <GLDescription>sample string 5</GLDescription>
  <PropertyId>2</PropertyId>
  <RecordId>1</RecordId>
  <UtilityId>3</UtilityId>
</PropertyGLCode>

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

Response Information

Resource Description

PropertyGLCode
NameDescriptionTypeAdditional information
RecordId

integer

None.

PropertyId

integer

None.

UtilityId

integer

None.

GLCode

string

Max length: 50

GLDescription

string

Max length: 100

Response Formats

application/json, text/json

Sample:
{
  "RecordId": 1,
  "PropertyId": 2,
  "UtilityId": 3,
  "GLCode": "sample string 4",
  "GLDescription": "sample string 5"
}

application/xml, text/xml

Sample:
<PropertyGLCode xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APL.Models">
  <GLCode>sample string 4</GLCode>
  <GLDescription>sample string 5</GLDescription>
  <PropertyId>2</PropertyId>
  <RecordId>1</RecordId>
  <UtilityId>3</UtilityId>
</PropertyGLCode>