RetrieveApplicationContentSet

 

ApplicationService / RetrieveApplicationContentSet

 

Description: Retrieve application

URL: http://{your-server-url}/api/v1/core/applications/{applicationId}/contentsets

Method: GET

Token Required: True


Request Headers:
currentaccountid: {accountid - optional and default value is user's own account}
content-type: application/json or content-type: application/xml
token: {token}
Required Roles:

Portal Administrator, Account Administrator, Account Owner, Content Administrator

Rights:

Type: Nexus.AppSpace.Service.Contract.Model.Enums.Rights.Rights

Right Require
Application_Management Yes

Response:

Type: Nexus.AppSpace.Service.Contract.Messages.AppSpaceIntegration.v1.Application.ApplicationResponse

Parameter Type
Response.ApplicationContentSet Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Applications.ApplicationContentSet

Enums:
Field Name Values
Type Nexus.AppSpace.Service.Contract.Model.Enums.Application.Type Custom = 0, Passive = 1, Interactive = 2, VideoWall = 3
TemplateType Nexus.AppSpace.Service.Contract.Model.Enums.Application.PassiveType Instance = 0, ApplicationTemplate = 1, LayoutTemplate = 2

The following is an example response Xml body:
<ApplicationResponse xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Messages.AppSpaceIntegration.v1.Application" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <DebugMessage xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Messages">String</DebugMessage>
  <Errors xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Messages">
    <Error>
      <Code>String</Code>
      <Message>String</Message>
      <StackTrace>String</StackTrace>
    </Error>
  </Errors>
  <Status xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Messages">Success</Status>
  <ApplicationContentSet xmlns:a="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.Application">
    <a:ApplicationId>123</a:ApplicationId>
    <a:CompressedSize>123</a:CompressedSize>
    <a:FileCount>123</a:FileCount>
    <a:FileSize>123</a:FileSize>
    <a:ScriptCount>123</a:ScriptCount>
    <a:TimeStamp>2014-11-20T17:57:37.2695699Z</a:TimeStamp>
    <a:UncompressedSize>123</a:UncompressedSize>
  </ApplicationContentSet>
</ApplicationResponse>

The following is an example response Json body:
{
	"DebugMessage":"String",
	"Errors":[
		{
			"Code":"String",
			"Message":"String",
			"StackTrace":"String"
		}
	],
	"Status":1,
	"ApplicationContentSet":{
		"ApplicationId":123,
		"CompressedSize":123,
		"FileCount":123,
		"FileSize":123,
		"ScriptCount":123,
		"TimeStamp":"\/Date(1416506257269)\/",
		"UncompressedSize":123
	}
}