Created
November 29, 2018 19:59
-
-
Save austin-sa-wang/5fbd6e1cf35812e4ddf5c04ba170b338 to your computer and use it in GitHub Desktop.
Create student quote new input example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mutation createQuote { | |
createStudentQuote(input: { | |
studentId: 153254, | |
languageId: 1, | |
studentQuoteOptions: { | |
priceCurrencyId: 26, | |
studentQuoteOptionCourseItems: [{ | |
offeringId: 5666, | |
startDate: "2018-12-02", | |
durationAmount: 4, | |
durationTypeId: 3 | |
}], | |
studentQuoteOptionAccommodationItems: [{ | |
offeringId: 5689, | |
durationAmount: 4, | |
durationTypeId: 3, | |
startDate: "2018-12-08" | |
}], | |
studentQuoteOptionServiceItems: [{ | |
offeringId: 5693, | |
startDate: "2018-12-02", | |
durationAmount: 4, | |
durationTypeId: 3 | |
}] | |
} | |
}) { | |
studentQuoteId | |
studentQuoteOptions { | |
studentQuoteOptionItems { | |
... on StudentQuoteOptionCourseItem { | |
offeringPriceItem { | |
durationType { | |
codeName | |
} | |
durationAmount | |
priceAmount | |
priceCurrency { | |
code | |
} | |
}, | |
courseSnapshot { | |
name | |
} | |
} | |
... on StudentQuoteOptionAccommodationItem { | |
offeringPriceItem { | |
durationType { | |
codeName | |
} | |
durationAmount | |
priceAmount | |
priceCurrency { | |
code | |
} | |
}, | |
accommodationSnapshot { | |
name | |
} | |
} | |
... on StudentQuoteOptionServiceItem { | |
offeringPriceItem { | |
durationType { | |
codeName | |
} | |
durationAmount | |
priceAmount | |
priceCurrency { | |
code | |
} | |
}, | |
serviceSnapshot { | |
name | |
} | |
} | |
... on StudentQuoteOptionFeeItem { | |
feeSnapshot { | |
name | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment