# Splits and parses a device instance path Splits and parses a device instance path for UI/workflow usage. ## Endpoint **POST** `/dcapi/device/splitinstancepath` ## Request ### Request URL https://[{serverurl}](https://www.manageengine.com/products/desktop-central/help/api/cloud/oauth-authentication-endpoint-domain.html)/dcapi/device/splitinstancepath ### Scope `DesktopCentralCloud.DeviceControl.READ` ### Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ### Request Parameters #### Request Headers - **Content-Type** `string` **Mandatory**: `application/json` #### Request Body `application/json` JSON Object: - **parentInstancePath** `string` Optional: Parent device instance path - **deviceInstancePath** `string` Optional: Full device instance path to split - **deviceTypeId** `long` Optional: Device type identifier. Fetch from [Get Supported Devices](https://www.manageengine.com/products/desktop-central/help/api/cloud/dcpget-supported-devices.html) ### Sample Request ```curl curl --request POST \ --url https://appdomains/dcapi/device/splitinstancepath \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \ --header 'Content-Type: application/json' \ --data '{}' ``` ### Sample Request Body Split a device instance path ```json { "deviceTypeId": 1, "deviceInstancePath": "USB\\VID_0781&PID_55AB\\04015160", "parentInstancePath": "USB\\VID_0781&PID_55AB" } ``` ## Response Parameters ### HTTP Code 200 Response Body — `application/json` JSON Object: - **vendorHexID** `string`: Parsed vendor hexadecimal identifier - **productHexID** `string`: Parsed product hexadecimal identifier - **serialNo** `string`: Parsed serial number. Falls back to parentInstancePath if serial number cannot be extracted ### HTTP Code 400 Response Body — `application/json` JSON Object: - **errorCode** `string`: Error code identifying the type of error - **errorMsg** `string`: Human-readable error message ### HTTP Code 500 Response Body — `application/json` JSON Object: - **errorCode** `string`: Error code identifying the type of error - **errorMsg** `string`: Human-readable error message ### Possible Response Codes - **200**: HTTP code - **400**: HTTP code - **500**: HTTP code ### Sample Response: HTTP 200 Split instance path response ```json { "productHexID": "55AB", "vendorHexID": "0781", "serialNo": "04015160" } ``` ### Sample Response: HTTP 400 Bad request - missing parentInstancePath ```json { "errorCode": "INCORRECT_REQUEST_DATA", "errorMsg": "parentInstancePath can't not be empty" } ``` ### Sample Response: HTTP 500 Internal server error ```json { "errorCode": "INTERNAL_ERROR", "errorMsg": "Internal Server Error!" } ``` ## Rate Limit ![](https://www.zohowebstatic.com/sites/zweb/images/people/ico-help.png) **Duration:** 1 minute | **Threshold:** 30 | **Lock period:** 5 minutes Duration - Time window for the threshold. Threshold - Number of API calls allowed within the specified duration. Lock Period - Wait time before consecutive API requests.