GET api/JankariPortal/GetDepartmentlist?whr={whr}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| whr | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of GetDepartmentList_Result| Name | Description | Type | Additional information |
|---|---|---|---|
| depid | string |
None. |
|
| pgid | string |
None. |
|
| depname | string |
None. |
|
| pgname | string |
None. |
|
| tRecordCount | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"depid": "sample string 1",
"pgid": "sample string 2",
"depname": "sample string 3",
"pgname": "sample string 4",
"tRecordCount": 1
},
{
"depid": "sample string 1",
"pgid": "sample string 2",
"depname": "sample string 3",
"pgname": "sample string 4",
"tRecordCount": 1
}
]
application/xml, text/xml
Sample:
<ArrayOfGetDepartmentList_Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JankariPortalPIFAPI.Models">
<GetDepartmentList_Result>
<depid>sample string 1</depid>
<depname>sample string 3</depname>
<pgid>sample string 2</pgid>
<pgname>sample string 4</pgname>
<tRecordCount>1</tRecordCount>
</GetDepartmentList_Result>
<GetDepartmentList_Result>
<depid>sample string 1</depid>
<depname>sample string 3</depname>
<pgid>sample string 2</pgid>
<pgname>sample string 4</pgname>
<tRecordCount>1</tRecordCount>
</GetDepartmentList_Result>
</ArrayOfGetDepartmentList_Result>