POST api/genericimport/upload
Upload import batch file after correcting errors
Request Information
URI Parameters
None.
Body Parameters
Import batch file details with file content
GenericImportBatchName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
FileName | string |
None. |
|
SheetName | string |
None. |
|
FileContentDataUrl | string |
None. |
|
GenericImportHeaderId | integer |
None. |
|
ValidationStatus | GenericImportStatus |
None. |
|
ProcessStatus | GenericImportStatus |
None. |
|
Errors | string |
None. |
|
Summary | string |
None. |
|
CreatedDate | date |
None. |
|
CreatedByUser | string |
None. |
|
LastUpdated | date |
None. |
|
LastUpdatedByUser | string |
None. |
|
ImportType | GenericImportType |
Relation. This field may not always be loaded or used for updates. |
|
MappingName | string |
Relation. This field may not always be loaded or used for updates. |
Request Formats
application/json, text/json
Sample:
{ "id": 1, "fileName": "sample string 2", "sheetName": "sample string 3", "fileContentDataUrl": "sample string 4", "genericImportHeaderId": 5, "validationStatus": 0, "processStatus": 0, "errors": "sample string 6", "summary": "sample string 7", "createdDate": "2025-06-14T05:56:26.2717554", "createdByUser": "sample string 9", "lastUpdated": "2025-06-14T05:56:26.2717554", "lastUpdatedByUser": "sample string 10", "importType": 0, "mappingName": "sample string 11" }
application/xml, text/xml
Sample:
<GenericImportBatch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.GenericImport"> <CreatedByUser>sample string 9</CreatedByUser> <CreatedDate>2025-06-14T05:56:26.2717554+00:00</CreatedDate> <Errors>sample string 6</Errors> <FileContentDataUrl>sample string 4</FileContentDataUrl> <FileName>sample string 2</FileName> <GenericImportHeaderId>5</GenericImportHeaderId> <Id>1</Id> <ImportType>Campaign</ImportType> <LastUpdated>2025-06-14T05:56:26.2717554+00:00</LastUpdated> <LastUpdatedByUser>sample string 10</LastUpdatedByUser> <MappingName>sample string 11</MappingName> <ProcessStatus>Failed</ProcessStatus> <SheetName>sample string 3</SheetName> <Summary>sample string 7</Summary> <ValidationStatus>Failed</ValidationStatus> </GenericImportBatch>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.