POST Api/File/UploadFile

Request Information

URI Parameters

None.

Body Parameters

ClientFileUploadModel
NameDescriptionTypeAdditional information
DOCUMENT_ID

decimal number

None.

DOCUMENT_NAME

string

None.

COMMENT

string

None.

FILE_CONTENT

Collection of byte

None.

FILE_PATH

string

None.

Request Formats

application/json, text/json

Sample:
{
  "DOCUMENT_ID": 1.0,
  "DOCUMENT_NAME": "sample string 1",
  "COMMENT": "sample string 2",
  "FILE_CONTENT": "QEA=",
  "FILE_PATH": "sample string 3"
}

application/xml, text/xml

Sample:
<ClientFileUploadModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CreditTrackAzure.Data.Models.Request">
  <COMMENT>sample string 2</COMMENT>
  <DOCUMENT_ID>1</DOCUMENT_ID>
  <DOCUMENT_NAME>sample string 1</DOCUMENT_NAME>
  <FILE_CONTENT>QEA=</FILE_CONTENT>
  <FILE_PATH>sample string 3</FILE_PATH>
</ClientFileUploadModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseviewModel
NameDescriptionTypeAdditional information
Result

string

None.

Message

string

None.

StatusCode

integer

None.

IsValid

boolean

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Result": "sample string 1",
  "Message": "sample string 2",
  "StatusCode": 1,
  "IsValid": true,
  "Data": {}
}

application/xml, text/xml

Sample:
<ResponseviewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CreditTrackAzure.Data.Models">
  <Data />
  <IsValid>true</IsValid>
  <Message>sample string 2</Message>
  <Result>sample string 1</Result>
  <StatusCode>1</StatusCode>
</ResponseviewModel>