1. Home
  2. Docs
  3. API Documentation
  4. Types of Queries and Mutations

Types of Queries and Mutations

Bulk Import Jobs

QUERY

fetchBulkImportJob(
filters: [FetchFilter]
expression: String
orderBy: [FetchOrderBy]
customViewId: String
pageNumber: Int
recordsPerPage: Int
): FetchBulkImportJobResponse

Type details

type FetchBulkImportJobResponse {
code: Int!
message: String!
status: Boolean!
messageKey: String!
data: [BulkImportJob]
}

type BulkImportJob {
id: String
recordStatus: String
createdBy: String
createdAt: String
updatedBy: String
updatedAt: String
requestId: String
moduleUniqueName: String
fileName: String
fileKey: String
mappingId: String
}

Argument

type FetchFilter {
operator: String!
name: String!
value: [String]
logicalOperator: String
}

scalar String

type FetchOrderBy {
name: String!
order: [FetchOrder]
}

Request: To Search Attachment record

{
  fetchBulkImportJob
  {
    code 
    messageKey 
    data{
      id 
      fileName
    }
  }
}

Sample Response

{
  "data": {
    "fetchBulkImportJob": {
      "code": 200,
      "messageKey": "bulkimportjob-search-success",
      "data": []
    }
  }
}
Was this article helpful to you? Yes No

How can we help?