POST api/Folder/Post

Documentation for 'Post'.

Request Information

Parameters

NameDescriptionAdditional information
folder
Documentation for 'folder'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "FolderID": 1,
  "FolderName": "sample string 2",
  "FolderPath": "sample string 3",
  "Parent": 1,
  "Artwork": "sample string 4"
}

application/xml, text/xml

Sample:
<Folder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SMCT.Jukebox.Library.Models">
  <Artwork>sample string 4</Artwork>
  <FolderID>1</FolderID>
  <FolderName>sample string 2</FolderName>
  <FolderPath>sample string 3</FolderPath>
  <Parent>1</Parent>
</Folder>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'FormUrlEncodedMediaTypeFormatterTracer' to write type 'Folder'.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "FolderID": 1,
  "FolderName": "sample string 2",
  "FolderPath": "sample string 3",
  "Parent": 1,
  "Artwork": "sample string 4"
}

application/xml, text/xml

Sample:
<Folder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SMCT.Jukebox.Library.Models">
  <Artwork>sample string 4</Artwork>
  <FolderID>1</FolderID>
  <FolderName>sample string 2</FolderName>
  <FolderPath>sample string 3</FolderPath>
  <Parent>1</Parent>
</Folder>