Import Jobs

Get Import Jobs with Paging

GET /api/.../importjobs/paged/{lastid}/

Return a paged set of import job records from the 'lastid' parameter in descending order, using a paging mechanism.

Request Information

Parameters
Name Type Required Description
lastid Integer Yes Last Import Job ID. Use 0 to start.
nrecs Integer No Define this parameter in the request query string. Maximum number of records to return, defaults to 250.

Response Information

Example
application/json, text/json
{
  "importJobs": [
     {
       "ImportJobID": 605,
       "ImportFileClientPathName": "sample string 2",
       "ImportFileNameClient": "sample string 3",
       "OrganizationName": "sample string 4",
       "UserName": "sample string 5",
       "WorkstationName": "sample string 6",
       "OrganizationID": 90,
       "PolarisUserID": 895,
       "WorkstationID": 1164,
       "RecordTypeDescription": "sample string 7",
       "ProcessStage": "sample string 8",
       "RecordsReadFromFile": 0,
       "RecordsCreated": 0,
       "ImportJobSubmittedDate": "2011-12-20T10:49:08.843-05:00",
       "ScheduledTimeForImport": null,
       "CanDelete" : 0,
       "CanStop": 0
     },
     {
       "ImportJobID": 604,
       "ImportFileClientPathName": "sample string 2",
       "ImportFileNameClient": "sample string 3",
       "OrganizationName": "sample string 4",
       "UserName": "sample string 5",
       "WorkstationName": "sample string 6",
       "OrganizationID": 90,
       "PolarisUserID": 895,
       "WorkstationID": 1164,
       "RecordTypeDescription": "sample string 7",
       "ProcessStage": "sample string 8",
       "RecordsReadFromFile": 0,
       "RecordsCreated": 0,
       "ImportJobSubmittedDate": "2011-12-20T10:49:08.67-05:00",
       "ScheduledTimeForImport": null,
       "CanDelete" : 0,
       "CanStop": 0
     }
    ],
    "remainingCount": 200
}

HTTP Response Codes

Code Description
200 OK. Success
400 Bad Request