POST api/emissioneGiftCard
Request Information
URI Parameters
None.
Body Parameters
VoucherInput| Name | Description | Type | Additional information |
|---|---|---|---|
| voucher_No | string |
None. |
|
| store_No | string |
None. |
|
| pOS_Terminal_No | string |
None. |
|
| transaction_No | integer |
None. |
|
| line_No | integer |
None. |
|
| receipt_Number | string |
None. |
|
| entry_Type | integer |
None. |
|
| date | string |
None. |
|
| time | string |
None. |
|
| amount | decimal number |
None. |
|
| remaining_Amount_Now | decimal number |
None. |
|
| replication_Counter | integer |
None. |
|
| write_Off_Amount | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"voucher_No": "sample string 1",
"store_No": "sample string 2",
"pOS_Terminal_No": "sample string 3",
"transaction_No": 4,
"line_No": 5,
"receipt_Number": "sample string 6",
"entry_Type": 7,
"date": "sample string 8",
"time": "sample string 9",
"amount": 10.0,
"remaining_Amount_Now": 11.0,
"replication_Counter": 12,
"write_Off_Amount": 13.0
}
text/html
Sample:
{"voucher_No":"sample string 1","store_No":"sample string 2","pOS_Terminal_No":"sample string 3","transaction_No":4,"line_No":5,"receipt_Number":"sample string 6","entry_Type":7,"date":"sample string 8","time":"sample string 9","amount":10.0,"remaining_Amount_Now":11.0,"replication_Counter":12,"write_Off_Amount":13.0}
application/xml, text/xml
Sample:
<VoucherInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiFidelityNaima.Models"> <Amount>10</Amount> <Date>sample string 8</Date> <Entry_Type>7</Entry_Type> <Line_No>5</Line_No> <POS_Terminal_No>sample string 3</POS_Terminal_No> <Receipt_Number>sample string 6</Receipt_Number> <Remaining_Amount_Now>11</Remaining_Amount_Now> <Replication_Counter>12</Replication_Counter> <Store_No>sample string 2</Store_No> <Time>sample string 9</Time> <Transaction_No>4</Transaction_No> <Voucher_No>sample string 1</Voucher_No> <Write_Off_Amount>13</Write_Off_Amount> </VoucherInput>
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. |