Skip to main content

Get CIFS server configurations

Contributors netapp-aoife

You can use this workflow to retrieve the Common Internet File System (CIFS) server configurations for an existing on-premises system.

Step 1. Select the system

Perform the workflow Get systems and choose the publicId value of the system for the workingEnvironmentId path parameter.

Step 2. Get the CIFS configurations

You can issue a REST API call to retrieve the CIFS configurations.

HTTP method and endpoint

This REST API call uses the following method and endpoint.

HTTP method Path

GET

/occm/api/onprem/working-environments/{workingEnvironmentId}/cifs

Curl example
curl --request GET \
--location "https://api.bluexp.netapp.com/occm/api/onprem/working-environments/<WORKING_ENV_ID>/cifs" \
--header "Content-Type: application/json" \
--header "x-agent-id: <AGENT_ID>" \
--header "Authorization: Bearer <ACCESS_TOKEN>"
Additional input parameters

The JSON input example includes the minimum list of parameters.

Parameter Type Required Description

workingEnvironmentId <WORKING_ENV_ID>

Path

Yes

Identifies the system

svm

Query

No

Identifies the SVM

JSON output example

The JSON output example includes the CIFS configurations for an existing ONTAP on-premises system.

[
    {
        "dnsDomain": "zivh.netapp.com",
        "activeDirectoryDomain": "zivh.netapp.com",
        "ipAddresses": [
            "1xx.00.5.241"
        ],
        "netBIOS": "zivaws02xxx",
        "organizationalUnit": "CN=Computers",
        "authenticationType": "domain"
    }
]