· 6 years ago · Apr 14, 2020, 11:18 AM
1{
2 "info": {
3 "_postman_id": "ad529971-aecd-4acc-8b17-1623a1efacb4",
4 "name": "BluePrism",
5 "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
6 },
7 "item": [
8 {
9 "name": "Direct Archiving API",
10 "event": [
11 {
12 "listen": "test",
13 "script": {
14 "id": "466f7667-5986-4749-9b80-ff8cc2c8df4a",
15 "exec": [
16 "// HTTP Status code assertion",
17 "pm.test(\"Status code is 200\", function () {",
18 " pm.response.to.have.status(200);",
19 "});"
20 ],
21 "type": "text/javascript"
22 }
23 }
24 ],
25 "protocolProfileBehavior": {
26 "disabledSystemHeaders": {}
27 },
28 "request": {
29 "auth": {
30 "type": "noauth"
31 },
32 "method": "POST",
33 "header": [],
34 "body": {
35 "mode": "formdata",
36 "formdata": [
37 {
38 "key": "file",
39 "type": "file",
40 "src": "Ibis4Navigator/src/test/resources/Schademelding op polisnr. 210196148 tnv M.pdf"
41 },
42 {
43 "key": "body",
44 "value": "<DirectArchiveDocument>\n<metaDataSchemaName>Leven Zakelijk Deelnemerniveau</metaDataSchemaName>\n<sourceDocumentId>BluePrism 86081915 9-4-2020 8:27:37</sourceDocumentId>\n<sourceTransactionId></sourceTransactionId>\n<metaData>\n<data>\n<label>Sofinummer_TVAR_4_20</label>\n<value>123456789</value>\n </data>\n <data>\n<label>Documentsoort_TVAR_4_40</label>\n<value>Test1.PDF</value>\n </data>\n <data>\n<label>Documentcategorie_TVAR_4_40</label>\n<value>PIU</value>\n </data>\n <data>\n<label>Polisnummer_TVAR_4_20</label>\n<value>86081915</value>\n</data>\n\n\n <data>\n<label>issuedDate</label>\n<value>2020-04-09</value>\n </data>\n\n <data>\n<label>Documentdatum_DT</label>\n<value>2020-04-09</value>\n </data>\n\n <data>\n<label>Uniek_Document_ID_TVAR_4_15</label>\n<value>0</value>\n </data>\n\n <data>\n<label>Bron_TVAR_4_25</label>\n<value>Import</value>\n </data>\n\n <data>\n<label>Scantijd_TM</label>\n<value>2020-04-09T00:00:00</value>\n </data>\n</metaData>\n</DirectArchiveDocument>",
45 "type": "text"
46 },
47 {
48 "key": "GUID",
49 "value": "mijn-unieke-identifier",
50 "type": "text",
51 "disabled": true
52 }
53 ]
54 },
55 "url": {
56 "raw": "https://dev.blueprism.faas.wearefrank.nl/api/directArchiving/documents",
57 "protocol": "https",
58 "host": [
59 "dev",
60 "blueprism",
61 "faas",
62 "wearefrank",
63 "nl"
64 ],
65 "path": [
66 "api",
67 "directArchiving",
68 "documents"
69 ]
70 }
71 },
72 "response": [
73 {
74 "name": "LOC Direct Archiving API",
75 "originalRequest": {
76 "method": "POST",
77 "header": [],
78 "body": {
79 "mode": "formdata",
80 "formdata": [
81 {
82 "key": "file",
83 "type": "file",
84 "src": "/C:/data/array-outputvalidator2.PNG"
85 },
86 {
87 "key": "body",
88 "value": "{ \n \"schemaName\":\"Claims Algemeen\",\n \"sourceDocumentId\" : \"123-456-789\",\n \"sourceTransactionId\" : \"123-456-789\",\n \"properties\":[ \n { \n \"propertyValue\":\"2019-08-08\",\n \"propertyName\":\"issuedDate\"\n },\n { \n \"propertyValue\":\"1234567890\",\n \"propertyName\":\"barcode\"\n },\n { \n \"propertyValue\":\"1234567890\",\n \"propertyName\":\"Polisnummer_TVAR_4_20\"\n }\n ]\n}",
89 "type": "text"
90 },
91 {
92 "key": "GUID",
93 "value": "mijn-unieke-identifier",
94 "type": "text",
95 "disabled": true
96 }
97 ]
98 },
99 "url": {
100 "raw": "http://localhost/ibis4navigator/api/directArchiving/documents",
101 "protocol": "http",
102 "host": [
103 "localhost"
104 ],
105 "path": [
106 "ibis4navigator",
107 "api",
108 "directArchiving",
109 "documents"
110 ]
111 }
112 },
113 "status": "OK",
114 "code": 200,
115 "_postman_previewlanguage": "raw",
116 "header": [
117 {
118 "key": "Server",
119 "value": "Apache-Coyote/1.1"
120 },
121 {
122 "key": "Last-Modified",
123 "value": "Thu, 12 Sep 2019 09:29:55 GMT"
124 },
125 {
126 "key": "Cache-Control",
127 "value": "no-store, no-cache, must-revalidate, max-age=0, post-check=0, pre-check=0"
128 },
129 {
130 "key": "Pragma",
131 "value": "no-cache"
132 },
133 {
134 "key": "Allow",
135 "value": "OPTIONS, POST"
136 },
137 {
138 "key": "Content-Type",
139 "value": "*/*;charset=utf-8"
140 },
141 {
142 "key": "Content-Length",
143 "value": "70"
144 },
145 {
146 "key": "Date",
147 "value": "Thu, 12 Sep 2019 09:29:57 GMT"
148 }
149 ],
150 "cookie": [],
151 "body": "{\"TitanPOST_Response\":{\"titanDocumentId\":{},\"Result\":{\"Status\":\"OK\"}}}"
152 }
153 ]
154 }
155 ],
156 "protocolProfileBehavior": {}
157}