POST Api/Configuration/GetDepartmentsAdmins
Request Information
URI Parameters
None.
Body Parameters
DAdminFilters| Name | Description | Type | Additional information |
|---|---|---|---|
| DivisionId | globally unique identifier |
None. |
|
| AssetId | globally unique identifier |
None. |
|
| BuildingId | globally unique identifier |
None. |
|
| SubBuildingId | globally unique identifier |
None. |
|
| CategoryId | globally unique identifier |
None. |
|
| DepartmentId | globally unique identifier |
None. |
|
| GetDepartmentAssign | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"DivisionId": "bccd7776-27c6-4462-82ef-65e1ddb15ad2",
"AssetId": "b40e6ef1-992d-4bbd-bb65-3f8da11aed5f",
"BuildingId": "3e188686-1573-4a8d-a729-36dd9131c4ad",
"SubBuildingId": "bbd69446-c7ff-4067-b725-9895d0720e7a",
"CategoryId": "bb6b77e6-1038-493a-9fe4-c29ecffcd674",
"DepartmentId": "216d6552-7e7e-4797-930a-08f5ebec31a8",
"GetDepartmentAssign": true
}
text/html, multipart/form-data
Sample:
{"DivisionId":"bccd7776-27c6-4462-82ef-65e1ddb15ad2","AssetId":"b40e6ef1-992d-4bbd-bb65-3f8da11aed5f","BuildingId":"3e188686-1573-4a8d-a729-36dd9131c4ad","SubBuildingId":"bbd69446-c7ff-4067-b725-9895d0720e7a","CategoryId":"bb6b77e6-1038-493a-9fe4-c29ecffcd674","DepartmentId":"216d6552-7e7e-4797-930a-08f5ebec31a8","GetDepartmentAssign":true}
application/xml, text/xml
Sample:
<DAdminFilters xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSMChecklistFlow.DTO.Models.Configuration"> <AssetId>b40e6ef1-992d-4bbd-bb65-3f8da11aed5f</AssetId> <BuildingId>3e188686-1573-4a8d-a729-36dd9131c4ad</BuildingId> <CategoryId>bb6b77e6-1038-493a-9fe4-c29ecffcd674</CategoryId> <DepartmentId>216d6552-7e7e-4797-930a-08f5ebec31a8</DepartmentId> <DivisionId>bccd7776-27c6-4462-82ef-65e1ddb15ad2</DivisionId> <GetDepartmentAssign>true</GetDepartmentAssign> <SubBuildingId>bbd69446-c7ff-4067-b725-9895d0720e7a</SubBuildingId> </DAdminFilters>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
GlobalResponseOfListOfDadminsDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| ResultCode | ReturnResultCode |
None. |
|
| Data | Collection of DadminsDTO |
None. |
|
| ResultMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"ResultCode": 1,
"Data": [
{
"Name": "sample string 1",
"NameAr": "sample string 2",
"UserId": 3,
"Selected": 4,
"MasterId": "8dac3d4d-96c1-464a-af03-ed0e0a2c1925",
"DetailId": "0b96277b-2836-4f7f-8a26-eb955142a728"
},
{
"Name": "sample string 1",
"NameAr": "sample string 2",
"UserId": 3,
"Selected": 4,
"MasterId": "8dac3d4d-96c1-464a-af03-ed0e0a2c1925",
"DetailId": "0b96277b-2836-4f7f-8a26-eb955142a728"
}
],
"ResultMessage": "sample string 1"
}
text/html, multipart/form-data
Sample:
{"ResultCode":1,"Data":[{"Name":"sample string 1","NameAr":"sample string 2","UserId":3,"Selected":4,"MasterId":"8dac3d4d-96c1-464a-af03-ed0e0a2c1925","DetailId":"0b96277b-2836-4f7f-8a26-eb955142a728"},{"Name":"sample string 1","NameAr":"sample string 2","UserId":3,"Selected":4,"MasterId":"8dac3d4d-96c1-464a-af03-ed0e0a2c1925","DetailId":"0b96277b-2836-4f7f-8a26-eb955142a728"}],"ResultMessage":"sample string 1"}
application/xml, text/xml
Sample:
<GlobalResponseOfArrayOfDadminsDTOWWZtRR1P xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Infrastructure.DTO">
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/MSMChecklistFlow.DTO.Models.Configuration">
<d2p1:DadminsDTO>
<d2p1:DetailId>0b96277b-2836-4f7f-8a26-eb955142a728</d2p1:DetailId>
<d2p1:MasterId>8dac3d4d-96c1-464a-af03-ed0e0a2c1925</d2p1:MasterId>
<d2p1:Name>sample string 1</d2p1:Name>
<d2p1:NameAr>sample string 2</d2p1:NameAr>
<d2p1:Selected>4</d2p1:Selected>
<d2p1:UserId>3</d2p1:UserId>
</d2p1:DadminsDTO>
<d2p1:DadminsDTO>
<d2p1:DetailId>0b96277b-2836-4f7f-8a26-eb955142a728</d2p1:DetailId>
<d2p1:MasterId>8dac3d4d-96c1-464a-af03-ed0e0a2c1925</d2p1:MasterId>
<d2p1:Name>sample string 1</d2p1:Name>
<d2p1:NameAr>sample string 2</d2p1:NameAr>
<d2p1:Selected>4</d2p1:Selected>
<d2p1:UserId>3</d2p1:UserId>
</d2p1:DadminsDTO>
</Data>
<ResultCode>NullOrEmptyUserId</ResultCode>
<ResultMessage>sample string 1</ResultMessage>
</GlobalResponseOfArrayOfDadminsDTOWWZtRR1P>