GCP - M13 - bulk log data load error
Howdy, Trying to post log data via Postman to an existing log record but getting error when posting bulk data.
Creating log using
curl --location --request POST 'https://preship.gcp.gnrg-osdu.projects.epam.com/api/os-wellbore-ddms/ddms/v3/welllogs'
--header 'data-partition-id: odesprod'
--header 'Authorization: Bearer xxxxx'
--header 'Content-Type: application/json'
--data-raw '[{
"acl": {
"viewers": [
"data.default.viewers@odesprod.osdu-gcp.go3-nrg.projects.epam.com"
],
"owners": [
"data.default.owners@odesprod.osdu-gcp.go3-nrg.projects.epam.com"
]
},
"data": {
"Curves": [
{
"CurveID": "GR_ID",
"Mnemonic": "GR",
"CurveUnit": "odesprod:reference-data--UnitOfMeasure:m:",
"LogCurveFamilyID": "odesprod:reference-data--LogCurveFamily:GammaRay:"
},
{
"CurveID": "POR_ID",
"Mnemonic": "NPOR",
"CurveUnit": "odesprod:reference-data--UnitOfMeasure:m:",
"LogCurveFamilyID": "odesprod:reference-data--LogCurveFamily:NeutronPorosity:"
},
{
"CurveID": "Bulk Density",
"Mnemonic": "RHOB",
"CurveUnit": "odesprod:reference-data--UnitOfMeasure:m:",
"LogCurveFamilyID": "odesprod:reference-data--LogCurveFamily:BulkDensity:"
}
],
"WellboreID": "odesprod:master-data--Wellbore:AutoTest_999951556951:",
"CreationDateTime": "2013-03-22T11:16:03Z",
"VerticalMeasurement": {
"VerticalMeasurement": 2680.5,
"VerticalMeasurementPathID": "odesprod:reference-data--VerticalMeasurementPath:MD:",
"VerticalMeasurementUnitOfMeasureID": "odesprod:reference-data--UnitOfMeasure:ft:"
},
"TopMeasuredDepth": 12345.6,
"BottomMeasuredDepth": 13856.25,
"Name": "AutoTest_999951556951",
"ExtensionProperties": {
"step": {
"unitKey": "ft",
"value": 0.1
},
"dateModified": "2013-03-22T11:16:03Z"
}
},
"id": "odesprod:work-product-component--WellLog:AutoTest_999951556951",
"kind": "osdu:wks:work-product-component--WellLog:1.1.0",
"legal": {
"legaltags": [
"odesprod-Wellbore-Legal-Tag-Test999951556951"
],
"otherRelevantDataCountries": [
"US",
"FR"
]
},
"meta": [{
"kind": "Unit",
"name": "ft",
"persistableReference": "{\"scaleOffset\":{\"scale\":0.3048,\"offset\":0.0},\"symbol\":\"ft\",\"baseMeasurement\":{\"ancestry\":\"Length\",\"type\":\"UM\"},\"type\":\"USO\"}",
"propertyNames": [
"stop.value",
"elevationReference.elevationFromMsl.value",
"start.value",
"step.value",
"reference.unitKey"
],
"propertyValues": [
"ft"
]
}, {
"kind": "DateTime",
"name": "datetime",
"persistableReference": "{\"format\":\"yyyy-MM-ddTHH:mm:ssZ\",\"timeZone\":\"UTC\",\"type\":\"DTM\"}",
"propertyNames": [
"dateModified",
"dateCreated"
]
}
]
}
]'
trying to post using https://preship.gcp.gnrg-osdu.projects.epam.com/api/os-wellbore-ddms/ddms/v3/welllogs/odesprod:work-product-component--WellLog:AutoTest_999951556951/data
{ "detail": "The number of columns for curve(s): {'GR_ID': 1, 'POR_ID': 1, 'Bulk Density': 1} in the bulk data do(es) not match the 'NumberOfColumns' property value in the WellLog record for CurveID: {'GR_ID': None, 'POR_ID': None, 'Bulk Density': None} ." }
thanks, Grant