POST api/Retail/ModifyGiftVoucher
Request Information
URI Parameters
None.
Body Parameters
GiftVoucherName | Description | Type | Additional information |
---|---|---|---|
GiftVoucherId | string |
None. |
|
EANCode | string |
None. |
|
Value | decimal number |
None. |
|
Name | string |
None. |
|
ReceiptDate | date |
None. |
|
IssuerDate | date |
None. |
|
SellingDate | date |
None. |
|
EncashmentDate | date |
None. |
|
InvoicingDate | date |
None. |
|
ExpirationDate | date |
None. |
|
ClosingDate | date |
None. |
|
Type | string |
None. |
|
IssuerCode | string |
None. |
|
IssuingOffice | string |
None. |
|
RedemptionOffice | string |
None. |
|
Status | string |
None. |
|
Footnote | string |
None. |
|
Document | string |
None. |
|
ItemId | string |
None. |
Request Formats
application/xml, text/xml
Sample:
<GiftVoucher xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <GiftVoucherId>sample string 1</GiftVoucherId> <EANCode>sample string 2</EANCode> <Value>1</Value> <Name>sample string 3</Name> <ReceiptDate>2024-11-21T15:18:11.2750321+01:00</ReceiptDate> <IssuerDate>2024-11-21T15:18:11.2750321+01:00</IssuerDate> <SellingDate>2024-11-21T15:18:11.2750321+01:00</SellingDate> <EncashmentDate>2024-11-21T15:18:11.2750321+01:00</EncashmentDate> <InvoicingDate>2024-11-21T15:18:11.2750321+01:00</InvoicingDate> <ExpirationDate>2024-11-21T15:18:11.2750321+01:00</ExpirationDate> <ClosingDate>2024-11-21T15:18:11.2750321+01:00</ClosingDate> <Type>sample string 4</Type> <IssuerCode>sample string 5</IssuerCode> <IssuingOffice>sample string 6</IssuingOffice> <RedemptionOffice>sample string 7</RedemptionOffice> <Status>sample string 8</Status> <Footnote>sample string 9</Footnote> <Document>sample string 10</Document> <ItemId>sample string 11</ItemId> </GiftVoucher>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
UpdateResultName | Description | Type | Additional information |
---|---|---|---|
ResultCode | ExternalResultCode |
None. |
|
Errors | Collection of Error |
None. |
Response Formats
application/xml, text/xml
Sample:
<UpdateResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ResultCode>None</ResultCode> <Errors> <Error> <Level>Warning</Level> <Message>sample string 1</Message> </Error> <Error> <Level>Warning</Level> <Message>sample string 1</Message> </Error> </Errors> </UpdateResult>