Example GraphQL queries for Business Partners
Less than to read
- First five business partners sorted by code in ascending order, with pagination
- First five business partners sorted by code in ascending order, after specified cursor value (obtained from previous query)
First five business partners sorted by code in ascending order, with pagination
query MyNamedQuery {
xtremX3MasterData {
businessPartner {
query(first: 5) {
edges {
node {
code
isActive
}
}
pageInfo {
endCursor
hasNextPage
startCursor
hasPreviousPage
}
}
}
}
}
First five business partners sorted by code in ascending order, after specified cursor value (obtained from previous query)
query MyNamedQuery {
xtremX3MasterData {
businessPartner {
query(first: 5, after : "[\"AE020\"]#73") {
edges {
node {
code
isActive
}
}
pageInfo {
endCursor
hasNextPage
startCursor
hasPreviousPage
}
}
}
}
}