文章 List Point Transaction REST 端点

URLs

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

请求参数

名称

类型

描述

必需

默认值

选项

UserId

int

Filter by user who earned points

ContainerId

Guid

Filter by Container to list points earned within a group

ApplicationId

Guid

Filter by Application to list points earned within an application

ContentId

Guid

Filter by Content to list points earned on specific content. If ContentId is specified, ContentTypeId is required.

ContentTypeId

Guid

Filter by Content type identifier of the ContentId specified

StartDate

DateTime

Filter point transactions by the date they occured. If StartDate is provided only point transactions that occured after the specified StartDate will be returned.

EndDate

DateTime

Filter point transactions by the date they occured. If EndDate is provided only point transactions that occured before the specified EndDate will be returned.

SortOrder

string

Accepted values are: Ascending, Descending

Descending

SortBy

string

Accepted values are: CreatedDate, Value

CreatedDate

PageSize

int

Number of results to return

10

PageIndex

int

Page of results to return

0