Click or drag to resize

FormData 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 represents a datarow from a AnySenseService.Entities.API.PublicAPI.V1.DTOs.Form
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.29.6-dev
Syntax
C#
public class FormData

The FormData type exposes the following members.

Constructors
 NameDescription
Public methodFormData Creates a new instance of this class
Top
Properties
 NameDescription
Public propertyArchived Defines if the FormData-object is archived.
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.
Public propertyClientSubmitDate The date, when the data was submitted on the client
Public propertyData List of data. It's important that these are the correct datatypes, and listed in the same order as the form definition.
Public propertyDeleted Defines if the FormData-object is deleted.
Public propertyFormId The Id of the AnySenseService.Entities.API.PublicAPI.V1.DTOs.Form, which the data is added to
Public propertyHidden Defines if the FormData-object is a hidden part of the dataset. Data can be hidden by a workflow-synchronization job.
Public propertyId Unique row ID set by the database.
Public propertyLastUpdatedByUser Name of the AnySenseService.Entities.API.PublicAPI.V1.DTOs.User who last updated the row
Public propertyLastUpdatedByUserId Id of the AnySenseService.Entities.API.PublicAPI.V1.DTOs.User who last updated the row
Public propertyLocationData GPS position if required Format: "lattitude;longitude", where comma is used as decimal separator.
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.
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.
Public propertyPlot Contains information about a point on a picture, if this row is associated to such.
Public propertyRowVersion Defines the current version of the data. Changes everytime an update is submitted to the database.
Public propertySubmitServerDate The date when the data was submitted to the server
Public propertySubmittedBy The name of the AnySenseService.Entities.API.PublicAPI.V1.DTOs.User who originally submitted the data
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.
Public propertyUpdateDate The date when the row was last updated
Public propertyVersionId The VersionId of the AnySenseService.Entities.API.PublicAPI.V1.DTOs.Form, which the data is added to
Top
See Also