RetrieveActionLog

 

SystemService / RetrieveActionLog

 

Description: Retrieve action log

URL: http://{your-server-url}/api/v1/core/system/actionlogs/{actionlogid}

Method: GET

Token Required: True


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

Portal Administrator, Account Administrator, Account Owner, Network Administrator

Rights:

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

Right Require
Basic Yes

Response:

Type: Nexus.AppSpace.Service.Contract.Messages.AppSpaceIntegration.v1.Systems.SystemResponse

Parameter Type
Response.ActionLog Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.System.ActionLog[]

The following is an example response Xml body:
<SystemResponse xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Messages.AppSpaceIntegration.v1.Systems" 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>
  <ActionLog xmlns:a="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Systems">
    <a:Id>123</a:Id>
    <a:Metadata 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:Metadata>
    <a:Operation>Special</a:Operation>
    <a:ResourceId>123</a:ResourceId>
    <a:ResourceScope>Player_Groups</a:ResourceScope>
    <a:TimeStamp>2014-04-09T15:18:31.0930431Z</a:TimeStamp>
    <a:User xmlns:b="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Users">
      <b:AccountId>123</b:AccountId>
      <b:CloudGuid>String</b:CloudGuid>
      <b:CreatedDate>2014-04-09T15:18:31.0930431Z</b:CreatedDate>
      <b:Email>String</b:Email>
      <b:EntitlementIds xmlns:c="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <c:int>123</c:int>
      </b:EntitlementIds>
      <b:FirstName>String</b:FirstName>
      <b:GroupId>123</b:GroupId>
      <b:HomeNetworkId>123</b:HomeNetworkId>
      <b:Id>123</b:Id>
      <b:LastAccess>2014-04-09T15:18:31.0930431Z</b:LastAccess>
      <b:Lastname>String</b:Lastname>
      <b:MobileNo>String</b:MobileNo>
      <b:Password>String</b:Password>
      <b:RoleIds xmlns:c="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <c:int>123</c:int>
      </b:RoleIds>
      <b:SecretAnswer>String</b:SecretAnswer>
      <b:SecretQuestion>String</b:SecretQuestion>
      <b:Status>Disabled</b:Status>
      <b:UserDN>String</b:UserDN>
      <b:Username>String</b:Username>
      <b:WorkNo>String</b:WorkNo>
    </a:User>
  </ActionLog>
</SystemResponse>

The following is an example response Json body:
{
	"DebugMessage":"String",
	"Errors":[
		{
			"Code":"String",
			"Message":"String",
			"StackTrace":"String"
		}
	],
	"Status":1,
	"ActionLog":{
		"Id":123,
		"Metadata":[
			{
				"Key":"String",
				"Value":"String"
			}
		],
		"Operation":14,
		"ResourceId":123,
		"ResourceScope":23,
		"TimeStamp":"\/Date(1397056711093)\/",
		"User":{
			"AccountId":123,
			"CloudGuid":"String",
			"CreatedDate":"\/Date(1397056711093)\/",
			"Email":"String",
			"EntitlementIds":[
				123
			],
			"FirstName":"String",
			"GroupId":123,
			"HomeNetworkId":123,
			"Id":123,
			"LastAccess":"\/Date(1397056711093)\/",
			"Lastname":"String",
			"MobileNo":"String",
			"Password":"String",
			"RoleIds":[
				123
			],
			"SecretAnswer":"String",
			"SecretQuestion":"String",
			"Status":0,
			"UserDN":"String",
			"Username":"String",
			"WorkNo":"String"
		}
	}
}