Requires any of the roles: | admin, oauthadmin, admin, oauthadmin, admin, oauthadmin |
GET | /Ams/{ClientID}/CustomPageVersions | Return custom page versions. | |
---|---|---|---|
POST | /Ams/{ClientID}/CustomPageVersions | Publish or Unpublish a custom page versions. | |
DELETE | /Ams/{ClientID}/CustomPageVersions | Delete a custom page versions. |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
PageID | body | int | No | |
VersionID | body | int | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
MemberID | form | int | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ClientID | form | int | No | |
ResponseStatus | form | ResponseStatus | No | |
BypassCache | form | bool | No | |
DateCached | form | DateTime | No | |
Device | form | Device | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
CustomPageVersions | form | List<CustomPageVersion> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
VersionID | form | int | No | |
PageID | form | int | No | |
Status | form | int | No | |
Title | form | string | No | |
Body | form | string | No | |
Label | form | string | No | |
Notes | form | string | No | |
DateModified | form | DateTime | No | |
EditorName | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /Ams/{ClientID}/CustomPageVersions HTTP/1.1
Host: ws.yourmembership.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
PageID: 0,
VersionID: 0,
MemberID: 0,
ClientID: 0,
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
},
BypassCache: False,
DateCached: 2025-01-15T09:11:10.4971763-05:00,
Device: Desktop
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { CustomPageVersions: [ { VersionID: 0, PageID: 0, Status: 0, Title: String, Body: String, Label: String, Notes: String, DateModified: 0001-01-01, EditorName: String } ], PageID: 0, VersionID: 0, MemberID: 0, ClientID: 0, ResponseStatus: { ErrorCode: String, Message: String, StackTrace: String, Errors: [ { ErrorCode: String, FieldName: String, Message: String, Meta: { String: String } } ], Meta: { String: String } }, BypassCache: False, DateCached: 2025-01-15T09:11:10.5128692-05:00, Device: Desktop }