GET api.ashx/v2/{application}/{applicationid}/{posttype}/{postid}/permissions/{permissionid}.{json|xml}
[OBSOLETE in 12.0: Use Permission endpoints instead] GET details for a specific permission for the calling user for a specific content item in an application.
Scopes
Security(Roles and Permissions) › Read Permissions security.permissions.readonly
Request Parameters
Name | Type | Location | Description | Required | Default | Options |
---|---|---|---|---|---|---|
Application | string | Application | Required | |||
ApplicationId | int? | Application Id | Required | |||
PermissionId | string | Permission Id | Required | |||
PostId | int? | Post Id | Optional | |||
PostType | string | Options: posts, threads, replies, pages | Optional |
Example Requests
Widget Javascript
jQuery.telligent.evolution.get({ url: jQuery.telligent.evolution.site.getBaseUrl() + 'api.ashx/v2/{application}/{applicationid}/{posttype}/{postid}/permissions/{permissionid}.json', data: { 'application': 'application', 'applicationid': '6', 'posttype': 'posttype', 'postid': '6', 'permissionid': 'permissionid' } }).then(function(response) { // use response });
Example Responses
JSON
{ "PermissionEntry": { "Id": "49fec544-6df7-4a82-872b-f8be586d5e9e", "PermissionId": "permissionid", "Name": "name", "IsAllowed": true, "IsImmediate": true }, "Info": [ "string", "string" ], "Warnings": [ "string", "string" ], "Errors": [ "string", "string" ] }
XML
<?xml version="1.0" encoding="utf-16"?> <Response> <Info> <Message>string</Message> <Message>string</Message> </Info> <Warnings> <Message>string</Message> <Message>string</Message> </Warnings> <Errors> <Message>string</Message> <Message>string</Message> </Errors> <PermissionEntry> <Id>49fec544-6df7-4a82-872b-f8be586d5e9e</Id> <PermissionId>permissionid</PermissionId> <Name>name</Name> <IsAllowed>true</IsAllowed> <IsImmediate>true</IsImmediate> </PermissionEntry> </Response>
GET api.ashx/v2/{application}/{applicationid}/permissions/{permissionid}.{json|xml}
[OBSOLETE in 12.0: Use Permission endpoints instead] GET details for a specific permission for the calling user for an application.
Scopes
Security(Roles and Permissions) › Read Permissions security.permissions.readonly
Request Parameters
Name | Type | Location | Description | Required | Default | Options |
---|---|---|---|---|---|---|
Application | string | Application | Required | |||
ApplicationId | int? | Application Id | Required | |||
PermissionId | string | Permission Id | Required | |||
PostId | int? | Post Id | Optional | |||
PostType | string | Options: posts, threads, replies, pages | Optional |
Example Requests
Widget Javascript
jQuery.telligent.evolution.get({ url: jQuery.telligent.evolution.site.getBaseUrl() + 'api.ashx/v2/{application}/{applicationid}/permissions/{permissionid}.json', data: { 'application': 'application', 'applicationid': '6', 'permissionid': 'permissionid' } }).then(function(response) { // use response });
Example Responses
JSON
{ "PermissionEntry": { "Id": "49fec544-6df7-4a82-872b-f8be586d5e9e", "PermissionId": "permissionid", "Name": "name", "IsAllowed": true, "IsImmediate": true }, "Info": [ "string", "string" ], "Warnings": [ "string", "string" ], "Errors": [ "string", "string" ] }
XML
<?xml version="1.0" encoding="utf-16"?> <Response> <Info> <Message>string</Message> <Message>string</Message> </Info> <Warnings> <Message>string</Message> <Message>string</Message> </Warnings> <Errors> <Message>string</Message> <Message>string</Message> </Errors> <PermissionEntry> <Id>49fec544-6df7-4a82-872b-f8be586d5e9e</Id> <PermissionId>permissionid</PermissionId> <Name>name</Name> <IsAllowed>true</IsAllowed> <IsImmediate>true</IsImmediate> </PermissionEntry> </Response>
GET api.ashx/v2/permissions/{permissionid}.{json|xml}
[OBSOLETE in 12.0: Use Permission endpoints instead] GET details for a specific permission for the calling user for the site.
Scopes
Security(Roles and Permissions) › Read Permissions security.permissions.readonly
Request Parameters
Name | Type | Location | Description | Required | Default | Options |
---|---|---|---|---|---|---|
Application | string | Application | Required | |||
ApplicationId | int? | Application Id | Required | |||
PermissionId | string | Permission Id | Required | |||
PostId | int? | Post Id | Optional | |||
PostType | string | Options: posts, threads, replies, pages | Optional |
Example Requests
Widget Javascript
jQuery.telligent.evolution.get({ url: jQuery.telligent.evolution.site.getBaseUrl() + 'api.ashx/v2/permissions/{permissionid}.json?Application=application&ApplicationId=6', data: { 'permissionid': 'permissionid', 'Application': 'application', 'ApplicationId': '6' } }).then(function(response) { // use response });
Example Responses
JSON
{ "PermissionEntry": { "Id": "49fec544-6df7-4a82-872b-f8be586d5e9e", "PermissionId": "permissionid", "Name": "name", "IsAllowed": true, "IsImmediate": true }, "Info": [ "string", "string" ], "Warnings": [ "string", "string" ], "Errors": [ "string", "string" ] }
XML
<?xml version="1.0" encoding="utf-16"?> <Response> <Info> <Message>string</Message> <Message>string</Message> </Info> <Warnings> <Message>string</Message> <Message>string</Message> </Warnings> <Errors> <Message>string</Message> <Message>string</Message> </Errors> <PermissionEntry> <Id>49fec544-6df7-4a82-872b-f8be586d5e9e</Id> <PermissionId>permissionid</PermissionId> <Name>name</Name> <IsAllowed>true</IsAllowed> <IsImmediate>true</IsImmediate> </PermissionEntry> </Response>