# Device Details

| **API URL**     | {{url}}/spice-service/devicedetails |
| --------------- | ----------------------------------- |
| **Method**      | POST                                |
| **Description** | Device Details                      |

#### **Input:** <a href="#devicedetails-input" id="devicedetails-input"></a>

| **Field Name**        | **Type** | **Mandatory** | **Example**                                                                                                                                     |
| --------------------- | -------- | ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| Authorization(Header) | String   | Yes           | Bearer eyJlbmMiOiJBMTI4R0NNIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.MCm0mJDfpfjlr10Uok79-kTF7fv9Tn7cI5m2WsRDGUd9VS7iRmfbszjuc1-w5D-PYt9CdVxRMGBQlzYauhnI |

#### **Input:** <a href="#devicedetails-input-.1" id="devicedetails-input-.1"></a>

| **Field Name** | **Type** | **Mandatory** | **Example**       |
| -------------- | -------- | ------------- | ----------------- |
| username       | String   | Yes           | <spice@spice.mdt> |
| password       | String   | Yes           | Spice123          |

#### **Sample Input:** <a href="#devicedetails-sampleinput" id="devicedetails-sampleinput"></a>

{     "deviceId": "e45e1e7f7498df3e",     "model": "AOSP on IA Emulator",     "name": "Google",     "tenantId": 4,     "type": "Android",     "version": "9" }

#### **Sample Output:** <a href="#devicedetails-sampleoutput" id="devicedetails-sampleoutput"></a>

```
{
    "message": "{0} Device Details Added Successfully.",
    "entity": {
        "id": 17
    },
    "status": true,
    "entityList": null,
    "responseCode": 201,
    "totalCount": null
}
```
