# Models

## The BitPool.Base.DTO.AUTH\_Login2 object

```json
{"openapi":"3.0.1","info":{"title":"Bitpool API v2","version":"v2"},"components":{"schemas":{"BitPool.Base.DTO.AUTH_Login2":{"type":"object","properties":{"Username":{"type":"string","nullable":true},"Password":{"type":"string","nullable":true},"Organisation":{"type":"string","nullable":true},"Place":{"type":"string","nullable":true}},"additionalProperties":false}}}}
```

## The BitPool.Base.DTO.AuthKeyDto object

```json
{"openapi":"3.0.1","info":{"title":"Bitpool API v2","version":"v2"},"components":{"schemas":{"BitPool.Base.DTO.AuthKeyDto":{"type":"object","properties":{"Organisation":{"type":"string","nullable":true},"Value":{"type":"string","nullable":true},"Place":{"type":"string","nullable":true},"Date":{"type":"string","format":"date-time"},"ImpersonatedBy":{"type":"string","nullable":true,"deprecated":true},"KeyType":{"$ref":"#/components/schemas/BitPool.Base.Enums.AuthKeyType"}},"additionalProperties":false},"BitPool.Base.Enums.AuthKeyType":{"enum":[0,1,2,3],"type":"integer","description":"\n\n0 = Standard\n\n1 = ApiReadWrite\n\n2 = ApiRead\n\n3 = ApiReadLimited","format":"int32"}}}}
```

## The BitPool.Base.DTO.BP\_RegisterPool object

```json
{"openapi":"3.0.1","info":{"title":"Bitpool API v2","version":"v2"},"components":{"schemas":{"BitPool.Base.DTO.BP_RegisterPool":{"type":"object","properties":{"Poolname":{"type":"string","nullable":true}},"additionalProperties":false}}}}
```

## The BitPool.Base.DTO.BP\_RegisterStream object

```json
{"openapi":"3.0.1","info":{"title":"Bitpool API v2","version":"v2"},"components":{"schemas":{"BitPool.Base.DTO.BP_RegisterStream":{"type":"object","properties":{"LocalIndex":{"type":"string","nullable":true},"StreamName":{"type":"string","nullable":true},"Description":{"type":"string","nullable":true},"DataType":{"$ref":"#/components/schemas/BitPool.Base.Enums.StreamDataType"}},"additionalProperties":false},"BitPool.Base.Enums.StreamDataType":{"enum":[0,1],"type":"integer","description":"\n\n0 = Double\n\n1 = String","format":"int32"}}}}
```

## The BitPool.Base.DTO.BP\_TagChangePools object

```json
{"openapi":"3.0.1","info":{"title":"Bitpool API v2","version":"v2"},"components":{"schemas":{"BitPool.Base.DTO.BP_TagChangePools":{"type":"object","properties":{"PoolKeys":{"type":"array","items":{"type":"string","format":"uuid"},"nullable":true},"TagsRemove":{"type":"array","items":{"type":"string"},"nullable":true},"TagsAdd":{"type":"array","items":{"type":"string"},"nullable":true}},"additionalProperties":false}}}}
```

## The BitPool.Base.DTO.BP\_TagChangeStreams object

```json
{"openapi":"3.0.1","info":{"title":"Bitpool API v2","version":"v2"},"components":{"schemas":{"BitPool.Base.DTO.BP_TagChangeStreams":{"type":"object","properties":{"StreamKeys":{"type":"array","items":{"type":"string","format":"uuid"},"nullable":true},"TagsRemove":{"type":"array","items":{"type":"string"},"nullable":true},"TagsAdd":{"type":"array","items":{"type":"string"},"nullable":true}},"additionalProperties":false}}}}
```

## The BitPool.Base.DTO.CreateAuthKeyDto object

```json
{"openapi":"3.0.1","info":{"title":"Bitpool API v2","version":"v2"},"components":{"schemas":{"BitPool.Base.DTO.CreateAuthKeyDto":{"type":"object","properties":{"KeyType":{"$ref":"#/components/schemas/BitPool.Base.Enums.AuthKeyType"},"Place":{"type":"string","nullable":true}},"additionalProperties":false},"BitPool.Base.Enums.AuthKeyType":{"enum":[0,1,2,3],"type":"integer","description":"\n\n0 = Standard\n\n1 = ApiReadWrite\n\n2 = ApiRead\n\n3 = ApiReadLimited","format":"int32"}}}}
```

## The BitPool.Base.DTO.CreateAuthKeyLoginDto object

```json
{"openapi":"3.0.1","info":{"title":"Bitpool API v2","version":"v2"},"components":{"schemas":{"BitPool.Base.DTO.CreateAuthKeyLoginDto":{"type":"object","properties":{"KeyType":{"$ref":"#/components/schemas/BitPool.Base.Enums.AuthKeyType"},"Username":{"type":"string","nullable":true},"Password":{"type":"string","nullable":true},"Organisation":{"type":"string","nullable":true},"Place":{"type":"string","nullable":true}},"additionalProperties":false},"BitPool.Base.Enums.AuthKeyType":{"enum":[0,1,2,3],"type":"integer","description":"\n\n0 = Standard\n\n1 = ApiReadWrite\n\n2 = ApiRead\n\n3 = ApiReadLimited","format":"int32"}}}}
```

## The BitPool.Base.DTO.NavTree object

```json
{"openapi":"3.0.1","info":{"title":"Bitpool API v2","version":"v2"},"components":{"schemas":{"BitPool.Base.DTO.NavTree":{"type":"object","properties":{"Nodes":{"type":"array","items":{"$ref":"#/components/schemas/BitPool.Base.DTO.NavTreeNode"},"nullable":true},"Warnings":{"type":"string","nullable":true}},"additionalProperties":false},"BitPool.Base.DTO.NavTreeNode":{"type":"object","properties":{"Name":{"type":"string","nullable":true},"Key":{"type":"string","format":"uuid"},"LastUpdate":{"type":"string","format":"date-time","nullable":true},"DataType":{"$ref":"#/components/schemas/BitPool.Base.Enums.StreamDataType"},"Virtual":{"type":"boolean"},"VirtualType":{"$ref":"#/components/schemas/BitPool.Base.Enums.StreamVirtualType"},"NodeType":{"$ref":"#/components/schemas/BitPool.Base.DTO.NavTreeNodeType"},"Active":{"type":"boolean"},"Tags":{"type":"array","items":{"type":"string"},"nullable":true},"Nodes":{"type":"array","items":{"$ref":"#/components/schemas/BitPool.Base.DTO.NavTreeNode"},"nullable":true},"Index":{"type":"integer","format":"int32"}},"additionalProperties":false},"BitPool.Base.Enums.StreamDataType":{"enum":[0,1],"type":"integer","description":"\n\n0 = Double\n\n1 = String","format":"int32"},"BitPool.Base.Enums.StreamVirtualType":{"enum":[0,1,2,3],"type":"integer","description":"\n\n0 = Default\n\n1 = PowerToEnergy\n\n2 = AccumulatingToInterval\n\n3 = NoData","format":"int32"},"BitPool.Base.DTO.NavTreeNodeType":{"enum":[0,1,2],"type":"integer","description":"\n\n0 = Pool\n\n1 = Stream\n\n2 = StreamGroup","format":"int32"}}}}
```

## The BitPool.Base.DTO.NavTreeNode object

```json
{"openapi":"3.0.1","info":{"title":"Bitpool API v2","version":"v2"},"components":{"schemas":{"BitPool.Base.DTO.NavTreeNode":{"type":"object","properties":{"Name":{"type":"string","nullable":true},"Key":{"type":"string","format":"uuid"},"LastUpdate":{"type":"string","format":"date-time","nullable":true},"DataType":{"$ref":"#/components/schemas/BitPool.Base.Enums.StreamDataType"},"Virtual":{"type":"boolean"},"VirtualType":{"$ref":"#/components/schemas/BitPool.Base.Enums.StreamVirtualType"},"NodeType":{"$ref":"#/components/schemas/BitPool.Base.DTO.NavTreeNodeType"},"Active":{"type":"boolean"},"Tags":{"type":"array","items":{"type":"string"},"nullable":true},"Nodes":{"type":"array","items":{"$ref":"#/components/schemas/BitPool.Base.DTO.NavTreeNode"},"nullable":true},"Index":{"type":"integer","format":"int32"}},"additionalProperties":false},"BitPool.Base.Enums.StreamDataType":{"enum":[0,1],"type":"integer","description":"\n\n0 = Double\n\n1 = String","format":"int32"},"BitPool.Base.Enums.StreamVirtualType":{"enum":[0,1,2,3],"type":"integer","description":"\n\n0 = Default\n\n1 = PowerToEnergy\n\n2 = AccumulatingToInterval\n\n3 = NoData","format":"int32"},"BitPool.Base.DTO.NavTreeNodeType":{"enum":[0,1,2],"type":"integer","description":"\n\n0 = Pool\n\n1 = Stream\n\n2 = StreamGroup","format":"int32"}}}}
```

## The BitPool.Base.DTO.NavTreeNodeType object

```json
{"openapi":"3.0.1","info":{"title":"Bitpool API v2","version":"v2"},"components":{"schemas":{"BitPool.Base.DTO.NavTreeNodeType":{"enum":[0,1,2],"type":"integer","description":"\n\n0 = Pool\n\n1 = Stream\n\n2 = StreamGroup","format":"int32"}}}}
```

## The BitPool.Base.DTO.Secret2faModel object

```json
{"openapi":"3.0.1","info":{"title":"Bitpool API v2","version":"v2"},"components":{"schemas":{"BitPool.Base.DTO.Secret2faModel":{"type":"object","properties":{"Secret":{"type":"string","nullable":true},"SecretQR":{"type":"string","nullable":true}},"additionalProperties":false}}}}
```

## The BitPool.Base.DTO.StreamAdditionalDto object

```json
{"openapi":"3.0.1","info":{"title":"Bitpool API v2","version":"v2"},"components":{"schemas":{"BitPool.Base.DTO.StreamAdditionalDto":{"type":"object","properties":{"SourceDeviceVendor":{"type":"string","nullable":true},"SourceDeviceModel":{"type":"string","nullable":true},"IsAccumulating":{"type":"boolean"},"AggregateType":{"$ref":"#/components/schemas/BitPool.Base.Enums.AggregateType"},"Calculation":{"type":"string","nullable":true},"Units":{"$ref":"#/components/schemas/BitPool.Base.Enums.Units"},"TargetUsage":{"type":"number","format":"double"},"UpperThreshold15m":{"type":"number","format":"double","nullable":true},"ChangeOfValue":{"type":"boolean"},"SpikeThreshold":{"type":"number","format":"double","nullable":true},"IsAccumulatingAuto":{"type":"boolean"}},"additionalProperties":false},"BitPool.Base.Enums.AggregateType":{"enum":[0,1,2,3,4,5,8,9,10],"type":"integer","description":"\n\n0 = None\n\n1 = Average\n\n2 = Maximum\n\n3 = Minimum\n\n4 = Difference\n\n5 = Sum\n\n8 = Accum\n\n9 = First\n\n10 = Last","format":"int32"},"BitPool.Base.Enums.Units":{"enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],"type":"integer","description":"\n\n0 = None\n\n1 = kWh\n\n2 = Wh\n\n3 = kW\n\n4 = W\n\n5 = MWh\n\n6 = MW\n\n7 = VA\n\n8 = kVA\n\n9 = VAr\n\n10 = kVAr\n\n11 = pf\n\n12 = degC\n\n13 = percentage\n\n14 = A\n\n15 = V\n\n16 = m3","format":"int32"}}}}
```

## The BitPool.Base.DTO.StreamData object

```json
{"openapi":"3.0.1","info":{"title":"Bitpool API v2","version":"v2"},"components":{"schemas":{"BitPool.Base.DTO.StreamData":{"type":"object","properties":{"StreamKey":{"type":"string","format":"uuid"},"Values":{"type":"array","items":{"$ref":"#/components/schemas/BitPool.Base.Entities.Slog"},"nullable":true}},"additionalProperties":false},"BitPool.Base.Entities.Slog":{"type":"object","properties":{"Ts":{"type":"string","format":"date-time"},"Val":{"type":"number","format":"double","nullable":true},"ValStr":{"type":"string","nullable":true},"Calculated":{"type":"boolean"}},"additionalProperties":false}}}}
```

## The BitPool.Base.DTO.StreamLogDto object

```json
{"openapi":"3.0.1","info":{"title":"Bitpool API v2","version":"v2"},"components":{"schemas":{"BitPool.Base.DTO.StreamLogDto":{"type":"object","properties":{"StreamKey":{"type":"string","format":"uuid"},"Timestamp":{"type":"string","format":"date-time","nullable":true},"Value":{"type":"number","format":"double","nullable":true},"ValueString":{"type":"string","nullable":true}},"additionalProperties":false}}}}
```

## The BitPool.Base.DTO.TimeZoneDto object

```json
{"openapi":"3.0.1","info":{"title":"Bitpool API v2","version":"v2"},"components":{"schemas":{"BitPool.Base.DTO.TimeZoneDto":{"type":"object","properties":{"Id":{"type":"string","nullable":true},"UtcOffset":{"type":"number","format":"double"},"DisplayName":{"type":"string","nullable":true},"DisplayNameUTC":{"type":"string","nullable":true},"DisplayNameTitle":{"type":"string","nullable":true}},"additionalProperties":false}}}}
```

## The BitPool.Base.DTO.UpdateStreamDto object

```json
{"openapi":"3.0.1","info":{"title":"Bitpool API v2","version":"v2"},"components":{"schemas":{"BitPool.Base.DTO.UpdateStreamDto":{"type":"object","properties":{"Name":{"type":"string","nullable":true},"Description":{"type":"string","nullable":true}},"additionalProperties":false}}}}
```

## The BitPool.Base.Entities.BitPoolEntity object

```json
{"openapi":"3.0.1","info":{"title":"Bitpool API v2","version":"v2"},"components":{"schemas":{"BitPool.Base.Entities.BitPoolEntity":{"type":"object","properties":{"PoolKey":{"type":"string","format":"uuid"},"Name":{"type":"string","nullable":true},"RegistrationDate":{"type":"string","format":"date-time"},"Virtual":{"type":"boolean","deprecated":true},"Public":{"type":"boolean","deprecated":true},"Owner":{"type":"boolean"},"AccessMode":{"$ref":"#/components/schemas/BitPool.Base.Enums.BitPoolUserRolesTypes"},"UtcOffset":{"type":"number","format":"float"},"TimeZone":{"type":"string","nullable":true}},"additionalProperties":false},"BitPool.Base.Enums.BitPoolUserRolesTypes":{"enum":[0,1,2,3,4,-1],"type":"integer","description":"\n\n0 = Administrator\n\n1 = Owner\n\n2 = CoOwner\n\n3 = Contributor\n\n4 = Reader\n\n-1 = None","format":"int32"}}}}
```

## The BitPool.Base.Entities.BitStationEntity object

```json
{"openapi":"3.0.1","info":{"title":"Bitpool API v2","version":"v2"},"components":{"schemas":{"BitPool.Base.Entities.BitStationEntity":{"type":"object","properties":{"StationID":{"type":"integer","format":"int32"},"StationName":{"type":"string","nullable":true},"RegistrationDate":{"type":"string","format":"date-time"},"PoolKey":{"type":"string","format":"uuid"}},"additionalProperties":false}}}}
```

## The BitPool.Base.Entities.BitStreamEntity object

```json
{"openapi":"3.0.1","info":{"title":"Bitpool API v2","version":"v2"},"components":{"schemas":{"BitPool.Base.Entities.BitStreamEntity":{"type":"object","properties":{"StreamKey":{"type":"string","format":"uuid"},"LocalIndex":{"type":"string","nullable":true},"Name":{"type":"string","nullable":true},"Description":{"type":"string","nullable":true},"RegistrationDate":{"type":"string","format":"date-time"},"LastTimestamp":{"type":"string","format":"date-time","nullable":true},"FirstTimestamp":{"type":"string","format":"date-time","nullable":true},"LastValue":{"type":"number","format":"double","nullable":true},"FirstValue":{"type":"number","format":"double","nullable":true},"PoolKey":{"type":"string","format":"uuid"},"Public":{"type":"boolean"},"Virtual":{"type":"boolean"},"VirtualType":{"$ref":"#/components/schemas/BitPool.Base.Enums.StreamVirtualType"},"Recalculate":{"type":"boolean"},"Weather":{"type":"boolean"},"Owner":{"type":"boolean"},"StreamLogsCount":{"type":"integer","format":"int32"},"PostProcessingType":{"$ref":"#/components/schemas/BitPool.Base.Enums.PostProcessingType"},"DataType":{"$ref":"#/components/schemas/BitPool.Base.Enums.StreamDataType"}},"additionalProperties":false},"BitPool.Base.Enums.StreamVirtualType":{"enum":[0,1,2,3],"type":"integer","description":"\n\n0 = Default\n\n1 = PowerToEnergy\n\n2 = AccumulatingToInterval\n\n3 = NoData","format":"int32"},"BitPool.Base.Enums.PostProcessingType":{"enum":[0,1,2],"type":"integer","description":"\n\n0 = None\n\n1 = SmoothData\n\n2 = Unknown","format":"int32"},"BitPool.Base.Enums.StreamDataType":{"enum":[0,1],"type":"integer","description":"\n\n0 = Double\n\n1 = String","format":"int32"}}}}
```

## The BitPool.Base.Entities.Slog object

```json
{"openapi":"3.0.1","info":{"title":"Bitpool API v2","version":"v2"},"components":{"schemas":{"BitPool.Base.Entities.Slog":{"type":"object","properties":{"Ts":{"type":"string","format":"date-time"},"Val":{"type":"number","format":"double","nullable":true},"ValStr":{"type":"string","nullable":true},"Calculated":{"type":"boolean"}},"additionalProperties":false}}}}
```

## The BitPool.Base.Entities.ValueEntity object

```json
{"openapi":"3.0.1","info":{"title":"Bitpool API v2","version":"v2"},"components":{"schemas":{"BitPool.Base.Entities.ValueEntity":{"type":"object","properties":{"StreamKey":{"type":"string","format":"uuid"},"Timestamp":{"type":"string","format":"date-time","nullable":true},"Value":{"type":"number","format":"double","nullable":true},"ValueString":{"type":"string","nullable":true},"Calculated":{"type":"boolean"},"FirstValue":{"type":"number","format":"double","nullable":true},"LastValue":{"type":"number","format":"double","nullable":true}},"additionalProperties":false}}}}
```

## The BitPool.Base.Enums.AggregateType object

```json
{"openapi":"3.0.1","info":{"title":"Bitpool API v2","version":"v2"},"components":{"schemas":{"BitPool.Base.Enums.AggregateType":{"enum":[0,1,2,3,4,5,8,9,10],"type":"integer","description":"\n\n0 = None\n\n1 = Average\n\n2 = Maximum\n\n3 = Minimum\n\n4 = Difference\n\n5 = Sum\n\n8 = Accum\n\n9 = First\n\n10 = Last","format":"int32"}}}}
```

## The BitPool.Base.Enums.AggregationPeriod object

```json
{"openapi":"3.0.1","info":{"title":"Bitpool API v2","version":"v2"},"components":{"schemas":{"BitPool.Base.Enums.AggregationPeriod":{"enum":[0,1,2,3,4,5,6,7,8,9,10,11,12],"type":"integer","description":"\n\n0 = Hourly\n\n1 = Daily\n\n2 = Weekly\n\n3 = Monthly\n\n4 = Yearly\n\n5 = None\n\n6 = Minute\n\n7 = Minutes15\n\n8 = FinancialYearly\n\n9 = Raw\n\n10 = Minutes10\n\n11 = Minutes30\n\n12 = Minutes5","format":"int32"}}}}
```

## The BitPool.Base.Enums.AggregationType object

```json
{"openapi":"3.0.1","info":{"title":"Bitpool API v2","version":"v2"},"components":{"schemas":{"BitPool.Base.Enums.AggregationType":{"enum":[0,1,2,3,4,7,8,9,10,11,12,13,14],"type":"integer","description":"\n\n0 = Avg\n\n1 = Sum\n\n2 = Diff\n\n3 = Min\n\n4 = Max\n\n7 = None\n\n8 = MinTimeOccurrence\n\n9 = MaxTimeOccurrence\n\n10 = First\n\n11 = Last\n\n12 = Accum\n\n13 = FirstTimeOccurrence\n\n14 = LastTimeOccurrence","format":"int32"}}}}
```

## The BitPool.Base.Enums.AggregationTypeString object

```json
{"openapi":"3.0.1","info":{"title":"Bitpool API v2","version":"v2"},"components":{"schemas":{"BitPool.Base.Enums.AggregationTypeString":{"enum":[0,1,2,3,4],"type":"integer","description":"\n\n0 = None\n\n1 = Most\n\n2 = Least\n\n3 = First\n\n4 = Last","format":"int32"}}}}
```

## The BitPool.Base.Enums.AuthKeyType object

```json
{"openapi":"3.0.1","info":{"title":"Bitpool API v2","version":"v2"},"components":{"schemas":{"BitPool.Base.Enums.AuthKeyType":{"enum":[0,1,2,3],"type":"integer","description":"\n\n0 = Standard\n\n1 = ApiReadWrite\n\n2 = ApiRead\n\n3 = ApiReadLimited","format":"int32"}}}}
```

## The BitPool.Base.Enums.BitPoolUserRolesTypes object

```json
{"openapi":"3.0.1","info":{"title":"Bitpool API v2","version":"v2"},"components":{"schemas":{"BitPool.Base.Enums.BitPoolUserRolesTypes":{"enum":[0,1,2,3,4,-1],"type":"integer","description":"\n\n0 = Administrator\n\n1 = Owner\n\n2 = CoOwner\n\n3 = Contributor\n\n4 = Reader\n\n-1 = None","format":"int32"}}}}
```

## The BitPool.Base.Enums.PostProcessingType object

```json
{"openapi":"3.0.1","info":{"title":"Bitpool API v2","version":"v2"},"components":{"schemas":{"BitPool.Base.Enums.PostProcessingType":{"enum":[0,1,2],"type":"integer","description":"\n\n0 = None\n\n1 = SmoothData\n\n2 = Unknown","format":"int32"}}}}
```

## The BitPool.Base.Enums.StreamDataType object

```json
{"openapi":"3.0.1","info":{"title":"Bitpool API v2","version":"v2"},"components":{"schemas":{"BitPool.Base.Enums.StreamDataType":{"enum":[0,1],"type":"integer","description":"\n\n0 = Double\n\n1 = String","format":"int32"}}}}
```

## The BitPool.Base.Enums.StreamVirtualType object

```json
{"openapi":"3.0.1","info":{"title":"Bitpool API v2","version":"v2"},"components":{"schemas":{"BitPool.Base.Enums.StreamVirtualType":{"enum":[0,1,2,3],"type":"integer","description":"\n\n0 = Default\n\n1 = PowerToEnergy\n\n2 = AccumulatingToInterval\n\n3 = NoData","format":"int32"}}}}
```

## The BitPool.Base.Enums.TimeRange object

```json
{"openapi":"3.0.1","info":{"title":"Bitpool API v2","version":"v2"},"components":{"schemas":{"BitPool.Base.Enums.TimeRange":{"enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15],"type":"integer","description":"\n\n0 = Custom\n\n1 = ThisHour\n\n2 = Today\n\n3 = ThisWeek\n\n4 = ThisMonth\n\n5 = ThisYear\n\n6 = LastHour\n\n7 = Yesterday\n\n8 = LastWeek\n\n9 = LastMonth\n\n10 = LastYear\n\n11 = RollingDay\n\n12 = RollingWeek\n\n13 = RollingMonth\n\n14 = RollingYear\n\n15 = RollingHour","format":"int32"}}}}
```

## The BitPool.Base.Enums.Units object

```json
{"openapi":"3.0.1","info":{"title":"Bitpool API v2","version":"v2"},"components":{"schemas":{"BitPool.Base.Enums.Units":{"enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],"type":"integer","description":"\n\n0 = None\n\n1 = kWh\n\n2 = Wh\n\n3 = kW\n\n4 = W\n\n5 = MWh\n\n6 = MW\n\n7 = VA\n\n8 = kVA\n\n9 = VAr\n\n10 = kVAr\n\n11 = pf\n\n12 = degC\n\n13 = percentage\n\n14 = A\n\n15 = V\n\n16 = m3","format":"int32"}}}}
```

## The BitPool.Base.Web.StreamLogsListModel object

```json
{"openapi":"3.0.1","info":{"title":"Bitpool API v2","version":"v2"},"components":{"schemas":{"BitPool.Base.Web.StreamLogsListModel":{"type":"object","properties":{"Data":{"type":"array","items":{"$ref":"#/components/schemas/BitPool.Base.Entities.ValueEntity"},"nullable":true},"Total":{"type":"integer","format":"int64"}},"additionalProperties":false},"BitPool.Base.Entities.ValueEntity":{"type":"object","properties":{"StreamKey":{"type":"string","format":"uuid"},"Timestamp":{"type":"string","format":"date-time","nullable":true},"Value":{"type":"number","format":"double","nullable":true},"ValueString":{"type":"string","nullable":true},"Calculated":{"type":"boolean"},"FirstValue":{"type":"number","format":"double","nullable":true},"LastValue":{"type":"number","format":"double","nullable":true}},"additionalProperties":false}}}}
```

## The BitPool.WebApi.Models.LoginResult object

```json
{"openapi":"3.0.1","info":{"title":"Bitpool API v2","version":"v2"},"components":{"schemas":{"BitPool.WebApi.Models.LoginResult":{"type":"object","properties":{"OrganisationId":{"type":"integer","format":"int32"},"Organisation":{"type":"string","nullable":true},"Username":{"type":"string","nullable":true},"AuthKey":{"type":"string","nullable":true}},"additionalProperties":false}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki-cloud.bitpool.com/public-bitpool-api/models.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
