POST api/area/update

Request Information

URI Parameters

None.

Body Parameters

Area
NameDescriptionTypeAdditional information
SN

integer

None.

AreaCode

string

Required

AreaName

string

Required

RegionCode

string

None.

DistrictCode

string

None.

ZoneCode

string

None.

AreaOffice

string

None.

AreaPhone

string

None.

AreaEmail

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,
  "AreaCode": "sample string 2",
  "AreaName": "sample string 3",
  "RegionCode": "sample string 4",
  "DistrictCode": "sample string 5",
  "ZoneCode": "sample string 6",
  "AreaOffice": "sample string 7",
  "AreaPhone": "sample string 8",
  "AreaEmail": "sample string 9",
  "Address1": "sample string 10",
  "Address2": "sample string 11",
  "City": "sample string 12",
  "State": "sample string 13",
  "BirthDate": "sample string 14",
  "OfficerMembershipId": "sample string 15"
}

text/xml

Sample:
<Area xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FullGospel.Common.Core">
  <Address1>sample string 10</Address1>
  <Address2>sample string 11</Address2>
  <AreaCode>sample string 2</AreaCode>
  <AreaEmail>sample string 9</AreaEmail>
  <AreaName>sample string 3</AreaName>
  <AreaOffice>sample string 7</AreaOffice>
  <AreaPhone>sample string 8</AreaPhone>
  <BirthDate>sample string 14</BirthDate>
  <City>sample string 12</City>
  <DistrictCode>sample string 5</DistrictCode>
  <OfficerMembershipId>sample string 15</OfficerMembershipId>
  <RegionCode>sample string 4</RegionCode>
  <SN>1</SN>
  <State>sample string 13</State>
  <ZoneCode>sample string 6</ZoneCode>
</Area>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/xml

Sample:

Sample not available.