Skip to main content

Get Mineral Composition by ID

Method: GET
/api/v1/mineral-compositions/{mineralCompositionId}


Description​

This endpoint retrieves the details of a specific mineral composition based on its unique ID.


🔑 Authentication​

No authentication details were specified, but ensure the correct permissions are in place if required by your system.


Path Parameter​

NameTypeDescription
mineralCompositionIdstringThe unique ID of the mineral composition to retrieve.

Response: 200 OK​

A successful response will return the details of the requested mineral composition.

Example Response:

{
"mineralCompositionId": "123456",
"name": "Iron Ore",
"description": "High-quality iron ore composition",
"compositionDetails": {
"ironPercentage": 70,
"silicaPercentage": 5,
"aluminaPercentage": 3,
"otherMinerals": {
"calcium": 1.5,
"magnesium": 0.5
}
},
"createdAt": "2025-02-12T04:04:39.986Z",
"updatedAt": "2025-02-12T04:10:00.000Z"
}

LANGUAGE

AUTHORIZATION

Bearer

CURL REQUEST


curl --request GET \ 
--url /api/v1/mineral-compositions/{mineralCompositionId} \
--header 'accept: application/json' \
--header 'content-type: application/json'

RESPONSE


Click Try It! to start a request and see the response here!