GET api/Organization/GetDepartment?companyId={companyId}&memucode={memucode}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| companyId | string |
Required |
|
| memucode | string |
Required |
Body Parameters
None.
Response Information
Resource Description
ResponseResultObjOfListOfDepartViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | boolean |
None. |
|
| Mesg | string |
None. |
|
| Data | Collection of DepartViewModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": true,
"Mesg": "sample string 2",
"Data": [
{
"Id": "sample string 1",
"Type": 2,
"Name": "sample string 3",
"StaffCount": 4,
"SubDepart": []
},
{
"Id": "sample string 1",
"Type": 2,
"Name": "sample string 3",
"StaffCount": 4,
"SubDepart": []
}
]
}