Skip to content

Commit

Permalink
Update postman with scanning requests.
Browse files Browse the repository at this point in the history
Signed-off-by: Doug Lovett <doug@diamante.ca>
  • Loading branch information
doug-lovett committed Aug 22, 2024
1 parent 1473fad commit 432bf61
Showing 1 changed file with 208 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@
}
},
"url": {
"raw": "{{base_url}}/api/v1/business/CORP/CORP_MISC?consumerIdentifier=BC0812384&consumerFilename=address_change.pdf&consumerFilingDate=2024-07-25&consumerScanDate=2024-05-01&consumerDocumentId=12345678",
"raw": "{{base_url}}/api/v1/business/CORP/CORP_MISC?consumerIdentifier=BC0812384&consumerFilename=address_change.pdf&consumerFilingDate=2024-07-25&consumerDocumentId=12345678",
"host": [
"{{base_url}}"
],
Expand All @@ -195,10 +195,6 @@
"key": "consumerFilingDate",
"value": "2024-07-25"
},
{
"key": "consumerScanDate",
"value": "2024-05-01"
},
{
"key": "consumerDocumentId",
"value": "12345678"
Expand Down Expand Up @@ -244,7 +240,7 @@
}
},
"url": {
"raw": "{{base_url}}/api/v1/documents/CORP/CORP_MISC?consumerIdentifier=BC0700000&consumerFilename=address_change.pdf&consumerFilingDate=2024-08-08&consumerScanDate=2024-05-01",
"raw": "{{base_url}}/api/v1/documents/CORP/CORP_MISC?consumerIdentifier=BC0700000&consumerFilename=address_change.pdf&consumerFilingDate=2024-08-08",
"host": [
"{{base_url}}"
],
Expand All @@ -267,10 +263,70 @@
{
"key": "consumerFilingDate",
"value": "2024-08-08"
}
]
}
},
"response": []
},
{
"name": "Upload MHR class legacy doc ID",
"protocolProfileBehavior": {
"disabledSystemHeaders": {
"content-type": true
}
},
"request": {
"method": "POST",
"header": [
{
"key": "Account-Id",
"value": "{{account_id}}"
},
{
"key": "Authorization",
"value": "Bearer {{jwt}}"
},
{
"key": "Content-Type",
"value": "application/pdf",
"type": "text"
}
],
"body": {
"mode": "file",
"file": {
"src": ""
}
},
"url": {
"raw": "{{base_url}}/api/v1/documents/MHR/TRAN?consumerIdentifier=108402&consumerFilename=transfer_of_ownership.pdf&consumerFilingDate=2024-08-22&consumerDocumentId=99999999",
"host": [
"{{base_url}}"
],
"path": [
"api",
"v1",
"documents",
"MHR",
"TRAN"
],
"query": [
{
"key": "consumerIdentifier",
"value": "108402"
},
{
"key": "consumerFilename",
"value": "transfer_of_ownership.pdf"
},
{
"key": "consumerScanDate",
"value": "2024-05-01"
"key": "consumerFilingDate",
"value": "2024-08-22"
},
{
"key": "consumerDocumentId",
"value": "99999999"
}
]
}
Expand Down Expand Up @@ -390,20 +446,20 @@
}
],
"url": {
"raw": "{{base_url}}/api/v1/searches/CORP?consumerDocumentId=0100000001",
"raw": "{{base_url}}/api/v1/searches/MHR?consumerDocumentId=99999999",
"host": [
"{{base_url}}"
],
"path": [
"api",
"v1",
"searches",
"CORP"
"MHR"
],
"query": [
{
"key": "consumerDocumentId",
"value": "0100000001"
"value": "99999999"
}
]
}
Expand Down Expand Up @@ -622,7 +678,7 @@
],
"body": {
"mode": "raw",
"raw": "{\n \"consumerDocumentId\": \"UT000006\",\n \"consumerFilename\": \"change_address2.pdf\",\n \"consumerIdentifier\": \"BC0700002\",\n \"consumerFilingDate\": \"2024-08-02\",\n \"consumerScanDate\": \"2024-07-02\"\t\n}\n",
"raw": "{\n \"consumerDocumentId\": \"UT000006\",\n \"consumerFilename\": \"change_address2.pdf\",\n \"consumerIdentifier\": \"BC0700002\",\n \"consumerFilingDate\": \"2024-08-02\"\n}\n",
"options": {
"raw": {
"language": "json"
Expand All @@ -645,7 +701,7 @@
"response": []
},
{
"name": "Update Scan Date",
"name": "Update Filing Date",
"request": {
"method": "PATCH",
"header": [
Expand All @@ -660,7 +716,7 @@
],
"body": {
"mode": "raw",
"raw": "{\n \"consumerScanDate\": \"2024-06-02\"\n}\n",
"raw": "{\n \"consumerFilingDate\": \"2024-07-02\"\n}\n",
"options": {
"raw": {
"language": "json"
Expand All @@ -683,7 +739,7 @@
"response": []
},
{
"name": "Update Filing Date",
"name": "Update Filename",
"request": {
"method": "PATCH",
"header": [
Expand All @@ -698,7 +754,7 @@
],
"body": {
"mode": "raw",
"raw": "{\n \"consumerFilingDate\": \"2024-07-02\"\n}\n",
"raw": "{\n \"consumerFilename\": \"change_directors.pdf\"\n}\n",
"options": {
"raw": {
"language": "json"
Expand All @@ -721,7 +777,7 @@
"response": []
},
{
"name": "Update Filename",
"name": "Update Consumer ID",
"request": {
"method": "PATCH",
"header": [
Expand All @@ -736,7 +792,7 @@
],
"body": {
"mode": "raw",
"raw": "{\n \"consumerFilename\": \"change_directors.pdf\"\n}\n",
"raw": "{\n \"consumerIdentifier\": \"BC0700001\"\n}\n",
"options": {
"raw": {
"language": "json"
Expand All @@ -757,9 +813,54 @@
}
},
"response": []
}
],
"description": "Update document storage information."
},
{
"name": "scanning",
"item": [
{
"name": "Create scanning record all",
"request": {
"method": "POST",
"header": [
{
"key": "Account-Id",
"value": "{{account_id}}"
},
{
"key": "Authorization",
"value": "Bearer {{jwt}}"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"scanDateTime\": \"2024-08-01\",\n \"accessionNumber\": \"UT-001-0005\",\n \"author\": \"James Baldwin\",\n \"batchId\": \"1204\",\n \"pageCount\": 4\n}\n",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{base_url}}/api/v1/scanning/MHR/99999999",
"host": [
"{{base_url}}"
],
"path": [
"api",
"v1",
"scanning",
"MHR",
"99999999"
]
}
},
"response": []
},
{
"name": "Update Consumer ID",
"name": "Update scanning record all",
"request": {
"method": "PATCH",
"header": [
Expand All @@ -774,30 +875,73 @@
],
"body": {
"mode": "raw",
"raw": "{\n \"consumerIdentifier\": \"BC0700001\"\n}\n",
"raw": "{\n \"scanDateTime\": \"2024-08-22\",\n \"accessionNumber\": \"UT-002-0005\",\n \"author\": \"James Hamish Baldwin\",\n \"batchId\": \"1200\",\n \"pageCount\": 5\n}\n",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{base_url}}/api/v1/documents/DS0000100003",
"raw": "{{base_url}}/api/v1/scanning/MHR/99999999",
"host": [
"{{base_url}}"
],
"path": [
"api",
"v1",
"documents",
"DS0000100003"
"scanning",
"MHR",
"99999999"
]
}
},
"response": []
},
{
"name": "Get scanning record by class and doc ID",
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"method": "GET",
"header": [
{
"key": "Account-Id",
"value": "{{account_id}}"
},
{
"key": "Authorization",
"value": "Bearer {{jwt}}"
}
],
"body": {
"mode": "raw",
"raw": "",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{base_url}}/api/v1/scanning/MHR/99999999",
"host": [
"{{base_url}}"
],
"path": [
"api",
"v1",
"scanning",
"MHR",
"99999999"
]
}
},
"response": []
}
],
"description": "Update document storage information."
"description": "Endpoints for maintaining legacy document scanning information."
},
{
"name": "reports",
Expand Down Expand Up @@ -841,6 +985,46 @@
}
},
"response": []
},
{
"name": "document record report with scanning",
"protocolProfileBehavior": {
"disabledSystemHeaders": {
"accept": true
}
},
"request": {
"method": "GET",
"header": [
{
"key": "Account-Id",
"value": "{{account_id}}"
},
{
"key": "Authorization",
"value": "Bearer {{jwt}}"
},
{
"key": "Accept",
"value": "application/pdf",
"type": "text"
}
],
"url": {
"raw": "{{base_url}}/api/v1/reports/document-records/99999999",
"host": [
"{{base_url}}"
],
"path": [
"api",
"v1",
"reports",
"document-records",
"99999999"
]
}
},
"response": []
}
]
}
Expand Down

0 comments on commit 432bf61

Please sign in to comment.