POST api/SongsV3/SongOfflinePlayed

Request Information

URI Parameters

None.

Body Parameters

SongOffline
NameDescriptionTypeAdditional information
userId

string

None.

OfflineList

Collection of OfflineList

None.

Request Formats

application/json, text/json

Sample:
{
  "userId": "sample string 1",
  "OfflineList": {
    "$id": "2",
    "$values": [
      {
        "$id": "3",
        "Songid": 1,
        "PlayedCount": 2
      },
      {
        "$ref": "3"
      }
    ]
  }
}

application/xml, text/xml

Sample:
<SongOffline xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JalsoApi.Models">
  <OfflineList>
    <OfflineList>
      <PlayedCount>2</PlayedCount>
      <Songid>1</Songid>
    </OfflineList>
    <OfflineList>
      <PlayedCount>2</PlayedCount>
      <Songid>1</Songid>
    </OfflineList>
  </OfflineList>
  <userId>sample string 1</userId>
</SongOffline>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.