Requisition search endpoint returns smaller requisition DTO

Description

Acceptance Criteria

  • Requisition DTO for search endpoints only returns

    • UUID

    • period (start date and end date)

    • requisition status

    • facility

    • program

    • type

    • status dates as audit fields

  • Update UI to work with smaller object

QAlity Plus - Test Management

Checklists

Activity

Lucyna Laska 
June 5, 2017 at 11:53 AM

I have tested that and It looks okay.

Brandon Bowersox-Johnson 
June 2, 2017 at 9:49 PM

That sounds similar. Very good.

I really like your short and sweet JSON suggestion above for the requisition/search endpoint.

Nikodem Graczewski 
June 1, 2017 at 3:50 PM

I used something very similar with a little tweak, which was adding a small dto for processingPeriod.

Brandon Bowersox-Johnson 
June 1, 2017 at 3:19 PM

What is your feedback about Josh's JSON proposal?

Josh Zamor 
May 30, 2017 at 8:54 PM

How about:

{ "uuid": "", "periodStartDate": "2017-05-30T20:52:32.880Z", "periodEndDate": "2017-05-30T20:52:32.880Z", "status": "", "facility": { "uuid": "", "code": "", "name": "" }, "program": { "uuid": "", "code": "", "name": "" }, "emergency": false, "statusChanges": { "INITIATED": { "authorId": "", "changeDate": "2017-05-30T20:52:32.881Z" }, "SUBMITTED": { "authorId": "", "changeDate": "2017-05-30T20:52:32.881Z" }, "AUTHORIZED": { "authorId": "", "changeDate": "2017-05-30T20:52:32.881Z" }, "APPROVED": { "authorId": "", "changeDate": "2017-05-30T20:52:32.881Z" } } }

To collaborate:
http://objgen.com/json/models/vqT6a

Done
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Story Points

Original estimate

Time tracking

3d 1h logged

Components

Sprint

Fix versions

Priority

Time Assistant

Created May 23, 2017 at 12:25 AM
Updated June 26, 2017 at 5:53 PM
Resolved June 5, 2017 at 12:02 PM