Click or drag to resize

HistoryData Class

To get started, call one of the following methods:
  • Anysense.API.Client.V1.ApiClient.Create
  • Anysense.API.Client.V1.ApiClient.CreateAsync
  • Anysense.API.Client.V1.ApiClient.CreateWithToken
  • Anysense.API.Client.V1.ApiClient.CreateWithTokenAsync
See Anysense.API.Client.Shared.BaseClient<T> for documentation on these methods.
Class that reepresents historical versions of a FormData object
Inheritance Hierarchy
SystemObject
  AnySenseService.Entities.API.PublicAPI.V1.DTOs.DataFormData
    AnySenseService.Entities.API.PublicAPI.V1.DTOs.DataHistoryData

Namespace: AnySenseService.Entities.API.PublicAPI.V1.DTOs.Data
Assembly: AnySenseService.Entities.API.PublicAPI.V1 (in AnySenseService.Entities.API.PublicAPI.V1.dll) Version: 1.31.10+d671d89394079ff2411e503098d3578f08c2de86
Syntax
C#
public class HistoryData : FormData

The HistoryData type exposes the following members.

Constructors
 NameDescription
Public methodHistoryDataInitializes a new instance of the HistoryData class
Top
Properties
 NameDescription
Public propertyArchived Defines if the FormData-object is archived.
(Inherited from FormData)
Public propertyArchivedChanged Specifies if archived-state has changed
Public propertyAttachments Contains information about attachments to this FormData-object
(Inherited from FormData)
Public propertyAttachmentsChanged Specifies if the attachments has changed
Public propertyChangedData List that tells what have changed since the previous historical version. The list matches the Data list - if a value on an index is changed, then the boolean on the same index in ChangedData is true.
Public propertyClientId Unique row ID that can be set by a client upon data creation for easy identification. If no ClientId is set by the initial save data request, then the Id is set by the database.
(Inherited from FormData)
Public propertyClientSubmitDate The date, when the data was submitted on the client
(Inherited from FormData)
Public propertyData List of data. It's important that these are the correct datatypes, and listed in the same order as the form definition.
(Inherited from FormData)
Public propertyDataChanged Specifies if any of the data has changed
Public propertyDeleted Defines if the FormData-object is deleted.
(Inherited from FormData)
Public propertyDeletedChanged Specifies if deleted-state has changed
Public propertyDeletedDateObsolete.
If the FormData object is deleted in this version, then this value will contain the DeletedDate.
Public propertyFormId The Id of the AnySenseService.Entities.API.PublicAPI.V1.DTOs.Form, which the data is added to
(Inherited from FormData)
Public propertyHidden Defines if the FormData-object is a hidden part of the dataset. Data can be hidden by a workflow-synchronization job.
(Inherited from FormData)
Public propertyHiddenChanged Specifies if visibility-state has changed
Public propertyHistoryId Id of the HistoryData,
Public propertyId Unique row ID set by the database.
(Inherited from FormData)
Public propertyIsFirstSave Specifies is this is the first version of the FormData
Public propertyLastUpdatedByUser Name of the AnySenseService.Entities.API.PublicAPI.V1.DTOs.User who last updated the row
(Inherited from FormData)
Public propertyLastUpdatedByUserId Id of the AnySenseService.Entities.API.PublicAPI.V1.DTOs.User who last updated the row
(Inherited from FormData)
Public propertyLocationData GPS position if required Format: "lattitude;longitude", where comma is used as decimal separator.
(Inherited from FormData)
Public propertyOrder The order of how the SubformData/Child row should be rendered in reports. If value is NULL, then legacy ordering by SubmittedBy should is applied. If FormData is not a SubformData/Child, then the value should be NULL.
(Inherited from FormData)
Public propertyOrderChanged Specifies if subform data order has changed
Public propertyParentDataId The ID of the parent FormData, of which the current FormData-object is a child of. If not a child, the ParentDataId will be less than 1.
(Inherited from FormData)
Public propertyParentHistoryId The ID of the parent HistoryData, of which the current HistoryData-object is a child of. If not a child, the ParentHistoryId will be less than 1.
Public propertyPlot Contains information about a point on a picture, if this row is associated to such.
(Inherited from FormData)
Public propertyPlotChanged Sepecifies if the plot data has changed
Public propertyRowVersion Defines the current version of the data. Changes everytime an update is submitted to the database.
(Inherited from FormData)
Public propertyStateObsolete.
Gives a brief summary of what happened to the FormData in this version
Public propertySubmitServerDate The date when the data was submitted to the server
(Inherited from FormData)
Public propertySubmittedBy The name of the AnySenseService.Entities.API.PublicAPI.V1.DTOs.User who originally submitted the data
(Inherited from FormData)
Public propertySubmittedByUserId The AnySenseService.Entities.API.PublicAPI.V1.DTOs.User who should be marked as submitter. If this value is set when the data is initially saved, the authorized user will not be saved as submitter.
(Inherited from FormData)
Public propertyUpdateDate The date when the row was last updated
(Inherited from FormData)
Public propertyVersionId The VersionId of the AnySenseService.Entities.API.PublicAPI.V1.DTOs.Form, which the data is added to
(Inherited from FormData)
Top
See Also