POST api/File/UploadFile
Request Information
URI Parameters
None.
Body Parameters
Batch| Name | Description | Type | Additional 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-12-07T07:38:40.4738398Z",
"EndDateTime": "2025-12-07T07:38:40.4738398Z",
"FilePath": "sample string 4",
"CreatedBy": 5,
"CreatedDate": "2025-12-07T07:38:40.4738398Z",
"LastUpdatedBy": 1,
"LastUpdatedDate": "2025-12-07T07:38:40.4738398Z",
"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-12-07T07:38:40.4738398Z</CreatedDate> <LastUpdatedBy>1</LastUpdatedBy> <LastUpdatedDate>2025-12-07T07:38:40.4738398Z</LastUpdatedDate> <RowStatus>64</RowStatus> <Code>sample string 1</Code> <Description>sample string 2</Description> <EndDateTime>2025-12-07T07:38:40.4738398Z</EndDateTime> <FilePath>sample string 4</FilePath> <StartDateTime>2025-12-07T07:38:40.4738398Z</StartDateTime> <Status>1</Status> <Visible>true</Visible> </Batch>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse 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>