GET api/v{version}/laboratory/{laboratoryId}/menu
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
laboratoryId | integer |
Required |
|
version | string |
None. |
Body Parameters
None.
Response Information
Resource Description
ResponseOfIEnumerableOfMenuListItemName | Description | Type | Additional information |
---|---|---|---|
Data | Collection of MenuListItem |
None. |
|
StatusCode |
Gets or sets the status code. |
HttpStatusCode |
None. |
StatusDescription |
Gets or sets the status description. |
string |
None. |
Errors | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": [ { "menuID": 1, "name": "sample string 2", "laboratoryID": 3, "userProfileID": 4, "systemDefined": true, "applicationCount": 6, "privilege": 7.0, "privilegeString": "7" }, { "menuID": 1, "name": "sample string 2", "laboratoryID": 3, "userProfileID": 4, "systemDefined": true, "applicationCount": 6, "privilege": 7.0, "privilegeString": "7" } ], "statusCode": 100, "statusDescription": "sample string 1", "errors": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<ResponseOfArrayOfMenuListItemuFpbgzW1 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CancerBytesAPI.Response"> <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Errors> <StatusCode>Continue</StatusCode> <StatusDescription>sample string 1</StatusDescription> <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/DomainObjects"> <d2p1:MenuListItem> <d2p1:ApplicationCount>6</d2p1:ApplicationCount> <d2p1:LaboratoryID>3</d2p1:LaboratoryID> <d2p1:MenuID>1</d2p1:MenuID> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:Privilege>7</d2p1:Privilege> <d2p1:SystemDefined>true</d2p1:SystemDefined> <d2p1:UserProfileID>4</d2p1:UserProfileID> </d2p1:MenuListItem> <d2p1:MenuListItem> <d2p1:ApplicationCount>6</d2p1:ApplicationCount> <d2p1:LaboratoryID>3</d2p1:LaboratoryID> <d2p1:MenuID>1</d2p1:MenuID> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:Privilege>7</d2p1:Privilege> <d2p1:SystemDefined>true</d2p1:SystemDefined> <d2p1:UserProfileID>4</d2p1:UserProfileID> </d2p1:MenuListItem> </Data> </ResponseOfArrayOfMenuListItemuFpbgzW1>