Untitled

 avatar
unknown
plain_text
2 years ago
1.2 kB
7
Indexable
query {
  getEnrolmentFormById(_id:"7426da50-f4d8-11ed-be60-4559ac641fd7"){
     _id
      code
      idParent
      idEmployee
      state
  }
}

# Write your query or mutation here
query {
  getEnrolmentFormPagination(
    page:1, 
    limit:50,
    startDate: 1681752388265,
    endDate: 1684344388267,
    idParent:"test-123"
  ) {
    currentPage
    data {
      _id
      code
      idParent
      idEmployee
      state
    }
    quantityEnrolmentFormForType {
      type
      quantity
    }
  }
}

# Write your query or mutation here
query {
  getEnrolmentFormPaginationTotal(
    page:1, 
    limit:50,
    startDate: 1681752388265,
    endDate: 1684344388267,
    idParent:"test-123"
  ) {
    totalRows
    totalPages
  }
}

mutation {
  createEnrolmentForm(input: {
   	idParent: "test-123"
  	idEmployee: "test-123"
    state: Entering_Round2
  }){
    _id
    code
   	idParent
  	idEmployee
    state
  }
}

mutation {
  updateEnrolmentForm(_id: "1da625c0-f4d6-11ed-b9c3-e3de89d13465", input: {
    state: Submitted_Round1,
    idParent: "test-456"
    idEmployee: "test-456"
  })
  {
    _id
      code
      idParent
      idEmployee
      state
  }
}
Editor is loading...