GET Api/Configuration/GetDadminAssignedDetailCode?userId={userId}&masterCodeId={masterCodeId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| userId | integer |
Required |
|
| masterCodeId | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
GlobalResponseOfListOfDetailCode| Name | Description | Type | Additional information |
|---|---|---|---|
| ResultCode | ReturnResultCode |
None. |
|
| Data | Collection of DetailCode |
None. |
|
| ResultMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"ResultCode": 1,
"Data": [
{
"Id": "f65952e9-91e3-460a-959e-9c3f3c381066",
"Code": "sample string 1",
"NameEn": "sample string 2",
"NameAr": "sample string 3",
"MasterCodeId": "7299acfc-d06d-4ae5-a5a7-09d00283c664",
"ParentId": "140bcd82-4242-4e16-82dc-2b854068da02"
},
{
"Id": "f65952e9-91e3-460a-959e-9c3f3c381066",
"Code": "sample string 1",
"NameEn": "sample string 2",
"NameAr": "sample string 3",
"MasterCodeId": "7299acfc-d06d-4ae5-a5a7-09d00283c664",
"ParentId": "140bcd82-4242-4e16-82dc-2b854068da02"
}
],
"ResultMessage": "sample string 1"
}
text/html, multipart/form-data
Sample:
{"ResultCode":1,"Data":[{"Id":"f65952e9-91e3-460a-959e-9c3f3c381066","Code":"sample string 1","NameEn":"sample string 2","NameAr":"sample string 3","MasterCodeId":"7299acfc-d06d-4ae5-a5a7-09d00283c664","ParentId":"140bcd82-4242-4e16-82dc-2b854068da02"},{"Id":"f65952e9-91e3-460a-959e-9c3f3c381066","Code":"sample string 1","NameEn":"sample string 2","NameAr":"sample string 3","MasterCodeId":"7299acfc-d06d-4ae5-a5a7-09d00283c664","ParentId":"140bcd82-4242-4e16-82dc-2b854068da02"}],"ResultMessage":"sample string 1"}
application/xml, text/xml
Sample:
<GlobalResponseOfArrayOfDetailCode6xl6RqBz 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.Common">
<d2p1:DetailCode>
<d2p1:Code>sample string 1</d2p1:Code>
<d2p1:Id>f65952e9-91e3-460a-959e-9c3f3c381066</d2p1:Id>
<d2p1:MasterCodeId>7299acfc-d06d-4ae5-a5a7-09d00283c664</d2p1:MasterCodeId>
<d2p1:NameAr>sample string 3</d2p1:NameAr>
<d2p1:NameEn>sample string 2</d2p1:NameEn>
<d2p1:ParentId>140bcd82-4242-4e16-82dc-2b854068da02</d2p1:ParentId>
</d2p1:DetailCode>
<d2p1:DetailCode>
<d2p1:Code>sample string 1</d2p1:Code>
<d2p1:Id>f65952e9-91e3-460a-959e-9c3f3c381066</d2p1:Id>
<d2p1:MasterCodeId>7299acfc-d06d-4ae5-a5a7-09d00283c664</d2p1:MasterCodeId>
<d2p1:NameAr>sample string 3</d2p1:NameAr>
<d2p1:NameEn>sample string 2</d2p1:NameEn>
<d2p1:ParentId>140bcd82-4242-4e16-82dc-2b854068da02</d2p1:ParentId>
</d2p1:DetailCode>
</Data>
<ResultCode>NullOrEmptyUserId</ResultCode>
<ResultMessage>sample string 1</ResultMessage>
</GlobalResponseOfArrayOfDetailCode6xl6RqBz>