POST api/FileUpload/UploadFile

Request Information

URI Parameters

None.

Body Parameters

FileObj
NameDescriptionTypeAdditional information
SubsidiaryId

integer

None.

FileType

integer

None.

Filename

string

None.

FileBase64

string

None.

FileExtension

string

None.

Success

boolean

None.

Message

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SubsidiaryId": 1,
  "FileType": 2,
  "Filename": "sample string 3",
  "FileBase64": "sample string 4",
  "FileExtension": "sample string 5",
  "Success": true,
  "Message": "sample string 7"
}

application/xml, text/xml

Sample:
<FileObj xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tesla.FbnIntegrator.CustomObject">
  <Message>sample string 7</Message>
  <Success>true</Success>
  <FileBase64>sample string 4</FileBase64>
  <FileExtension>sample string 5</FileExtension>
  <FileType>2</FileType>
  <Filename>sample string 3</Filename>
  <SubsidiaryId>1</SubsidiaryId>
</FileObj>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ADResponse
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<ADResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tesla.FbnIntegrator.CustomObject">
  <Message>sample string 2</Message>
  <Success>true</Success>
</ADResponse>