civictechdc / districthousing

District Housing lets caseworkers help clients apply for Section 8 housing by automatically filling out multiple PDF applications using one online form.
http://codefordc.github.io/districthousing/
MIT License
40 stars 64 forks source link

Create API endpoint that returns link to filled-out PDF #407

Open mlouie opened 7 years ago

mlouie commented 7 years ago

We need to expose an API endpoint that accepts a parameter that identifies a client stored in Bread for the City's Salesforce instance. Upon receiving the request, the service will access client's information from Salesforce on behalf of an authorized Salesforce user.

Note, in order for the web service to access information in Salesforce the Bread for the City caseworker will need to authorize this web service to access client data from Salesforce on their behalf. This would be done via OAuth.

See below for a diagram of how the expected interaction to work:

oauthroles