POST api/lomas/UpdateDBOption
Request Information
URI Parameters
None.
Body Parameters
DBOption5FoodParamName | Description | Type | Additional information |
---|---|---|---|
BranchID |
ID nhà hàng |
globally unique identifier |
None. |
OptionID |
Key |
string |
None. |
Value |
Giá trị |
string |
None. |
ValueType |
Loại |
string |
None. |
IsSynchronizeOption |
Có sinh đồng bộ không |
boolean |
None. |
Request Formats
application/json, text/json, text/html
Sample:
{ "BranchID": "7d2ad888-b95a-4e25-8932-26f373e43d34", "OptionID": "sample string 1", "Value": "sample string 2", "ValueType": "sample string 3", "IsSynchronizeOption": true }
application/xml, text/xml
Sample:
<DBOption5FoodParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MISA.QLNH.BOBase"> <BranchID>7d2ad888-b95a-4e25-8932-26f373e43d34</BranchID> <IsSynchronizeOption>true</IsSynchronizeOption> <OptionID>sample string 1</OptionID> <Value>sample string 2</Value> <ValueType>sample string 3</ValueType> </DBOption5FoodParam>
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>