Produced by Araxis Merge on 10/27/2017 2:19:27 PM Central Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | Source Code.zip\Source Code\Client\src\api | getRequestsSchema.json | Fri Oct 27 12:18:34 2017 UTC |
| 2 | Source Code.zip\Source Code\Client\src\api | getRequestsSchema.json | Fri Oct 27 17:30:30 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 180 |
| Changed | 1 | 2 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| Whitespace | |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
| 1 | API ENDPOI NT: /getRe quests | |
| 2 | ||
| 3 | POST TO AP I TO GET A LL REQUEST S THAT BEL ONG TO A U SER: | |
| 4 | { | |
| 5 | "uid": "gkrafsig " | |
| 6 | } | |
| 7 | ||
| 8 | POST TO AP I TO GET A SPECIFIC REQUEST BY ID: | |
| 9 | { | |
| 10 | "id": "REQ1" | |
| 11 | } | |
| 12 | ||
| 13 | NO POST DA TA TO API TO GET ALL REQUESTS: | |
| 14 | { | |
| 15 | ||
| 16 | } | |
| 17 | ||
| 18 | SAMPLE API CURL: | |
| 19 | curl -X PO ST -H "Cac he-Control : no-cache " -H "Post man-Token: 1065ebc3- beab-006a- 988b-47651 a2bec38" - H "Content -Type: mul tipart/for m-data; bo undary=--- -WebKitFor mBoundary7 MA4YWxkTrZ u0gW" -F " uid=gkrafs ig" "http: // IP /src/api/g etStudyApp rovals.jso n" | |
| 20 | ||
| 21 | SAMPLE API RESPONSE: | |
| 22 | { | |
| 23 | "reque sts": [ | |
| 24 | { | |
| 25 | "id": "R EQ1", | |
| 26 | "title": "My Sampl e Request" , | |
| 27 | "descrip tion": "Th is is just a sample request fo r demo pur poses", | |
| 28 | "status" : "Approve d", | |
| 29 | "statusC ode": "5", | |
| 30 | "statusD escription ": "This r equest has been appr oved", | |
| 31 | "type": "PTSD", | |
| 32 | "source" : "Genomic Data", | |
| 33 | "notify" : true, | |
| 34 | "studyAp proval": { | |
| 35 | "id" : 332, | |
| 36 | "tit le": "my s tudy appro val" | |
| 37 | }, | |
| 38 | "attachm ents": [ | |
| 39 | { | |
| 40 | "id": 123, | |
| 41 | "title": " testFile.x ml", | |
| 42 | "createdBy ": "gkrafs ig", | |
| 43 | "createdOn ": 1234376 2373, | |
| 44 | "type": "x ml" | |
| 45 | }], | |
| 46 | "associa tedRequest s": [ | |
| 47 | { | |
| 48 | "id": "REQ 2", | |
| 49 | "title": " Another sa mple reque st" | |
| 50 | } | |
| 51 | ], | |
| 52 | "created By": "gkra fsig", | |
| 53 | "created On": 12346 789, | |
| 54 | "modifie dBy": "gkr afsig", | |
| 55 | "modifie dOn": 1234 56789 | |
| 56 | }, | |
| 57 | { | |
| 58 | "id": "R EQ2", | |
| 59 | "title": "Another sample req uest", | |
| 60 | "descrip tion": "Th is is anot her sample request f or demo pu rposes", | |
| 61 | "status" : "Pending ", | |
| 62 | "statusC ode": "4", | |
| 63 | "statusD escription ": "This r equest is pending ap proval", | |
| 64 | "type": "PTSD", | |
| 65 | "source" : "VINCI D ata", | |
| 66 | "notify" : true, | |
| 67 | "studyAp proval": { | |
| 68 | "id" : 332, | |
| 69 | "tit le": "my s tudy appro val" | |
| 70 | }, | |
| 71 | "attachm ents": [ | |
| 72 | { | |
| 73 | "id": 123, | |
| 74 | "title": " my test.do cx", | |
| 75 | "createdBy ": "gkrafs ig", | |
| 76 | "createdOn ": 1234376 2373, | |
| 77 | "type": "d ocx" | |
| 78 | }], | |
| 79 | "associa tedRequest s": [ | |
| 80 | { | |
| 81 | "id": "REQ 1", | |
| 82 | "title": " My Sample Request" | |
| 83 | } | |
| 84 | ], | |
| 85 | "created By": "gkra fsig", | |
| 86 | "created On": 12346 789, | |
| 87 | "modifie dBy": "gkr afsig", | |
| 88 | "modifie dOn": 1234 56789 | |
| 89 | } | |
| 90 | ] | |
| 91 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.