Item Image Object
End Point
/itemimage
GET, POST, PUT, DELETE
GET and DELETE requests expect parameter id of type Int32.
PUT cannot be used to change the file. If this is the intention, first Delete then Post a new attachment.
Properties
Property | Caption | Data Type | Required |
Name | Subject | String (50) | True |
ItemRef | Item | EntityRef | True |
Description | Description | String (4000) | False |
IsDefault | Default | Boolean | False |
IsWebResource | Get Web resource | Boolean | False |
PhysicalPath | Get Web resourc | String (1000) | True if IsWebResource is True |
FileData | File | Byte Array | Post: True Put: Ignored |
Json Sample
{ "Name": "Widgets.png", "Description": "Small image" "IsDefault": true, "ItemRef": {"Id":17, "Name": "BOTTLE"}, "FileData": [9,9,8,0...] }