Example JSON Request & Response - POST Media

https://...surpass.com/api/v2/Media/

Header:

Content-length: 122
Content-type: application/json
Accept: application/json
Authorization: Basic Q1RMRGVtbzpQYXNzd29yZa==

Body:

{

  "subject": {

     "reference": "JLTS"

  },

  "data": "/9j/4AAQSkZJRgABAgEAAAAAAAD//2Q==",

  "name": "BTL-square.jpg"

}

Response:

{

  "id": 4150,

  "href": "https://...surpass.com/api/v2/Media/4150",

  "errors": null

}

Feedback and Knowledge Base