Resource Get Template DataContract

Input Data

The following input data can be configured for the activity.

ResourceId

The id of the resource.

Output Data

Result

A ResourceTemplateDataContract with the following definition:

/// <summary></summary> [DataMember] public string DisplayName { get; set; } /// <summary></summary> [DataMember] public string ResourceIdentifier { get; set; } /// <summary></summary> [DataMember] public uint ResourceTypeId { get; set; } /// <summary></summary> [DataMember] public string ResourceType { get; set; } /// <summary></summary> [DataMember] public string ResourceGroup { get; set; } /// <summary></summary> [DataMember] public string ForeignId { get; set; } /// <summary></summary> [DataMember] public bool DeletePending { get; set; } /// <summary></summary> [DataMember] public bool IsProvisioned { get; set; } /// <summary></summary> [DataMember] public string Owner { get; set; } /// <summary></summary> [DataMember] public uint ResourceOwnerCoreIdentityId { get; set; } /// <summary>With the attribute system name as the key, and the value of the attribute as the value</summary> [DataMember] public Dictionary<string, object> Attributes { get; set; }

Serialization

To be able to use it in the ConvertObjectToXml activity because of how the workflow engine handles complex objects it needs to be converted to plain JSON again.

This can be achieved in Javascript with:

JSON.parse(JSON.stringify(YourTemplateContract))

 

© ITSENSE AG. Alle Rechte vorbehalten. ITSENSE und CoreOne sind eingetragene Marken der ITSENSE AG.