POST api/purchase/save
Request Information
URI Parameters
None.
Body Parameters
Collection of PurchaseJsonName | Description | Type | Additional information |
---|---|---|---|
userId | integer |
None. |
|
user | string |
None. |
|
string |
None. |
||
productId | integer |
None. |
|
product | string |
None. |
|
points | integer |
None. |
|
dtPurchase | date |
None. |
|
dtStartPeriod | date |
None. |
|
dtEndPeriod | date |
None. |
|
isLifetime | boolean |
None. |
|
isCourtesy | boolean |
None. |
|
isManualEntry | boolean |
None. |
|
index | integer |
None. |
|
strDatePurchase | string |
None. |
|
strDateStartPeriod | string |
None. |
|
strDateEndPeriod | string |
None. |
|
id | integer |
None. |
|
active | boolean |
None. |
|
userIns | string |
None. |
|
dateUtcIns | date |
None. |
|
userUpd | string |
None. |
|
dateUtcUpd | date |
None. |
|
dateUtcUpdIso8601 | string |
None. |
|
dateUtcInsIso8601 | string |
None. |
Request Formats
application/json, text/json
Sample:
[ { "userId": 1, "user": "sample string 2", "email": "sample string 3", "productId": 4, "product": "sample string 5", "points": 1, "dtPurchase": "2024-11-14T16:16:09.9207873+00:00", "dtStartPeriod": "2024-11-14T16:16:09.9207873+00:00", "dtEndPeriod": "2024-11-14T16:16:09.9207873+00:00", "isLifetime": true, "isCourtesy": true, "isManualEntry": true, "index": 11, "strDatePurchase": "sample string 12", "strDateStartPeriod": "sample string 13", "strDateEndPeriod": "sample string 14", "id": 15, "active": true, "userIns": "sample string 17", "dateUtcIns": "2024-11-14T16:16:09.9207873+00:00", "userUpd": "sample string 18", "dateUtcUpd": "2024-11-14T16:16:09.9207873+00:00", "dateUtcUpdIso8601": "2024-11-14T16:16:09Z", "dateUtcInsIso8601": "2024-11-14T16:16:09Z" }, { "userId": 1, "user": "sample string 2", "email": "sample string 3", "productId": 4, "product": "sample string 5", "points": 1, "dtPurchase": "2024-11-14T16:16:09.9207873+00:00", "dtStartPeriod": "2024-11-14T16:16:09.9207873+00:00", "dtEndPeriod": "2024-11-14T16:16:09.9207873+00:00", "isLifetime": true, "isCourtesy": true, "isManualEntry": true, "index": 11, "strDatePurchase": "sample string 12", "strDateStartPeriod": "sample string 13", "strDateEndPeriod": "sample string 14", "id": 15, "active": true, "userIns": "sample string 17", "dateUtcIns": "2024-11-14T16:16:09.9207873+00:00", "userUpd": "sample string 18", "dateUtcUpd": "2024-11-14T16:16:09.9207873+00:00", "dateUtcUpdIso8601": "2024-11-14T16:16:09Z", "dateUtcInsIso8601": "2024-11-14T16:16:09Z" } ]
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.