Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The data types below and These data types (which are consistent across all APIs), and the entities described in the child pages, are used in the BSN.cloud Main API:

DateTime

Defines a moment in time using a sortable UTC pattern value format, based on rfc3339. An example would be 2022-02-18T16:57:00.123Z 

DayOfWeek

Represents the day of the week from Sunday to Saturday. The days are specified as a string list (for example, "Monday, Wednesday, Friday").  


Panel
borderColor#3D3D3D
bgColor#F4F4F4
titleColor#3D3D3D
borderWidth0
titleBGColor#3D3D3D
borderStylesolid

ON THIS PAGE

Table of Contents
maxLevel3
indent20px



Nullable<int>

Data types with a question mark - an example is [int?] but this can apply to any data type - are defined as null. Most data types are not nullable in this API framework, so this data type allows you to accept null for a non-nullable type. By default, nullable types are strings.


TimeSpan

Represents a period of time. Possible values are: 

  • 00:00 - 23:59 (hours and minutes)
  • 00:00:00 - 23:59:59 (hours, minutes, and seconds. This is the default format)
  • 00:00:00.000 - 23:59:59.999 (hours, minutes, seconds, and milliseconds)
  • 1.00:00:00 - 99999.23:59:59 (date, hours, minutes, seconds)
  • 1.00:00:00.000 - 99999.23:59:59.999 (date, hours, minutes, seconds, and milliseconds)

Uri

A representation of a resource available on the internet or intranet. This data type is nullable.