Attachment

Attachment Object


End Point

/attachment

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
DescriptionDescriptionString (4000)False
RecordType
Related ToRecordTypeEnumTrue
EntityId
Related ToInt32True
FileData
FileByte ArrayPost: True
Put: Ignored

Json Sample

{   
    "Name": "Order.Pdf",
    "Description": "This weeks order"
    "RecordType": 7,
    "EntityId": 10698,
    "FileData": [9,9,8,0...]
    
}