I need to retrieve a unit's assessment items (with deep link, achievable score, and due date) via Valence API in desire2learn.
I am able to retrieve grades, calendars and dropboxes via the following API calls:
/d2l/api/le/1.2/{orgUnit}/grades/
/d2l/api/le/1.2/{orgUnit}/dropbox/folders/
/d2l/api/le/1.2/{orgUnit}/calendar/events/user/
I can see that the grades retrieved correspond to either a dropbox or a quiz (#grades = #quizzes + #dropboxes), and I can link a calendar item to a dropbox via 'associated entity id'.
I have also found that a calendar entry can be associated with an id of type 'D2L.LE.Quizzing.Quiz' but I don't know what to do with that ID.
It seems to me that I need to start with calendar entries which have an associated entity, then lookup either a dropbox or a quiz based on the association, and then match the dropbox or quiz to a grade.
Although the API allows you to retrieve calendar events that associate to quiz entities, D2L does not yet have any APIs around the quiz entities themselves. You can retrieve the grade values/objects associated with a quiz, if the back-end service has associated grade items with the quiz; similarly, you can retrieve the calendar events associated with a quiz, as you have discovered. However, D2L doesn't yet provide a way to get at the quiz entity itself. This is an often-requested enhancement to the platform, and as a result, it does already exist on the product roadmap for future Learning Environment development; however, D2L does not yet have a committed release date for platform functionality around quiz entities.
Related
My application deals with multi-user, multi-tenant Microsoft Graph calendar data and I need to keep a record of unique calendars and events.
I can't find very detailed information on this in the documentation. It does say the Ids are unique per user/mailbox (for calendar) and per calendar (for event Ids), and obviously they have to be.
But if the user and tenant boundary is crossed, can I assume each calendar Id and event Id I obtain from any user in any tenant via Microsoft graph is unique, so I won't encounter two different calendars/events with the same Ids?
Yes they should be unique in the world see https://learn.microsoft.com/en-us/office/client-developer/outlook/mapi/pidtagentryid-canonical-property . Basically the Id used by the Graph (and EWS) contains the PidTagEntryId along with various routing flags and info but that underlying id should always mean they are unique. However be careful with the ical uid which won't be unique
Can I get a list of reviews from an arbitrary business?
It appears like you get a list of the reviews for a specific account and location.
https://mybusiness.googleapis.com/v3/accounts/account_name/locations/location_name/reviews
However, you can only get a list of account for an authenticated user.
https://mybusiness.googleapis.com/v3/accounts
Is there an endpoint or way to list out the reviews for any business? I just need the number or reviews, and really don't want to have to look at screen scraping type solutions.
The Places API returns only 5 for a business, GMB API requires the user as you’ve mentioned to authenticate; there’s no official endpoint for getting all listed reviews unless you either scrape the data; like Yelp, Google didn’t make it available to pull all user contributed content such as reviews; alternatively you can create your own DB for some businesses and manually update by pulling reviews off a third party site (eg: ReviewsMaker.com) where you can copy data to a table and keep track, but there’s no other real-time solution other than using the GMB API (which is restricted only to authenticated users)
Is anyone knows how to create customized fileds in our Xero invoices? We are a tour company and we need to add the following fields.
Date of Sale, Booking ID, Guest Name, Tour Name, Children, Adults etc.
Our tour booking system is generating and sending the invoices automatically. I am using xero API to create the same invoice in Xero.
So I have to create an invoice using the API which would look like below
But I have only the following fields in Xero.
Description, Quantity, Unit price, Amount.
Because, I don't have fields such as booking id, guest name, tour name, I have to put all this information in the description so it looks like below when invoice is recorded in Xero.
The second issue is that the discount field is never shown on the xero invoice. We can see it inside the Xero when viewing an invoice it says Subtotal (includes a discount of 44.55) but this is never been shown on the actual invoice.
Also Every time I have to create a new line / item using the API if I have children attending to a tour. Please see the screenshot below.
This is a big issue for us as the invoice that is sent to a guest and the invoice that has been recorded in xero looks different. See the actual invoice below.
It will make my day if I could use the above mentioned fields in our invoices. Most importantly I should able to send the information for each field using the Xero API.
I am shocked that a famous online account system like Xero doesn't allow us to have this flexibility. Every business has their own unique data and for them to create their own fields means that a lot of the feature requests such as Order ID, Adults, Children etc. should be self defined. I would appreciate any comment and I would appreciate if you can tell me how to reach to Xero developer team as there is no phone number or email address on the offical xero website.
Xero simply does not provide this functionality in either their API or the native product. This should have been discovered during the due diligence phase when deciding what accounting package to use.
I was looking at the Users API on the D2L API reference site:
http://docs.valence.desire2learn.com/res/user.html
And there does not appear to be a way to find a user by email address.
Is there a way to do this with the current API?
You can fetch user records from the .../users/ route using either the organization-defined ID, or the user login name properties. Additionally, you can fetch the user record for a user identified by the LMS UserID property. You cannot currently easily retrieve a user record based on another property in the user record: you'd need to fetch entire collection of users and then sort through for the record with the email address you're looking for. With most organizations, this is not at all ideal because of the number of users involved.
Generally improvements to the API of this nature are on the development roadmap, however there isn't a specifically deployment plan in place for an enhancement on this particular use-case. That said, enhancements to the routes to search for fundamental data objects (users, org units) are identified as having strong value by clients and that's a primary driver in determining priority for improvements..
I'm new to the Jira admin side of things after having used it in a previous company as an end-user for several years. We are using the standard Jira workflow. The scenario I'm struggling with is the following. I'm attempting to match some of the functionality of our old-proprietary issue database. Right now I'm using many of the standard Jira fields, with only two new custom fields (both single Select Lists populated manually by me):
1) Customer = customer name who sent the new issue email to our support team
2) Customer Contact = the main customer contact, currently populated by the custom list
I created these two custom fields because we have external customers who call or email issues they have using our hosted software. Currently our system creates a simple new issue when a customer sends an email to our support email account. Our support team then goes in and cleans up the data and makes sure that all the required Jira fields have data, the comments are good, reproducible steps, etc. (Currently we do not strip out the customer domain name to auto-populate the Customer custom field, but I might try doing that soon.)
Our support team is asking that I add the following two new customer fields:
3) Customer phone number
4) Customer connection / login info
What I would like to implement is a system that goes something like this:
Customer name gets inputted (either automatically by grabbing domain name of customer email address or manually by our support team) into the Customer custom field. Customer name selected should be "pushed" into the Customer Contact Select List to help sub-select values for that particular customer.
The Customer Contact Select list should be "smart" or dynamic in that some pre-processing is done where the Customer name is grabbed so that it doesn't show ALL customers contacts for the tech support person to select, it just shows them the customer contacts for the customer that was selected.
Along with the filtered customer contacts, I would want to only see the Customer phone number for the contact that was populated in the Customer Contact select list.
And finally I would want to see the Customer connection information for the particular Customer that was selected.I've done this type of smart combo boxes in the past when I created Java / Database applications, so I have a feeling that this is possible in Jira. I'm just looking for the easiest way to implement this. It seems like there might be some external plugins that might help do this (ex. the values for the Custom fields are stored in a database table so they can be queried and the proper filtered result sets can be populated into the select lists.), or maybe using post functions (update issue), etc. But before I spent more effort investigating, I know this sort of thing has to be somewhere common and wanted to ask the Jira admin experts what the best practice would be for this type of functionality in custom fields. Please share your experience with how to solve this type of scenario. Thanks in advance!
Here is the way that tells how to import multiple options at once. Probably that would help u.
https://answers.atlassian.com/questions/92385/importing-project-from-another-jira-instance-how-do-we-mass-import-custom-field-multi-select-options?page=1#92622
EDIT
and here is the complete code to update another select list using new select list.
How to add new values to select list field in jira dynamically or using plug-in