UpdateAppClass

 

ApplicationService / UpdateAppClass

 

Description: Update appclass

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

Method: PUT

Token Required: True


Request Headers:
content-type: application/json or content-type: application/xml
token: {token}
Request:

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

Parameter Type Nullable
Request.AppClass Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Applications.AppClass False

Response:

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

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

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">
  <AppClass xmlns:a="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Applications">
    <a:Active>true</a:Active>
    <a:ExtensionGuid>11111111-1111-1111-1111-111111111111</a:ExtensionGuid>
    <a:Name>String</a:Name>
    <a:Properties xmlns:b="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO">
      <b:KeyValuePair>
        <b:Key>String</b:Key>
        <b:Value>String</b:Value>
      </b:KeyValuePair>
    </a:Properties>
  </AppClass>
</ApplicationRequest>

The following is an example request Json body:
{
	"AppClass":{
		"Active":true,
		"ExtensionGuid":"11111111-1111-1111-1111-111111111111",
		"Name":"String",
		"Properties":[
			{
				"Key":"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>
  <AppClass xmlns:a="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Applications">
    <a:Active>true</a:Active>
    <a:CreatedDate>2014-11-20T17:57:37.1354919Z</a:CreatedDate>
    <a:ExtensionGuid>11111111-1111-1111-1111-111111111111</a:ExtensionGuid>
    <a:Guid>11111111-1111-1111-1111-111111111111</a:Guid>
    <a:Id>123</a:Id>
    <a:LastUpdate>2014-11-20T17:57:37.1354919Z</a:LastUpdate>
    <a:Name>String</a:Name>
    <a:Properties xmlns:b="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO">
      <b:KeyValuePair>
        <b:Key>String</b:Key>
        <b:Value>String</b:Value>
      </b:KeyValuePair>
    </a:Properties>
  </AppClass>
</ApplicationResponse>

The following is an example response Json body:
{
	"DebugMessage":"String",
	"Errors":[
		{
			"Code":"String",
			"Message":"String",
			"StackTrace":"String"
		}
	],
	"Status":1,
	"AppClass":{
		"Active":true,
		"CreatedDate":"\/Date(1416506257135)\/",
		"ExtensionGuid":"11111111-1111-1111-1111-111111111111",
		"Guid":"11111111-1111-1111-1111-111111111111",
		"Id":123,
		"LastUpdate":"\/Date(1416506257135)\/",
		"Name":"String",
		"Properties":[
			{
				"Key":"String",
				"Value":"String"
			}
		]
	}
}