POST api/create/department
Request Information
URI Parameters
None.
Body Parameters
CreateDepartment| Name | Description | Type | Additional information |
|---|---|---|---|
| EmpId | integer |
None. |
|
| DeptName | string |
None. |
|
| CreatedBy | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"EmpId": 1,
"DeptName": "sample string 2",
"CreatedBy": 3
}
application/xml, text/xml
Sample:
<CreateDepartment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/working_sample_mvc_api.Models"> <CreatedBy>3</CreatedBy> <DeptName>sample string 2</DeptName> <EmpId>1</EmpId> </CreateDepartment>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.