POST api/districtofficer/update

Request Information

URI Parameters

None.

Body Parameters

DistrictOfficer
NameDescriptionTypeAdditional information
DistrictOfficerId

integer

None.

DistrictCode

string

Required

MembershipId

string

Required

OfficeCode

string

None.

OfficeName

string

None.

IsCurrent

boolean

None.

Deleted

boolean

None.

CreatedBy

string

String length: inclusive between 0 and 50

UpdatedBy

string

String length: inclusive between 0 and 50

CreatedOn

date

None.

UpdatedOn

date

None.

Request Formats

application/json, text/json

Sample:
{
  "DistrictOfficerId": 1,
  "DistrictCode": "sample string 2",
  "MembershipId": "sample string 3",
  "OfficeCode": "sample string 4",
  "OfficeName": "sample string 5",
  "IsCurrent": true,
  "Deleted": true,
  "CreatedBy": "sample string 8",
  "UpdatedBy": "sample string 9",
  "CreatedOn": "2022-09-26T09:56:02.5513346-05:00",
  "UpdatedOn": "2022-09-26T09:56:02.5513346-05:00"
}

text/xml

Sample:
<DistrictOfficer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FullGospel.Common.Core">
  <CreatedBy>sample string 8</CreatedBy>
  <CreatedOn>2022-09-26T09:56:02.5513346-05:00</CreatedOn>
  <Deleted>true</Deleted>
  <DistrictCode>sample string 2</DistrictCode>
  <DistrictOfficerId>1</DistrictOfficerId>
  <IsCurrent>true</IsCurrent>
  <MembershipId>sample string 3</MembershipId>
  <OfficeCode>sample string 4</OfficeCode>
  <OfficeName>sample string 5</OfficeName>
  <UpdatedBy>sample string 9</UpdatedBy>
  <UpdatedOn>2022-09-26T09:56:02.5513346-05:00</UpdatedOn>
</DistrictOfficer>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/xml

Sample:

Sample not available.