GET api/Import/CustomImport/GetMessages/{importGUID}

Gets all [error] messages related to an import

Request Information

URI Parameters

NameDescriptionTypeAdditional information
importGUID

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

Status message

Collection of ImportMessageDetail
NameDescriptionTypeAdditional information
TableName

What table the error relates to (Employee, Employee NI, etc.)

string

None.

RowNo

integer

Nullable

EmployeeNo

string

None.

Message

The error message

string

None.

Location

string

None.

Division

string

None.

Department

string

None.

IsWarning

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "TableName": "sample string 1",
    "RowNo": 1,
    "EmployeeNo": "sample string 2",
    "Message": "sample string 3",
    "Location": "sample string 4",
    "Division": "sample string 5",
    "Department": "sample string 6",
    "IsWarning": true
  },
  {
    "TableName": "sample string 1",
    "RowNo": 1,
    "EmployeeNo": "sample string 2",
    "Message": "sample string 3",
    "Location": "sample string 4",
    "Division": "sample string 5",
    "Department": "sample string 6",
    "IsWarning": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfImportMessageDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebServicesRESTful.Models">
  <ImportMessageDetail>
    <Department>sample string 6</Department>
    <Division>sample string 5</Division>
    <EmployeeNo>sample string 2</EmployeeNo>
    <IsWarning>true</IsWarning>
    <Location>sample string 4</Location>
    <Message>sample string 3</Message>
    <RowNo>1</RowNo>
    <TableName>sample string 1</TableName>
  </ImportMessageDetail>
  <ImportMessageDetail>
    <Department>sample string 6</Department>
    <Division>sample string 5</Division>
    <EmployeeNo>sample string 2</EmployeeNo>
    <IsWarning>true</IsWarning>
    <Location>sample string 4</Location>
    <Message>sample string 3</Message>
    <RowNo>1</RowNo>
    <TableName>sample string 1</TableName>
  </ImportMessageDetail>
</ArrayOfImportMessageDetail>