文章 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