LoanInput
The parameters that can be used to create a loan.
input LoanInput {
expires: DateTime!
borrowerId: ID!
transactionId: ID!
notify: URI
entityId: ID
}
Fields
LoanInput.expires
● DateTime!
non-null scalar
The time at which access to the entity will end.
LoanInput.borrowerId
● ID!
non-null scalar
An opaque identifier for the end user.
LoanInput.transactionId
● ID!
non-null scalar
An opaque identifier for the loan, should be unique for an API consumer.
LoanInput.notify
● URI
scalar
An URI on which the consumer wants to be notified of loan state changes.
LoanInput.entityId
● ID
scalar
An entity ID for hard linking the loan to a publication. If not provided then loan.license.publication.id will be used.
Member of
activateLicense
mutation