GET api/dpmnt/get-list
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of DepartmentDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Code | string |
None. |
|
| Name | string |
None. |
|
| CreatedBy | integer |
None. |
|
| CreatedDate | date |
None. |
|
| ModifiedBy | integer |
None. |
|
| ModifiedDate | date |
None. |
|
| Status | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Code": "sample string 2",
"Name": "sample string 3",
"CreatedBy": 1,
"CreatedDate": "2025-12-06T11:37:07.4368018+00:00",
"ModifiedBy": 1,
"ModifiedDate": "2025-12-06T11:37:07.4368018+00:00",
"Status": true
},
{
"Id": 1,
"Code": "sample string 2",
"Name": "sample string 3",
"CreatedBy": 1,
"CreatedDate": "2025-12-06T11:37:07.4368018+00:00",
"ModifiedBy": 1,
"ModifiedDate": "2025-12-06T11:37:07.4368018+00:00",
"Status": true
}
]
application/xml, text/xml
Sample:
<ArrayOfDepartmentDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SUM.Prod.RS.Common.Components.DTO.OrgSetup">
<DepartmentDTO>
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/SUM.Prod.RS.Common.Components.DTO">1</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/SUM.Prod.RS.Common.Components.DTO">2025-12-06T11:37:07.4368018+00:00</CreatedDate>
<ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/SUM.Prod.RS.Common.Components.DTO">1</ModifiedBy>
<ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/SUM.Prod.RS.Common.Components.DTO">2025-12-06T11:37:07.4368018+00:00</ModifiedDate>
<Status xmlns="http://schemas.datacontract.org/2004/07/SUM.Prod.RS.Common.Components.DTO">true</Status>
<Code>sample string 2</Code>
<Id>1</Id>
<Name>sample string 3</Name>
</DepartmentDTO>
<DepartmentDTO>
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/SUM.Prod.RS.Common.Components.DTO">1</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/SUM.Prod.RS.Common.Components.DTO">2025-12-06T11:37:07.4368018+00:00</CreatedDate>
<ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/SUM.Prod.RS.Common.Components.DTO">1</ModifiedBy>
<ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/SUM.Prod.RS.Common.Components.DTO">2025-12-06T11:37:07.4368018+00:00</ModifiedDate>
<Status xmlns="http://schemas.datacontract.org/2004/07/SUM.Prod.RS.Common.Components.DTO">true</Status>
<Code>sample string 2</Code>
<Id>1</Id>
<Name>sample string 3</Name>
</DepartmentDTO>
</ArrayOfDepartmentDTO>