{"info":{"_postman_id":"b41e29ee-efab-4148-8930-d7e1c692b735","name":"Postman Documentation Test API","description":"<html><head></head><body><p>This whole thing is just to show an example of good API documentation!</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"7548206","collectionId":"b41e29ee-efab-4148-8930-d7e1c692b735","publishedId":"TVCY5rkX","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-08-24T22:05:41.000Z"},"item":[{"name":"Total incidents","id":"3fc9c1e1-b03d-435a-8419-09281031b4e9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{username}}"},{"key":"password","value":"{{password}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://dev68039.service-now.com/api/165574/postman_documentation_test_api?sysparm_query","urlObject":{"protocol":"https","path":["api","165574","postman_documentation_test_api"],"host":["dev68039","service-now","com"],"query":[{"description":{"content":"<p>Optional, string (encoded ServiceNow query). If provided, will apply the query to the table before returning a response.</p>\n","type":"text/plain"},"key":"sysparm_query","value":null}],"variable":[]}},"response":[{"id":"9bf4a884-3c56-4cd6-ba1e-fa7857bece59","name":"Total incidents","originalRequest":{"method":"GET","header":[],"url":"https://dev68039.service-now.com/api/165574/postman_documentation_test_api"},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"Set-Cookie","value":"JSESSIONID=24E686D021040FAAF39D9F3C483DC0F3; Path=/; HttpOnly;Secure"},{"key":"Set-Cookie","value":"glide_user=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly;Secure"},{"key":"Set-Cookie","value":"glide_user_session=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly;Secure"},{"key":"Set-Cookie","value":"glide_user_route=glide.6932ed5f53e75cb3d70e563baee923fe; Max-Age=2147483647; Expires=Sun, 12-Sep-2088 01:20:31 GMT; Path=/; HttpOnly;Secure"},{"key":"Set-Cookie","value":"glide_session_store=FE98EF46DB76D0900FBC874239961916; Max-Age=1800; Expires=Mon, 24-Aug-2020 22:36:24 GMT; Path=/; HttpOnly;Secure"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Is-Logged-In","value":"true"},{"key":"X-Transaction-ID","value":"f6982fc6db3e"},{"key":"Content-Type","value":"text/plain"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Mon, 24 Aug 2020 22:06:24 GMT"},{"key":"Server","value":"ServiceNow"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"There are 92 incidents."}],"_postman_id":"3fc9c1e1-b03d-435a-8419-09281031b4e9"},{"name":"Latest Incident Short Description","id":"bf8b048c-a565-4e71-b72e-a07ffb6df709","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{username}}"},{"key":"password","value":"{{password}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://dev68039.service-now.com/api/165574/postman_documentation_test_api/latest","urlObject":{"protocol":"https","path":["api","165574","postman_documentation_test_api","latest"],"host":["dev68039","service-now","com"],"query":[],"variable":[]}},"response":[{"id":"6339a131-7e7d-4718-be01-283adfa48abf","name":"Latest Incident Short Description","originalRequest":{"method":"GET","header":[],"url":"https://dev68039.service-now.com/api/165574/postman_documentation_test_api/latest"},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"Content-Encoding","value":"gzip"},{"key":"Set-Cookie","value":"glide_user_activity=U0N2MzpOSCtMM1NlTjlqeTl5bHhCdUhqT011dmt0SlJEdTRsQjpUK0JsRjFnbE9VM3N6UHQ4clI3Q0RTTDh2Q0pjcVBIRmtCUXBCVG51MjVzPQ==; Path=/; HttpOnly;Secure"},{"key":"Set-Cookie","value":"glide_session_store=FE98EF46DB76D0900FBC874239961916; Max-Age=60; Expires=Mon, 24-Aug-2020 22:07:31 GMT; Path=/; HttpOnly;Secure"},{"key":"X-Is-Logged-In","value":"true"},{"key":"X-Transaction-ID","value":"a8a8ef86db76"},{"key":"Content-Type","value":"text/plain"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Mon, 24 Aug 2020 22:06:31 GMT"},{"key":"Server","value":"ServiceNow"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"The latest incident's short description is \"Please forward this to DEV68039\""}],"_postman_id":"bf8b048c-a565-4e71-b72e-a07ffb6df709"},{"name":"Create New Incident","id":"f7aaca1f-a30e-44d7-814f-31de7edfb63a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{username}}"},{"key":"password","value":"{{password}}"}]},"isInherited":false},"method":"POST","header":[],"url":"https://dev68039.service-now.com/api/165574/postman_documentation_test_api?short_description=Please help&description","urlObject":{"protocol":"https","path":["api","165574","postman_documentation_test_api"],"host":["dev68039","service-now","com"],"query":[{"description":{"content":"<p>Required, string. Sets the incident's short_description.</p>\n","type":"text/plain"},"key":"short_description","value":"Please help"},{"description":{"content":"<p>Optional, string. When provided, sets the incident's description.</p>\n","type":"text/plain"},"key":"description","value":null}],"variable":[]}},"response":[{"id":"b90b238f-9de5-4411-b900-41bc1f29dbee","name":"Create New Incident","originalRequest":{"method":"POST","header":[],"url":{"raw":"https://dev68039.service-now.com/api/165574/postman_documentation_test_api?short_description=Please help&description","protocol":"https","host":["dev68039","service-now","com"],"path":["api","165574","postman_documentation_test_api"],"query":[{"key":"short_description","value":"Please help","description":"Required, string. Sets the incident's short_description."},{"key":"description","value":null,"description":"Optional, string. When provided, sets the incident's description."}]}},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"Set-Cookie","value":"JSESSIONID=5AF2E9B0BC757DEE26F870476B26F94F; Path=/; HttpOnly;Secure"},{"key":"Set-Cookie","value":"glide_user=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly;Secure"},{"key":"Set-Cookie","value":"glide_user_session=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly;Secure"},{"key":"Set-Cookie","value":"glide_user_route=glide.6932ed5f53e75cb3d70e563baee923fe; Max-Age=2147483647; Expires=Sun, 12-Sep-2088 01:11:58 GMT; Path=/; HttpOnly;Secure"},{"key":"Set-Cookie","value":"glide_session_store=E9A62746DB3E14900FBC87423996190E; Max-Age=1800; Expires=Mon, 24-Aug-2020 22:27:51 GMT; Path=/; HttpOnly;Secure"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Is-Logged-In","value":"true"},{"key":"X-Transaction-ID","value":"21a62746db3e"},{"key":"Content-Type","value":"text/plain"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Mon, 24 Aug 2020 21:57:51 GMT"},{"key":"Server","value":"ServiceNow"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"Your new incident number is: INC0010041"}],"_postman_id":"f7aaca1f-a30e-44d7-814f-31de7edfb63a"},{"name":"Create New Incident via JSON","id":"58e7a9cc-2b13-4554-8290-0f66c861eab0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{username}}"},{"key":"password","value":"{{password}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content","value":"application/json","description":"<p>Required as \"application/json\"</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"short_description\":\"Please help!\",\r\n    \"description\":\"ASAP\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://dev68039.service-now.com/api/165574/postman_documentation_test_api/json","urlObject":{"protocol":"https","path":["api","165574","postman_documentation_test_api","json"],"host":["dev68039","service-now","com"],"query":[],"variable":[]}},"response":[{"id":"5b3ae275-4fce-4ecf-9982-37817be1f6d6","name":"Create New Incident via JSON","originalRequest":{"method":"POST","header":[{"key":"Content","value":"application/json","description":"Required as \"application/json\"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"short_description\":\"Please help!\",\r\n    \"description\":\"ASAP\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://dev68039.service-now.com/api/165574/postman_documentation_test_api/json"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Encoding","value":"gzip"},{"key":"Set-Cookie","value":"glide_user_activity=U0N2MzpqSFBRbWJURVF5M1ErWlpsRmhUUWZvY2NhMlVCNFNPSzpvUWtiRlNsdVh0Q0JSbjEyQnZodHpHUC9Vb0plc0VrMGs5TzA4L3IycUFZPQ==; Path=/; HttpOnly;Secure"},{"key":"Set-Cookie","value":"glide_session_store=8647AF46DB76D0900FBC87423996197D; Max-Age=60; Expires=Mon, 24-Aug-2020 22:03:28 GMT; Path=/; HttpOnly;Secure"},{"key":"X-Is-Logged-In","value":"true"},{"key":"X-Transaction-ID","value":"19b7e34adbfa"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Mon, 24 Aug 2020 22:02:28 GMT"},{"key":"Server","value":"ServiceNow"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": \"Your new incident number is: INC0010043\"\n}"}],"_postman_id":"58e7a9cc-2b13-4554-8290-0f66c861eab0"}]}