Example XML Request & Response - POST Media
https://...surpass.com/api/v2/Media/
Header:
Content-length: 198
Content-type: application/xml
Accept: application/xml
Authorization: Basic
Q1RMRGVtbzpQYXNzd29yZa==
Body:
<media xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<data>/9j/4AAQSkZJRgABAgEAAAAAAAD//2Q==</data>
<subject>
<reference>JLTS</reference>
</subject>
<name>BTL-square.jpg</name>
</media>
Response:
<response xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<id>4151</id>
<href>https://...surpass.com/api/v2/Media/4151</href>
<errors i:nil="true" />
</response>