{"info":{"_postman_id":"f9fc9297-1f71-4b36-991f-444d9eb82a72","name":"ECG Partner Portal-Release API","description":"<html><head></head><body><p>(Document ver. 2.2.1)</p>\n<p>Use the ECG Partner Portal-Release API to release a submission to ECG.</p>\n<h4 id=\"urls\">URLs</h4>\n<p>ECG maintains separate URL endpoints for <strong>Development</strong> (testing), <strong>Preview</strong> (pre-production), and <strong>Production</strong> (live production).</p>\n<h4 id=\"development\">Development:</h4>\n<p><strong>Development URL</strong> - <a href=\"https://api.dev.ecg.com\">https://api.dev.ecg.com</a></p>\n<p>Use the provided <strong>Development Token</strong> and <strong>Development URL endpoint</strong> to release a submission to ECG in the ECG Development environment. This environment is strictly for testing purposes only. These Submissions will NOT be worked. We do not guarantee that data submitted to this environment will be retained for longer than one week.</p>\n<h4 id=\"preview-pre-production\">Preview (Pre-Production):</h4>\n<p><strong>Preview URL</strong> - <a href=\"https://api.preview.ecg.com\">https://api.preview.ecg.com</a></p>\n<p>Use the provided <strong>Production Token</strong> and <strong>Preview URL endpoint</strong> to release a submission to ECG in the ECG Preview environment. This environment uses production data with pre-production code. Any data submitted to this environment will be worked as if it were production data.</p>\n<h4 id=\"production\">Production:</h4>\n<p><strong>Production URL</strong> - <a href=\"https://api.prod.ecg.com\">https://api.prod.ecg.com</a></p>\n<p>Use the provided <strong>Production Token</strong> and <strong>Production URL endpoint</strong> to release a submission to ECG in the ECG Production environment. This environment uses both production data and production code. Any data submitted to this environment will be worked.</p>\n<p>Refer to <a href=\"https://e20co-cdn.s3-us-west-2.amazonaws.com/Tips+for+Using+Postman.pdf\">Tips for Using Postman</a> for instructions on where to insert your ECG Token.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"5947704","collectionId":"f9fc9297-1f71-4b36-991f-444d9eb82a72","publishedId":"SVSLp8M8","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-04-15T15:44:03.000Z"},"item":[{"name":"Release Submission to ECG","event":[{"listen":"prerequest","script":{"id":"f6fabbaf-fe9d-4553-81ab-b093b0566727","exec":["pm.variables.set(\"submission_id\", \"265962\");"],"type":"text/javascript"}},{"listen":"test","script":{"id":"eba44cd7-71f3-433c-9cdb-9f3b051a6e12","exec":["pm.test(\"Submission successfully released to ECG\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"279f4532-311b-4b5a-aa17-34e4cff7b1cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-authtoken","value":"{{token}}","type":"text"},{"key":"application","value":"application/hal+json","type":"text"}],"url":"https://api.dev.ecg.com/api/v1/submissions/{{submission_id}}/release","description":"<h1 id=\"release-submission-to-ecg\">Release Submission to ECG</h1>\n<p>Specify a <strong>Submission ID</strong> to release a submission to ECG.</p>\n<h5 id=\"possible-submission-return-codes\">Possible Submission Return Codes:</h5>\n<ul>\n<li>Pass (Code 200) Submission successfully released to ECG</li>\n<li>Fail (Code 404) Submission ID not found or not available to be released</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","v1","submissions","{{submission_id}}","release"],"host":["api","dev","ecg","com"],"query":[],"variable":[]}},"response":[{"id":"63ef8ee4-de7c-4caa-9ade-9c6bc9e9aad4","name":"Error-Submission ID Not Found (Error Code 404)","originalRequest":{"method":"POST","header":[{"key":"x-authtoken","value":"<token>","type":"text"},{"key":"application","value":"application/hal+json","type":"text"}],"url":"https://ecg-connect.dev.e20.co/api/v1/submissions/{{submission_id}}/release"},"status":"NOT FOUND","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"gunicorn/19.9.0"},{"key":"Date","value":"Wed, 17 Jul 2019 19:42:52 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"132"}],"cookie":[],"responseTime":null,"body":"{\n    \"detail\": \"Submission not found.\",\n    \"status\": 404,\n    \"title\": \"Not Found\",\n    \"type\": \"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html\"\n}"},{"id":"b8efd615-c3ce-4484-8086-aaa09a82343a","name":"Error-Submission Not Available for Release-No Active Offers (Error Code 404)","originalRequest":{"method":"POST","header":[{"key":"x-authtoken","value":"<token>","type":"text"},{"key":"application","value":"application/hal+json","type":"text"}],"url":"https://ecg-connect.dev.e20.co/api/v1/submissions/{{submission_id}}/release"},"status":"NOT FOUND","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"gunicorn/19.9.0"},{"key":"Date","value":"Wed, 17 Jul 2019 19:46:26 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"132"}],"cookie":[],"responseTime":null,"body":"{\n    \"detail\": \"Submission not found.\",\n    \"status\": 404,\n    \"title\": \"Not Found\",\n    \"type\": \"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html\"\n}"},{"id":"c5fef0fe-0c57-4086-a0ec-6e13dfc9b013","name":"Submission Successfully Released to ECG (Pass Code 200)","originalRequest":{"method":"POST","header":[{"key":"x-authtoken","value":"<token>","type":"text"},{"key":"application","value":"application/hal+json","type":"text"}],"url":"https://ecg-connect.dev.e20.co/api/v1/submissions/{{submission_id}}/release"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"gunicorn/19.9.0"},{"key":"Date","value":"Wed, 17 Jul 2019 19:41:01 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"733"}],"cookie":[],"responseTime":null,"body":"{\n    \"city\": \"SIOUX FALLS\",\n    \"created_date\": \"2019-06-28T18:33:07+00:00\",\n    \"dba\": \"ECG TEST COMPANY\",\n    \"email\": \"ECGTEST@NOTANEMAIL.COM\",\n    \"funding_date\": null,\n    \"id\": 266026,\n    \"industry\": \"SubContractors\",\n    \"name\": \"ECG TEST COMPANY INC.\",\n    \"owners\": [\n        {\n            \"city\": \"SIOUX FALLS\",\n            \"dob\": \"1980-02-15\",\n            \"email\": \"BF@NOTANEMAIL.COM\",\n            \"first_name\": \"BRIAN\",\n            \"last_name\": \"FONTANA\",\n            \"ownership_percentage\": 100,\n            \"phone\": \"3510984996\",\n            \"ssn\": \"635460968\",\n            \"state\": \"SD\",\n            \"street\": \"200 N MAIN\",\n            \"zip\": \"57108\"\n        }\n    ],\n    \"partner_email\": \"\",\n    \"partner_rep\": \"Test Rep\",\n    \"phone\": \"6549685090\",\n    \"phone2\": \"6546054065\",\n    \"start_date\": \"2018-11-15T00:00:00+00:00\",\n    \"state\": \"SD\",\n    \"status\": \"Soft Approval\",\n    \"street\": \"100 N MAIN\",\n    \"tax_id\": \"649995410\",\n    \"type\": \"LLC\",\n    \"updated_date\": \"2019-07-17T19:35:17+00:00\",\n    \"zip\": \"57108\"\n}"}],"_postman_id":"279f4532-311b-4b5a-aa17-34e4cff7b1cd"}],"event":[{"listen":"prerequest","script":{"id":"923e4da8-6d79-45ea-9100-1ae2bff67d3b","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"8850c655-5da3-45fd-bdb9-e74f29c7ca03","type":"text/javascript","exec":[""]}}],"variable":[{"key":"token","value":"{{token}}"}]}