GET api/sourcedatabase/{id}/importerrors?afterDateTime={afterDateTime}

Get a summary of errors for a source database

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Sourcedatabase id - to query for errors

integer

Required

afterDateTime

Optional after date time - only errors after a specific date

string

Default value is

Body Parameters

None.

Response Information

Resource Description

The .

ImportErrorsView
NameDescriptionTypeAdditional 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.