BirdsCanada / NatureCountsAPI

NatureCountsAPI
0 stars 1 forks source link

Add support for data request status of ignored or rejected #27

Open pmorrill opened 5 years ago

pmorrill commented 5 years ago

Get values from lookup table and delivery back text from same.

pmorrill commented 5 years ago

I am adding a new parameter to the RESPONSE when you query for /list_requests. There is currently a field 'approved' on each collection that forms part of a request, but this will be deprecated in favour of the new field 'requestStatus'.

The new field pulls it's values directly from the database lookup table (lk_request_status). Possible values are:

Incomplete Pending approval Ignore request Approved, payment still required Rejected, application incomplete Rejected Approved for release