IBM M22 - Core Services - CRS Conversion V3

Hello,

I'm trying to run 2 requests for CRS Conversion V3 without Success. here is what I have:

2. Convert a list of points

POST https://{{CRS_CONVERSION_HOST_V3}}/convert

BODY CURL VERSION

curl --location 'https://cpd-osdu.apps.osdu-preship.ibmodi.com/osdu-crs-conversion/api/crs/converter/v3/convert' \
--header 'data-partition-id: opendes' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <Token>' \
--header 'Cookie: 5e7c4a992d2558462d1c9fcde6f1cee7=d7c00795bd9f4e77085f06413828a62c' \
--data '{
    "fromCRS": "opendes:reference-data--CoordinateReferenceSystem:BoundProjected:EPSG::28992_EPSG::1672:",
    "toCRS": "opendes:reference-data--CoordinateReferenceSystem:Projected:EPSG::32632:",
    "points": [
        {
            "x": 400000,
            "y": 190000,
            "z": 0
        },
        {
            "x": 399787.00835051807,
            "y": 6500567.67783067,
            "z": -173.79810638019308
        }
    ]
}'

BODY

{
    "fromCRS": "{{data-partition-id}}:reference-data--CoordinateReferenceSystem:BoundProjected:EPSG::28992_EPSG::1672:",
    "toCRS": "{{data-partition-id}}:reference-data--CoordinateReferenceSystem:Projected:EPSG::32632:",
    "points": [
        {
            "x": 400000,
            "y": 190000,
            "z": 0
        },
        {
            "x": 399787.00835051807,
            "y": 6500567.67783067,
            "z": -173.79810638019308
        }
    ]
}

RESPONSE

{
    "code": 400,
    "message": "record not found: opendes:reference-data--CoordinateReferenceSystem:BoundProjected:EPSG::28992_EPSG::1672/"
}

3. Convert Bin Grid

POST https://{{CRS_CONVERSION_HOST_V3}}/convertBinGrid

BODY CURL VERSION

curl --location 'https://cpd-osdu.apps.osdu-preship.ibmodi.com/osdu-crs-conversion/api/crs/converter/v3/convertBinGrid' \
--header 'data-partition-id: opendes' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <Token>' \
--header 'Cookie: 5e7c4a992d2558462d1c9fcde6f1cee7=d7c00795bd9f4e77085f06413828a62c' \
--data '{
    "toCRS": "opendes:reference-data--CoordinateReferenceSystem:BoundProjected:EPSG::32064_EPSG::15851:",
    "inBinGrid": {
        "CoveragePercent": 1.0,
        "ABCDBinGridSpatialLocation": {
            "AsIngestedCoordinates": {
                "type": "AnyCrsFeatureCollection",
                "CoordinateReferenceSystemID": "opendes:reference-data--CoordinateReferenceSystem:Projected:EPSG::32615:",
                "features": [
                    {
                        "type": "AnyCrsFeature",
                        "properties": {
                            "Kind": "osdu:osdu:AbstractGeoJson.PropertiesBinGridCorners:1.0.0",
                            "PointProperties": [
                                {
                                    "Inline": 1,
                                    "Crossline": 1000
                                }
                            ]
                        },
                        "geometry": {
                            "type": "AnyCrsPoint",
                            "coordinates": [
                                500000.00,
                                3000000.00
                            ]
                        }
                    },
                    {
                        "type": "AnyCrsFeature",
                        "properties": {
                            "Kind": "osdu:osdu:AbstractGeoJson.PropertiesBinGridCorners:1.0.0",
                            "PointProperties": [
                                {
                                    "Inline": 1,
                                    "Crossline": 2000
                                }
                            ]
                        },
                        "geometry": {
                            "type": "AnyCrsPoint",
                            "coordinates": [
                                500000.00,
                                3100000.00
                            ]
                        }
                    },
                    {
                        "type": "AnyCrsFeature",
                        "properties": {
                            "Kind": "osdu:osdu:AbstractGeoJson.PropertiesBinGridCorners:1.0.0",
                            "PointProperties": [
                                {
                                    "Inline": 101,
                                    "Crossline": 1000
                                }
                            ]
                        },
                        "geometry": {
                            "type": "AnyCrsPoint",
                            "coordinates": [
                                600000.00,
                                3000000.00
                            ]
                        }
                    },
                    {
                        "type": "AnyCrsFeature",
                        "properties": {
                            "Kind": "osdu:osdu:AbstractGeoJson.PropertiesBinGridCorners:1.0.0",
                            "PointProperties": [
                                {
                                    "Inline": 101,
                                    "Crossline": 2000
                                }
                            ]
                        },
                        "geometry": {
                            "type": "AnyCrsPoint",
                            "coordinates": [
                                600000.00,
                                3100000.00
                            ]
                        }
                    }
                ]
            }
        },
        "P6ScaleFactorOfBinGrid": 1,
        "P6BinNodeIncrementOnIaxis": 1,
        "P6BinNodeIncrementOnJaxis": 1
    }
}'

BODY

{
    "toCRS": "{{data-partition-id}}:reference-data--CoordinateReferenceSystem:BoundProjected:EPSG::32064_EPSG::15851:",
    "inBinGrid": {
        "CoveragePercent": 1.0,
        "ABCDBinGridSpatialLocation": {
            "AsIngestedCoordinates": {
                "type": "AnyCrsFeatureCollection",
                "CoordinateReferenceSystemID": "{{data-partition-id}}:reference-data--CoordinateReferenceSystem:Projected:EPSG::32615:",
                "features": [
                    {
                        "type": "AnyCrsFeature",
                        "properties": {
                            "Kind": "{{authority}}:{{schemaSource}}:AbstractGeoJson.PropertiesBinGridCorners:1.0.0",
                            "PointProperties": [
                                {
                                    "Inline": 1,
                                    "Crossline": 1000
                                }
                            ]
                        },
                        "geometry": {
                            "type": "AnyCrsPoint",
                            "coordinates": [
                                500000.00,
                                3000000.00
                            ]
                        }
                    },
                    {
                        "type": "AnyCrsFeature",
                        "properties": {
                            "Kind": "{{authority}}:{{schemaSource}}:AbstractGeoJson.PropertiesBinGridCorners:1.0.0",
                            "PointProperties": [
                                {
                                    "Inline": 1,
                                    "Crossline": 2000
                                }
                            ]
                        },
                        "geometry": {
                            "type": "AnyCrsPoint",
                            "coordinates": [
                                500000.00,
                                3100000.00
                            ]
                        }
                    },
                    {
                        "type": "AnyCrsFeature",
                        "properties": {
                            "Kind": "{{authority}}:{{schemaSource}}:AbstractGeoJson.PropertiesBinGridCorners:1.0.0",
                            "PointProperties": [
                                {
                                    "Inline": 101,
                                    "Crossline": 1000
                                }
                            ]
                        },
                        "geometry": {
                            "type": "AnyCrsPoint",
                            "coordinates": [
                                600000.00,
                                3000000.00
                            ]
                        }
                    },
                    {
                        "type": "AnyCrsFeature",
                        "properties": {
                            "Kind": "{{authority}}:{{schemaSource}}:AbstractGeoJson.PropertiesBinGridCorners:1.0.0",
                            "PointProperties": [
                                {
                                    "Inline": 101,
                                    "Crossline": 2000
                                }
                            ]
                        },
                        "geometry": {
                            "type": "AnyCrsPoint",
                            "coordinates": [
                                600000.00,
                                3100000.00
                            ]
                        }
                    }
                ]
            }
        },
        "P6ScaleFactorOfBinGrid": 1,
        "P6BinNodeIncrementOnIaxis": 1,
        "P6BinNodeIncrementOnJaxis": 1
    }
}

RESPONSE

{
    "code": 400,
    "message": "record not found: opendes:reference-data--CoordinateReferenceSystem:BoundProjected:EPSG::32064_EPSG::15851/"
}