POST api/Projects/Download

Request Information

URI Parameters

None.

Body Parameters

DownloadProjectParams
NameDescriptionTypeAdditional information
userId

string

Required

projectId

string

Required

downloadType

integer

Required

xapi

LRSSetting

None.

packages

Collection of Package

None.

Request Formats

application/json, text/json

Sample:
{
  "userId": "sample string 1",
  "projectId": "sample string 2",
  "downloadType": 3,
  "xapi": {
    "enabled": true,
    "endpoint": "sample string 2",
    "username": "sample string 3",
    "password": "sample string 4"
  },
  "packages": [
    {
      "type": 1,
      "sourcepath": "sample string 2",
      "localpath": "sample string 3"
    },
    {
      "type": 1,
      "sourcepath": "sample string 2",
      "localpath": "sample string 3"
    }
  ]
}

application/xml, text/xml

Sample:
<DownloadProjectParams xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <userId>sample string 1</userId>
  <projectId>sample string 2</projectId>
  <downloadType>3</downloadType>
  <xapi>
    <enabled>true</enabled>
    <endpoint>sample string 2</endpoint>
    <username>sample string 3</username>
    <password>sample string 4</password>
  </xapi>
  <packages>
    <Package>
      <type>1</type>
      <sourcepath>sample string 2</sourcepath>
      <localpath>sample string 3</localpath>
    </Package>
    <Package>
      <type>1</type>
      <sourcepath>sample string 2</sourcepath>
      <localpath>sample string 3</localpath>
    </Package>
  </packages>
</DownloadProjectParams>

application/x-www-form-urlencoded

Sample:

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.