POST Api/Department/InsertDepartment
Request Information
URI Parameters
None.
Body Parameters
DeptMgmt| Name | Description | Type | Additional information |
|---|---|---|---|
| SNo | integer |
None. |
|
| DepartmentID | globally unique identifier |
None. |
|
| DepartmentName | string |
None. |
|
| Description | string |
None. |
|
| AddedBy | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"SNo": 1,
"DepartmentID": "664390f7-12ce-413a-b130-47ffbc909160",
"DepartmentName": "sample string 3",
"Description": "sample string 4",
"AddedBy": "sample string 5"
}
application/xml, text/xml
Sample:
<DeptMgmt xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DevelAPI.Models"> <AddedBy>sample string 5</AddedBy> <DepartmentID>664390f7-12ce-413a-b130-47ffbc909160</DepartmentID> <DepartmentName>sample string 3</DepartmentName> <Description>sample string 4</Description> <SNo>1</SNo> </DeptMgmt>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |