Item Image

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

PropertyCaptionData TypeRequired
NameSubjectString (50)True
ItemRefItemEntityRefTrue
DescriptionDescriptionString (4000)False
IsDefault
DefaultBooleanFalse
IsWebResource
Get Web resource
BooleanFalse
PhysicalPath
Get Web resourc
String (1000)
True if
IsWebResource is
True
FileData
FileByte ArrayPost: True
Put: Ignored

Json Sample

{   
    "Name": "Widgets.png",
    "Description": "Small image"
    "IsDefault": true,
    "ItemRef": {"Id":17, "Name": "BOTTLE"},
    "FileData": [9,9,8,0...]
    
}