CreateApplicationProperties

 

ApplicationService / CreateApplicationProperties

 

Description: Create application properties

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

Method: POST

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

Request:

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

Parameter Type Nullable
Request.ApplicationProperties Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Applications.ApplicationProperty[] False

Response:

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

Parameter Type
Response.ApplicationProperties Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Applications.ApplicationProperty[]

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 request Xml body:
<ApplicationRequest xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Messages.AppSpaceIntegration.v1.Application" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <ApplicationProperties xmlns:a="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Applications">
    <a:ApplicationProperty>
      <a:ApplicationId>123</a:ApplicationId>
      <a:Disable>true</a:Disable>
      <a:Name>String</a:Name>
      <a:Value>String</a:Value>
    </a:ApplicationProperty>
  </ApplicationProperties>
</ApplicationRequest>

The following is an example request Json body:
{
	"ApplicationProperties":[
		{
			"ApplicationId":123,
			"Disable":true,
			"Name":"String",
			"Value":"String"
		}
	]
}

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>
  <ApplicationProperties xmlns:a="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Applications">
    <a:ApplicationProperty>
      <a:ApplicationId>123</a:ApplicationId>
      <a:Disable>true</a:Disable>
      <a:Id>123</a:Id>
      <a:Name>String</a:Name>
      <a:Value>String</a:Value>
    </a:ApplicationProperty>
  </ApplicationProperties>
</ApplicationResponse>

The following is an example response Json body:
{
	"DebugMessage":"String",
	"Errors":[
		{
			"Code":"String",
			"Message":"String",
			"StackTrace":"String"
		}
	],
	"Status":1,
	"ApplicationProperties":[
		{
			"ApplicationId":123,
			"Disable":true,
			"Id":123,
			"Name":"String",
			"Value":"String"
		}
	]
}