CodeForPhilly / paws-data-pipeline

PAWS Data Pipeline Project
MIT License
17 stars 9 forks source link

510- Salesforce updated contact info #531

Closed c-simpson closed 1 year ago

c-simpson commented 1 year ago

Adds new internal endpoint /api/internal/get_updated_data
( api/API_ingest/updated_data.py/get_updated_contact_data() ) which returns a JSON array of contact info like

[
  {
      contactId: ‘0032g00000Ukx9bAAB’,
      personId: ‘1234’,
      volgisticsId: 1234,
      updatedVolunteerStatus: ‘Active’,
      updatedFirstVolunteerDate: 2021/01/01,
      updatedLastVolunteerDate: 2021/02/02,
      updatedFosterStartDate: 2020/10/18,
      updatedFosterEndDate: 2022/01/01
  },
]

Enables #506

Closes #510

c-simpson commented 1 year ago

@sposerina Should this go before your 534?

sposerina commented 1 year ago

@c-simpson Are most of these changes already in Master? I'm having a hard time determining what the actual changes are.

c-simpson commented 1 year ago

Looks like these were not merged in (e.g., src/server/api/API_ingest/updated_data.py) so will do so.