POST api/District

Request Information

URI Parameters

None.

Body Parameters

CreateDistrict
NameDescriptionTypeAdditional information
Name

string

Required

Active

boolean

Required

CustomerId

integer

Required

AlertCustomerId

string

None.

Perpetual

boolean

Required

Request Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "Active": true,
  "CustomerId": 3,
  "AlertCustomerId": "sample string 4",
  "Perpetual": true
}

application/xml, text/xml

Sample:
<CreateDistrict xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Domain.Objects.Organization">
  <Active>true</Active>
  <AlertCustomerId>sample string 4</AlertCustomerId>
  <CustomerId>3</CustomerId>
  <Name>sample string 1</Name>
  <Perpetual>true</Perpetual>
</CreateDistrict>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>