POST api/Counpon?branchID={branchID}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
branchID | globally unique identifier |
Required |
Body Parameters
ListDBOptionKeyName | 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
APIOrderOnlineResultOfListOfDBOptionName | 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": "392f9862-c502-495d-b8f6-fc2abccb505d", "OptionID": "sample string 2", "UserID": "d5d313b8-e611-4a2d-9371-bb02c5ae0380", "BranchID": "fc2e1994-4125-4d14-adf7-496a7ebb6c5f", "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>fc2e1994-4125-4d14-adf7-496a7ebb6c5f</d2p1:_BranchID> <d2p1:_BranchName i:nil="true" /> <d2p1:_DBOptionID>392f9862-c502-495d-b8f6-fc2abccb505d</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>d5d313b8-e611-4a2d-9371-bb02c5ae0380</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>