POST api/Counpon?branchID={branchID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| branchID | globally unique identifier |
Required |
Body Parameters
ListDBOptionKey| Name | Description | Type | Additional information |
|---|---|---|---|
| OptionIDs | Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
{
"OptionIDs": [
"sample string 1",
"sample string 2"
]
}
application/xml, text/xml
Sample:
<ListDBOptionKey xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MISA.QLNH.BE.BO">
<OptionIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</OptionIDs>
</ListDBOptionKey>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
APIOrderOnlineResultOfListOfDBOption| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Collection of DBOption |
None. |
|
| Success | boolean |
None. |
|
| ErrorMessage | string |
None. |
|
| ErrorType | OrderOnlineAPIErrorType |
None. |
|
| Total | integer |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": [
null,
{
"DBOptionID": "efb64d6a-5d17-4a34-b732-aa4104d222dc",
"OptionID": "sample string 2",
"UserID": "82ad3ca6-270e-4b17-ba6b-95b6dbe32281",
"BranchID": "d6a4347c-0d76-4590-83d9-0846a65d0af2",
"OptionValue": "sample string 3",
"ValueType": 4,
"IsDefault": true,
"Description": "sample string 6",
"IsBranchOption": true,
"IsUserOption": true,
"IsSynchronizeOption": true,
"DeviceID": "sample string 10",
"EditMode": 0,
"IsGenerate": false,
"IsSetNullForBranchIdInDeleteObject": false
}
],
"Success": true,
"ErrorMessage": "sample string 2",
"ErrorType": 0,
"Total": 3,
"Message": "sample string 4"
}
application/xml, text/xml
Sample:
<APIOrderOnlineResultOfArrayOfDBOption34ouyJuR xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MISA.QLNH.BE.BO">
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/MISA.QLNH.BOBase">
<d2p1:DBOption i:nil="true" />
<d2p1:DBOption>
<d2p1:PropertyChangedEvent xmlns:d4p1="http://schemas.datacontract.org/2004/07/System.ComponentModel" i:nil="true" />
<d2p1:_CreatedBy i:nil="true" />
<d2p1:_CreatedDate i:nil="true" />
<d2p1:_EditMode>None</d2p1:_EditMode>
<d2p1:_ImportErrorDetail i:nil="true" />
<d2p1:_ImportRowIndex>0</d2p1:_ImportRowIndex>
<d2p1:_IsGenerate>false</d2p1:_IsGenerate>
<d2p1:_IsMasterRow>false</d2p1:_IsMasterRow>
<d2p1:_IsOverrideImport>false</d2p1:_IsOverrideImport>
<d2p1:_IsSetNullForBranchIdInDeleteObject>false</d2p1:_IsSetNullForBranchIdInDeleteObject>
<d2p1:_ListImportErrorDetail xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
<d2p1:_ModifiedBy i:nil="true" />
<d2p1:_ModifiedDate i:nil="true" />
<d2p1:_TableSchema>dbo</d2p1:_TableSchema>
<d2p1:_BranchID>d6a4347c-0d76-4590-83d9-0846a65d0af2</d2p1:_BranchID>
<d2p1:_BranchName i:nil="true" />
<d2p1:_DBOptionID>efb64d6a-5d17-4a34-b732-aa4104d222dc</d2p1:_DBOptionID>
<d2p1:_Description>sample string 6</d2p1:_Description>
<d2p1:_DeviceID>sample string 10</d2p1:_DeviceID>
<d2p1:_IsBranchOption>true</d2p1:_IsBranchOption>
<d2p1:_IsDefault>true</d2p1:_IsDefault>
<d2p1:_IsSynchronizeOption>true</d2p1:_IsSynchronizeOption>
<d2p1:_IsUserOption>true</d2p1:_IsUserOption>
<d2p1:_OptionID>sample string 2</d2p1:_OptionID>
<d2p1:_OptionValue>sample string 3</d2p1:_OptionValue>
<d2p1:_UserID>82ad3ca6-270e-4b17-ba6b-95b6dbe32281</d2p1:_UserID>
<d2p1:_ValueType>4</d2p1:_ValueType>
</d2p1:DBOption>
</Data>
<ErrorMessage>sample string 2</ErrorMessage>
<ErrorType>None</ErrorType>
<Message>sample string 4</Message>
<Success>true</Success>
<Total>3</Total>
</APIOrderOnlineResultOfArrayOfDBOption34ouyJuR>