DELETE api/district/delete

Request Information

URI Parameters

None.

Body Parameters

District
NameDescriptionTypeAdditional information
SN

integer

None.

DistrictCode

string

Required

DistrictName

string

Required

RegionCode

string

None.

DistrictStates

string

None.

ShortCode

string

None.

Address1

string

None.

Address2

string

None.

City

string

None.

State

string

None.

BirthDate

string

None.

OfficerMembershipId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SN": 1,
  "DistrictCode": "sample string 2",
  "DistrictName": "sample string 3",
  "RegionCode": "sample string 4",
  "DistrictStates": "sample string 5",
  "ShortCode": "sample string 6",
  "Address1": "sample string 7",
  "Address2": "sample string 8",
  "City": "sample string 9",
  "State": "sample string 10",
  "BirthDate": "sample string 11",
  "OfficerMembershipId": "sample string 12"
}

text/xml

Sample:
<District xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FullGospel.Common.Core">
  <Address1>sample string 7</Address1>
  <Address2>sample string 8</Address2>
  <BirthDate>sample string 11</BirthDate>
  <City>sample string 9</City>
  <DistrictCode>sample string 2</DistrictCode>
  <DistrictName>sample string 3</DistrictName>
  <DistrictStates>sample string 5</DistrictStates>
  <OfficerMembershipId>sample string 12</OfficerMembershipId>
  <RegionCode>sample string 4</RegionCode>
  <SN>1</SN>
  <ShortCode>sample string 6</ShortCode>
  <State>sample string 10</State>
</District>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/xml

Sample:

Sample not available.