ThetaTau / CMT

App for the Theta Tau Chapter Management Tool
Other
10 stars 3 forks source link

Everfi Integration #755

Closed VenturaFranklin closed 2 years ago

VenturaFranklin commented 2 years ago

User Role Undergrad, Greek Category/Label of each, Chapter on our end needing to viz: status, role, grad year, gender ID https://documenter.getpostman.com/view/3207949/SVSDPrP7?version=latest#99860c9e-94be-4462-85ab-cbcccdd782bd

New members, NME officer, RM officer, any member IDd for extra training

API original https://documenter.getpostman.com/view/3207949/SVSDPrP7?version=latest

Next step https://vector-solutions.my.salesforce.com/sfc/p/#41000000dzt8/a/4N000002PW1T/jR5T74YsX6bp9k4tvHYdJpGpnyAJllh6s5r69CuXjzI

Nightly pull of completion

VenturaFranklin commented 2 years ago

Add user


payload = json.dumps({
  "data": {
    "type": "registration_sets",
    "attributes": {
      "registrations": [
        {
          "rule_set": "user_rule_set",
          "first_name": "First13",
          "last_name": "Last13",
          "email": "user_13@stateu.edu",
          # "sso_id": "000045312", not needed
          # "student_id": "000045305", not needed
          "location_id": "1712" # will generate
          "category_labels":["1234"] # will be an ID after creation
          # is_invited exists, but not suggested without assigned educatoin
        },
        {
          "rule_set": "he_learner",
          "role": "greek"
        }
      ]
    }
  }
})```
VenturaFranklin commented 2 years ago

API Rate Limit

The API limits an organization's APIs to at most 200 requests per rolling 60 seconds. If this limit is exceeded then you will get a 429 response code. Therefore, we recommend that your integration code be set up to handle a 429 response code and retry after an exponential "back off" pause. See our best practices for managing 429 errors.

Be aware that the rate limit is by organization, not by API. This means that if one organization has three different APIs, that all three of them count toward the rate limit. If a scenario should arise where one API is frequently hitting the rate limit even with a low request rate, then you will need to work with the organization to ensure each API gets its "fair share" of requests.

VenturaFranklin commented 2 years ago

GETGet User Assignments and Progress

href is only so many pages

content_id references the name of the course