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
Property | Caption | Data Type | Required |
Name | Subject | String (50) | True |
Description | Description | String (4000) | False |
RecordType | Related To | RecordTypeEnum | True |
EntityId | Related To | Int32 | True |
FileData | File | Byte Array | Post: True Put: Ignored |
Json Sample
{ "Name": "Order.Pdf", "Description": "This weeks order" "RecordType": 7, "EntityId": 10698, "FileData": [9,9,8,0...] }