POST api/apxapi/PostRedeemableVoucher
Request Information
URI Parameters
None.
Body Parameters
RedeemableVoucher| Name | Description | Type | Additional information |
|---|---|---|---|
| CompanyCode | string |
None. |
|
| PartnerName | string |
None. |
|
| VoucherCode | string |
None. |
|
| VoucherValue | decimal number |
None. |
|
| ValidStartDate | integer |
None. |
|
| ValidEndDate | integer |
None. |
|
| SystemInvoiceNo | string |
None. |
|
| SystemInvoiceDate | integer |
None. |
|
| CustomerId | string |
None. |
|
| CustomerName | string |
None. |
|
| CustomerContactNo | string |
None. |
|
| ApplicableType | string |
None. |
|
| ApplicableTypeValue | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CompanyCode": "sample string 1",
"PartnerName": "sample string 2",
"VoucherCode": "sample string 3",
"VoucherValue": 4.1,
"ValidStartDate": 5,
"ValidEndDate": 6,
"SystemInvoiceNo": "sample string 7",
"SystemInvoiceDate": 8,
"CustomerId": "sample string 9",
"CustomerName": "sample string 10",
"CustomerContactNo": "sample string 11",
"ApplicableType": "sample string 12",
"ApplicableTypeValue": "sample string 13"
}
application/xml, text/xml
Sample:
<RedeemableVoucher xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APXWebAPI.Models"> <ApplicableType>sample string 12</ApplicableType> <ApplicableTypeValue>sample string 13</ApplicableTypeValue> <CompanyCode>sample string 1</CompanyCode> <CustomerContactNo>sample string 11</CustomerContactNo> <CustomerId>sample string 9</CustomerId> <CustomerName>sample string 10</CustomerName> <PartnerName>sample string 2</PartnerName> <SystemInvoiceDate>8</SystemInvoiceDate> <SystemInvoiceNo>sample string 7</SystemInvoiceNo> <ValidEndDate>6</ValidEndDate> <ValidStartDate>5</ValidStartDate> <VoucherCode>sample string 3</VoucherCode> <VoucherValue>4.1</VoucherValue> </RedeemableVoucher>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |