api_auth

<back to all web services

SiteAuthorizationsRequest

SiteAuthorizationsRequest Parameters:
NameParameterData TypeRequiredDescription
PersonIDquerylong?No
SiteIDquerylong?No
StartIndexqueryintNo
PerPagequeryintNo
OrderByquerystringNo
IncludeCountqueryboolNo
IncludeDataqueryboolNo
PagedListResponse<T> Parameters:
NameParameterData TypeRequiredDescription
ItemsformT[]No
TotalCountformint?No
SiteAuthorization Parameters:
NameParameterData TypeRequiredDescription
AuthorizationIDformlongNo
SiteIDformlongNo
SiteNameformstringNo
PersonIDformlongNo
PersonNameformstringNo
CreationTimeformDateTimeNo
ExpirationTimeformDateTime?No
ScopeIDformbyteNo

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.

POST /jsv/reply/SiteAuthorizationsRequest HTTP/1.1 
Host: 1.hyper.id 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	personID: 0,
	siteID: 0,
	startIndex: 0,
	perPage: 0,
	orderBy: String,
	includeCount: False,
	includeData: False
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	items: 
	[
		{
			authorizationID: 0,
			siteID: 0,
			siteName: String,
			personID: 0,
			personName: String,
			expirationTime: "0001-01-01T00:00:00.000Z",
			scopeID: 0
		}
	],
	totalCount: 0
}