POST api/Employee

Request Information

URI Parameters

None.

Body Parameters

Employe
NameDescriptionTypeAdditional information
EmpCode

integer

None.

EmpName

string

None.

EmpEmail

string

None.

EmpMobNo

string

None.

EmpAddres

string

None.

EmpDOB

date

None.

Request Formats

application/json, text/json

Sample:
{
  "EmpCode": 1,
  "EmpName": "sample string 2",
  "EmpEmail": "sample string 3",
  "EmpMobNo": "sample string 4",
  "EmpAddres": "sample string 5",
  "EmpDOB": "2024-11-15T08:08:25.7354491+05:30"
}

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

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1