RPG MusicTags

<back to all web services

Upload

REST Paths

The following REST paths are available for this service.

All Verbs /Upload

To override the Content-type in your clients HTTP Accept Header, append ?format=soap12

HTTP + SOAP12

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /soap12 HTTP/1.1 
Host: rpgmusictags.org 
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
    <soap12:Body>

<Upload xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ares.GlobalDB.Services">
  <IncludeLog>false</IncludeLog>
  <TagsData xmlns:d2p1="http://schemas.datacontract.org/2004/07/Ares.Tags">
    <d2p1:Categories>
      <d2p1:CategoryExchange>
        <d2p1:Id>0</d2p1:Id>
        <d2p1:Names>
          <d2p1:TranslationExchange>
            <d2p1:LanguageId>0</d2p1:LanguageId>
            <d2p1:Name>String</d2p1:Name>
          </d2p1:TranslationExchange>
        </d2p1:Names>
      </d2p1:CategoryExchange>
    </d2p1:Categories>
    <d2p1:Files>
      <d2p1:FileIdentification>
        <d2p1:AcoustId>String</d2p1:AcoustId>
        <d2p1:Album>String</d2p1:Album>
        <d2p1:Artist>String</d2p1:Artist>
        <d2p1:Id>0</d2p1:Id>
        <d2p1:Title>String</d2p1:Title>
      </d2p1:FileIdentification>
    </d2p1:Files>
    <d2p1:Languages>
      <d2p1:LanguageExchange>
        <d2p1:ISO6391Code>String</d2p1:ISO6391Code>
        <d2p1:Id>0</d2p1:Id>
        <d2p1:Names>
          <d2p1:TranslationExchange>
            <d2p1:LanguageId>0</d2p1:LanguageId>
            <d2p1:Name>String</d2p1:Name>
          </d2p1:TranslationExchange>
        </d2p1:Names>
      </d2p1:LanguageExchange>
    </d2p1:Languages>
    <d2p1:RemovedTags>
      <d2p1:TagsForFileExchange>
        <d2p1:FileId>0</d2p1:FileId>
        <d2p1:TagIds xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:long>0</d5p1:long>
        </d2p1:TagIds>
      </d2p1:TagsForFileExchange>
    </d2p1:RemovedTags>
    <d2p1:Tags>
      <d2p1:TagExchange>
        <d2p1:CategoryId>0</d2p1:CategoryId>
        <d2p1:Id>0</d2p1:Id>
        <d2p1:Names>
          <d2p1:TranslationExchange>
            <d2p1:LanguageId>0</d2p1:LanguageId>
            <d2p1:Name>String</d2p1:Name>
          </d2p1:TranslationExchange>
        </d2p1:Names>
      </d2p1:TagExchange>
    </d2p1:Tags>
    <d2p1:TagsForFiles>
      <d2p1:TagsForFileExchange>
        <d2p1:FileId>0</d2p1:FileId>
        <d2p1:TagIds xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:long>0</d5p1:long>
        </d2p1:TagIds>
      </d2p1:TagsForFileExchange>
    </d2p1:TagsForFiles>
  </TagsData>
  <Test>false</Test>
  <User>String</User>
</Upload>

    </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
    <soap12:Body>

<UploadResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ares.GlobalDB.Services">
  <ErrorMessage>String</ErrorMessage>
  <Log>String</Log>
  <Status>0</Status>
</UploadResponse>

    </soap12:Body>
</soap12:Envelope>