POST api/Image/{accountId}/{reference}
Uploads a new device image
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| accountId |
Customer account ID |
string |
Required |
| reference |
Customer device reference |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
Image reference
Image| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
None. |
|
| accountId | string |
None. |
|
| reference | string |
None. |
|
| link | Collection of Link |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": "f672a269-b4f5-4f27-bd82-1e4c88e7b218",
"accountId": "sample string 2",
"reference": "sample string 3",
"link": []
}
application/xml, text/xml
Sample:
<images xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="f672a269-b4f5-4f27-bd82-1e4c88e7b218" accountId="sample string 2" reference="sample string 3" />