PUT api/PNA/Chapters/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

ChaptersCreateUpdateDTO
NameDescriptionTypeAdditional information
regionid

integer

None.

name

string

None.

officeaddress

string

None.

officefax

string

None.

president

string

None.

presidentcontactnumber

string

None.

email

string

None.

chaptercontactperson

string

None.

chaptercontactnumber

string

None.

Request Formats

application/json, text/json

Sample:
{
  "regionid": 1,
  "name": "sample string 1",
  "officeaddress": "sample string 2",
  "officefax": "sample string 3",
  "president": "sample string 4",
  "presidentcontactnumber": "sample string 5",
  "email": "sample string 6",
  "chaptercontactperson": "sample string 7",
  "chaptercontactnumber": "sample string 8"
}

application/xml, text/xml

Sample:
<ChaptersCreateUpdateDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PNA.Models.DTO">
  <chaptercontactnumber>sample string 8</chaptercontactnumber>
  <chaptercontactperson>sample string 7</chaptercontactperson>
  <email>sample string 6</email>
  <name>sample string 1</name>
  <officeaddress>sample string 2</officeaddress>
  <officefax>sample string 3</officefax>
  <president>sample string 4</president>
  <presidentcontactnumber>sample string 5</presidentcontactnumber>
  <regionid>1</regionid>
</ChaptersCreateUpdateDTO>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.