POST api/lomas/GetRestaurantInfo
Request Information
URI Parameters
None.
Body Parameters
LomasDBOptionParamName | Description | Type | Additional information |
---|---|---|---|
UserID | globally unique identifier |
None. |
|
BranchID | globally unique identifier |
None. |
|
DBOptionKeys | Collection of string |
None. |
Request Formats
application/json, text/json, text/html
Sample:
{ "UserID": "83b30b2c-9235-4785-8dde-7cdb4dc50d18", "BranchID": "b56a918f-a7dc-4fbe-b44b-457ff8ac8e4f", "DBOptionKeys": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<LomasDBOptionParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MISA.QLNH.BE.BO"> <BranchID>b56a918f-a7dc-4fbe-b44b-457ff8ac8e4f</BranchID> <DBOptionKeys xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </DBOptionKeys> <UserID>83b30b2c-9235-4785-8dde-7cdb4dc50d18</UserID> </LomasDBOptionParam>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CukcukOpenApiResultName | Description | Type | Additional information |
---|---|---|---|
Code | HttpStatusCode |
None. |
|
ErrorType | GrapAPIServiceErrorType |
None. |
|
ErrorMessage | string |
None. |
|
Data | Object |
None. |
|
Total | integer |
None. |
|
Success | boolean |
None. |
Response Formats
application/json, text/json, text/html
Sample:
{ "Code": 100, "ErrorType": 0, "ErrorMessage": "sample string 1", "Data": {}, "Total": 3, "Success": true }
application/xml, text/xml
Sample:
<CukcukOpenApiResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MISA.QLNH.BE.BO"> <Code>Continue</Code> <Data /> <ErrorMessage>sample string 1</ErrorMessage> <ErrorType>None</ErrorType> <Success>true</Success> <Total>3</Total> </CukcukOpenApiResult>