{ "uuid": "3ca3d213-aed4-4faf-a3fc-b51380e4d5b2", "lastMigration": 29, "name": "Prime ReportStream", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "9e5064a2-c3e9-4c66-a3b8-61f7453ced03", "documentation": "Post a report to the data hub", "method": "post", "endpoint": "reports", "responses": [ { "uuid": "d46f00aa-42f6-4bba-945e-c5ee3abe4781", "body": "{\n \"destinationCount\": {{faker 'number.int' max=99999}},\n \"destinations\": [\n {\n \"itemCount\": {{faker 'number.int' max=99999}},\n \"organization\": \"\",\n \"organization_id\": \"\",\n \"sending_at\": \"{{faker 'date.recent' 365}}\",\n \"service\": \"\"\n }\n ],\n \"errorCount\": {{faker 'number.int' max=99999}},\n \"errors\": [\n {\n \"detail\": \"\",\n \"id\": \"\",\n \"scope\": \"{{oneOf (array 'Parameter' 'Report' 'Item')}}\"\n }\n ],\n \"id\": \"\",\n \"reportItemCount\": {{faker 'number.int' max=99999}},\n \"routing\": [\n {\n \"destinations\": [\n \"\"\n ],\n \"reportIndex\": {{faker 'number.int' max=99999}},\n \"trackingId\": \"\"\n }\n ],\n \"timestamp\": \"\",\n \"topic\": \"\",\n \"warningCount\": {{faker 'number.int' max=99999}},\n \"warnings\": [\n {\n \"detail\": \"\",\n \"id\": \"\",\n \"scope\": \"{{oneOf (array 'Parameter' 'Report' 'Item')}}\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "554b45f6-951c-4a9f-ba25-49c36c50122d", "body": "{\n \"destinationCount\": {{faker 'number.int' max=99999}},\n \"destinations\": [\n {\n \"itemCount\": {{faker 'number.int' max=99999}},\n \"organization\": \"\",\n \"organization_id\": \"\",\n \"sending_at\": \"{{faker 'date.recent' 365}}\",\n \"service\": \"\"\n }\n ],\n \"errorCount\": {{faker 'number.int' max=99999}},\n \"errors\": [\n {\n \"detail\": \"\",\n \"id\": \"\",\n \"scope\": \"{{oneOf (array 'Parameter' 'Report' 'Item')}}\"\n }\n ],\n \"id\": \"\",\n \"reportItemCount\": {{faker 'number.int' max=99999}},\n \"routing\": [\n {\n \"destinations\": [\n \"\"\n ],\n \"reportIndex\": {{faker 'number.int' max=99999}},\n \"trackingId\": \"\"\n }\n ],\n \"timestamp\": \"\",\n \"topic\": \"\",\n \"warningCount\": {{faker 'number.int' max=99999}},\n \"warnings\": [\n {\n \"detail\": \"\",\n \"id\": \"\",\n \"scope\": \"{{oneOf (array 'Parameter' 'Report' 'Item')}}\"\n }\n ]\n}", "latency": 0, "statusCode": 201, "label": "Created. A report was created, but items may have been rejected.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "2e5da635-968f-438b-bfa3-97ad46ffd010", "body": "{\n \"destinationCount\": {{faker 'number.int' max=99999}},\n \"destinations\": [\n {\n \"itemCount\": {{faker 'number.int' max=99999}},\n \"organization\": \"\",\n \"organization_id\": \"\",\n \"sending_at\": \"{{faker 'date.recent' 365}}\",\n \"service\": \"\"\n }\n ],\n \"errorCount\": {{faker 'number.int' max=99999}},\n \"errors\": [\n {\n \"detail\": \"\",\n \"id\": \"\",\n \"scope\": \"{{oneOf (array 'Parameter' 'Report' 'Item')}}\"\n }\n ],\n \"id\": \"\",\n \"reportItemCount\": {{faker 'number.int' max=99999}},\n \"routing\": [\n {\n \"destinations\": [\n \"\"\n ],\n \"reportIndex\": {{faker 'number.int' max=99999}},\n \"trackingId\": \"\"\n }\n ],\n \"timestamp\": \"\",\n \"topic\": \"\",\n \"warningCount\": {{faker 'number.int' max=99999}},\n \"warnings\": [\n {\n \"detail\": \"\",\n \"id\": \"\",\n \"scope\": \"{{oneOf (array 'Parameter' 'Report' 'Item')}}\"\n }\n ]\n}", "latency": 0, "statusCode": 400, "label": "Invalid request. No report created.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "dff8a9d1-b7bc-45b4-84ad-d3944dfafa64", "body": "", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f65dfdb2-db7a-4010-9b4a-88749f460666", "documentation": "The settings for all organizations of the system. Must have admin access.", "method": "get", "endpoint": "settings/organizations", "responses": [ { "uuid": "f5643410-b7d5-4a59-9cd5-56c55b032e4d", "body": "[\n {\n \"countyName\": \"Pima\",\n \"description\": \"Arizona PHD\",\n \"jurisdiction\": \"{{oneOf (array 'National' 'State' 'County')}}\",\n \"meta\": {\n \"createdAt\": \"\",\n \"createdBy\": \"jj@phd.gov\",\n \"version\": 11\n },\n \"name\": \"az-phd\",\n \"stateCode\": \"AZ\"\n }\n]", "latency": 0, "statusCode": 200, "label": "OK", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Last-Modified", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3271115e-47f4-4690-be14-d166f3730933", "documentation": "Retrived the last modified for all settings of the system. Must have admin access.", "method": "head", "endpoint": "settings/organizations", "responses": [ { "uuid": "1fbc5627-6e40-4e4f-868b-3458464064f6", "body": "", "latency": 0, "statusCode": 200, "label": "OK", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Last-Modified", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c83ecc6a-466c-4219-b64c-fe09997d9274", "documentation": "Delete an organization (and the associated receivers and senders)", "method": "delete", "endpoint": "settings/organizations/:organizationName", "responses": [ { "uuid": "b1f486ed-78a0-4070-8efd-b065c9709997", "body": "{\n \"countyName\": \"Pima\",\n \"description\": \"Arizona PHD\",\n \"jurisdiction\": \"{{oneOf (array 'National' 'State' 'County')}}\",\n \"meta\": {\n \"createdAt\": \"\",\n \"createdBy\": \"jj@phd.gov\",\n \"version\": 11\n },\n \"name\": \"az-phd\",\n \"stateCode\": \"AZ\"\n}", "latency": 0, "statusCode": 200, "label": "OK, the organization setting was deleted", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "43f9be07-a373-4317-8cd8-1db139663a70", "body": "", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "3a666487-f152-46d9-9d2d-85fd29563e9b", "body": "", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "01fe6241-15db-459f-9bd1-7aa63e102d98", "documentation": "A single organization settings", "method": "get", "endpoint": "settings/organizations/:organizationName", "responses": [ { "uuid": "8f0a624b-34d7-4d88-9428-46e59f0e8adc", "body": "{\n \"countyName\": \"Pima\",\n \"description\": \"Arizona PHD\",\n \"jurisdiction\": \"{{oneOf (array 'National' 'State' 'County')}}\",\n \"meta\": {\n \"createdAt\": \"\",\n \"createdBy\": \"jj@phd.gov\",\n \"version\": 11\n },\n \"name\": \"az-phd\",\n \"stateCode\": \"AZ\"\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d55666be-0c4a-4caa-a3a9-838db500caf3", "documentation": "Create or update the direct settings associated with an organization", "method": "put", "endpoint": "settings/organizations/:organizationName", "responses": [ { "uuid": "812de214-e0c4-4050-b4c2-a8d99635d932", "body": "{\n \"countyName\": \"Pima\",\n \"description\": \"Arizona PHD\",\n \"jurisdiction\": \"{{oneOf (array 'National' 'State' 'County')}}\",\n \"meta\": {\n \"createdAt\": \"\",\n \"createdBy\": \"jj@phd.gov\",\n \"version\": 11\n },\n \"name\": \"az-phd\",\n \"stateCode\": \"AZ\"\n}", "latency": 0, "statusCode": 200, "label": "OK, the organization setting was updated", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "4b14c41c-2b78-4a14-a0dc-2a1b51096f75", "body": "{\n \"countyName\": \"Pima\",\n \"description\": \"Arizona PHD\",\n \"jurisdiction\": \"{{oneOf (array 'National' 'State' 'County')}}\",\n \"meta\": {\n \"createdAt\": \"\",\n \"createdBy\": \"jj@phd.gov\",\n \"version\": 11\n },\n \"name\": \"az-phd\",\n \"stateCode\": \"AZ\"\n}", "latency": 0, "statusCode": 201, "label": "Created", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "1cc6e9d3-9662-4d54-bd36-46cd3b4c85c6", "body": "", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "d46deb37-d4b5-4747-ab8d-dc100a889263", "body": "", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d8381aef-a4e2-4863-bcbd-b4c5eaac3cdc", "documentation": "A list of receivers and their current settings", "method": "get", "endpoint": "settings/organizations/:organizationName/receivers", "responses": [ { "uuid": "4fc94b68-e4ed-453c-b2a8-fd5c67a04a15", "body": "[\n {\n \"description\": \"Arizona PHD ELR feed\",\n \"jurisdictionalFilters\": [\n {\n \"doesNotMatch\": {{faker 'datatype.boolean'}},\n \"matchFields\": \"{{oneOf (array 'FACILITY_OR_PATIENT_ADDRESS' 'FACILITY_ADDRESS' 'FACILITY_NAME' 'ABNORMAL_VALUE')}}\",\n \"matchValues\": [\n \"\"\n ]\n }\n ],\n \"meta\": {\n \"createdAt\": \"\",\n \"createdBy\": \"jj@phd.gov\",\n \"version\": 11\n },\n \"name\": \"az-phd.elr\",\n \"organizationName\": \"az-phd\",\n \"timing\": {\n \"dailyAt\": {{faker 'number.int' max=99999}},\n \"frequency\": \"{{oneOf (array 'REAL_TIME' 'HOURLY' 'DAILY')}}\"\n },\n \"topic\": \"covid-19\",\n \"translations\": [\n {\n \"format\": \"{{oneOf (array 'CSV' 'HL7')}}\",\n \"nameFormat\": \"standard\",\n \"receivingOrganization\": \"\",\n \"schemaName\": \"\",\n \"transport\": {\n \"filePath\": \"/in/test\",\n \"host\": \"sftp.phd.gov\",\n \"port\": 22,\n \"type\": \"SFTP\"\n },\n \"type\": \"CUSTOM\"\n }\n ]\n }\n]", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "d8b85b68-bfb3-4fcc-af5f-378fbb268735", "body": "", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "3b716534-bcb9-40dd-8c95-83a64cfd8d74", "body": "", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "33ff1672-b120-4f64-b936-37081ac9e47f", "documentation": "Delete a receiver", "method": "delete", "endpoint": "settings/organizations/:organizationName/receivers/:receiverName", "responses": [ { "uuid": "9fd6bf81-29e1-4705-b388-288191b8a1e4", "body": "{\n \"description\": \"Arizona PHD ELR feed\",\n \"jurisdictionalFilters\": [\n {\n \"doesNotMatch\": {{faker 'datatype.boolean'}},\n \"matchFields\": \"{{oneOf (array 'FACILITY_OR_PATIENT_ADDRESS' 'FACILITY_ADDRESS' 'FACILITY_NAME' 'ABNORMAL_VALUE')}}\",\n \"matchValues\": [\n \"\"\n ]\n }\n ],\n \"meta\": {\n \"createdAt\": \"\",\n \"createdBy\": \"jj@phd.gov\",\n \"version\": 11\n },\n \"name\": \"az-phd.elr\",\n \"organizationName\": \"az-phd\",\n \"timing\": {\n \"dailyAt\": {{faker 'number.int' max=99999}},\n \"frequency\": \"{{oneOf (array 'REAL_TIME' 'HOURLY' 'DAILY')}}\"\n },\n \"topic\": \"covid-19\",\n \"translations\": [\n {\n \"format\": \"{{oneOf (array 'CSV' 'HL7')}}\",\n \"nameFormat\": \"standard\",\n \"receivingOrganization\": \"\",\n \"schemaName\": \"\",\n \"transport\": {\n \"filePath\": \"/in/test\",\n \"host\": \"sftp.phd.gov\",\n \"port\": 22,\n \"type\": \"SFTP\"\n },\n \"type\": \"CUSTOM\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "OK, the receiver was deleted", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "ad1e9bd5-4300-46e9-a92e-655681be75b4", "body": "", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "4a545d44-c760-4abd-bdcd-55c8e7f69c76", "body": "", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "9d9196db-3fa8-4a5f-abaf-238c0cbd6bc9", "documentation": "The settings of a single of receiver", "method": "get", "endpoint": "settings/organizations/:organizationName/receivers/:receiverName", "responses": [ { "uuid": "6d320d6b-b56d-4203-90c3-ec6b075b96b6", "body": "{\n \"description\": \"Arizona PHD ELR feed\",\n \"jurisdictionalFilters\": [\n {\n \"doesNotMatch\": {{faker 'datatype.boolean'}},\n \"matchFields\": \"{{oneOf (array 'FACILITY_OR_PATIENT_ADDRESS' 'FACILITY_ADDRESS' 'FACILITY_NAME' 'ABNORMAL_VALUE')}}\",\n \"matchValues\": [\n \"\"\n ]\n }\n ],\n \"meta\": {\n \"createdAt\": \"\",\n \"createdBy\": \"jj@phd.gov\",\n \"version\": 11\n },\n \"name\": \"az-phd.elr\",\n \"organizationName\": \"az-phd\",\n \"timing\": {\n \"dailyAt\": {{faker 'number.int' max=99999}},\n \"frequency\": \"{{oneOf (array 'REAL_TIME' 'HOURLY' 'DAILY')}}\"\n },\n \"topic\": \"covid-19\",\n \"translations\": [\n {\n \"format\": \"{{oneOf (array 'CSV' 'HL7')}}\",\n \"nameFormat\": \"standard\",\n \"receivingOrganization\": \"\",\n \"schemaName\": \"\",\n \"transport\": {\n \"filePath\": \"/in/test\",\n \"host\": \"sftp.phd.gov\",\n \"port\": 22,\n \"type\": \"SFTP\"\n },\n \"type\": \"CUSTOM\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "e9539eba-6186-4d0a-960a-28038d41adfd", "body": "", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "30156a49-3c5f-40c9-926a-d3749ef630b9", "body": "", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3c887000-d03c-4c76-8efa-b09336eaa5ff", "documentation": "Update a single reciever", "method": "put", "endpoint": "settings/organizations/:organizationName/receivers/:receiverName", "responses": [ { "uuid": "89c579a3-ae4d-4baa-976f-6a6d4f6394c5", "body": "{\n \"description\": \"Arizona PHD ELR feed\",\n \"jurisdictionalFilters\": [\n {\n \"doesNotMatch\": {{faker 'datatype.boolean'}},\n \"matchFields\": \"{{oneOf (array 'FACILITY_OR_PATIENT_ADDRESS' 'FACILITY_ADDRESS' 'FACILITY_NAME' 'ABNORMAL_VALUE')}}\",\n \"matchValues\": [\n \"\"\n ]\n }\n ],\n \"meta\": {\n \"createdAt\": \"\",\n \"createdBy\": \"jj@phd.gov\",\n \"version\": 11\n },\n \"name\": \"az-phd.elr\",\n \"organizationName\": \"az-phd\",\n \"timing\": {\n \"dailyAt\": {{faker 'number.int' max=99999}},\n \"frequency\": \"{{oneOf (array 'REAL_TIME' 'HOURLY' 'DAILY')}}\"\n },\n \"topic\": \"covid-19\",\n \"translations\": [\n {\n \"format\": \"{{oneOf (array 'CSV' 'HL7')}}\",\n \"nameFormat\": \"standard\",\n \"receivingOrganization\": \"\",\n \"schemaName\": \"\",\n \"transport\": {\n \"filePath\": \"/in/test\",\n \"host\": \"sftp.phd.gov\",\n \"port\": 22,\n \"type\": \"SFTP\"\n },\n \"type\": \"CUSTOM\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "OK, the receiver setting was updated", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "bfd416ad-cec7-468a-8851-01cf4163a42b", "body": "{\n \"description\": \"Arizona PHD ELR feed\",\n \"jurisdictionalFilters\": [\n {\n \"doesNotMatch\": {{faker 'datatype.boolean'}},\n \"matchFields\": \"{{oneOf (array 'FACILITY_OR_PATIENT_ADDRESS' 'FACILITY_ADDRESS' 'FACILITY_NAME' 'ABNORMAL_VALUE')}}\",\n \"matchValues\": [\n \"\"\n ]\n }\n ],\n \"meta\": {\n \"createdAt\": \"\",\n \"createdBy\": \"jj@phd.gov\",\n \"version\": 11\n },\n \"name\": \"az-phd.elr\",\n \"organizationName\": \"az-phd\",\n \"timing\": {\n \"dailyAt\": {{faker 'number.int' max=99999}},\n \"frequency\": \"{{oneOf (array 'REAL_TIME' 'HOURLY' 'DAILY')}}\"\n },\n \"topic\": \"covid-19\",\n \"translations\": [\n {\n \"format\": \"{{oneOf (array 'CSV' 'HL7')}}\",\n \"nameFormat\": \"standard\",\n \"receivingOrganization\": \"\",\n \"schemaName\": \"\",\n \"transport\": {\n \"filePath\": \"/in/test\",\n \"host\": \"sftp.phd.gov\",\n \"port\": 22,\n \"type\": \"SFTP\"\n },\n \"type\": \"CUSTOM\"\n }\n ]\n}", "latency": 0, "statusCode": 201, "label": "Created", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "85646718-d13d-4cbc-912a-7efbfa24b9ab", "body": "", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "53d07310-308b-43ef-b1e5-116796e50fa8", "body": "", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "9a807c0d-411b-4ea7-a100-be92c09c711c", "documentation": "A list of senders", "method": "get", "endpoint": "settings/organizations/:organizationName/senders", "responses": [ { "uuid": "8bb93e32-73fc-467b-ab60-586ddea67cce", "body": "[\n {\n \"description\": \"\",\n \"format\": \"{{oneOf (array 'CSV')}}\",\n \"meta\": {\n \"createdAt\": \"\",\n \"createdBy\": \"jj@phd.gov\",\n \"version\": 11\n },\n \"name\": \"simple_report.default\",\n \"organizationName\": \"az-phd\",\n \"schema\": \"az-phd-covid-19\",\n \"topic\": \"covid-19\"\n }\n]", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "6a4ac98d-1566-4f1c-a1d6-f74f1a154189", "body": "", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "e1afd1f9-8477-4218-a812-8fffc5bc798b", "body": "", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "eac28e11-e419-43cd-886d-352583cc830d", "documentation": "Delete a sender", "method": "delete", "endpoint": "settings/organizations/:organizationName/senders/:senderName", "responses": [ { "uuid": "4b0bb6e7-9a8f-45a6-92c5-cb11bfeb174e", "body": "{\n \"description\": \"\",\n \"format\": \"{{oneOf (array 'CSV')}}\",\n \"meta\": {\n \"createdAt\": \"\",\n \"createdBy\": \"jj@phd.gov\",\n \"version\": 11\n },\n \"name\": \"simple_report.default\",\n \"organizationName\": \"az-phd\",\n \"schema\": \"az-phd-covid-19\",\n \"topic\": \"covid-19\"\n}", "latency": 0, "statusCode": 200, "label": "OK, the sender was deleted", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "f2e22fc9-391a-44cf-814a-125a349f81c9", "body": "", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "196ab446-bab9-4836-9754-c3b7c0414df6", "body": "", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "4c49fef8-43a4-4a6d-8429-e0cf71fb9966", "documentation": "The settings of a single of sender", "method": "get", "endpoint": "settings/organizations/:organizationName/senders/:senderName", "responses": [ { "uuid": "a0377229-111b-47ee-92cc-4f1915048840", "body": "{\n \"description\": \"\",\n \"format\": \"{{oneOf (array 'CSV')}}\",\n \"meta\": {\n \"createdAt\": \"\",\n \"createdBy\": \"jj@phd.gov\",\n \"version\": 11\n },\n \"name\": \"simple_report.default\",\n \"organizationName\": \"az-phd\",\n \"schema\": \"az-phd-covid-19\",\n \"topic\": \"covid-19\"\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "68aeeaa7-7c88-4411-ae8a-17dda572ada9", "body": "", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "af5339bd-88df-461a-926f-4c9c56565d77", "body": "", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "9975c0b6-ed8b-42bd-99e7-aad838beab82", "documentation": "Update a single sender", "method": "put", "endpoint": "settings/organizations/:organizationName/senders/:senderName", "responses": [ { "uuid": "8f546308-832b-4a8a-b489-2b1db8bacf6c", "body": "[\n {\n \"description\": \"\",\n \"format\": \"{{oneOf (array 'CSV')}}\",\n \"meta\": {\n \"createdAt\": \"\",\n \"createdBy\": \"jj@phd.gov\",\n \"version\": 11\n },\n \"name\": \"simple_report.default\",\n \"organizationName\": \"az-phd\",\n \"schema\": \"az-phd-covid-19\",\n \"topic\": \"covid-19\"\n }\n]", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "7dc51423-65d6-4c0f-9513-9b4be5e16249", "body": "[\n {\n \"description\": \"\",\n \"format\": \"{{oneOf (array 'CSV')}}\",\n \"meta\": {\n \"createdAt\": \"\",\n \"createdBy\": \"jj@phd.gov\",\n \"version\": 11\n },\n \"name\": \"simple_report.default\",\n \"organizationName\": \"az-phd\",\n \"schema\": \"az-phd-covid-19\",\n \"topic\": \"covid-19\"\n }\n]", "latency": 0, "statusCode": 201, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "71109ef4-fdf3-41e0-b9ed-42c234f062ad", "body": "", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "ec463fce-2b93-4c46-9ab3-ef164a0766e8", "body": "", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [], "proxyReqHeaders": [{ "key": "", "value": "" }], "proxyResHeaders": [{ "key": "", "value": "" }], "data": [], "folders": [], "rootChildren": [ { "type": "route", "uuid": "9e5064a2-c3e9-4c66-a3b8-61f7453ced03" }, { "type": "route", "uuid": "f65dfdb2-db7a-4010-9b4a-88749f460666" }, { "type": "route", "uuid": "3271115e-47f4-4690-be14-d166f3730933" }, { "type": "route", "uuid": "c83ecc6a-466c-4219-b64c-fe09997d9274" }, { "type": "route", "uuid": "01fe6241-15db-459f-9bd1-7aa63e102d98" }, { "type": "route", "uuid": "d55666be-0c4a-4caa-a3a9-838db500caf3" }, { "type": "route", "uuid": "d8381aef-a4e2-4863-bcbd-b4c5eaac3cdc" }, { "type": "route", "uuid": "33ff1672-b120-4f64-b936-37081ac9e47f" }, { "type": "route", "uuid": "9d9196db-3fa8-4a5f-abaf-238c0cbd6bc9" }, { "type": "route", "uuid": "3c887000-d03c-4c76-8efa-b09336eaa5ff" }, { "type": "route", "uuid": "9a807c0d-411b-4ea7-a100-be92c09c711c" }, { "type": "route", "uuid": "eac28e11-e419-43cd-886d-352583cc830d" }, { "type": "route", "uuid": "4c49fef8-43a4-4a6d-8429-e0cf71fb9966" }, { "type": "route", "uuid": "9975c0b6-ed8b-42bd-99e7-aad838beab82" } ] }