openspecimen/rest/ng/visits/bynamespr?visitName=<Visit Name>
OROr
openspecimen/rest/ng/visits/bynamespr?sprNumber=<Surgical Pathology Number>
...
- If you pass only visit name API will return visit with given visit name
- If you pass only spr number then API will return all visits with given spr number.
http[s]:<host>:<port>/openspecimen/rest/ng/visits/bynamespr?visitName=<Visit Name>&sprNumber=<Surgical Pathology Number>
...
- .
Result:
The response of this request will contains the details of the visits with anticipated and unplanned collection status.
...