Produced by Araxis Merge on 2/9/2017 12:58:01 PM Eastern Standard 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 | Genisis2Services-2.0.zip\Genisis2Client-master\src\api | createRequestSchema.json | Thu Jan 26 17:08:50 2017 UTC |
| 2 | Genisis2Services-2.0.zip\Genisis2Client-master\src\api | createRequestSchema.json | Wed Feb 8 16:21:23 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 54 |
| 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: /creat eRequest | |
| 2 | ||
| 3 | POST TO AP I TO CREAT E A NEW RE QUEST: | |
| 4 | { | |
| 5 | "title ": "My new Request", | |
| 6 | "descr iption": " This is a sample new request f or demo pu rposes", | |
| 7 | "type" : "PTSD", | |
| 8 | "sourc e": "Genom ic Data", | |
| 9 | "notif y": true, | |
| 10 | "study Approval": "STUD3", | |
| 11 | "attac hments": [ | |
| 12 | { | |
| 13 | "title": "myFile.d ocx", | |
| 14 | "data": "", | |
| 15 | } | |
| 16 | ], | |
| 17 | "assoc iatedReque sts": ["RE Q1", "REQ2 "], | |
| 18 | "creat edBy": "gk rafsig", | |
| 19 | } | |
| 20 | ||
| 21 | SAMPLE API CURL: | |
| 22 | curl -X PO ST -H "Cac he-Control : no-cache " -H "Post man-Token: 46e9f3fa- 24b8-cb8f- 7124-39dff f6aab52" - H "Content -Type: mul tipart/for m-data; bo undary=--- -WebKitFor mBoundary7 MA4YWxkTrZ u0gW" -F " id=REQ3%2C " -F "titl e=My new R equest" -F "descript ion=This i s a sample new reque st for dem o purposes " -F "type =PTSD" -F "source=Ge nomic Data " -F "noti fy=true" - F "studyAp proval=STU D3" -F "at tachments= [{title:te st.docx%2C data:}]" -F "associ atedReques ts=[REQ1%2 C REQ2]" - F "created By=gkrafsi g" "http:/ / IP /src/api/c reateReque st" | |
| 23 | ||
| 24 | SAMPLE API RESPONSE: | |
| 25 | { | |
| 26 | "id": 123, | |
| 27 | "succe ss": true | |
| 28 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.