POST api/Employee2/Addeducationdetails

Request Information

URI Parameters

None.

Body Parameters

Mainempeducationdetails
NameDescriptionTypeAdditional information
education_id

integer

None.

user_id

integer

None.

educationlevel

integer

None.

institution_name

string

None.

course

string

None.

from_date

date

None.

to_date

date

None.

percentage

integer

None.

createdby

decimal number

None.

modifiedby

decimal number

None.

createddate

date

None.

modifieddate

date

None.

isactive

boolean

None.

StatusMessage

string

None.

Request Formats

application/json, text/json

Sample:
{
  "education_id": 1,
  "user_id": 1,
  "educationlevel": 1,
  "institution_name": "sample string 2",
  "course": "sample string 3",
  "from_date": "2019-06-18T01:46:00.368-04:00",
  "to_date": "2019-06-18T01:46:00.368-04:00",
  "percentage": 1,
  "createdby": 1.0,
  "modifiedby": 1.0,
  "createddate": "2019-06-18T01:46:00.369-04:00",
  "modifieddate": "2019-06-18T01:46:00.369-04:00",
  "isactive": true,
  "StatusMessage": "sample string 4"
}

text/html

Sample:
{"education_id":1,"user_id":1,"educationlevel":1,"institution_name":"sample string 2","course":"sample string 3","from_date":"2019-06-18T01:46:00.368-04:00","to_date":"2019-06-18T01:46:00.368-04:00","percentage":1,"createdby":1.0,"modifiedby":1.0,"createddate":"2019-06-18T01:46:00.369-04:00","modifieddate":"2019-06-18T01:46:00.369-04:00","isactive":true,"StatusMessage":"sample string 4"}

application/xml, text/xml

Sample:
<Mainempeducationdetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RtsDb.Service.Models.Employee">
  <StatusMessage>sample string 4</StatusMessage>
  <course>sample string 3</course>
  <createdby>1</createdby>
  <createddate>2019-06-18T01:46:00.369-04:00</createddate>
  <education_id>1</education_id>
  <educationlevel>1</educationlevel>
  <from_date>2019-06-18T01:46:00.368-04:00</from_date>
  <institution_name>sample string 2</institution_name>
  <isactive>true</isactive>
  <modifiedby>1</modifiedby>
  <modifieddate>2019-06-18T01:46:00.369-04:00</modifieddate>
  <percentage>1</percentage>
  <to_date>2019-06-18T01:46:00.368-04:00</to_date>
  <user_id>1</user_id>
</Mainempeducationdetails>

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.