POST api/File/UploadFile

Request Information

URI Parameters

None.

Body Parameters

Batch
NameDescriptionTypeAdditional information
Code

string

Required

String length: inclusive between 0 and 150

Description

string

String length: inclusive between 0 and 500

Status

integer

None.

Visible

boolean

None.

StartDateTime

date

None.

EndDateTime

date

None.

FilePath

string

None.

CreatedBy

integer

None.

CreatedDate

date

None.

LastUpdatedBy

integer

None.

LastUpdatedDate

date

None.

RowStatus

byte

None.

ID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Code": "sample string 1",
  "Description": "sample string 2",
  "Status": 1,
  "Visible": true,
  "StartDateTime": "2025-07-06T00:15:10.3351249Z",
  "EndDateTime": "2025-07-06T00:15:10.3351249Z",
  "FilePath": "sample string 4",
  "CreatedBy": 5,
  "CreatedDate": "2025-07-06T00:15:10.3351249Z",
  "LastUpdatedBy": 1,
  "LastUpdatedDate": "2025-07-06T00:15:10.3351249Z",
  "RowStatus": 64,
  "ID": 8
}

application/xml, text/xml

Sample:
<Batch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KC.Data.Entities">
  <ID>8</ID>
  <CreatedBy>5</CreatedBy>
  <CreatedDate>2025-07-06T00:15:10.3351249Z</CreatedDate>
  <LastUpdatedBy>1</LastUpdatedBy>
  <LastUpdatedDate>2025-07-06T00:15:10.3351249Z</LastUpdatedDate>
  <RowStatus>64</RowStatus>
  <Code>sample string 1</Code>
  <Description>sample string 2</Description>
  <EndDateTime>2025-07-06T00:15:10.3351249Z</EndDateTime>
  <FilePath>sample string 4</FilePath>
  <StartDateTime>2025-07-06T00:15:10.3351249Z</StartDateTime>
  <Status>1</Status>
  <Visible>true</Visible>
</Batch>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>