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. |
|
Synced | boolean |
None. |
|
Status | string |
None. |
|
UsedAmount | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{ "CardId": "17302f13-9d95-42cc-bf12-b017f56bcbf0", "CardNumber": "sample string 2", "AddedAmount": 3.0, "Balance": 4.0, "CustomerId": "1a9bb640-b969-4cda-9c67-758b4837a4e2", "Title": "sample string 6", "ValidFrom": "2024-05-17T16:02:28.5835973+02:00", "ValidTo": "2024-05-17T16:02:28.5835973+02:00", "Active": true, "Updated": "2024-05-17T16:02:28.5835973+02:00", "Synced": true, "Status": "Aktiva", "UsedAmount": -1.0 }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.