[SDF-95544] Add attachment to Contract using API V3

[SDF-95544] Add attachment to Contract using API V3

Hi everyone !

I have now tried for quite some time to upload an attachment to a contract using a POST request to /api/v3/attachments

Is this possible anyway? 
Where is the API V3 documentation for the on-premise version?
Do i really need admin role to access it on-premise?!
Or can i use https://www.manageengine.com/products/service-desk/sdpod-v3-api/ ?

I have tried the example under https://pitstop.manageengine.com/portal/en/community/topic/attaching-an-attachment-to-a-request and changed the JSON payload to contract instead of request.
String params = "{\"attachment\":{\"contract\":{\"id\":\""+ contractID+ "\"}}}" ;

The response i get is:
{"response_status":{"messages":[{"type":"failed","message":"Value provided for field(s) [contract] is invalid","status_code":"4001"}],"status":"failed"}}

We have a large migration project and really want to avoid doing contract uploads and setting responsible persons by hand for several hundred contracts.

I am on an on-premise installation, version 11.2 Build 11202

Thanks!

                  New to ADSelfService Plus?