文章 Create Point Transaction REST 端点

URLs

POST api/v1/pointtransactions.xml (or .json)

请求参数

名称

类型

描述

必需

默认值

选项

Description

string

Short explanation of why points are being awarded

是

UserId

int

Which user points are being awarded to

是

Value

int

Amount of points being awarded (or removed if this number is negative)

是

ContentId

Guid

Identifier of content related to this point transaction

是

ContentTypeId

Guid

Content Type identifier of content related to this point transaction

是

CreatedDate

DateTime

Date and time the point transaction was created. The current time will be used if not specified.

否