POST api/Department/GetByOrganizationCompanyId
Request Information
URI Parameters
None.
Body Parameters
Department| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| DepartmentName | string |
None. |
|
| EntryDate | date |
None. |
|
| EntryUser | integer |
None. |
|
| ModifyDate | date |
None. |
|
| ModifyUser | integer |
None. |
|
| PostDate | date |
None. |
|
| PostUser | integer |
None. |
|
| PostState | boolean |
None. |
|
| OrganizationId | integer |
None. |
|
| CompanyId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"DepartmentName": "sample string 2",
"EntryDate": "2025-10-29T13:07:36.5676456+05:00",
"EntryUser": 4,
"ModifyDate": "2025-10-29T13:07:36.5676456+05:00",
"ModifyUser": 6,
"PostDate": "2025-10-29T13:07:36.5676456+05:00",
"PostUser": 8,
"PostState": true,
"OrganizationId": 10,
"CompanyId": 11
}
application/xml, text/xml
Sample:
<Department xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Architecture.Model"> <CompanyId>11</CompanyId> <DepartmentName>sample string 2</DepartmentName> <EntryDate>2025-10-29T13:07:36.5676456+05:00</EntryDate> <EntryUser>4</EntryUser> <Id>1</Id> <ModifyDate>2025-10-29T13:07:36.5676456+05:00</ModifyDate> <ModifyUser>6</ModifyUser> <OrganizationId>10</OrganizationId> <PostDate>2025-10-29T13:07:36.5676456+05:00</PostDate> <PostState>true</PostState> <PostUser>8</PostUser> </Department>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.