POST api/Image?accountId={accountId}&reference={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": "96a7a40a-b758-4072-be67-6acc71ade080",
"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="96a7a40a-b758-4072-be67-6acc71ade080" accountId="sample string 2" reference="sample string 3" />