6.3 GetObject
Topic Version | 1 | Published | 10/16/2017 | |
For Standard | ETPW20 v1 |
To retrieve a single data object from a store, send a GetObject message.
Example GetObject message with the Object message reply:
// [5c7c2f28-4332-4c0f-acf5-a14aad678f3a] Message sent at 2017-04-18 20:37:15.9653{
"protocol":4,
"messageType":1,
"correlationId":0,
"messageId":4,
"messageFlags":3}{
"uri": "eml://witsml20/Trajectory(0655e8cd-b590-4f89-9b30-2a897db562ec)"}// [5c7c2f28-4332-4c0f-acf5-a14aad678f3a] Message received at 2017-04-18 20:37:16.0225{
"protocol":4,
"messageType":4,
"correlationId":4,
"messageId":7,
"messageFlags":3}{
"dataObject": {
"resource": {
"uri": "eml://witsml20/Trajectory(0655e8cd-b590-4f89-9b30-2a897db562ec)",
"contentType": "application/x-witsml+xml;version=2.0;type=Trajectory",
"name": "Plan #2",
"channelSubscribable": true,
"customData": {},
"resourceType": "DataObject",
"hasChildren": -1,
"uuid": "0655e8cd-b590-4f89-9b30-2a897db562ec",
"lastChanged": 1492565542132000,
"objectNotifiable": true },
"contentEncoding": "gzip",
"data": [ binary data truncated for readability ] }}
Decoded data object XML:
<Trajectory xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/terms/" schemaVersion="2.0" uuid="0655e8cd-b590-4f89-9b30-2a897db562ec" xmlns="http://www.energistics.org/energyml/data/witsmlv2">
<Citation xmlns="http://www.energistics.org/energyml/data/commonv2">
<Title>Plan #2</Title>
<Originator>PDS</Originator>
<Creation>2017-04-19T01:32:22.131Z</Creation>
<Format>PDS.WITSMLstudio.Desktop, Version=2017.1.0.0 </Format>
<LastUpdate>2017-04-19T01:32:22.132Z</LastUpdate>
</Citation>
<GrowingStatus>inactive</GrowingStatus>
<DTimTrajStart>2001-10-31T08:15:00.0000000+00:00</DTimTrajStart>
<DTimTrajEnd>2001-11-03T16:30:00.0000000+00:00</DTimTrajEnd>
<ServiceCompany>Anadrill</ServiceCompany>
<MagDeclUsed uom="dega">-4.038</MagDeclUsed>
<AziVertSect uom="dega">82.7</AziVertSect>
<DispNsVertSectOrig uom="ft">0</DispNsVertSectOrig>
<DispEwVertSectOrig uom="ft">0</DispEwVertSectOrig>
<Definitive>true</Definitive>
<Memory>true</Memory>
<FinalTraj>true</FinalTraj>
<AziRef>grid north</AziRef>
<Wellbore>
<ContentType xmlns="http://www.energistics.org/energyml/data/commonv2">application/x-witsml+xml;version=2.0;type=Wellbore</ContentType>
<Title xmlns="http://www.energistics.org/energyml/data/commonv2">A-42</Title>
<Uuid xmlns="http://www.energistics.org/energyml/data/commonv2">d7cb2b2b-b0c1-48d6-9d8b-5253f4507beb</Uuid>
<UuidAuthority xmlns="http://www.energistics.org/energyml/data/commonv2">B-01</UuidAuthority>
</Wellbore>
</Trajectory>