Cdn API - CPG Source

<back to all web services

CdnUserApiUsageReportRequest

Cdn.Api

The following routes are available for this service:
GET/CdnUserApiUsageReportRequest
CdnUserApiUsageReportRequest Parameters:
NameParameterData TypeRequiredDescription
CdnUserIdquerystringNo
LoginNamequerystringNo
ApiCallquerystringNo
FromDatequerystringNo
ToDatequerystringNo
PagequeryintNo
SkipqueryintNo
TakequeryintNo
BaseRequest<T> Parameters:
NameParameterData TypeRequiredDescription
Idformlong?No
OrderByformstring[]No
OrderDirectionsformSortOrders[]No
CdnUserApiUsageReportResponse Parameters:
NameParameterData TypeRequiredDescription
DataformList<CdnUserApiAccessLogsDto>No
CdnUsersformList<CdnUserDto>No
PageformintNo
PagesformintNo
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
TotalformintNo
OpCodeformintNo
ErrorTextformstringNo
RequestTimeformstringNo
ResponseTimeformstringNo
TotalExecutionTimeformstringNo
CachedResponseformboolNo
CdnUserApiAccessLogsDto Parameters:
NameParameterData TypeRequiredDescription
CdnUserIdformlongNo
ApiCallformstringNo
HitsformintNo
CdnUserDto Parameters:
NameParameterData TypeRequiredDescription
FirstNameformstringNo
LastNameformstringNo
EmailAddressformstringNo
LoginNameformstringNo
PasswordformstringNo
AllowBettyAccessformboolNo
CatalogAccessformboolNo
CatalogReadOnlyformboolNo
DateCreatedformDateTimeNo
ApiKeyformstringNo
ApiTokenformstringNo
RolesformList<XBettyRoleDto>No
CatalogApiRolesformList<XCatalogApiRoleDto>No
DtoBase Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
ActiveformboolNo
LastModformDateTimeNo
LastModByformstringNo
XBettyRoleDto Parameters:
NameParameterData TypeRequiredDescription
RoleNameformstringNo
DescriptionformstringNo
XCdnUserRoleFeaturesformList<XCdnUserRoleFeatureDto>No
XCdnUserRoleFeatureDto Parameters:
NameParameterData TypeRequiredDescription
FeatureTitleformstringNo
SortOrderformintNo
XCatalogApiRoleDto Parameters:
NameParameterData TypeRequiredDescription
RoleNameformstringNo
DescriptionformstringNo
CallsAllowedformstringNo
CdnUserApiUsageReportResponse Parameters:
NameParameterData TypeRequiredDescription
DataformList<CdnUserApiAccessLogsDto>No
CdnUsersformList<CdnUserDto>No
PageformintNo
PagesformintNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /CdnUserApiUsageReportRequest HTTP/1.1 
Host: cdnapidev.greysheet.com 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Data: 
	[
		{
			CdnUserId: 0,
			ApiCall: String,
			Hits: 0
		}
	],
	CdnUsers: 
	[
		{
			FirstName: String,
			LastName: String,
			EmailAddress: String,
			LoginName: String,
			Password: String,
			AllowBettyAccess: False,
			CatalogAccess: False,
			CatalogReadOnly: False,
			DateCreated: 0001-01-01,
			ApiKey: String,
			ApiToken: String,
			Roles: 
			[
				{
					RoleName: String,
					Description: String,
					XCdnUserRoleFeatures: 
					[
						{
							
						}
					],
					Id: 0,
					Active: False,
					LastMod: 0001-01-01,
					LastModBy: String
				}
			],
			CatalogApiRoles: 
			[
				{
					RoleName: String,
					Description: String,
					CallsAllowed: String,
					Id: 0,
					Active: False,
					LastMod: 0001-01-01,
					LastModBy: String
				}
			],
			Id: 0,
			Active: False,
			LastMod: 0001-01-01,
			LastModBy: String
		}
	],
	Page: 0,
	Pages: 0,
	Total: 0,
	OpCode: 0,
	ErrorText: String,
	RequestTime: String,
	ResponseTime: String,
	TotalExecutionTime: String,
	CachedResponse: False
}