POST api/Upload?mode={mode}&uploadCode={uploadCode}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| mode | string |
Required |
|
| uploadCode | string |
Required |
Body Parameters
DataTable| Name | Description | Type | Additional information |
|---|---|---|---|
| CaseSensitive | boolean |
None. |
|
| IsInitialized | boolean |
None. |
|
| RemotingFormat | SerializationFormat |
None. |
|
| ChildRelations | Collection of Object |
None. |
|
| Columns | Collection of Object |
None. |
|
| Constraints | Collection of Object |
None. |
|
| DataSet | DataSet |
None. |
|
| DefaultView | Collection of Object |
None. |
|
| DisplayExpression | string |
None. |
|
| ExtendedProperties | Dictionary of Object [key] and Object [value] |
None. |
|
| HasErrors | boolean |
None. |
|
| Locale | CultureInfo |
None. |
|
| MinimumCapacity | integer |
None. |
|
| ParentRelations | Collection of Object |
None. |
|
| PrimaryKey | Collection of DataColumn |
None. |
|
| Rows | Collection of Object |
None. |
|
| TableName | string |
None. |
|
| Namespace | string |
None. |
|
| Prefix | string |
None. |
|
| Site | ISite |
None. |
|
| Container | IContainer |
None. |
|
| DesignMode | boolean |
None. |
Request Formats
application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
UploadModel| Name | Description | Type | Additional information |
|---|---|---|---|
| tmpUploadRet | integer |
None. |
|
| tmpDisplayMsg | string |
None. |
|
| matchingRecords | DataTable |
None. |
|
| validatedRecords | DataTable |
None. |
|
| validationMsg | string |
None. |
|
| uploadMode | string |
None. |
|
| buttonType | string |
None. |
|
| successCnt | integer |
None. |
|
| errorCnt | integer |
None. |
|
| matchcount | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"tmpUploadRet": 1,
"tmpDisplayMsg": "sample string 2",
"matchingRecords": null,
"validatedRecords": [],
"validationMsg": "sample string 3",
"uploadMode": "sample string 4",
"buttonType": "sample string 5",
"successCnt": 6,
"errorCnt": 7,
"matchcount": 8
}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.