# Corrosion contact surfaces

This function is used to obtain the name of contact surface metals which OLI supports for corrosion rate calculations. &#x20;

## corrosion contact surface

<mark style="color:blue;">`GET`</mark> `https://api.olisystems.com/engine/file/{dbs_file_id}/corrosion-contact-surface`

get the corrosion contact surfaces applicable for the given chemistry model

#### Headers

| Name          | Type   | Description            |
| ------------- | ------ | ---------------------- |
| Authorization | string | Bearer {access\_token} |

{% tabs %}
{% tab title="200 Please look at "API call blueprint" page on how to obtain results" %}

```
{
	"code": 200,
	"data": {
		"file_id": "dee854a6-59db-487d-ad08-a20dee691133",
		"jobId": "f6b3375e-cd0f-4ace-a5ee-71e047b76754",
		"resultsLink": "https://api.olisystems.com/result/flash/f6b3375e-cd0f-4ace-a5ee-71e047b76754?context=engine",
		"status": "IN PROGRESS"
	},
	"message": "Process execution started Successfully",
	"status": "SUCCESS"
}
```

{% endtab %}
{% endtabs %}

### Response (status = PROCESSED)

```javascript
{
    "data": {
        "result": {
            "contactSurfaces": {
                "Aluminum": [
                    "Aluminum 1199 (pure)",
                    "Aluminum 1100"
                ],
                "Copper based alloy": [
                    "Cu",
                    "CuNi 9010",
                    "CuNi 7030"
                ],
                "Iron/Mild steel": [
                    "Fe (zone refined)",
                    "Fe (pure)",
                    "Carbon steel G10100 (generic)",
                    "Carbon steel A212B",
                    "Carbon steel A216",
                    "Carbon steel 1018"
                ],
                "Nickel based alloy": [
                    "Ni",
                    "Alloy 600",
                    "Alloy 690",
                    "Alloy 825",
                    "Alloy 625",
                    "Alloy C-276",
                    "Alloy C-22",
                    "Alloy 28",
                    "Alloy 29",
                    "Alloy 2535",
                    "Alloy 2550"
                ],
                "Stainless steel": [
                    "13%Cr stainless steel",
                    "Super13Cr stainless steel",
                    "Super15Cr stainless steel",
                    "Super17Cr stainless steel",
                    "Stainless steel 304",
                    "Stainless steel 316",
                    "Alloy 254SMO",
                    "Duplex stainless 2205",
                    "Duplex stainless 2507"
                ]
            }
        }
    },
    "message": "Results returned successfully",
    "status": "PROCESSED"
}
```

{% hint style="warning" %}
The keys inside **data.result.contactSurfaces** are the class names of contact surface metals. Each class holds the available contact surface metals under it. Not all class names might be shown in the result. This depends on the metal element inflows that are specified in the chemistry model.&#x20;
{% endhint %}

| data.result.contactSurfaces | type      | required inflow in chemistry model |
| --------------------------- | --------- | ---------------------------------- |
| Iron/Mild steel             | \[string] | FEEL                               |
| Stainless steel             | \[string] | FEEL                               |
| Aluminum                    | \[string] | ALEL                               |
| Nickel based alloy          | \[string] | NIEL                               |
| Copper based alloy          | \[string] | CUEL                               |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://devdocs.olisystems.com/group1/api-functions/corrosion-contact-surface.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
