{"info":{"_postman_id":"852cf8b5-e53d-4c0c-b11d-e9787aa7ce62","name":"Pulsar Bankruptcy","description":"<html><head></head><body><p>The Bankruptcy API allows a client to fetch bankruptcy cases using a bankruptcy id, search for banruptcy using pre defined filters and provide feedback on bankruptcy cases.</p>\n<h2 id=\"concepts\">Concepts</h2>\n<p>Here we define the necessary concepts for a user to be proficient with the API:</p>\n<ul>\n<li>Bankruptcy ID: A string representation of a bankruptcy case id</li>\n</ul>\n<h2 id=\"notes\">Notes</h2>\n<p>The current collection is poitning to a mock server</p>\n<p>If you have problems with curl and the square brackets add the <code>--globoff</code> option.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"7899597","collectionId":"852cf8b5-e53d-4c0c-b11d-e9787aa7ce62","publishedId":"SzKTvynz","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-02-20T16:05:59.000Z"},"item":[{"name":"bankruptcies","item":[{"name":"Get bankruptcy cases based on filter crtieria","id":"555cbbec-c2b1-4e57-8807-3536deac7738","request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"key","value":""}],"url":"https://a0bc9b4c-50ae-4e28-84aa-42482eefbd7f.mock.pstmn.io/bankruptcies?filter[company]=<string>&filter[case_number]=<string>","urlObject":{"path":["bankruptcies"],"host":["https://a0bc9b4c-50ae-4e28-84aa-42482eefbd7f.mock.pstmn.io"],"query":[{"key":"filter[company]","value":"<string>"},{"key":"filter[case_number]","value":"<string>"}],"variable":[]}},"response":[{"id":"0acd2c3d-6b26-45e5-b969-a2b00d32fb26","name":"Set of results for bankruptcies","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://a0bc9b4c-50ae-4e28-84aa-42482eefbd7f.mock.pstmn.io/bankruptcies?filter[company]=Suitable","host":["https://a0bc9b4c-50ae-4e28-84aa-42482eefbd7f.mock.pstmn.io"],"path":["bankruptcies"],"query":[{"key":"filter[company]","value":"Suitable"},{"key":"filter[case_number]","value":"<string>","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"*/*"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [\n    {\n      \"id\": \"usbankruptcycourtdistrictofdelaware,20-bk-10432\",\n      \"type\": \"bankruptcies\",\n      \"attributes\": {\n        \"debtorName\": \"Suitable Technologies Inc.\",\n        \"debtorNewsName\": \"Suitable Technologies Inc.\",\n        \"summary\": \"\",\n        \"updatedAt\": \"2019-07-21\",\n        \"createdAt\": \"2019-07-21\",\n        \"content\": {\n          \"caseOverview\": {\n            \"caseNumber\": \"20-bk-10432\",\n            \"naics\": \"3342\",\n            \"court\": \"Delaware\",\n            \"division\": \"\",\n            \"judge\": \"Mary F. Walrath\",\n            \"dateFiled\": \"2020-02-26\",\n            \"isPrepacked\": false,\n            \"docket\": \"\",\n            \"caseName\": \"Suitable Technologies Inc.\",\n            \"estimatedCreditors\": \"200-999\",\n            \"assets\": \"\",\n            \"estimatedAssets\": \"$10000001-$50 million\",\n            \"liabilities\": \"\",\n            \"estimatedLiabilities\": \"$10000001-$50 million\"\n          },\n          \"keyFilings\": [\n            {\n              \"name\": \"Docket No. 1: Chapter 11 Voluntary Petition.\",\n              \"pdfUrl\": \"https://www.docketalarm.com/cases/Delaware_Bankruptcy_Court/1--20-bk-10432/Suitable_Technologies_Inc./1/\"\n            }\n          ],\n          \"unsecuredCreditors\": [\n            {\n              \"name\": \"Morrison & Foerster LLP\",\n              \"address\": \"425 Market Street\",\n              \"city\": \"San Francisco\",\n              \"state\": \"CA\",\n              \"country\": \"USA\",\n              \"postCode\": \"94105\",\n              \"phone\": \"415-268-7000\",\n              \"email\": \"fgelat@mofo.com\",\n              \"typeOfClaim\": \"Professional Payable\",\n              \"amount\": 417022.52\n            }\n          ],\n          \"capitalStructure\": {\n            \"securedDebt\": [\n              {\n                \"securedDebt\": \"Secured Bonds\",\n                \"maturity\": \"\",\n                \"outstandingPrincipleAmount\": 5930000,\n                \"asOf\": \"2020-02-26\"\n              }\n            ],\n            \"unsecuredDebt\": [\n              {\n                \"unsecuredDebt\": \"Unsecured Bonds\",\n                \"maturity\": \"\",\n                \"outstandingPrincipleAmount\": 86000000,\n                \"asOf\": \"2020-02-26\"\n              }\n            ]\n          },\n          \"representatives\": [\n            {\n              \"name\": \"\",\n              \"firmName\": \"Young Conaway Stargatt & Taylor\",\n              \"address\": \"1000 North King Street\",\n              \"postCode\": \"19801\",\n              \"city\": \"Wilmington\",\n              \"state\": \"DE\",\n              \"phone\": \"302-571-6600\",\n              \"email\": \"\"\n            }\n          ],\n          \"goals\": {\n            \"category\": \"Asset Sale\",\n            \"quote\": \"This Chapter 11 Case was then initiated to effectuate a transparent, orderly and efficient process to sell substantially all of the Company’s assets for the benefit of all stakeholders.\"\n          }\n        }\n      }\n    }\n  ]\n}"}],"_postman_id":"555cbbec-c2b1-4e57-8807-3536deac7738"},{"name":"Get data from a specific bankruptcy","id":"bfaa243b-01c4-4f88-a719-3059c1c059a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"x-api-key","value":"{{key}}"}],"url":"https://a0bc9b4c-50ae-4e28-84aa-42482eefbd7f.mock.pstmn.io/bankruptcies/:id","urlObject":{"path":["bankruptcies",":id"],"host":["https://a0bc9b4c-50ae-4e28-84aa-42482eefbd7f.mock.pstmn.io"],"query":[{"disabled":true,"key":"","value":""}],"variable":[{"description":{"content":"<p>(Required) The bankruptcy id</p>\n","type":"text/plain"},"type":"string","value":"usbankruptcycourtdistrictofvirginiaeastern,20-33113","key":"id"}]}},"response":[{"id":"2cdadbdd-e58f-466c-ab20-ad12a77fd47a","name":"Set of results for bankruptcy case","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://a0bc9b4c-50ae-4e28-84aa-42482eefbd7f.mock.pstmn.io/bankruptcies/:id","host":["https://a0bc9b4c-50ae-4e28-84aa-42482eefbd7f.mock.pstmn.io"],"path":["bankruptcies",":id"],"variable":[{"key":"id","value":"usbankruptcycourtdistrictofdelaware,20-bk-10432"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"*/*"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"id\": \"usbankruptcycourtdistrictofdelaware,20-bk-10432\",\n    \"type\": \"bankruptcies\",\n    \"attributes\": {\n      \"debtorName\": \"Suitable Technologies Inc.\",\n      \"debtorNewsName\": \"Suitable Technologies Inc.\",\n      \"summary\": \"\",\n      \"updatedAt\": \"2019-07-21\",\n      \"createdAt\": \"2019-07-21\",\n      \"content\": {\n        \"caseOverview\": {\n            \"caseNumber\": \"20-bk-10432\",\n            \"naics\": \"3342\",\n            \"court\": \"Delaware\",\n            \"division\": \"\",\n            \"judge\": \"Mary F. Walrath\",\n            \"dateFiled\": \"2020-02-26\",\n            \"isPrepacked\": false,\n            \"docket\": \"\",\n            \"caseName\": \"Suitable Technologies Inc.\",\n            \"estimatedCreditors\": \"200-999\",\n            \"assets\": \"\",\n            \"estimatedAssets\": \"$10000001-$50 million\",\n            \"liabilities\": \"\",\n            \"estimatedLiabilities\": \"$10000001-$50 million\"\n          },\n        \"keyFilings\": [\n          {\n            \"name\": \"Docket No. 1: Chapter 11 Voluntary Petition.\",\n            \"pdfUrl\": \"https://www.docketalarm.com/cases/Delaware_Bankruptcy_Court/1--20-bk-10432/Suitable_Technologies_Inc./1/\"\n          }\n        ],\n        \"unsecuredCreditors\": [\n          {\n            \"name\": \"Morrison & Foerster LLP\",\n            \"address\": \"425 Market Street\",\n            \"city\": \"San Francisco\",\n            \"state\": \"CA\",\n            \"country\": \"USA\",\n            \"postCode\": \"94105\",\n            \"phone\": \"415-268-7000\",\n            \"email\": \"fgelat@mofo.com\",\n            \"typeOfClaim\": \"Professional Payable\",\n            \"amount\": 417022.52\n          }\n        ],\n        \"capitalStructure\": {\n          \"securedDebt\": [\n            {\n              \"securedDebt\": \"Secured Bonds\",\n              \"maturity\": \"\",\n              \"outstandingPrincipleAmount\": 5930000,\n              \"asOf\": \"2020-02-26\"\n            }\n          ],\n          \"unsecuredDebt\": [\n            {\n              \"unsecuredDebt\": \"Unsecured Bonds\",\n              \"maturity\": \"\",\n              \"outstandingPrincipleAmount\": 86000000,\n              \"asOf\": \"2020-02-26\"\n            }\n          ]\n        },\n        \"representatives\": [\n          {\n            \"name\": \"\",\n            \"firmName\": \"Young Conaway Stargatt & Taylor\",\n            \"address\": \"1000 North King Street\",\n            \"postCode\": \"19801\",\n            \"city\": \"Wilmington\",\n            \"state\": \"DE\",\n            \"phone\": \"302-571-6600\",\n            \"email\": \"\"\n          }\n        ],\n        \"goals\": {\n          \"category\": \"Asset Sale\",\n          \"quote\": \"This Chapter 11 Case was then initiated to effectuate a transparent, orderly and efficient process to sell substantially all of the Company’s assets for the benefit of all stakeholders.\"\n        }\n      }\n    }\n  }\n}"},{"id":"4def217e-d381-466d-8b1b-f236f6ccde61","name":"Bankruptcy not found","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://a0bc9b4c-50ae-4e28-84aa-42482eefbd7f.mock.pstmn.io/bankruptcies/:id","host":["https://a0bc9b4c-50ae-4e28-84aa-42482eefbd7f.mock.pstmn.io"],"path":["bankruptcies",":id"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"af77d837-4a38-49e5-8f95-77d483fd4e90","name":"Invalid ID supplied","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://a0bc9b4c-50ae-4e28-84aa-42482eefbd7f.mock.pstmn.io/bankruptcies/:id","host":["https://a0bc9b4c-50ae-4e28-84aa-42482eefbd7f.mock.pstmn.io"],"path":["bankruptcies",":id"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"bfaa243b-01c4-4f88-a719-3059c1c059a2"}],"id":"31a6a164-52b8-4cbd-b368-a6f96cee5ebd","_postman_id":"31a6a164-52b8-4cbd-b368-a6f96cee5ebd","description":""},{"name":"feedback","item":[{"name":"Give feedback about the specific bankruptcy case","id":"487daaed-536e-429d-a8c8-3fa37beb11a0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"key","value":""},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"<string>\",\n    \"attributes\": {\n      \"bankruptcy_id\": \"<string>\",\n      \"is_accepted\": \"<boolean>\",\n      \"comments\": \"<string>\"\n    }\n  }\n}"},"url":"https://a0bc9b4c-50ae-4e28-84aa-42482eefbd7f.mock.pstmn.io/feedback","urlObject":{"path":["feedback"],"host":["https://a0bc9b4c-50ae-4e28-84aa-42482eefbd7f.mock.pstmn.io"],"query":[],"variable":[]}},"response":[{"id":"9389f353-8778-4f3b-9427-8143d158eb97","name":"Feedback correctly created","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"feedback\",\n        \"attributes\": {\n            \"bankruptcy_id\": \"usbankruptcycourtdistrictofdelaware,16-11290\",\n            \"is_accepted\": false,\n            \"comments\": \"The judge name is not accurate\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://a0bc9b4c-50ae-4e28-84aa-42482eefbd7f.mock.pstmn.io/feedback"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"*/*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"UUID\",\n        \"type\": \"feedback\",\n        \"attributes\": {\n            \"bankruptcyId\": \"usbankruptcycourtdistrictofdelaware,20-bk-10432\",\n            \"isAccepted\": false,\n            \"comments\": \"The judge name is not accurate\"\n        }\n    }\n}"}],"_postman_id":"487daaed-536e-429d-a8c8-3fa37beb11a0"}],"id":"ab6bcf71-47b1-41d3-a0c3-c82eb594d663","_postman_id":"ab6bcf71-47b1-41d3-a0c3-c82eb594d663","description":""}],"event":[{"listen":"prerequest","script":{"id":"faf455b1-0e27-4da4-9a53-a3fa8186d72e","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"fbf1f013-a9e2-4b78-b23d-8545ee035e48","type":"text/javascript","exec":[""]}}],"variable":[{"key":"baseUrl","value":"https://a0bc9b4c-50ae-4e28-84aa-42482eefbd7f.mock.pstmn.io"}]}