POST api/benefits/education/request/contract/update

Request Information

URI Parameters

None.

Body Parameters

EducationContractUpdate
NameDescriptionTypeAdditional information
edrq_id

integer

None.

contract_bound

boolean

None.

contract_bound_from

date

None.

contract_bound_to

date

None.

usr_id

integer

None.

edu_group

integer

None.

educator

string

None.

edu_type

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "edrq_id": 1,
  "contract_bound": true,
  "contract_bound_from": "2025-05-22T18:13:39.6780734+02:00",
  "contract_bound_to": "2025-05-22T18:13:39.6780734+02:00",
  "usr_id": 3,
  "edu_group": 4,
  "educator": "sample string 5",
  "edu_type": 6
}

application/xml, text/xml

Sample:
<EducationContractUpdate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aplikacija_za_prijavu_Evenata.Models">
  <contract_bound>true</contract_bound>
  <contract_bound_from>2025-05-22T18:13:39.6780734+02:00</contract_bound_from>
  <contract_bound_to>2025-05-22T18:13:39.6780734+02:00</contract_bound_to>
  <edrq_id>1</edrq_id>
  <edu_group>4</edu_group>
  <edu_type>6</edu_type>
  <educator>sample string 5</educator>
  <usr_id>3</usr_id>
</EducationContractUpdate>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.