POST api/Security/GetPartnerSubMenu
Request Information
URI Parameters
None.
Body Parameters
PartnerSubMenuRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| ParentCode | integer |
None. |
|
| PartnerID | globally unique identifier |
None. |
|
| PatientID | globally unique identifier |
None. |
|
| WebApiVersion | integer |
None. |
|
| Language | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ParentCode": 1,
"PartnerID": "1bd6d021-a597-4591-9953-f652f67bde57",
"PatientID": "992eda61-4b2c-4cb8-8ce6-986816d2819c",
"WebApiVersion": 4,
"Language": "sample string 5"
}
application/xml, text/xml
Sample:
<PartnerSubMenuRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SehatukaAPI.DTO"> <Language>sample string 5</Language> <PatientID>992eda61-4b2c-4cb8-8ce6-986816d2819c</PatientID> <WebApiVersion>4</WebApiVersion> <PartnerID>1bd6d021-a597-4591-9953-f652f67bde57</PartnerID> <ParentCode>1</ParentCode> </PartnerSubMenuRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PartnerMenuResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| MenuList | Collection of Menu |
None. |
|
| WebApiVersion | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"MenuList": [
{
"Code": 1,
"Name": "sample string 2",
"ResourceKey": "sample string 3"
},
{
"Code": 1,
"Name": "sample string 2",
"ResourceKey": "sample string 3"
}
],
"WebApiVersion": 1
}
application/xml, text/xml
Sample:
<PartnerMenuResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SehatukaAPI.DTO">
<WebApiVersion>1</WebApiVersion>
<MenuList>
<Menu>
<Code>1</Code>
<Name>sample string 2</Name>
<ResourceKey>sample string 3</ResourceKey>
</Menu>
<Menu>
<Code>1</Code>
<Name>sample string 2</Name>
<ResourceKey>sample string 3</ResourceKey>
</Menu>
</MenuList>
</PartnerMenuResponse>