This resource represents a single dive log entry stored on the dive.io server. The dive log entry is identified by the "Id" attribute. Note that "DiveNumber" and "Id" are different things - "Id" is used to identify a dive record on the server, while "DiveNumber" is the (optional) number assigned to the dive in the logbook.
The Dive object returned may also include Buddy and profile information (Samples)
.
<?xml version="1.0" encoding="UTF-8"?>
<DiveIo>
<Dive>
<Id>30</Id>
<DiverId>4</DiverId>
<DiveDate>2010-09-18</DiveDate>
<InTime>10:03:00</InTime>
<Duration>00:39:50</Duration>
<MaxDepth>30.7</MaxDepth>
<AvgDepth>18.2445378151</AvgDepth>
<Location>Okrug Gornji</Location>
<Site>Zaparin</Site>
<InPressure>202</InPressure>
<OutPressure>47</OutPressure>
<TankVolume>12</TankVolume>
<PercentageO2>21</PercentageO2>
<WaterType>s</WaterType>
<Visibility>12</Visibility>
<SurfaceTemp>19</SurfaceTemp>
<BottomTemp>17</BottomTemp>
<AirTemp>26</AirTemp>
<DiveNumber>132</DiveNumber>
<Notes>What a lovely dive!</Notes>
<Created>2011-03-17 11:00:11.27922+01</Created>
<Modified>2011-04-20 11:46:32.162026+02</Modified>
<Buddies>
<Buddy>
<RelationId>20</RelationId>
<Name>Jim</Name>
<Type>buddy</Type>
<Confirmed>no</Confirmed>
</Buddy>
</Buddies>
<Samples>
<Sample>
<Elapsed>0</Elapsed>
<Depth>0</Depth>
<Pressure>0</Pressure>
</Sample>
<Sample>
<Elapsed>20</Elapsed>
<Depth>8</Depth>
<Pressure>199</Pressure>
</Sample>
<!-- ... (more samples) -->
</Samples>
</Dive>
<Status>200 OK</Status>
</DiveIo>
<SurfaceTemp />
The following fields can be updated - other fields given in the POST data will be ignored: