I've tried to create a Dynamics NAV Document Attachment record using a 'POST' in Postman with the following URL:-
https://[OData_URL]/API_Document_Attachment(9600,'SO000006','1',0,1)
… and Body:-
{
"AttachedDate": "2020-03-16T15:44:00.85Z",
"FileName": "Test Attachment 3",
"FileType": "PDF",
"FileExtension": "pdf"
}
It returns the Status message below:-
405 'POST' requests for 'API_Document_Attachment' of EdmType 'Entity' are not allowed within Microsoft Dynamics 365 Business Central OData web services.
Am I attempting something that's been disallowed, or do I have syntax issues?