GET api/sourcedatabase/{id}/importerrors/{type}
The get import errors for type.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
The id. |
integer |
Required |
type |
The type. |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
The .
ImportErrorsViewName | Description | Type | Additional information |
---|---|---|---|
TotalCount | integer |
None. |
|
ImportErrors | Collection of ImportErrorTypeCount |
None. |
Response Formats
text/javascript
Sample:
({"TotalCount":1,"ImportErrors":[{"Type":"sample string 1","Count":2},{"Type":"sample string 1","Count":2}]});
application/json, text/json
Sample:
{ "TotalCount": 1, "ImportErrors": [ { "Type": "sample string 1", "Count": 2 }, { "Type": "sample string 1", "Count": 2 } ] }
application/xml, text/xml
Sample:
<ImportErrorsView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Artskart.Model.ServiceImplmentation"> <ImportErrors> <ImportErrorsView.ImportErrorTypeCount> <Count>2</Count> <Type>sample string 1</Type> </ImportErrorsView.ImportErrorTypeCount> <ImportErrorsView.ImportErrorTypeCount> <Count>2</Count> <Type>sample string 1</Type> </ImportErrorsView.ImportErrorTypeCount> </ImportErrors> <TotalCount>1</TotalCount> </ImportErrorsView>
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel
Sample:
Will return an Excel worksheet fileresult. Generate by using accept header or add '?format=excel' to request url.