ImportableTrackResource Resource

GET /importabletracks

Request Parameters
name type description
importableBatchIds query
importableTrackIds query
Response Codes
code condition
200 The importable track for the provided importable track batch id was returned.
500 An error occured.
Response Body
media type data type description
application/xml;charset=utf-8 (custom)

Example

Request
GET /importabletracks
Content-Type: */*
Accept: application/xml;charset=utf-8

                
...
                
              
Response
HTTP/1.1 200 OK
Content-Type: application/xml;charset=utf-8

                
...
                
              

POST /importabletracks

Creates an importable track. Regardless of the provided state of the fields id and updated, these fields will be automatically populated upon creation.

Request Body
media type data type description
application/xml MTImportableTrack (XML) the SerialImportableTrack which is to be created.
Response Codes
code condition
200 The importable track was created.
500 An error occured.
Response Body
media type data type description
application/xml;charset=utf-8 (custom) the created SerialImportableTrack.

Example

Request
POST /importabletracks
Content-Type: application/xml
Accept: application/xml;charset=utf-8

                
<importableTrack>
  <id>...</id>
  <data>...</data>
  <importableBatch>
    <format>...</format>
    <hash>...</hash>
    <priority>...</priority>
    <properties>...</properties>
    <source>...</source>
    <title>...</title>
    <trackCount>...</trackCount>
    <id>...</id>
    <updated>...</updated>
  </importableBatch>
  <updated>...</updated>
</importableTrack>

                
              
Response
HTTP/1.1 200 OK
Content-Type: application/xml;charset=utf-8

                
...
                
              

DELETE /importabletracks/{importableTrackId}

Deletes an importable track.

Request Parameters
name type description
importableTrackId path a String holding an id which represents the importable track which is to be deleted.
Response Codes
code condition
204 The importable track was deleted.
404 The importable track does not exist.
500 An error occured.

Example

Request
DELETE /importabletracks/{importableTrackId}
Content-Type: */*

                
...
                
              
Response
HTTP/1.1 204 No Content