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": "760304b2-f223-4c69-a6de-aad5022b1f91",
"CardNumber": "sample string 2",
"AddedAmount": 3.0,
"Balance": 4.0,
"CustomerId": "711fbd63-3535-4f0f-b133-4fd224fb7470",
"Title": "sample string 6",
"ValidFrom": "2026-05-06T16:19:09.2824195+02:00",
"ValidTo": "2026-05-06T16:19:09.2824195+02:00",
"Active": true,
"Updated": "2026-05-06T16:19:09.2824195+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": "222812f3-d749-4b3d-a9c9-e980c05d85ef",
"CustomerId": "0b9cc9c9-7e2a-49eb-85e1-5cbeea3a4dbd",
"ExpiryDate": "2026-05-06T16:19:09.2824195+02:00",
"Active": true,
"Synced": true,
"CustomerName": "sample string 6"
},
"OrderId": "ed7ef8d7-9713-4d37-a0ea-9ee3605c3bf6",
"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.