POST api/v1/Customer_Voucher_By_Point/Update
Request Information
URI Parameters
None.
Body Parameters
Customer_Voucher_By_PointModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | string |
None. |
|
| Code | string |
None. |
|
| CustomerId | string |
None. |
|
| CustomerInfo | string |
None. |
|
| ConfigVoucherByPointId | string |
None. |
|
| GetMoney | decimal number |
None. |
|
| ReachPoint | decimal number |
None. |
|
| VoucherByPointInfo | string |
None. |
|
| IsPrinted | boolean |
None. |
|
| PrintedAt | decimal number |
None. |
|
| PrintedById | string |
None. |
|
| PrintedById_Name | string |
None. |
|
| IsUsed | boolean |
None. |
|
| UsedAt | decimal number |
None. |
|
| UsedById | string |
None. |
|
| IsDisable | boolean |
None. |
|
| OrderNo | integer |
None. |
|
| Note | string |
None. |
|
| btn_ConfirmUseVoucher | string |
None. |
|
| IsUsedAtHigherLevel | boolean |
None. |
|
| CusVoucherGuid | string |
None. |
|
| CounterId | string |
None. |
|
| CreatedAtCounter | string |
None. |
|
| UserId | string |
None. |
|
| EmployeeName | string |
None. |
|
| ConfirmUsedById | string |
None. |
|
| ConfirmUsedById_Name | string |
None. |
|
| IsConfirmUsed | boolean |
None. |
|
| ConfirmUsedAt | decimal number |
None. |
|
| IsDisableById | string |
None. |
|
| IsDisableById_Name | string |
None. |
|
| ReasonDisable | string |
None. |
|
| IM_ReasonDisable | string |
None. |
|
| IsDisableAt | decimal number |
None. |
|
| btn_DisableCustomerVoucher | string |
None. |
|
| BuildGuid | string |
None. |
|
| IsLocked | boolean |
None. |
|
| TotalPointAtMoment | decimal number |
None. |
|
| ResetDate | decimal number |
None. |
|
| VoucherNo | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "sample string 1",
"Code": "sample string 2",
"CustomerId": "sample string 3",
"CustomerInfo": "sample string 4",
"ConfigVoucherByPointId": "sample string 5",
"GetMoney": 6.0,
"ReachPoint": 7.0,
"VoucherByPointInfo": "sample string 8",
"IsPrinted": true,
"PrintedAt": 1.1,
"PrintedById": "sample string 10",
"PrintedById_Name": "sample string 11",
"IsUsed": true,
"UsedAt": 1.1,
"UsedById": "sample string 13",
"IsDisable": true,
"OrderNo": 15,
"Note": "sample string 16",
"btn_ConfirmUseVoucher": "sample string 17",
"IsUsedAtHigherLevel": true,
"CusVoucherGuid": "sample string 19",
"CounterId": "sample string 20",
"CreatedAtCounter": "sample string 21",
"UserId": "sample string 22",
"EmployeeName": "sample string 23",
"ConfirmUsedById": "sample string 24",
"ConfirmUsedById_Name": "sample string 25",
"IsConfirmUsed": true,
"ConfirmUsedAt": 1.1,
"IsDisableById": "sample string 27",
"IsDisableById_Name": "sample string 28",
"ReasonDisable": "sample string 29",
"IM_ReasonDisable": "sample string 30",
"IsDisableAt": 1.1,
"btn_DisableCustomerVoucher": "sample string 31",
"BuildGuid": "sample string 32",
"IsLocked": true,
"TotalPointAtMoment": 34.0,
"ResetDate": 1.1,
"VoucherNo": 35
}
application/xml, text/xml
Sample:
<Customer_Voucher_By_PointModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AllianceSolidAPI.Shared.Models"> <BuildGuid>sample string 32</BuildGuid> <Code>sample string 2</Code> <ConfigVoucherByPointId>sample string 5</ConfigVoucherByPointId> <ConfirmUsedAt>1.1</ConfirmUsedAt> <ConfirmUsedById>sample string 24</ConfirmUsedById> <ConfirmUsedById_Name>sample string 25</ConfirmUsedById_Name> <CounterId>sample string 20</CounterId> <CreatedAtCounter>sample string 21</CreatedAtCounter> <CusVoucherGuid>sample string 19</CusVoucherGuid> <CustomerId>sample string 3</CustomerId> <CustomerInfo>sample string 4</CustomerInfo> <EmployeeName>sample string 23</EmployeeName> <GetMoney>6</GetMoney> <IM_ReasonDisable>sample string 30</IM_ReasonDisable> <Id>sample string 1</Id> <IsConfirmUsed>true</IsConfirmUsed> <IsDisable>true</IsDisable> <IsDisableAt>1.1</IsDisableAt> <IsDisableById>sample string 27</IsDisableById> <IsDisableById_Name>sample string 28</IsDisableById_Name> <IsLocked>true</IsLocked> <IsPrinted>true</IsPrinted> <IsUsed>true</IsUsed> <IsUsedAtHigherLevel>true</IsUsedAtHigherLevel> <Note>sample string 16</Note> <OrderNo>15</OrderNo> <PrintedAt>1.1</PrintedAt> <PrintedById>sample string 10</PrintedById> <PrintedById_Name>sample string 11</PrintedById_Name> <ReachPoint>7</ReachPoint> <ReasonDisable>sample string 29</ReasonDisable> <ResetDate>1.1</ResetDate> <TotalPointAtMoment>34</TotalPointAtMoment> <UsedAt>1.1</UsedAt> <UsedById>sample string 13</UsedById> <UserId>sample string 22</UserId> <VoucherByPointInfo>sample string 8</VoucherByPointInfo> <VoucherNo>35</VoucherNo> <btn_ConfirmUseVoucher>sample string 17</btn_ConfirmUseVoucher> <btn_DisableCustomerVoucher>sample string 31</btn_DisableCustomerVoucher> </Customer_Voucher_By_PointModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
EzyResultObjectOfCustomer_Voucher_By_PointModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Customer_Voucher_By_PointModel |
None. |
|
| ExtraData | Dictionary of string [key] and Object [value] |
None. |
|
| StartTime | decimal number |
None. |
|
| EndTime | decimal number |
None. |
|
| TotalMili | decimal number |
None. |
|
| StatusCode | integer |
None. |
|
| Msg | string |
None. |
|
| MsgShowInUI | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {
"Id": "sample string 1",
"Code": "sample string 2",
"CustomerId": "sample string 3",
"CustomerInfo": "sample string 4",
"ConfigVoucherByPointId": "sample string 5",
"GetMoney": 6.0,
"ReachPoint": 7.0,
"VoucherByPointInfo": "sample string 8",
"IsPrinted": true,
"PrintedAt": 1.1,
"PrintedById": "sample string 10",
"PrintedById_Name": "sample string 11",
"IsUsed": true,
"UsedAt": 1.1,
"UsedById": "sample string 13",
"IsDisable": true,
"OrderNo": 15,
"Note": "sample string 16",
"btn_ConfirmUseVoucher": "sample string 17",
"IsUsedAtHigherLevel": true,
"CusVoucherGuid": "sample string 19",
"CounterId": "sample string 20",
"CreatedAtCounter": "sample string 21",
"UserId": "sample string 22",
"EmployeeName": "sample string 23",
"ConfirmUsedById": "sample string 24",
"ConfirmUsedById_Name": "sample string 25",
"IsConfirmUsed": true,
"ConfirmUsedAt": 1.1,
"IsDisableById": "sample string 27",
"IsDisableById_Name": "sample string 28",
"ReasonDisable": "sample string 29",
"IM_ReasonDisable": "sample string 30",
"IsDisableAt": 1.1,
"btn_DisableCustomerVoucher": "sample string 31",
"BuildGuid": "sample string 32",
"IsLocked": true,
"TotalPointAtMoment": 34.0,
"ResetDate": 1.1,
"VoucherNo": 35
},
"ExtraData": null,
"StartTime": 1.1,
"EndTime": 2.1,
"TotalMili": 3.1,
"StatusCode": 4,
"Msg": "sample string 5",
"MsgShowInUI": "sample string 6"
}
application/xml, text/xml
Sample:
<EzyResultObjectOfCustomer_Voucher_By_PointModel3BwjWE5f xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.Library.Message">
<Msg>sample string 5</Msg>
<MsgShowInUI>sample string 6</MsgShowInUI>
<StatusCode>4</StatusCode>
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/AllianceSolidAPI.Shared.Models">
<d2p1:BuildGuid>sample string 32</d2p1:BuildGuid>
<d2p1:Code>sample string 2</d2p1:Code>
<d2p1:ConfigVoucherByPointId>sample string 5</d2p1:ConfigVoucherByPointId>
<d2p1:ConfirmUsedAt>1.1</d2p1:ConfirmUsedAt>
<d2p1:ConfirmUsedById>sample string 24</d2p1:ConfirmUsedById>
<d2p1:ConfirmUsedById_Name>sample string 25</d2p1:ConfirmUsedById_Name>
<d2p1:CounterId>sample string 20</d2p1:CounterId>
<d2p1:CreatedAtCounter>sample string 21</d2p1:CreatedAtCounter>
<d2p1:CusVoucherGuid>sample string 19</d2p1:CusVoucherGuid>
<d2p1:CustomerId>sample string 3</d2p1:CustomerId>
<d2p1:CustomerInfo>sample string 4</d2p1:CustomerInfo>
<d2p1:EmployeeName>sample string 23</d2p1:EmployeeName>
<d2p1:GetMoney>6</d2p1:GetMoney>
<d2p1:IM_ReasonDisable>sample string 30</d2p1:IM_ReasonDisable>
<d2p1:Id>sample string 1</d2p1:Id>
<d2p1:IsConfirmUsed>true</d2p1:IsConfirmUsed>
<d2p1:IsDisable>true</d2p1:IsDisable>
<d2p1:IsDisableAt>1.1</d2p1:IsDisableAt>
<d2p1:IsDisableById>sample string 27</d2p1:IsDisableById>
<d2p1:IsDisableById_Name>sample string 28</d2p1:IsDisableById_Name>
<d2p1:IsLocked>true</d2p1:IsLocked>
<d2p1:IsPrinted>true</d2p1:IsPrinted>
<d2p1:IsUsed>true</d2p1:IsUsed>
<d2p1:IsUsedAtHigherLevel>true</d2p1:IsUsedAtHigherLevel>
<d2p1:Note>sample string 16</d2p1:Note>
<d2p1:OrderNo>15</d2p1:OrderNo>
<d2p1:PrintedAt>1.1</d2p1:PrintedAt>
<d2p1:PrintedById>sample string 10</d2p1:PrintedById>
<d2p1:PrintedById_Name>sample string 11</d2p1:PrintedById_Name>
<d2p1:ReachPoint>7</d2p1:ReachPoint>
<d2p1:ReasonDisable>sample string 29</d2p1:ReasonDisable>
<d2p1:ResetDate>1.1</d2p1:ResetDate>
<d2p1:TotalPointAtMoment>34</d2p1:TotalPointAtMoment>
<d2p1:UsedAt>1.1</d2p1:UsedAt>
<d2p1:UsedById>sample string 13</d2p1:UsedById>
<d2p1:UserId>sample string 22</d2p1:UserId>
<d2p1:VoucherByPointInfo>sample string 8</d2p1:VoucherByPointInfo>
<d2p1:VoucherNo>35</d2p1:VoucherNo>
<d2p1:btn_ConfirmUseVoucher>sample string 17</d2p1:btn_ConfirmUseVoucher>
<d2p1:btn_DisableCustomerVoucher>sample string 31</d2p1:btn_DisableCustomerVoucher>
</Data>
<EndTime>2.1</EndTime>
<ExtraData xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
<StartTime>1.1</StartTime>
<TotalMili>3.1</TotalMili>
</EzyResultObjectOfCustomer_Voucher_By_PointModel3BwjWE5f>