POST api/purchase/save

Request Information

URI Parameters

None.

Body Parameters

Collection of PurchaseJson
NameDescriptionTypeAdditional information
userId

integer

None.

user

string

None.

email

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": "2021-05-16T09:48:28.4066805+00:00",
    "dtStartPeriod": "2021-05-16T09:48:28.4066805+00:00",
    "dtEndPeriod": "2021-05-16T09:48:28.4066805+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": "2021-05-16T09:48:28.4066805+00:00",
    "userUpd": "sample string 18",
    "dateUtcUpd": "2021-05-16T09:48:28.4066805+00:00",
    "dateUtcUpdIso8601": "2021-05-16T09:48:28Z",
    "dateUtcInsIso8601": "2021-05-16T09:48:28Z"
  },
  {
    "userId": 1,
    "user": "sample string 2",
    "email": "sample string 3",
    "productId": 4,
    "product": "sample string 5",
    "points": 1,
    "dtPurchase": "2021-05-16T09:48:28.4066805+00:00",
    "dtStartPeriod": "2021-05-16T09:48:28.4066805+00:00",
    "dtEndPeriod": "2021-05-16T09:48:28.4066805+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": "2021-05-16T09:48:28.4066805+00:00",
    "userUpd": "sample string 18",
    "dateUtcUpd": "2021-05-16T09:48:28.4066805+00:00",
    "dateUtcUpdIso8601": "2021-05-16T09:48:28Z",
    "dateUtcInsIso8601": "2021-05-16T09:48:28Z"
  }
]

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.