POST api/batch/{batch_id}/share/file

Request Information

URI Parameters

NameDescriptionTypeAdditional information
batch_id

integer

Required

Body Parameters

ShareFilesModel
NameDescriptionTypeAdditional information
id

string

None.

file_name

string

None.

file_path

string

None.

file_url

URI

None.

file_type

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": "sample string 1",
  "file_name": "sample string 2",
  "file_path": "sample string 3",
  "file_url": "http://webapihelppage4.com",
  "file_type": "sample string 5"
}

text/html

Sample:
{"id":"sample string 1","file_name":"sample string 2","file_path":"sample string 3","file_url":"http://webapihelppage4.com","file_type":"sample string 5"}

application/xml, text/xml

Sample:
<ShareFilesModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LSAtlas_WebAPI.Models.AI">
  <file_name>sample string 2</file_name>
  <file_path>sample string 3</file_path>
  <file_type>sample string 5</file_type>
  <file_url>http://webapihelppage4.com/</file_url>
  <id>sample string 1</id>
</ShareFilesModel>

multipart/form-data

Sample:
<ShareFilesModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LSAtlas_WebAPI.Models.AI"><file_name>sample string 2</file_name><file_path>sample string 3</file_path><file_type>sample string 5</file_type><file_url>http://webapihelppage4.com/</file_url><id>sample string 1</id></ShareFilesModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

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.