RetrieveAppClasses

 

ApplicationService / RetrieveAppClasses

 

Description: Retrieve appclasses

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

Method: GET

Token Required: True


Request Headers:
content-type: application/json or content-type: application/xml
token: {token}
Request Query Parameters:
Parameter Type Nullable Description
rpp int True records per page, default = 50, max = 500
page int True page number
guids Guid True connector guids, comma separated values, eg. guids=xxxx-xxxx-xxxx-xxxx,xxxx-xxxx-xxxx-xxxx
name string True
extensionguids long True source guids, comma separated values, eg. sourceguids=xxxx-xxxx-xxxx-xxxx,xxxx-xxxx-xxxx-xxxx
active boolean True

Example: http://{your-server-url}/api/v1/core/applications/appclasses?rpp=100&page=100&name=string


Response:

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

Parameter Type
Response.Rpp int
Response.TotalPages int
Response.CurrentPage int
Response.AppClasses Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Applications.AppClass[]

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>
  <AppClasses xmlns:a="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Applications">
    <a:AppClass>
      <a:Active>true</a:Active>
      <a:CreatedDate>2014-11-20T17:57:37.2735731Z</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.2735731Z</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>
    </a:AppClass>
  </AppClasses>
  <CurrentPage>123</CurrentPage>
  <Rpp>123</Rpp>
  <TotalPages>123</TotalPages>
</ApplicationResponse>

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