PATCH api/giftcards/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | string |
Required |
Body Parameters
PatchGiftCardModel| Name | Description | Type | Additional information |
|---|---|---|---|
| PinCode | integer |
None. |
|
| InfoText | string |
None. |
|
| InvokedDate | date |
None. |
|
| IsTestCard | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"PinCode": 1,
"InfoText": "sample string 1",
"InvokedDate": "2025-12-31T01:59:40.628248+01:00",
"IsTestCard": true
}
application/xml, text/xml
Sample:
<PatchGiftCardModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SnsGiftcardShop.API.Models.Giftcards"> <InfoText>sample string 1</InfoText> <InvokedDate>2025-12-31T01:59:40.628248+01:00</InvokedDate> <IsTestCard>true</IsTestCard> <PinCode>1</PinCode> </PatchGiftCardModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.