POST api/Customer/PostGiftCard
Request Information
URI Parameters
None.
Body Parameters
GiftCardName | 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": "9fc4edcd-caa1-448e-865a-dd25d00c1b84", "CardNumber": "sample string 2", "AddedAmount": 3.0, "Balance": 4.0, "CustomerId": "f0193c8b-e312-4697-bfba-6f30a2c45b68", "Title": "sample string 6", "ValidFrom": "2025-04-04T05:21:22.5543394+02:00", "ValidTo": "2025-04-04T05:21:22.5543394+02:00", "Active": true, "Updated": "2025-04-04T05:21:22.5543394+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": "00eb076b-5ffe-4adb-90bc-82864a834291", "CustomerId": "835e5a59-7705-47ab-b018-c65ab780be10", "ExpiryDate": "2025-04-04T05:21:22.5543394+02:00", "Active": true, "Synced": true, "CustomerName": "sample string 6" }, "OrderId": "8d91b0aa-0148-41e4-b075-93d3472c4a91", "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.