SurveyBase Data Type

Subtypes
Survey
Properties
name data type constraints description
name string required, not blank The name of the survey.
description string required, not blank The description of the survey.
container boolean   Indicates if the survey is a container for other surveys (true) or if it contains Samples (false).
availability Availability required The availability level of the data in this survey.
werbeoOriginal boolean required Indicates at the home of the data is in werbeo.
allowDataEntry boolean required Indicates if new Occurrence and Sample data is allowed for this survey.
allowExport boolean required Indicates whether data-export for this survey is allowed or not
portal Portal required
obfuscationPolicies array of ObfuscationPolicy  
obfuscationPoliciesExternal array of ObfuscationPolicy  
dataReceivingPortals array of number  
tags array of string   Tags for this survey.
parent SurveyBase  
Properties inherited from BaseInt
id number   The id of the entity.
Properties inherited from Base
createdBy string   The id of the user who created this entity.

This entity is read only and populated by the service. It is ignored when saving entities.

creationDate string   The timestamp of the cration of this entity. The timestamp is in the timezone Europe/Berlin by default.

This entity is read only and populated by the service. It is ignored when saving entities.

links array of Link   A collection of Links related to this entity.

This entity is read only and populated by the service. It is ignored when saving entities.

modifiedBy string   The id of the user who changed this entity last.

This entity is read only and populated by the service. It is ignored when saving entities.

modificationDate string   The timestamp of the last modification on this entity. The timestamp is in the timezone Europe/Berlin by default.

This entity is read only and populated by the service. It is ignored when saving entities.

userAlloewdToEdit boolean required Indicates weather the user who made the request is allowed to edit this entity or not.

This entity is read only and populated by the service. It is ignored when saving entities.

obfuscated boolean required Indicate weather the data is obfuscated

This entity is read only and populated by the service. It is ignored when saving entities.

allowedOperations array of Operation  

Example

{
  "name" : "...",
  "description" : "...",
  "container" : true,
  "availability" : "FREE",
  "werbeoOriginal" : true,
  "allowDataEntry" : true,
  "allowExport" : true,
  "portal" : {
    "config" : {
      "exportPolicies" : [ "NO_CSV_EXPORT_FOR_NOT_APPROVED_USERS", "NO_CSV_EXPORT_FOR_NOT_APPROVED_USERS" ],
      "staticMapStyle" : "VEGETWEB",
      "defaultDataEntrySurveyId" : 12345,
      "mapInitialZoom" : 12345.0,
      "mapInitialLatitude" : 12345.0,
      "mapInitialLongitude" : 12345.0,
      "mapOverlayLayers" : [ "TOPO_MV", "ORTHOFOTO_MV" ],
      "maxUploadSize" : 12345,
      "allowAnonymousAccess" : true,
      "coordinateSystems" : [ "EPSG4326", "EPSG4745" ],
      "taxonListIds" : [ 12345, 12345 ],
      "dataExchangeMasterPortalId" : 12345,
      "dataExchangePortalIds" : [ 12345, 12345 ],
      "distmapStartYear" : 12345,
      "distmapRequiredValidations" : [ "UNKNOWN", "VALID" ]
    },
    "name" : "...",
    "url" : "...",
    "id" : 12345,
    "createdBy" : "...",
    "creationDate" : "...",
    "links" : [ {
      "href" : "...",
      "rel" : "..."
    }, {
      "href" : "...",
      "rel" : "..."
    } ],
    "modifiedBy" : "...",
    "modificationDate" : "...",
    "userAlloewdToEdit" : true,
    "obfuscated" : true,
    "allowedOperations" : [ "CREATE", "CREATE" ]
  },
  "obfuscationPolicies" : [ {
    "role" : "COORDINATOR",
    "permission" : "LOCATION_POINT"
  }, {
    "role" : "APPROVED",
    "permission" : "LOCATION_MTBQQ"
  } ],
  "obfuscationPoliciesExternal" : [ {
    "role" : "ANONYMOUS",
    "permission" : "LOCATION_POINT"
  }, {
    "role" : "ACCEPTED",
    "permission" : "LOCATION_MTBQQ"
  } ],
  "dataReceivingPortals" : [ 12345, 12345 ],
  "tags" : [ "...", "..." ],
  "parent" : {
    "name" : "...",
    "description" : "...",
    "container" : true,
    "availability" : "RESTRICTED",
    "werbeoOriginal" : true,
    "allowDataEntry" : true,
    "allowExport" : true,
    "portal" : {
      "config" : { },
      "name" : "...",
      "url" : "...",
      "id" : 12345,
      "createdBy" : "...",
      "creationDate" : "...",
      "links" : [ { }, { } ],
      "modifiedBy" : "...",
      "modificationDate" : "...",
      "userAlloewdToEdit" : true,
      "obfuscated" : true,
      "allowedOperations" : [ "READ", "UPDATE" ]
    },
    "obfuscationPolicies" : [ {
      "role" : "ACCEPTED",
      "permission" : "LOCATION_MTBQQQ"
    }, {
      "role" : "VALIDATOR",
      "permission" : "LOCATION_MTBQQQ"
    } ],
    "obfuscationPoliciesExternal" : [ {
      "role" : "APPROVED",
      "permission" : "LOCATION_MTBQ"
    }, {
      "role" : "VALIDATOR",
      "permission" : "LOCATION_MTBQQ"
    } ],
    "dataReceivingPortals" : [ 12345, 12345 ],
    "tags" : [ "...", "..." ],
    "parent" : { },
    "id" : 12345,
    "createdBy" : "...",
    "creationDate" : "...",
    "links" : [ {
      "href" : "...",
      "rel" : "..."
    }, {
      "href" : "...",
      "rel" : "..."
    } ],
    "modifiedBy" : "...",
    "modificationDate" : "...",
    "userAlloewdToEdit" : true,
    "obfuscated" : true,
    "allowedOperations" : [ "DELETE", "DELETE" ]
  },
  "id" : 12345,
  "createdBy" : "...",
  "creationDate" : "...",
  "links" : [ {
    "href" : "...",
    "rel" : "..."
  }, {
    "href" : "...",
    "rel" : "..."
  } ],
  "modifiedBy" : "...",
  "modificationDate" : "...",
  "userAlloewdToEdit" : true,
  "obfuscated" : true,
  "allowedOperations" : [ "DELETE", "UPDATE" ]
}