POST api/Sector

Request Information

URI Parameters

None.

Body Parameters

sector_data
NameDescriptionTypeAdditional information
sector_name_path

string

None.

obj_sec_id

integer

None.

snm_email

string

None.

Request Formats

application/json, text/json

Sample:
{
  "sector_name_path": "sample string 1",
  "obj_sec_id": 2,
  "snm_email": "sample string 3"
}

application/xml, text/xml

Sample:
<sector_data xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aplikacija_za_prijavu_Evenata.Models">
  <obj_sec_id>2</obj_sec_id>
  <sector_name_path>sample string 1</sector_name_path>
  <snm_email>sample string 3</snm_email>
</sector_data>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.