Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

The GetTemplateDataContract activity can be used to get the CoreIdentityDataContractusing CoreIdentityId. This activity is available from version 8.2.

Input Data

The following input data can be configured for the activity.

CoreIdentityId

The identifier of employment used to find function name.

Output Data

Result

A CoreIdentityTemplateDataContract with the following definition:

public class CoreIdentityTemplateDataContract
{
    /// <summary></summary>
    [DataMember]
    public string DisplayName { get; set; }

    /// <summary></summary>
    [DataMember]
    public string Type { get; set; }

    /// <summary></summary>
    [DataMember]
    public DateTime ValidFrom { get; set; }

    /// <summary></summary>
    [DataMember]
    public DateTime? ValidTo { get; set; }

    /// <summary></summary>
    [DataMember]
    public string ForeignId { get; set; }

    /// <summary></summary>
    [DataMember]
    public Dictionary<string, object> Attributes { get; set; }

    /// <summary></summary>
    [DataMember]
    public CoreIdentityEmploymentTemplateDataContract[] Employments { get; set; }

    /// <summary></summary>
    [DataMember]
    public DateTime? EffectiveEntranceDate { get; set; }

    /// <summary></summary>
    [DataMember]
    public DateTime? EffectiveLeaveDate { get; set; }

    /// <summary></summary>
    [DataMember]
    public DateTime? LowestEmploymentDate { get; set; }

    /// <summary></summary>
    [DataMember]
    public DateTime? HighestEmploymentDate { get; set; }

    /// <summary></summary>
    [DataMember]
    public string DiVor { get; set; }

    /// <summary></summary>
    [DataMember]
    public string LanguageName { get; set; }

    /// <summary></summary>
    [DataMember]
    public string LanguageShortName { get; set; }

    /// <summary></summary>
    [DataMember]
    public uint? ManagerId { get; set; }

    /// <summary>This is a dummy property, it is used because WCF does not handle the knowntype-attributes without it see:https://social.msdn.microsoft.com/Forums/vstudio/en-US/27dfcf47-b2dd-4ef8-a49c-3113bf4e9497/known-type-wcf-dictionarystringobject-int?forum=wcf</summary>
    [DataMember]
    public object UsedForKnownTypeSerializationObject { get; set; }
}

public class CoreIdentityEmploymentTemplateDataContract
{
    /// <summary></summary>
    [DataMember]
    public string Function { get; set; }

    /// <summary></summary>
    [DataMember]
    public string FunctionShortName { get; set; }

    /// <summary></summary>
    [DataMember]
    public uint? EmploymentNumber { get; set; }

    /// <summary></summary>
    [DataMember]
    public DateTime ValidFrom { get; set; }

    /// <summary></summary>
    [DataMember]
    public DateTime? ValidTo { get; set; }

    /// <summary></summary>
    [DataMember]
    public double Percentage { get; set; }

    /// <summary></summary>
    [DataMember]
    public string EmploymentType { get; set; }

    /// <summary></summary>
    [DataMember]
    public bool MainEmployment { get; set; }

    /// <summary></summary>
    [DataMember]
    public string ForeignId { get; set; }

    /// <summary></summary>
    [DataMember]
    public uint OuId { get; set; }

    /// <summary></summary>
    [DataMember]
    public string OuName { get; set; }

    /// <summary></summary>
    [DataMember]
    public string OuShortName { get; set; }

    /// <summary></summary>
    [DataMember]
    public string OuForeignKey { get; set; }

    /// <summary></summary>
    [DataMember]
    public string PositionName { get; set; }

    /// <summary></summary>
    [DataMember]
    public string PositionShortName { get; set; }

    /// <summary></summary>
    [DataMember]
    public string PositionForeignKey { get; set; }

    /// <summary></summary>
    [DataMember]
    public Dictionary<string, object> Attributes { get; set; }
}

  • No labels