Doubts regarding /Documents/:record/file/:field POST endpoint

Can anyone please tell how to hit /Documents/:record/file/:field POST endpoint using Postman?

It uses following payload scheme:

{
   "format":"sugar-html-json",
   "delete_if_fails":true,
   "oauth_token":"43b6b327-cc70-c301-3299-512ffb99ad97",
   "<attachment field>":"@\/path\/to\/ExampleDocument.txt"
}

I am not able to resolve the <attachment field> in the above payload.

Parents Reply Children