POST api/Security/GetPartnerMenu
Request Information
URI Parameters
None.
Body Parameters
PartnerMenuRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| PartnerID | globally unique identifier |
None. |
|
| PatientID | globally unique identifier |
None. |
|
| WebApiVersion | integer |
None. |
|
| Language | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PartnerID": "0c544208-0e39-43db-8e83-91185111bcbc",
"PatientID": "b8725959-41cf-47d1-9887-aab7029416b5",
"WebApiVersion": 3,
"Language": "sample string 4"
}
application/xml, text/xml
Sample:
<PartnerMenuRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SehatukaAPI.DTO"> <Language>sample string 4</Language> <PatientID>b8725959-41cf-47d1-9887-aab7029416b5</PatientID> <WebApiVersion>3</WebApiVersion> <PartnerID>0c544208-0e39-43db-8e83-91185111bcbc</PartnerID> </PartnerMenuRequest>
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>