POST api/Customer/PostGiftCard
Request Information
URI Parameters
None.
Body Parameters
GiftCard| Name | Description | Type | Additional information |
|---|---|---|---|
| CardId | globally unique identifier |
None. |
|
| CardNumber | string |
Required Max length: 100 |
|
| AddedAmount | decimal number |
None. |
|
| Balance | decimal number |
None. |
|
| CustomerId | globally unique identifier |
None. |
|
| Title | string |
None. |
|
| ValidFrom | date |
None. |
|
| ValidTo | date |
None. |
|
| Active | boolean |
None. |
|
| Updated | date |
None. |
|
| CardType | CardType |
None. |
|
| UniqueCode | string |
Max length: 100 |
|
| Synced | boolean |
None. |
|
| Status | string |
None. |
|
| UsedAmount | decimal number |
None. |
|
| CustomerDiscount | decimal number |
None. |
|
| CustomerName | string |
None. |
|
| SeasonTicket | SeasonTicket |
None. |
|
| OrderId | globally unique identifier |
None. |
|
| NewAmount | decimal number |
None. |
|
| VehicleId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"CardId": "b8fa8e6d-a97f-461c-9f37-2fa30838648b",
"CardNumber": "sample string 2",
"AddedAmount": 3.0,
"Balance": 4.0,
"CustomerId": "1b65bace-755e-45da-b60a-6969224a08d1",
"Title": "sample string 6",
"ValidFrom": "2026-06-21T22:50:14.1277981+02:00",
"ValidTo": "2026-06-21T22:50:14.1277981+02:00",
"Active": true,
"Updated": "2026-06-21T22:50:14.1277981+02:00",
"CardType": 0,
"UniqueCode": "sample string 11",
"Synced": true,
"Status": "Aktiva",
"UsedAmount": -1.0,
"CustomerDiscount": 13.0,
"CustomerName": "sample string 14",
"SeasonTicket": {
"$id": "2",
"Id": "b391ad4b-dca1-4dc1-802c-ddad71b2e0b9",
"CustomerId": "d3796c00-787d-4e56-85b7-565f2e975fad",
"ExpiryDate": "2026-06-21T22:50:14.1277981+02:00",
"Active": true,
"Synced": true,
"CustomerName": "sample string 6"
},
"OrderId": "da8e5224-1925-433d-8b53-990668fd55c3",
"NewAmount": 16.0,
"VehicleId": 17
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.