{"info":{"_postman_id":"6acc40af-4e3f-4a78-b8a1-6f3fd7a11190","name":"XpressDox Server RESTful API","description":"<html><head></head><body><p>The XpressDox API is a service you can use to harness the power of document automation within your application.</p>\n<p>This is a RESTful API and all response data is returned in XML format.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"4290572","collectionId":"6acc40af-4e3f-4a78-b8a1-6f3fd7a11190","publishedId":"RW1ekdDa","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2019-05-10T06:29:27.000Z"},"item":[{"name":"Shared Interviews","item":[{"name":"Get shared interviews","id":"365572fa-bc95-408d-a347-f504077334e2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{serverurl}}/IntegrationServices/ThirdPartyService.svc/GetSharedInterviews?authenticationTicket={{authenticationTicket}}&pageNumber=0","urlObject":{"path":["IntegrationServices","ThirdPartyService.svc","GetSharedInterviews"],"host":["{{serverurl}}"],"query":[{"key":"authenticationTicket","value":"{{authenticationTicket}}"},{"key":"pageNumber","value":"0"}],"variable":[]}},"response":[],"_postman_id":"365572fa-bc95-408d-a347-f504077334e2"},{"name":"Share interview","id":"14e0e4ef-fa6b-4248-bfd3-6fbd0598f02e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>\r\n<ShareInterviewRequest>\r\n <TemplateIdentifier>751feaf2-770d-47c6-be0b-72e294f73872</TemplateIdentifier>\r\n <InterviewXmlData>&lt;DeleteMe&gt;&lt;PH_top xdphdr=&quot;y&quot; /&gt;&lt;StaffMemberName /&gt;&lt;StaffMemberEmail /&gt;&lt;Leave_type /&gt;&lt;Med_Cert /&gt;&lt;Compassionate_leave_info /&gt;&lt;Examination_Subject /&gt;&lt;FromDate /&gt;&lt;ToDate /&gt;&lt;ApplicationDate /&gt;&lt;ExtraMessage /&gt;&lt;/DeleteMe&gt;</InterviewXmlData>\r\n <RecipientEmail>test@gmail.com</RecipientEmail>\r\n <IsPasswordProtected>true</IsPasswordProtected>\r\n <GrantAssembledDocumentAccess>false</GrantAssembledDocumentAccess>\r\n <ExpirationPeriod>2</ExpirationPeriod>\r\n <CustomResultPageMarkup></CustomResultPageMarkup>\r\n</ShareInterviewRequest>","options":{"raw":{"language":"xml"}}},"url":"{{serverurl}}/IntegrationServices/ThirdPartyService.svc/ShareInterview?authenticationTicket={{authenticationTicket}}","urlObject":{"path":["IntegrationServices","ThirdPartyService.svc","ShareInterview"],"host":["{{serverurl}}"],"query":[{"key":"authenticationTicket","value":"{{authenticationTicket}}"}],"variable":[]}},"response":[],"_postman_id":"14e0e4ef-fa6b-4248-bfd3-6fbd0598f02e"},{"name":"Deactivate shared interview","id":"b7f8646a-c461-49bb-8c34-3f1e88cc8601","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{serverurl}}/IntegrationServices/ThirdPartyService.svc/DeactivateSharedInterview?authenticationTicket={{authenticationTicket}}&interviewIdentifier={{sharedInterviewIdentifier}}","urlObject":{"path":["IntegrationServices","ThirdPartyService.svc","DeactivateSharedInterview"],"host":["{{serverurl}}"],"query":[{"key":"authenticationTicket","value":"{{authenticationTicket}}"},{"key":"interviewIdentifier","value":"{{sharedInterviewIdentifier}}"}],"variable":[]}},"response":[],"_postman_id":"b7f8646a-c461-49bb-8c34-3f1e88cc8601"}],"id":"01b41ed6-a06d-4b7a-bd47-486c4d4c3e88","_postman_id":"01b41ed6-a06d-4b7a-bd47-486c4d4c3e88","description":""},{"name":"1a. Obtain authentication ticket via GET","event":[{"listen":"test","script":{"id":"811220a1-f30e-491b-aa20-ca499646dafc","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;","","var jsonObject = xml2Json(responseBody);","var ticket = jsonObject.string._;","","postman.setEnvironmentVariable(\"authenticationTicket\", ticket);"],"type":"text/javascript"}}],"id":"998f76aa-0342-4085-963c-5501eb70d612","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{serverurl}}/IntegrationServices/ThirdPartyService.svc/Login?username={{username}}&password={{password}}","description":"<p>This <code>GET</code> request is used to authenticate your application with the XpressDox Server API service in order to run templates and receive documents in return.</p>\n<p><strong>Note</strong>: If you don't already have an XpressDox Server account, <a href=\"https://server.xpressdox.com/Cloud/Authentication/Login.aspx\">register here</a>.</p>\n<p>Normally your XpressDox Server Account Administrator will create a 'run-only' user account for running templates through this API.</p>\n<p>In this case the <code>username</code> and <code>password</code> parameters should be the credentials for this 'run-only' user.</p>\n<p>Alternatively, any other registered user's credentials may be used here.</p>\n<p>This method returns an <code>authenticationTicket</code> string to be used in subsequent requests.</p>\n<p><strong>NB</strong>: <code>GET</code> requests such as this may expose your username and password via web server logs. If this is a concern for you, use <code>Method 1b</code> below.</p>\n","urlObject":{"path":["IntegrationServices","ThirdPartyService.svc","Login"],"host":["{{serverurl}}"],"query":[{"key":"username","value":"{{username}}"},{"key":"password","value":"{{password}}"}],"variable":[]}},"response":[{"id":"adecd2f2-9638-4a23-bd64-ca26570bb90e","name":"1a. Obtain authentication ticket via GET","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{serverurl}}/IntegrationServices/ThirdPartyService.svc/Login?username={{username}}&password={{password}}","host":["{{serverurl}}"],"path":["IntegrationServices","ThirdPartyService.svc","Login"],"query":[{"key":"username","value":"{{username}}"},{"key":"password","value":"{{password}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"xml","header":[{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"Pragma","value":"no-cache"},{"key":"Content-Type","value":"application/xml; charset=utf-8"},{"key":"Expires","value":"-1"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"P3P","value":"CP=\"HONK\""},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"X-SourceFiles","value":"=?UTF-8?B?RDpcUHJvamVjdHNcQUpTXFJlcG9zaXRvcnlcUHJvamVjdHNcbzJTbWFydC5Eb2N1bWVudEFzc2VtYmx5LldlYlxJbnRlZ3JhdGlvblNlcnZpY2VzXFRoaXJkUGFydHlTZXJ2aWNlLnN2Y1xMb2dpbg==?="},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Tue, 26 Nov 2019 09:34:28 GMT"},{"key":"Content-Length","value":"113"}],"cookie":[],"responseTime":null,"body":"<string xmlns=\"http://schemas.microsoft.com/2003/10/Serialization/\">713ea8f6-0598-4db1-9052-094d5a203bc3</string>"}],"_postman_id":"998f76aa-0342-4085-963c-5501eb70d612"},{"name":"1b. Obtain authentication ticket via POST","event":[{"listen":"test","script":{"id":"c7938a2b-b14f-4cfa-81bf-96c634c7a53b","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;","","var jsonObject = xml2Json(responseBody);","var ticket = jsonObject.string._;","","postman.setEnvironmentVariable(\"authenticationTicket\", ticket);"],"type":"text/javascript"}}],"id":"85a94d41-333b-4203-b8db-a9a00fae7a98","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>\r\n<Login>\r\n <Username>{{username}}</Username>\r\n <Password>{{password}}</Password>\r\n</Login>"},"url":"{{serverurl}}IntegrationServices/ThirdPartyService.svc/Login","description":"<p>This <code>POST</code> request is used to authenticate your application with the XpressDox Server API service in order to run templates and receive documents in return.</p>\n<p><strong>Note</strong>: If you don't already have an XpressDox Server account, <a href=\"https://server.xpressdox.com/Cloud/Authentication/Login.aspx\">register here</a>.</p>\n<p>Normally your XpressDox Server Account Administrator will create a 'run-only' user account for running templates through this API.</p>\n<p>In this case the <code>username</code> and <code>password</code> parameters should be the credentials for this 'run-only' user.</p>\n<p>Alternatively, any other registered user's credentials may be used here.</p>\n<p>The data containing your preferred account credentials must be sent in XML format.</p>\n<p>This method returns an <code>authenticationTicket</code> string to be used in subsequent requests.</p>\n","urlObject":{"path":["ThirdPartyService.svc","Login"],"host":["{{serverurl}}IntegrationServices"],"query":[],"variable":[]}},"response":[],"_postman_id":"85a94d41-333b-4203-b8db-a9a00fae7a98"},{"name":"2a. Explore folder (root folder)","event":[{"listen":"test","script":{"id":"887106b0-abc0-48a2-9afd-32b17b110c59","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"e15ec000-85dc-46e3-8ad1-eb6a8d8284fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{serverurl}}/IntegrationServices/ThirdPartyService.svc/ExploreFolder?authenticationTicket={{authenticationTicket}}&folderIdentifier=","description":"<p>This method is used to retrieve the contents of a folder on the XpressDox Server.</p>\n<p><em>Note</em>: Send an empty string for <code>{folderIdentifier}</code> to retrieve the contents of the root folder.</p>\n<p>This method returns a list of the <code>ServerFile</code> elements.<br />Response example:</p>\n<p>2019-11-14T16:16:09.6250379+02:00  </p>\n<p>0  </p>\n<p>Folder  </p>\n<p>hQhEX7mlUttKm94koN9nqw==<br />FolderName<br />Folder  </p>\n<p>FolderTitle  </p>\n<p>2019-09-20T11:07:39.3129337+03:00  </p>\n<p>0  </p>\n<p>MyDocuments  </p>\n<p>7jCUb9fJwTFykbMWaGmrobJ6rfyeSeBqyakwpNfgasG4tmcKRBjH3g==<br />9e9f5690-b003-4a73-8a6b-b704aeafd62b<br />MyDocumentsFolder  </p>\n<p>9e9f5690-b003-4a73-8a6b-b704aeafd62b</p>\n","urlObject":{"path":["IntegrationServices","ThirdPartyService.svc","ExploreFolder"],"host":["{{serverurl}}"],"query":[{"key":"authenticationTicket","value":"{{authenticationTicket}}"},{"key":"folderIdentifier","value":""}],"variable":[]}},"response":[{"id":"6de286ab-1b4d-4795-9ce6-96d29ba50ccc","name":"2a. Explore folder (root folder)","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{serverurl}}/IntegrationServices/ThirdPartyService.svc/ExploreFolder?authenticationTicket={{authenticationticket}}&folderIdentifier=","host":["{{serverurl}}"],"path":["IntegrationServices","ThirdPartyService.svc","ExploreFolder"],"query":[{"key":"authenticationTicket","value":"{{authenticationticket}}"},{"key":"folderIdentifier","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"","header":[],"cookie":[],"responseTime":null,"body":"<ArrayOfServerFile xmlns=\"http://schemas.datacontract.org/2004/07/o2Smart.DocumentAssembly.Web.WebObjects\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\">\n    <ServerFile>\n        <DateUploaded>2018-07-05T09:35:47.2447413Z</DateUploaded>\n        <Description/>\n        <FileSize i:nil=\"true\"/>\n        <FileType>MyDocuments</FileType>\n        <Identifier>+YetQGsMRFtZGZpHnTeRv2J114T28fTadirWSBPoCSUu7JJqBQFwBg==</Identifier>\n        <Name>be7de4c9-944d-42b0-8aa4-5ab6bf4ec13c</Name>\n        <TemplateIdentifier/>\n        <URL i:nil=\"true\"/>\n    </ServerFile>\n    <ServerFile>\n        <DateUploaded>2018-07-10T15:04:53.4804826Z</DateUploaded>\n        <Description/>\n        <FileSize i:nil=\"true\"/>\n        <FileType>Folder</FileType>\n        <Identifier>xapI3smfLMHT6bAYZMeBzg==</Identifier>\n        <Name>Datasets</Name>\n        <TemplateIdentifier/>\n        <URL i:nil=\"true\"/>\n    </ServerFile>\n    <ServerFile>\n        <DateUploaded>2018-07-10T15:04:53.4874833Z</DateUploaded>\n        <Description/>\n        <FileSize i:nil=\"true\"/>\n        <FileType>Folder</FileType>\n        <Identifier>TY8age3/tOGbBlmb0BpugA==</Identifier>\n        <Name>Documents</Name>\n        <TemplateIdentifier/>\n        <URL i:nil=\"true\"/>\n    </ServerFile>\n    <ServerFile>\n        <DateUploaded>2018-07-05T09:40:04.6787405Z</DateUploaded>\n        <Description/>\n        <FileSize i:nil=\"true\"/>\n        <FileType>Folder</FileType>\n        <Identifier>2eHr14aQa5AUGrsILjSGCw==</Identifier>\n        <Name>TestTemplates</Name>\n        <TemplateIdentifier/>\n        <URL i:nil=\"true\"/>\n    </ServerFile>\n    <ServerFile>\n        <DateUploaded>2018-07-02T13:10:56Z</DateUploaded>\n        <Description/>\n        <FileSize>14 KB</FileSize>\n        <FileType>XpressDox Template</FileType>\n        <Identifier>5Gkl2oSBrMykaGYDdhpPZz8TX1gEC6jx</Identifier>\n        <Name>FaxCoverExample.xdtpx</Name>\n        <TemplateIdentifier>23de6123-631b-433c-b4bb-fa1c66353743</TemplateIdentifier>\n        <URL i:nil=\"true\"/>\n    </ServerFile>\n</ArrayOfServerFile>"}],"_postman_id":"e15ec000-85dc-46e3-8ad1-eb6a8d8284fc"},{"name":"2b. Explore folder (specific folder)","event":[{"listen":"test","script":{"id":"4f467ade-7092-4be6-9c55-8e086c0ae2dd","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"c258cd09-a296-41a5-938e-65f33ec2359b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{serverurl}}/IntegrationServices/ThirdPartyService.svc/ExploreFolder?authenticationTicket={{authenticationTicket}}&folderIdentifier={{folderIdentifier}}","description":"<p>This method is used to retrieve the contents of a folder on the XpressDox Server.</p>\n<p>This method returns a list of the <code>ServerFile</code> elements.</p>\n","urlObject":{"path":["IntegrationServices","ThirdPartyService.svc","ExploreFolder"],"host":["{{serverurl}}"],"query":[{"key":"authenticationTicket","value":"{{authenticationTicket}}"},{"key":"folderIdentifier","value":"{{folderIdentifier}}"}],"variable":[]}},"response":[{"id":"2958f87a-b28e-4c3d-878c-34c44201d04d","name":"2b. Explore folder (specific folder)","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{serverurl}}/IntegrationServices/ThirdPartyService.svc/ExploreFolder?authenticationTicket={{authenticationticket}}&folderIdentifier={{folderIdentifier}}","host":["{{serverurl}}"],"path":["IntegrationServices","ThirdPartyService.svc","ExploreFolder"],"query":[{"key":"authenticationTicket","value":"{{authenticationticket}}"},{"key":"folderIdentifier","value":"{{folderIdentifier}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"xml","header":[{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"Pragma","value":"no-cache"},{"key":"Content-Type","value":"application/xml; charset=utf-8"},{"key":"Expires","value":"-1"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"P3P","value":"CP=\"HONK\""},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"X-SourceFiles","value":"=?UTF-8?B?RDpcUHJvamVjdHNcQUpTXFJlcG9zaXRvcnlcUHJvamVjdHNcbzJTbWFydC5Eb2N1bWVudEFzc2VtYmx5LldlYlxJbnRlZ3JhdGlvblNlcnZpY2VzXFRoaXJkUGFydHlTZXJ2aWNlLnN2Y1xFeHBsb3JlRm9sZGVy?="},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Tue, 26 Nov 2019 09:36:09 GMT"},{"key":"Content-Length","value":"3214"}],"cookie":[],"responseTime":null,"body":"<ArrayOfServerFile xmlns=\"http://schemas.datacontract.org/2004/07/o2Smart.DocumentAssembly.Web.WebObjects\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\">\n    <ServerFile>\n        <DateUploaded>2019-11-14T16:15:32.7032187+02:00</DateUploaded>\n        <Description i:nil=\"true\"/>\n        <FileLength>0</FileLength>\n        <FileSize i:nil=\"true\"/>\n        <FileType>Folder</FileType>\n        <FolderIdentifier i:nil=\"true\"/>\n        <FolderName i:nil=\"true\"/>\n        <Identifier>hQhEX7mlUtt545Npi2fAAQFhF9Zr6HFg1XmhMqu77uE=</Identifier>\n        <Name>Code Templates</Name>\n        <ServerFileType>Folder</ServerFileType>\n        <TemplateIdentifier/>\n        <Title>Code Templates</Title>\n        <URL i:nil=\"true\"/>\n    </ServerFile>\n    <ServerFile>\n        <DateUploaded>2019-11-14T16:15:32.7171807+02:00</DateUploaded>\n        <Description i:nil=\"true\"/>\n        <FileLength>0</FileLength>\n        <FileSize i:nil=\"true\"/>\n        <FileType>Folder</FileType>\n        <FolderIdentifier i:nil=\"true\"/>\n        <FolderName i:nil=\"true\"/>\n        <Identifier>hQhEX7mlUtvB1ClBHLQVCkQJf7m7j5a2</Identifier>\n        <Name>Datasets</Name>\n        <ServerFileType>Folder</ServerFileType>\n        <TemplateIdentifier/>\n        <Title>Datasets</Title>\n        <URL i:nil=\"true\"/>\n    </ServerFile>\n    <ServerFile>\n        <DateUploaded>2019-11-14T16:35:01.4531191+02:00</DateUploaded>\n        <Description i:nil=\"true\"/>\n        <FileLength>0</FileLength>\n        <FileSize i:nil=\"true\"/>\n        <FileType>Folder</FileType>\n        <FolderIdentifier i:nil=\"true\"/>\n        <FolderName i:nil=\"true\"/>\n        <Identifier>hQhEX7mlUtvUjtcj6RoZUolPgciLfWNi</Identifier>\n        <Name>Documents</Name>\n        <ServerFileType>Folder</ServerFileType>\n        <TemplateIdentifier/>\n        <Title>Documents</Title>\n        <URL i:nil=\"true\"/>\n    </ServerFile>\n    <ServerFile>\n        <DateUploaded>2019-11-12T16:47:57.8000873+02:00</DateUploaded>\n        <Description/>\n        <FileLength>19433</FileLength>\n        <FileSize>18 KB</FileSize>\n        <FileType>XpressDox Template</FileType>\n        <FolderIdentifier>hQhEX7mlUttKm94koN9nqw==</FolderIdentifier>\n        <FolderName>20191024-new</FolderName>\n        <Identifier>hQhEX7mlUtuVi3P+MN1hbJ1yLHgayHtyZ/J8iw9nSoHs7FilmtSoZ5UNaPsSNAdunFthh+Z3cMM93Yo5fykWOXLdbqAZlOGZ</Identifier>\n        <Name>TemplateName.xdtpx</Name>\n        <ServerFileType>File</ServerFileType>\n        <TemplateIdentifier/>\n        <Title>TemplateTitle.xdtpx</Title>\n        <URL i:nil=\"true\"/>\n    </ServerFile>\n    <ServerFile>\n        <DateUploaded>2019-11-12T16:47:57.8080871+02:00</DateUploaded>\n        <Description/>\n        <FileLength>29201</FileLength>\n        <FileSize>28 KB</FileSize>\n        <FileType>XpressDox Template</FileType>\n        <FolderIdentifier>hQhEX7mlUttKm94koN9nqw==</FolderIdentifier>\n        <FolderName>20191024-new</FolderName>\n        <Identifier>hQhEX7mlUtuVi3P+MN1hbDP2gENxU7pFVCRw2sSTnfaJwZUlUrZWnPkEde/z3Xfb</Identifier>\n        <Name>CHG Trust Funding Memo.xdtpx</Name>\n        <ServerFileType>File</ServerFileType>\n        <TemplateIdentifier/>\n        <Title>CHG Trust Funding Memo.xdtpx</Title>\n        <URL i:nil=\"true\"/>\n    </ServerFile>\n    <ServerFile>\n        <DateUploaded>2019-11-12T16:47:57.8100872+02:00</DateUploaded>\n        <Description/>\n        <FileLength>48823</FileLength>\n        <FileSize>47 KB</FileSize>\n        <FileType>XpressDox Template</FileType>\n        <FolderIdentifier>hQhEX7mlUttKm94koN9nqw==</FolderIdentifier>\n        <FolderName>20191024-new</FolderName>\n        <Identifier>hQhEX7mlUtuVi3P+MN1hbO0J/QXoIaOy0jmPq8A0QI4=</Identifier>\n        <Name>CHG Will.xdtpx</Name>\n        <ServerFileType>File</ServerFileType>\n        <TemplateIdentifier>acf740b9-7242-4232-a2ce-a36d36016c6b</TemplateIdentifier>\n        <Title>CHG Will.xdtpx</Title>\n        <URL i:nil=\"true\"/>\n    </ServerFile>\n</ArrayOfServerFile>"}],"_postman_id":"c258cd09-a296-41a5-938e-65f33ec2359b"},{"name":"2c. Explore all folder files (specific folder)","id":"4cf941dc-a235-4fc5-8327-4181245030c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{serverurl}}/IntegrationServices/ThirdPartyService.svc/ExploreFolderAllFiles?authenticationTicket={{authenticationTicket}}&folderIdentifier={{folderIdentifier}}","description":"<p>This method is used to retrieve the contents of a folder on the XpressDox Server, including non-template files.</p>\n<p>This method returns a list of the <code>ServerFile</code> elements.</p>\n","urlObject":{"path":["IntegrationServices","ThirdPartyService.svc","ExploreFolderAllFiles"],"host":["{{serverurl}}"],"query":[{"key":"authenticationTicket","value":"{{authenticationTicket}}"},{"key":"folderIdentifier","value":"{{folderIdentifier}}"}],"variable":[]}},"response":[{"id":"67654205-c15d-4c5a-a496-f4ea0d128a36","name":"2c. Explore all folder files (specific folder)","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{serverurl}}/IntegrationServices/ThirdPartyService.svc/ExploreFolderAllFiles?authenticationTicket={{authenticationticket}}&folderIdentifier={{folderidentifier}}","host":["{{serverurl}}"],"path":["IntegrationServices","ThirdPartyService.svc","ExploreFolderAllFiles"],"query":[{"key":"authenticationTicket","value":"{{authenticationticket}}"},{"key":"folderIdentifier","value":"{{folderidentifier}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"","header":[],"cookie":[],"responseTime":null,"body":"<ArrayOfServerFile xmlns=\"http://schemas.datacontract.org/2004/07/o2Smart.DocumentAssembly.Web.WebObjects\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n    <ServerFile>\r\n        <DateUploaded>2018-07-10T15:03:31.4692814Z</DateUploaded>\r\n        <Description i:nil=\"true\"/>\r\n        <FileSize>518 bytes</FileSize>\r\n        <FileType>XML File</FileType>\r\n        <Identifier>xapI3smfLMHhqfs84jGM/mg6XyBO48UB9EP9fJXL+mH3BVTCIC7wlw==</Identifier>\r\n        <Name>FaxCoverExample.1.xddata.xml</Name>\r\n        <TemplateIdentifier i:nil=\"true\"/>\r\n        <URL i:nil=\"true\"/>\r\n    </ServerFile>\r\n    <ServerFile>\r\n        <DateUploaded>2018-07-10T15:04:53.5004846Z</DateUploaded>\r\n        <Description i:nil=\"true\"/>\r\n        <FileSize>518 bytes</FileSize>\r\n        <FileType>XML File</FileType>\r\n        <Identifier>xapI3smfLMHhqfs84jGM/mg6XyBO48UBIfk+bLm267Rd83G85+ggFg==</Identifier>\r\n        <Name>FaxCoverExample.2.xddata.xml</Name>\r\n        <TemplateIdentifier i:nil=\"true\"/>\r\n        <URL i:nil=\"true\"/>\r\n    </ServerFile>\r\n    <ServerFile>\r\n        <DateUploaded>2018-07-10T14:59:46.4733538Z</DateUploaded>\r\n        <Description i:nil=\"true\"/>\r\n        <FileSize>515 bytes</FileSize>\r\n        <FileType>XML File</FileType>\r\n        <Identifier>xapI3smfLMHhqfs84jGM/mg6XyBO48UBaKe3gAdgCduqXrCgGRI5RQ==</Identifier>\r\n        <Name>FaxCoverExample.xddata.xml</Name>\r\n        <TemplateIdentifier i:nil=\"true\"/>\r\n        <URL i:nil=\"true\"/>\r\n    </ServerFile>\r\n</ArrayOfServerFile>"}],"_postman_id":"4cf941dc-a235-4fc5-8327-4181245030c2"},{"name":"2d. Create Folder","event":[{"listen":"test","script":{"id":"950f32c1-d892-40e9-af9f-08189412a6a7","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;","","var response  = xml2Json(responseBody);","var folderToDeleteVar = response [\"ServerFile\"][\"Identifier\"];","postman.setEnvironmentVariable(\"folderToDelete\", folderToDeleteVar);"],"type":"text/javascript"}}],"id":"741b7bb1-c990-4b0d-a48f-36e6920d969e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"{{serverurl}}/IntegrationServices/ThirdPartyService.svc/CreateFolder?authenticationTicket={{authenticationTicket}}&folderIdentifier={{folderIdentifier}}&newFolderName={{newFolderName}}","description":"<p>This method is used to create new folder.</p>\n<p>This method returns a <code>ServerFile</code> element.</p>\n","urlObject":{"path":["IntegrationServices","ThirdPartyService.svc","CreateFolder"],"host":["{{serverurl}}"],"query":[{"key":"authenticationTicket","value":"{{authenticationTicket}}"},{"key":"folderIdentifier","value":"{{folderIdentifier}}"},{"key":"newFolderName","value":"{{newFolderName}}"}],"variable":[]}},"response":[{"id":"3e03a1a8-d08d-415c-b9e6-c790dd544ec1","name":"2c. Explore all folder files (specific folder)","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{serverurl}}/IntegrationServices/ThirdPartyService.svc/ExploreFolderAllFiles?authenticationTicket={{authenticationticket}}&folderIdentifier={{folderidentifier}}","host":["{{serverurl}}"],"path":["IntegrationServices","ThirdPartyService.svc","ExploreFolderAllFiles"],"query":[{"key":"authenticationTicket","value":"{{authenticationticket}}"},{"key":"folderIdentifier","value":"{{folderidentifier}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"","header":[],"cookie":[],"responseTime":null,"body":"<ArrayOfServerFile xmlns=\"http://schemas.datacontract.org/2004/07/o2Smart.DocumentAssembly.Web.WebObjects\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n    <ServerFile>\r\n        <DateUploaded>2018-07-10T15:03:31.4692814Z</DateUploaded>\r\n        <Description i:nil=\"true\"/>\r\n        <FileSize>518 bytes</FileSize>\r\n        <FileType>XML File</FileType>\r\n        <Identifier>xapI3smfLMHhqfs84jGM/mg6XyBO48UB9EP9fJXL+mH3BVTCIC7wlw==</Identifier>\r\n        <Name>FaxCoverExample.1.xddata.xml</Name>\r\n        <TemplateIdentifier i:nil=\"true\"/>\r\n        <URL i:nil=\"true\"/>\r\n    </ServerFile>\r\n    <ServerFile>\r\n        <DateUploaded>2018-07-10T15:04:53.5004846Z</DateUploaded>\r\n        <Description i:nil=\"true\"/>\r\n        <FileSize>518 bytes</FileSize>\r\n        <FileType>XML File</FileType>\r\n        <Identifier>xapI3smfLMHhqfs84jGM/mg6XyBO48UBIfk+bLm267Rd83G85+ggFg==</Identifier>\r\n        <Name>FaxCoverExample.2.xddata.xml</Name>\r\n        <TemplateIdentifier i:nil=\"true\"/>\r\n        <URL i:nil=\"true\"/>\r\n    </ServerFile>\r\n    <ServerFile>\r\n        <DateUploaded>2018-07-10T14:59:46.4733538Z</DateUploaded>\r\n        <Description i:nil=\"true\"/>\r\n        <FileSize>515 bytes</FileSize>\r\n        <FileType>XML File</FileType>\r\n        <Identifier>xapI3smfLMHhqfs84jGM/mg6XyBO48UBaKe3gAdgCduqXrCgGRI5RQ==</Identifier>\r\n        <Name>FaxCoverExample.xddata.xml</Name>\r\n        <TemplateIdentifier i:nil=\"true\"/>\r\n        <URL i:nil=\"true\"/>\r\n    </ServerFile>\r\n</ArrayOfServerFile>"}],"_postman_id":"741b7bb1-c990-4b0d-a48f-36e6920d969e"},{"name":"2e. Delete a Folder","event":[{"listen":"test","script":{"id":"2bd9063e-c740-4105-b1d2-5ce3667c3943","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"32d99090-9b40-4f2e-8b72-a7922b12092b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{serverurl}}/IntegrationServices/ThirdPartyService.svc/DeleteFolder?authenticationTicket={{authenticationTicket}}&folderIdentifier={{folderToDelete}}","description":"<p>This request is used to delete a folder from the server.</p>\n<p>The folder to be deleted is specified by the <code>folderIidentifier</code> parameter.</p>\n<p>This request returns status code 200 if successful.</p>\n","urlObject":{"path":["IntegrationServices","ThirdPartyService.svc","DeleteFolder"],"host":["{{serverurl}}"],"query":[{"key":"authenticationTicket","value":"{{authenticationTicket}}"},{"key":"folderIdentifier","value":"{{folderToDelete}}"}],"variable":[]}},"response":[],"_postman_id":"32d99090-9b40-4f2e-8b72-a7922b12092b"},{"name":"2f. Get Folder profile","id":"c97f2f19-4416-4df0-aeba-d239b64f8743","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{serverurl}}/IntegrationServices/ThirdPartyService.svc/GetFolderProfile?authenticationTicket={{authenticationTicket}}&folderIdentifier={{folderIdentifier}}","description":"<p>This method is used to retrieve folder profile.</p>\n<p>This method returns a <code>ServerFile</code> object.</p>\n","urlObject":{"path":["IntegrationServices","ThirdPartyService.svc","GetFolderProfile"],"host":["{{serverurl}}"],"query":[{"key":"authenticationTicket","value":"{{authenticationTicket}}"},{"key":"folderIdentifier","value":"{{folderIdentifier}}"}],"variable":[]}},"response":[{"id":"c8fcbc85-9073-40b7-8044-61257554a86f","name":"2c. Explore all folder files (specific folder)","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{serverurl}}/IntegrationServices/ThirdPartyService.svc/ExploreFolderAllFiles?authenticationTicket={{authenticationticket}}&folderIdentifier={{folderidentifier}}","host":["{{serverurl}}"],"path":["IntegrationServices","ThirdPartyService.svc","ExploreFolderAllFiles"],"query":[{"key":"authenticationTicket","value":"{{authenticationticket}}"},{"key":"folderIdentifier","value":"{{folderidentifier}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"","header":[],"cookie":[],"responseTime":null,"body":"<ArrayOfServerFile xmlns=\"http://schemas.datacontract.org/2004/07/o2Smart.DocumentAssembly.Web.WebObjects\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n    <ServerFile>\r\n        <DateUploaded>2018-07-10T15:03:31.4692814Z</DateUploaded>\r\n        <Description i:nil=\"true\"/>\r\n        <FileSize>518 bytes</FileSize>\r\n        <FileType>XML File</FileType>\r\n        <Identifier>xapI3smfLMHhqfs84jGM/mg6XyBO48UB9EP9fJXL+mH3BVTCIC7wlw==</Identifier>\r\n        <Name>FaxCoverExample.1.xddata.xml</Name>\r\n        <TemplateIdentifier i:nil=\"true\"/>\r\n        <URL i:nil=\"true\"/>\r\n    </ServerFile>\r\n    <ServerFile>\r\n        <DateUploaded>2018-07-10T15:04:53.5004846Z</DateUploaded>\r\n        <Description i:nil=\"true\"/>\r\n        <FileSize>518 bytes</FileSize>\r\n        <FileType>XML File</FileType>\r\n        <Identifier>xapI3smfLMHhqfs84jGM/mg6XyBO48UBIfk+bLm267Rd83G85+ggFg==</Identifier>\r\n        <Name>FaxCoverExample.2.xddata.xml</Name>\r\n        <TemplateIdentifier i:nil=\"true\"/>\r\n        <URL i:nil=\"true\"/>\r\n    </ServerFile>\r\n    <ServerFile>\r\n        <DateUploaded>2018-07-10T14:59:46.4733538Z</DateUploaded>\r\n        <Description i:nil=\"true\"/>\r\n        <FileSize>515 bytes</FileSize>\r\n        <FileType>XML File</FileType>\r\n        <Identifier>xapI3smfLMHhqfs84jGM/mg6XyBO48UBaKe3gAdgCduqXrCgGRI5RQ==</Identifier>\r\n        <Name>FaxCoverExample.xddata.xml</Name>\r\n        <TemplateIdentifier i:nil=\"true\"/>\r\n        <URL i:nil=\"true\"/>\r\n    </ServerFile>\r\n</ArrayOfServerFile>"}],"_postman_id":"c97f2f19-4416-4df0-aeba-d239b64f8743"},{"name":"2g. Get File profile","id":"c26d78e4-d410-4523-b209-0ef8578d0a03","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{serverurl}}/IntegrationServices/ThirdPartyService.svc/GetFileProfile?authenticationTicket={{authenticationTicket}}&fileIdentifier={{fileIdentifier}}","description":"<p>This method is used to retrieve folder profile.</p>\n<p>This method returns a <code>ServerFile</code> object.</p>\n","urlObject":{"path":["IntegrationServices","ThirdPartyService.svc","GetFileProfile"],"host":["{{serverurl}}"],"query":[{"key":"authenticationTicket","value":"{{authenticationTicket}}"},{"key":"fileIdentifier","value":"{{fileIdentifier}}"}],"variable":[]}},"response":[{"id":"d6df4f38-2e4f-4feb-ab89-8f7a532b139a","name":"2c. Explore all folder files (specific folder)","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{serverurl}}/IntegrationServices/ThirdPartyService.svc/ExploreFolderAllFiles?authenticationTicket={{authenticationticket}}&folderIdentifier={{folderidentifier}}","host":["{{serverurl}}"],"path":["IntegrationServices","ThirdPartyService.svc","ExploreFolderAllFiles"],"query":[{"key":"authenticationTicket","value":"{{authenticationticket}}"},{"key":"folderIdentifier","value":"{{folderidentifier}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"","header":[],"cookie":[],"responseTime":null,"body":"<ArrayOfServerFile xmlns=\"http://schemas.datacontract.org/2004/07/o2Smart.DocumentAssembly.Web.WebObjects\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n    <ServerFile>\r\n        <DateUploaded>2018-07-10T15:03:31.4692814Z</DateUploaded>\r\n        <Description i:nil=\"true\"/>\r\n        <FileSize>518 bytes</FileSize>\r\n        <FileType>XML File</FileType>\r\n        <Identifier>xapI3smfLMHhqfs84jGM/mg6XyBO48UB9EP9fJXL+mH3BVTCIC7wlw==</Identifier>\r\n        <Name>FaxCoverExample.1.xddata.xml</Name>\r\n        <TemplateIdentifier i:nil=\"true\"/>\r\n        <URL i:nil=\"true\"/>\r\n    </ServerFile>\r\n    <ServerFile>\r\n        <DateUploaded>2018-07-10T15:04:53.5004846Z</DateUploaded>\r\n        <Description i:nil=\"true\"/>\r\n        <FileSize>518 bytes</FileSize>\r\n        <FileType>XML File</FileType>\r\n        <Identifier>xapI3smfLMHhqfs84jGM/mg6XyBO48UBIfk+bLm267Rd83G85+ggFg==</Identifier>\r\n        <Name>FaxCoverExample.2.xddata.xml</Name>\r\n        <TemplateIdentifier i:nil=\"true\"/>\r\n        <URL i:nil=\"true\"/>\r\n    </ServerFile>\r\n    <ServerFile>\r\n        <DateUploaded>2018-07-10T14:59:46.4733538Z</DateUploaded>\r\n        <Description i:nil=\"true\"/>\r\n        <FileSize>515 bytes</FileSize>\r\n        <FileType>XML File</FileType>\r\n        <Identifier>xapI3smfLMHhqfs84jGM/mg6XyBO48UBaKe3gAdgCduqXrCgGRI5RQ==</Identifier>\r\n        <Name>FaxCoverExample.xddata.xml</Name>\r\n        <TemplateIdentifier i:nil=\"true\"/>\r\n        <URL i:nil=\"true\"/>\r\n    </ServerFile>\r\n</ArrayOfServerFile>"}],"_postman_id":"c26d78e4-d410-4523-b209-0ef8578d0a03"},{"name":"2h. Get Template profile","id":"36bb9aa7-e463-4e4a-a12a-dad4744c8fef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{serverurl}}/IntegrationServices/ThirdPartyService.svc/GetTemplateProfile?authenticationTicket={{authenticationTicket}}&templateIdentifier={{templateIdentifier}}","description":"<p>This method is used to retrieve template profile.</p>\n<p>This method returns a <code>ServerFile</code> object.</p>\n","urlObject":{"path":["IntegrationServices","ThirdPartyService.svc","GetTemplateProfile"],"host":["{{serverurl}}"],"query":[{"key":"authenticationTicket","value":"{{authenticationTicket}}"},{"key":"templateIdentifier","value":"{{templateIdentifier}}"}],"variable":[]}},"response":[{"id":"c618b43d-bcb6-4ed6-b124-4fd450d5aba4","name":"2c. Explore all folder files (specific folder)","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{serverurl}}/IntegrationServices/ThirdPartyService.svc/ExploreFolderAllFiles?authenticationTicket={{authenticationticket}}&folderIdentifier={{folderidentifier}}","host":["{{serverurl}}"],"path":["IntegrationServices","ThirdPartyService.svc","ExploreFolderAllFiles"],"query":[{"key":"authenticationTicket","value":"{{authenticationticket}}"},{"key":"folderIdentifier","value":"{{folderidentifier}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"","header":[],"cookie":[],"responseTime":null,"body":"<ArrayOfServerFile xmlns=\"http://schemas.datacontract.org/2004/07/o2Smart.DocumentAssembly.Web.WebObjects\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n    <ServerFile>\r\n        <DateUploaded>2018-07-10T15:03:31.4692814Z</DateUploaded>\r\n        <Description i:nil=\"true\"/>\r\n        <FileSize>518 bytes</FileSize>\r\n        <FileType>XML File</FileType>\r\n        <Identifier>xapI3smfLMHhqfs84jGM/mg6XyBO48UB9EP9fJXL+mH3BVTCIC7wlw==</Identifier>\r\n        <Name>FaxCoverExample.1.xddata.xml</Name>\r\n        <TemplateIdentifier i:nil=\"true\"/>\r\n        <URL i:nil=\"true\"/>\r\n    </ServerFile>\r\n    <ServerFile>\r\n        <DateUploaded>2018-07-10T15:04:53.5004846Z</DateUploaded>\r\n        <Description i:nil=\"true\"/>\r\n        <FileSize>518 bytes</FileSize>\r\n        <FileType>XML File</FileType>\r\n        <Identifier>xapI3smfLMHhqfs84jGM/mg6XyBO48UBIfk+bLm267Rd83G85+ggFg==</Identifier>\r\n        <Name>FaxCoverExample.2.xddata.xml</Name>\r\n        <TemplateIdentifier i:nil=\"true\"/>\r\n        <URL i:nil=\"true\"/>\r\n    </ServerFile>\r\n    <ServerFile>\r\n        <DateUploaded>2018-07-10T14:59:46.4733538Z</DateUploaded>\r\n        <Description i:nil=\"true\"/>\r\n        <FileSize>515 bytes</FileSize>\r\n        <FileType>XML File</FileType>\r\n        <Identifier>xapI3smfLMHhqfs84jGM/mg6XyBO48UBaKe3gAdgCduqXrCgGRI5RQ==</Identifier>\r\n        <Name>FaxCoverExample.xddata.xml</Name>\r\n        <TemplateIdentifier i:nil=\"true\"/>\r\n        <URL i:nil=\"true\"/>\r\n    </ServerFile>\r\n</ArrayOfServerFile>"}],"_postman_id":"36bb9aa7-e463-4e4a-a12a-dad4744c8fef"},{"name":"3. Get template URL using file identifier","event":[{"listen":"test","script":{"id":"ffa8a049-4b21-4fe5-9bf7-3b1401821e6f","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"68bde434-de14-40ae-b7ec-549cbdd5a673","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{serverurl}}/IntegrationServices/ThirdPartyService.svc/GetTemplateURL?authenticationTicket={{authenticationTicket}}&fileIdentifier={{fileIdentifier}}&returnURL={{returnurl}}","description":"<p>Use this <code>GET</code> request to retrieve the URL of the web interview.</p>\n<p>The template is identified by the <code>fileIdentifier</code>.</p>\n<p><strong>NOTE</strong>: this identifier is dynamic and may change across sessions. However, the template URL returned is static and may be used over and over again.</p>\n<p>This request is ideal for use in a static web page where the user may assemble as many document as they wish.</p>\n<p>A URL is returned by this request that can be used to display the given template's interview.</p>\n","urlObject":{"path":["IntegrationServices","ThirdPartyService.svc","GetTemplateURL"],"host":["{{serverurl}}"],"query":[{"key":"authenticationTicket","value":"{{authenticationTicket}}"},{"key":"fileIdentifier","value":"{{fileIdentifier}}"},{"key":"returnURL","value":"{{returnurl}}"}],"variable":[]}},"response":[],"_postman_id":"68bde434-de14-40ae-b7ec-549cbdd5a673"},{"name":"4. Get template URL using template identifier","event":[{"listen":"test","script":{"id":"092c7fbc-6eef-401f-bd51-b54e5a48e8a1","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"d9806b33-cac1-425d-8131-59fa8c59e7d0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{serverurl}}/IntegrationServices/ThirdPartyService.svc/GetTemplateURLByTemplateID?authenticationTicket={{authenticationTicket}}&templateIdentifier={{templateIdentifier}}&returnURL={{returnurl}}","description":"<p>This request is used to retrieve the URL of the web interview. It is similar to <code>Method 3</code> above. See <em>Integration Information</em> above for additional control over your integration.</p>\n<p>The template is identified by the <code>templateIdentifier</code>.</p>\n<p><strong>NOTE</strong>: this identifier is static. It is assigned the first time the template is uploaded to the server and remains the same even if the template is edited, renamed or moved.</p>\n<p>The template URL returned can only be used for a single assembly. This is ideal for your dynamic web application or ecommerce site where <em>assembled documents</em> are sold, for example.</p>\n<p>A URL is returned by this request that can be used to display the given template's interview.</p>\n","urlObject":{"path":["IntegrationServices","ThirdPartyService.svc","GetTemplateURLByTemplateID"],"host":["{{serverurl}}"],"query":[{"key":"authenticationTicket","value":"{{authenticationTicket}}"},{"key":"templateIdentifier","value":"{{templateIdentifier}}"},{"key":"returnURL","value":"{{returnurl}}"}],"variable":[]}},"response":[],"_postman_id":"d9806b33-cac1-425d-8131-59fa8c59e7d0"},{"name":"4.1 Get template URL using template identifier with data","event":[{"listen":"test","script":{"id":"092c7fbc-6eef-401f-bd51-b54e5a48e8a1","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"0a448777-2fdf-4d7d-af86-5e65a4b96f92","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"<FaxCoverExample>\r\n    <AddresseeName>John</AddresseeName>\r\n</FaxCoverExample>","options":{"raw":{"language":"xml"}}},"url":"{{serverurl}}IntegrationServices/ThirdPartyService.svc/GetTemplateURLByTemplateID?authenticationTicket={{authenticationTicket}}&templateIdentifier={{templateIdentifier}}&returnURL={{returnurl}}","description":"<p>This request is used to retrieve the URL of the web interview. It is similar to <code>Method 4</code> above <strong>but with injected data</strong>. Injected data must be posted in a body as valid XML.</p>\n<p>The template is identified by the <code>templateIdentifier</code>.</p>\n<p><strong>NOTE</strong>: this identifier is static. It is assigned the first time the template is uploaded to the server and remains the same even if the template is edited, renamed or moved.</p>\n<p>The template URL returned can only be used for a single assembly. This is ideal for your dynamic web application or ecommerce site where <em>assembled documents</em> are sold, for example.</p>\n<p>A URL is returned by this request that can be used to display the given template's interview.</p>\n","urlObject":{"path":["ThirdPartyService.svc","GetTemplateURLByTemplateID"],"host":["{{serverurl}}IntegrationServices"],"query":[{"key":"authenticationTicket","value":"{{authenticationTicket}}"},{"key":"templateIdentifier","value":"{{templateIdentifier}}"},{"key":"returnURL","value":"{{returnurl}}"}],"variable":[]}},"response":[],"_postman_id":"0a448777-2fdf-4d7d-af86-5e65a4b96f92"},{"name":"5. Get single use template URL using file identifier","event":[{"listen":"test","script":{"id":"c943c50d-2a07-4878-9acb-c9e35bf8fd7b","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"8b0e88db-e633-483f-8003-5666b8945708","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{serverurl}}/IntegrationServices/ThirdPartyService.svc/GetSingleUsageTemplateURL?authenticationTicket={{authenticationTicket}}&fileIdentifier={{fileIdentifier}}&returnURL={{returnurl}}","description":"<p>This request is used to retrieve the URL of a web interview. See <em>Integration Information</em> above for additional control over your integration.</p>\n<p>The template is identified by its <code>fileIdentifier</code>.</p>\n<p><strong>NOTE</strong>: this identifier is dynamic and may change across sessions.</p>\n<p>It is important to note that the template URL returned by this request can only be used for a single assembly. This is ideal for use in your dynamic web application where a user can browse a list of templates and select a particular interview to run.</p>\n<p>A URL is returned by this request that can be used to display the given template's interview.</p>\n","urlObject":{"path":["IntegrationServices","ThirdPartyService.svc","GetSingleUsageTemplateURL"],"host":["{{serverurl}}"],"query":[{"key":"authenticationTicket","value":"{{authenticationTicket}}"},{"key":"fileIdentifier","value":"{{fileIdentifier}}"},{"key":"returnURL","value":"{{returnurl}}"}],"variable":[]}},"response":[{"id":"e23ffc5e-bd05-4cdd-87bd-934dff3c691b","name":"5. Get single use template URL using file identifier","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{serverurl}}/IntegrationServices/ThirdPartyService.svc/GetSingleUsageTemplateURL?authenticationTicket={{authenticationticket}}&fileIdentifier={{fileIdentifier}}&returnURL={{returnurl}}","host":["{{serverurl}}"],"path":["IntegrationServices","ThirdPartyService.svc","GetSingleUsageTemplateURL"],"query":[{"key":"authenticationTicket","value":"{{authenticationticket}}"},{"key":"fileIdentifier","value":"{{fileIdentifier}}"},{"key":"returnURL","value":"{{returnurl}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"xml","header":[{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"Pragma","value":"no-cache"},{"key":"Content-Type","value":"application/xml; charset=utf-8"},{"key":"Expires","value":"-1"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"P3P","value":"CP=\"HONK\""},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"X-SourceFiles","value":"=?UTF-8?B?RDpcUHJvamVjdHNcQUpTXFJlcG9zaXRvcnlcUHJvamVjdHNcbzJTbWFydC5Eb2N1bWVudEFzc2VtYmx5LldlYlxJbnRlZ3JhdGlvblNlcnZpY2VzXFRoaXJkUGFydHlTZXJ2aWNlLnN2Y1xHZXRTaW5nbGVVc2FnZVRlbXBsYXRlVVJM?="},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Tue, 26 Nov 2019 09:51:21 GMT"},{"key":"Content-Length","value":"233"}],"cookie":[],"responseTime":null,"body":"<string xmlns=\"http://schemas.microsoft.com/2003/10/Serialization/\">https://xpressdox.com/Integration/LoadInterview.aspx?usageIdentifier=8b24d9a5-274e-43f7-939b-59ffa6ac215b&amp;returnURL=http%3a%2f%2f%7b%7breturnurl%7d%7d</string>"}],"_postman_id":"8b0e88db-e633-483f-8003-5666b8945708"},{"name":"5.1. Get single use template token using file identifier","event":[{"listen":"test","script":{"id":"3fd076f2-aa3f-40dd-b39d-f7865c72da83","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"e2adf878-753b-4012-9281-14de8dc82ff7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{serverurl}}/IntegrationServices/ThirdPartyService.svc/GetSingleUsageByFileIndentifier?authenticationTicket={{authenticationTicket}}&fileIdentifier={{fileIdentifier}}&returnURL={{returnurl}}","description":"<p>This request is used to retrieve the token of a web interview. See <em>Integration Information</em> above for additional control over your integration.</p>\n<p>The template is identified by its <code>fileIdentifier</code>.</p>\n<p><strong>NOTE</strong>: this identifier is dynamic and may change across sessions.</p>\n<p>It is important to note that the token returned by this request can only be used for a single assembly. This is ideal for use in your dynamic web application where a user can browse a list of templates and select a particular interview to run.</p>\n<p>A URL is returned by this request that can be used to display the given template's interview.</p>\n","urlObject":{"path":["IntegrationServices","ThirdPartyService.svc","GetSingleUsageByFileIndentifier"],"host":["{{serverurl}}"],"query":[{"key":"authenticationTicket","value":"{{authenticationTicket}}"},{"key":"fileIdentifier","value":"{{fileIdentifier}}"},{"key":"returnURL","value":"{{returnurl}}"}],"variable":[]}},"response":[{"id":"45245eaa-d5c5-4849-8436-135933b7e2d6","name":"5.1. Get single use template token using file identifier","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{serverurl}}/IntegrationServices/ThirdPartyService.svc/GetSingleUsageByFileIndentifier?authenticationTicket={{authenticationticket}}&fileIdentifier={{fileIdentifier}}&returnURL={{returnurl}}","host":["{{serverurl}}"],"path":["IntegrationServices","ThirdPartyService.svc","GetSingleUsageByFileIndentifier"],"query":[{"key":"authenticationTicket","value":"{{authenticationticket}}"},{"key":"fileIdentifier","value":"{{fileIdentifier}}"},{"key":"returnURL","value":"{{returnurl}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"xml","header":[{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"Pragma","value":"no-cache"},{"key":"Content-Type","value":"application/xml; charset=utf-8"},{"key":"Expires","value":"-1"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"P3P","value":"CP=\"HONK\""},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"X-SourceFiles","value":"=?UTF-8?B?RDpcUHJvamVjdHNcQUpTXFJlcG9zaXRvcnlcUHJvamVjdHNcbzJTbWFydC5Eb2N1bWVudEFzc2VtYmx5LldlYlxJbnRlZ3JhdGlvblNlcnZpY2VzXFRoaXJkUGFydHlTZXJ2aWNlLnN2Y1xHZXRTaW5nbGVVc2FnZUJ5RmlsZUluZGVudGlmaWVy?="},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Tue, 26 Nov 2019 09:57:32 GMT"},{"key":"Content-Length","value":"113"}],"cookie":[],"responseTime":null,"body":"<string xmlns=\"http://schemas.microsoft.com/2003/10/Serialization/\">82f4fda5-0350-45b9-a423-3069fb1d9b9d</string>"}],"_postman_id":"e2adf878-753b-4012-9281-14de8dc82ff7"},{"name":"6. Get single use template URL using template identifier","event":[{"listen":"test","script":{"id":"7f36848a-0476-4ce6-b1bf-c91ecc921710","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"e6a5e5cc-dc7c-4dab-a159-48ea75504e9b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{serverurl}}/IntegrationServices/ThirdPartyService.svc/GetSingleUsageTemplateURLByTemplateID?authenticationTicket={{authenticationTicket}}&templateIdentifier={{templateIdentifier}}&returnURL={{returnurl}}&runAsUserIdentifier={{runAsUserIdentifier}}","description":"<p>This request is used to retrieve the URL of the web interview. It is similar to <code>Method 5</code> above. See <em>Integration Information</em> above for additional control over your integration.</p>\n<p>The template is identified by the <code>templateIdentifier</code>.</p>\n<p>The 'Run As User' is identified by optional parameter <code>runAsUserIdentifier</code>.</p>\n<p><strong>NOTE</strong>: this identifier is static. It is assigned the first time the template is uploaded to the server and remains the same even if the template is edited, renamed or moved.</p>\n<p>The template URL returned can only be used for a single assembly. This is ideal for your dynamic web application or ecommerce site where <em>assembled documents</em> are sold, for example.</p>\n<p>A URL is returned by this request that can be used to display the given template's interview.</p>\n","urlObject":{"path":["IntegrationServices","ThirdPartyService.svc","GetSingleUsageTemplateURLByTemplateID"],"host":["{{serverurl}}"],"query":[{"key":"authenticationTicket","value":"{{authenticationTicket}}"},{"key":"templateIdentifier","value":"{{templateIdentifier}}"},{"key":"returnURL","value":"{{returnurl}}"},{"key":"runAsUserIdentifier","value":"{{runAsUserIdentifier}}"}],"variable":[]}},"response":[{"id":"66336aa5-07be-4342-b8d2-34adcf33a126","name":"6. Get single use template URL using template identifier","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{serverurl}}/IntegrationServices/ThirdPartyService.svc/GetSingleUsageTemplateURLByTemplateID?authenticationTicket={{authenticationticket}}&templateIdentifier={{templateidentifier}}&returnURL={{returnurl}}","host":["{{serverurl}}"],"path":["IntegrationServices","ThirdPartyService.svc","GetSingleUsageTemplateURLByTemplateID"],"query":[{"key":"authenticationTicket","value":"{{authenticationticket}}"},{"key":"templateIdentifier","value":"{{templateidentifier}}"},{"key":"returnURL","value":"{{returnurl}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"xml","header":[{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"Pragma","value":"no-cache"},{"key":"Content-Type","value":"application/xml; charset=utf-8"},{"key":"Expires","value":"-1"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"P3P","value":"CP=\"HONK\""},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"X-SourceFiles","value":"=?UTF-8?B?RDpcUHJvamVjdHNcQUpTXFJlcG9zaXRvcnlcUHJvamVjdHNcbzJTbWFydC5Eb2N1bWVudEFzc2VtYmx5LldlYlxJbnRlZ3JhdGlvblNlcnZpY2VzXFRoaXJkUGFydHlTZXJ2aWNlLnN2Y1xHZXRTaW5nbGVVc2FnZVRlbXBsYXRlVVJMQnlUZW1wbGF0ZUlE?="},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Tue, 26 Nov 2019 09:57:49 GMT"},{"key":"Content-Length","value":"233"}],"cookie":[],"responseTime":null,"body":"<string xmlns=\"http://schemas.microsoft.com/2003/10/Serialization/\">https://xpressdox.com/Integration/LoadInterview.aspx?usageIdentifier=0bb94cb5-335a-44e0-9e2e-78c57a22e619&amp;returnURL=http%3a%2f%2f%7b%7breturnurl%7d%7d</string>"}],"_postman_id":"e6a5e5cc-dc7c-4dab-a159-48ea75504e9b"},{"name":"6.1. Get single use template token using template identifier","event":[{"listen":"test","script":{"id":"2cbe3faa-ead3-4d24-a24a-508bdbd93eb7","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;","","",""],"type":"text/javascript"}}],"id":"41f9bdff-be93-4ec9-8957-0d3e17fe8311","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{serverurl}}/IntegrationServices/ThirdPartyService.svc/GetSingleUsageByTemplateIndentifier?authenticationTicket={{authenticationTicket}}&templateIdentifier={{templateIdentifier}}&returnURL={{returnurl}}&runAsUserIdentifier={{runAsUserIdentifier}}","description":"<p>This request is used to retrieve the token of the web interview. It is similar to <code>Method 5</code> above. See <em>Integration Information</em> above for additional control over your integration.</p>\n<p>The template is identified by the <code>templateIdentifier</code>.</p>\n<p>The 'Run As User' is identified by optional parameter <code>runAsUserIdentifier</code>.</p>\n<p><strong>NOTE</strong>: this identifier is static. It is assigned the first time the template is uploaded to the server and remains the same even if the template is edited, renamed or moved.</p>\n<p>The template token returned can only be used for a single assembly. This is ideal for your dynamic web application or ecommerce site where <em>assembled documents</em> are sold, for example.</p>\n","urlObject":{"path":["IntegrationServices","ThirdPartyService.svc","GetSingleUsageByTemplateIndentifier"],"host":["{{serverurl}}"],"query":[{"key":"authenticationTicket","value":"{{authenticationTicket}}"},{"key":"templateIdentifier","value":"{{templateIdentifier}}"},{"key":"returnURL","value":"{{returnurl}}"},{"key":"runAsUserIdentifier","value":"{{runAsUserIdentifier}}"}],"variable":[]}},"response":[{"id":"0dcff002-3a9d-47c3-bd9d-5012f17c1d88","name":"6.1. Get single use template token using template identifier","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{serverurl}}/IntegrationServices/ThirdPartyService.svc/GetSingleUsageByTemplateIndentifier?authenticationTicket={{authenticationticket}}&templateIdentifier={{templateidentifier}}&returnURL={{returnurl}}","host":["{{serverurl}}"],"path":["IntegrationServices","ThirdPartyService.svc","GetSingleUsageByTemplateIndentifier"],"query":[{"key":"authenticationTicket","value":"{{authenticationticket}}"},{"key":"templateIdentifier","value":"{{templateidentifier}}"},{"key":"returnURL","value":"{{returnurl}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"xml","header":[{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"Pragma","value":"no-cache"},{"key":"Content-Type","value":"application/xml; charset=utf-8"},{"key":"Expires","value":"-1"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"P3P","value":"CP=\"HONK\""},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"X-SourceFiles","value":"=?UTF-8?B?RDpcUHJvamVjdHNcQUpTXFJlcG9zaXRvcnlcUHJvamVjdHNcbzJTbWFydC5Eb2N1bWVudEFzc2VtYmx5LldlYlxJbnRlZ3JhdGlvblNlcnZpY2VzXFRoaXJkUGFydHlTZXJ2aWNlLnN2Y1xHZXRTaW5nbGVVc2FnZUJ5VGVtcGxhdGVJbmRlbnRpZmllcg==?="},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Tue, 26 Nov 2019 09:58:17 GMT"},{"key":"Content-Length","value":"113"}],"cookie":[],"responseTime":null,"body":"<string xmlns=\"http://schemas.microsoft.com/2003/10/Serialization/\">b68d390a-751a-48a5-85b2-a138ed92e060</string>"}],"_postman_id":"41f9bdff-be93-4ec9-8957-0d3e17fe8311"},{"name":"7a. Fill template using file identifier  with the data as GET params","event":[{"listen":"test","script":{"id":"e40b6419-4bc9-4f35-a98c-679700946a83","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;","","var response  = xml2Json(responseBody);","var downloadIdentifierVar = response [\"ArrayOfAssemblyUsage\"][\"AssemblyUsage\"][\"AssembledFiles\"][\"AssembledFile\"][\"Identifier\"];","postman.setEnvironmentVariable(\"downloadIdentifier\", downloadIdentifierVar);"],"type":"text/javascript"}}],"id":"26f7af40-2c6a-4f01-97ff-3632aaeb75cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"text/xml"}],"url":"{{serverurl}}/IntegrationServices/ThirdPartyService.svc/FillTemplate?authenticationTicket={{authenticationTicket}}&fileIdentifier={{fileIdentifier}}&field1=field1value&field2=field2value&fieldN=fieldNvalue","description":"<p>This request is used to assemble a specific template on the server.</p>\n<p>The template is identified by the <code>fileIdentifier</code>.</p>\n<p><strong>NOTE</strong>: this identifier is dynamic and may change across sessions.</p>\n<p>The data you would like to use to fill the document must be sent in XML format.</p>\n<p>A template may be coded in such a way that it returns more than one document. Therefore this request returns an array of <code>AssembledFiles</code>, including a download link for each document assembled.</p>\n","urlObject":{"path":["IntegrationServices","ThirdPartyService.svc","FillTemplate"],"host":["{{serverurl}}"],"query":[{"key":"authenticationTicket","value":"{{authenticationTicket}}"},{"key":"fileIdentifier","value":"{{fileIdentifier}}"},{"key":"field1","value":"field1value"},{"key":"field2","value":"field2value"},{"key":"fieldN","value":"fieldNvalue"}],"variable":[]}},"response":[],"_postman_id":"26f7af40-2c6a-4f01-97ff-3632aaeb75cb"},{"name":"7b. Fill template using file identifier","event":[{"listen":"test","script":{"id":"0d7e208b-2447-4420-ba45-13cdbdd97bf1","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"bd29b6ef-74e4-4547-aac9-b7d5af60fd78","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>\r\n<PenelopePembrooke-Migraleve.xddata>\r\n  <patName>Penelope Pembrooke</patName>\r\n  <patId>234-34-5555</patId>\r\n  <patBirthDate>1964-01-15</patBirthDate>\r\n  <patDiagnosis>Migraine Headaches</patDiagnosis>\r\n  <patIcd>465; 978; 234</patIcd>\r\n  <patPharma>Warren's Family Pharmacy</patPharma>\r\n  <patPharmaPhone>624-534-5555</patPharmaPhone>\r\n  <proName>Stanley Schultz</proName>\r\n  <proSpeciality>Neuroscience</proSpeciality>\r\n  <proDea>523466452</proDea>\r\n  <proComplete>Amanda Murray</proComplete>\r\n  <proPhone>366-234-5555</proPhone>\r\n  <proFax>366-235-5555</proFax>\r\n  <medName>Migraleve</medName>\r\n  <medStrength>50mg</medStrength>\r\n  <medDirection>1 tablet 3 times daily</medDirection>\r\n  <medForm>Oral</medForm>\r\n  <medFormOther></medFormOther>\r\n  <medDuration>While symptoms last</medDuration>\r\n  <medIsOngoing>0</medIsOngoing>\r\n  <medDateInit></medDateInit>\r\n  <medRationale>Treatment with formularies proved unsuccesful. Patient suffers acute migraine attacks. When controlled patient will be managed prophylactically.</medRationale>\r\n  <hist>\r\n    <dateStart>2017-02-06</dateStart>\r\n    <dateEnd>2017-02-13</dateEnd>\r\n    <name>MigraMax</name>\r\n    <dose>1 tablet daily</dose>\r\n    <reason>Patient did not respond</reason>\r\n  </hist>\r\n  <reqFilePath></reqFilePath>\r\n  <reqDataPath></reqDataPath>\r\n  <reqFileName></reqFileName>\r\n</PenelopePembrooke-Migraleve.xddata>"},"url":"{{serverurl}}/IntegrationServices/ThirdPartyService.svc/FillTemplate?authenticationTicket={{authenticationTicket}}&fileIdentifier={{fileIdentifier}}","description":"<p>This request is used to assemble a specific template on the server.</p>\n<p>The template is identified by the <code>fileIdentifier</code>.</p>\n<p><strong>NOTE</strong>: this identifier is dynamic and may change across sessions.</p>\n<p>The data you would like to use to fill the document must be sent in XML format.</p>\n<p>A template may be coded in such a way that it returns more than one document. Therefore this request returns an array of <code>AssembledFiles</code>, including a download link for each document assembled.</p>\n","urlObject":{"path":["IntegrationServices","ThirdPartyService.svc","FillTemplate"],"host":["{{serverurl}}"],"query":[{"key":"authenticationTicket","value":"{{authenticationTicket}}"},{"key":"fileIdentifier","value":"{{fileIdentifier}}"}],"variable":[]}},"response":[],"_postman_id":"bd29b6ef-74e4-4547-aac9-b7d5af60fd78"},{"name":"8a. Fill template using template identifier with the data as GET params","event":[{"listen":"test","script":{"id":"eef753a7-2afc-4a06-b670-28bf7342547e","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"69986080-69c0-4565-be79-501d5f8311b4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"text/xml"}],"url":"{{serverurl}}/IntegrationServices/ThirdPartyService.svc/FillTemplateByTemplateID?authenticationTicket={{authenticationTicket}}&templateIdentifier={{templateIdentifier}}&field1=field1value&field2=field2value&fieldN=fieldNvalue","description":"<p>This request is used to assemble a specific template on the server. It is similar to <code>Method 7</code> above.</p>\n<p>The template is identified by the <code>templateIdentifier</code>.</p>\n<p><strong>NOTE</strong>: this identifier is static. It is assigned the first time the template is uploaded to the server and remains the same even if the template is edited, renamed or moved.</p>\n<p>The data you would like to use to fill the document must be sent in XML format.</p>\n<p>A template may be coded in such a way that it returns more than one document. Therefore this request returns an array of <code>AssembledFiles</code>, including a download link for each document assembled.</p>\n","urlObject":{"path":["IntegrationServices","ThirdPartyService.svc","FillTemplateByTemplateID"],"host":["{{serverurl}}"],"query":[{"key":"authenticationTicket","value":"{{authenticationTicket}}"},{"key":"templateIdentifier","value":"{{templateIdentifier}}"},{"key":"field1","value":"field1value"},{"key":"field2","value":"field2value"},{"key":"fieldN","value":"fieldNvalue"}],"variable":[]}},"response":[],"_postman_id":"69986080-69c0-4565-be79-501d5f8311b4"},{"name":"8b. Fill template using template identifier","event":[{"listen":"test","script":{"id":"7d8a151d-d607-4978-abe6-2e4f4556791c","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"1f99f157-3631-4b46-8af9-cd1ffca83b39","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>\r\n<PenelopePembrooke-Migraleve.xddata>\r\n  <patName>Penelope Pembrooke</patName>\r\n  <patId>234-34-5555</patId>\r\n  <patBirthDate>1964-01-15</patBirthDate>\r\n  <patDiagnosis>Migraine Headaches</patDiagnosis>\r\n  <patIcd>465; 978; 234</patIcd>\r\n  <patPharma>Warren's Family Pharmacy</patPharma>\r\n  <patPharmaPhone>624-534-5555</patPharmaPhone>\r\n  <proName>Stanley Schultz</proName>\r\n  <proSpeciality>Neuroscience</proSpeciality>\r\n  <proDea>523466452</proDea>\r\n  <proComplete>Amanda Murray</proComplete>\r\n  <proPhone>366-234-5555</proPhone>\r\n  <proFax>366-235-5555</proFax>\r\n  <medName>Migraleve</medName>\r\n  <medStrength>50mg</medStrength>\r\n  <medDirection>1 tablet 3 times daily</medDirection>\r\n  <medForm>Oral</medForm>\r\n  <medFormOther></medFormOther>\r\n  <medDuration>While symptoms last</medDuration>\r\n  <medIsOngoing>0</medIsOngoing>\r\n  <medDateInit></medDateInit>\r\n  <medRationale>Treatment with formularies proved unsuccesful. Patient suffers acute migraine attacks. When controlled patient will be managed prophylactically.</medRationale>\r\n  <hist>\r\n    <dateStart>2017-02-06</dateStart>\r\n    <dateEnd>2017-02-13</dateEnd>\r\n    <name>MigraMax</name>\r\n    <dose>1 tablet daily</dose>\r\n    <reason>Patient did not respond</reason>\r\n  </hist>\r\n  <reqFilePath></reqFilePath>\r\n  <reqDataPath></reqDataPath>\r\n  <reqFileName></reqFileName>\r\n</PenelopePembrooke-Migraleve.xddata>"},"url":"{{serverurl}}/IntegrationServices/ThirdPartyService.svc/FillTemplateByTemplateID?authenticationTicket={{authenticationTicket}}&templateIdentifier={{templateIdentifier}}","description":"<p>This request is used to assemble a specific template on the server. It is similar to <code>Method 7</code> above.</p>\n<p>The template is identified by the <code>templateIdentifier</code>.</p>\n<p><strong>NOTE</strong>: this identifier is static. It is assigned the first time the template is uploaded to the server and remains the same even if the template is edited, renamed or moved.</p>\n<p>The data you would like to use to fill the document must be sent in XML format.</p>\n<p>A template may be coded in such a way that it returns more than one document. Therefore this request returns an array of <code>AssembledFiles</code>, including a download link for each document assembled.</p>\n","urlObject":{"path":["IntegrationServices","ThirdPartyService.svc","FillTemplateByTemplateID"],"host":["{{serverurl}}"],"query":[{"key":"authenticationTicket","value":"{{authenticationTicket}}"},{"key":"templateIdentifier","value":"{{templateIdentifier}}"}],"variable":[]}},"response":[],"_postman_id":"1f99f157-3631-4b46-8af9-cd1ffca83b39"},{"name":"9. Upload a file","event":[{"listen":"test","script":{"id":"a5312875-62e3-4cf2-8457-f92377bd2d16","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;","","var response  = xml2Json(responseBody);","var fileToDeleteVar = response [\"ServerFile\"][\"Identifier\"];","postman.setEnvironmentVariable(\"fileToDelete\", fileToDeleteVar);"],"type":"text/javascript","packages":{}}}],"id":"b1b374b5-931e-4a91-aabb-f4ad68b2a4f1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-File-Name","value":"HelloWorld.txt"},{"key":"Content-Type","value":"application/xml"}],"body":{"mode":"file","file":{"src":"/C:/Temp/datafile.xml"}},"url":"{{serverurl}}/Integration/upload.ashx?authenticationTicket={{authenticationTicket}}&folderIdentifier={{folderIdentifier}}&overwrite=true","description":"<p>This request is used to upload a file, usually a template, to your XpressDox Cloud or Server account.</p>\n<p>The destination folder for the uploaded file is specified using the <code>folderIdentifier</code> parameter.</p>\n<p>The <code>overwrite</code> parameter must be set to <code>true</code> if existing file must be ovewritten.</p>\n<p>The header <code>X-File-Name</code> must be set to the filename that the file should be saved as.</p>\n<p>The content of the file must be passed in the body of the request as a binary stream. Please see code example below.</p>\n<p>This request returns a <code>ServerFile</code> element.</p>\n<p>Here is some code which can serve as an example to upload a file to XpressDox Cloud:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>    /// &lt;summary&gt;\n          /// Upload a file to the XpressDox cloud\n          /// &lt;/summary&gt;\n          /// &lt;param name=\"serverUrl\"&gt;The URL of the server, e.g. https://test.xpressdox.com.&lt;/param&gt;\n          /// &lt;param name=\"authTicket\"&gt;The authentication ticket which has been obtained by a Login request.&lt;/param&gt;\n          /// &lt;param name=\"fileContentsStream\"&gt;A System.IO.Stream which contains the contents of the file to be uploaded.&lt;/param&gt;\n          /// &lt;param name=\"fileNameInCloud\"&gt;The file name that you would like the file to have in the Cloud after it has been uploaded.&lt;/param&gt;\n          /// &lt;param name=\"folderIdentifier\"&gt;The identifier of the folder in the Cloud to which the file should be uploaded.&lt;/param&gt;\n          /// &lt;returns&gt;A ServerFile object is returned.&lt;/returns&gt;\n          public static ServerFile UploadFile(string serverUrl, string authTicket, Stream fileContentsStream,\n                 string fileNameInCloud, string folderIdentifier) {\n                 /* create the WebRequest */\n                 HttpWebRequest request = (HttpWebRequest)WebRequest.Create(\n                       $\"{serverUrl}/Integration/upload.ashx?authenticationTicket={authTicket}&amp;folderIdentifier={folderIdentifier}\");\n                 request.Method = \"POST\";\n                 /* note that the request.ContentType and request.Accept do not need to be set */\n                 request.Headers[\"X-File-Name\"] = fileNameInCloud;\n                 using(Stream contentStream = request.GetRequestStream()) {\n                       fileContentsStream.Position = 0;\n                       fileContentsStream.CopyTo(contentStream);\n                 }\n                 /* get the response */\n                 HttpWebResponse response = (HttpWebResponse) request.GetResponse();\n                 string result = \"\";\n                 using(StreamReader reader = new StreamReader(response.GetResponseStream() ?? throw new InvalidOperationException())) {\n                       result = reader.ReadToEnd();\n                 }\n                 /* Deserialize the result */\n                 return XDocument.Parse(result).Root.ToString().RemoveAttributes().XmlToObject&lt;ServerFile&gt;();\n          }\n\n</code></pre>","urlObject":{"path":["Integration","upload.ashx"],"host":["{{serverurl}}"],"query":[{"key":"authenticationTicket","value":"{{authenticationTicket}}"},{"key":"folderIdentifier","value":"{{folderIdentifier}}"},{"key":"overwrite","value":"true"}],"variable":[]}},"response":[{"id":"80cbcbd9-6030-46fe-bba3-cb3dd452c244","name":"9. Upload a file","originalRequest":{"method":"POST","header":[{"key":"X-File-Name","value":"HelloWorld.txt"},{"key":"Content-Type","name":"Content-Type","value":"application/xml"}],"body":{"mode":"raw","raw":"Hellow World \n\nAmazing few discoheques provide jukeboxes"},"url":{"raw":"http://localhost:56052/Integration/upload.ashx?authenticationTicket={{authenticationticket}}&folderIdentifier={{folderidentifier}}&overwrite=true","protocol":"http","host":["localhost"],"port":"56052","path":["","Integration","upload.ashx"],"query":[{"key":"authenticationTicket","value":"{{authenticationticket}}"},{"key":"folderIdentifier","value":"{{folderidentifier}}"},{"key":"overwrite","value":"true","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"b1b374b5-931e-4a91-aabb-f4ad68b2a4f1"},{"name":"10a Download File By File Identifier","id":"a7097f89-ee8e-4258-830f-368d35014445","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{serverurl}}/Integration/downloadfile.aspx?authenticationTicket={{authenticationTicket}}&fileIdentifier={{fileIdentifier}}","description":"<p>This request is used to download a file from the server.</p>\n<p>The file to be downloaded is specified by the <code>fileIdentifier</code> parameter.</p>\n<p>This request returns the specified file as a download.</p>\n<p><strong>NOTE</strong>: On the right is an XML example with an Idetifier tag used to download the file that is highligted in the color Green. It is IMPORTANT to note that it is NOT A RESPONSE example from Download file by <code>File Identifier</code>.</p>\n","urlObject":{"path":["Integration","downloadfile.aspx"],"host":["{{serverurl}}"],"query":[{"key":"authenticationTicket","value":"{{authenticationTicket}}"},{"key":"fileIdentifier","value":"{{fileIdentifier}}"}],"variable":[]}},"response":[{"id":"77a40c8a-39c2-4c56-b5d4-d4094c6ae1bf","name":"10. Download File By File Identifier","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{serverurl}}/Integration/downloadfile.aspx?authenticationTicket={{authenticationticket}}&fileIdentifier={{downloadidentifier}}","host":["{{serverurl}}"],"path":["Integration","downloadfile.aspx"],"query":[{"key":"authenticationTicket","value":"{{authenticationticket}}"},{"key":"fileIdentifier","value":"{{downloadidentifier}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"","header":[],"cookie":[],"responseTime":null,"body":"```<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<ArrayOfAssemblyUsage xmlns=\"http://schemas.datacontract.org/2004/07/o2Smart.DocumentAssembly.Web.WebObjects\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\">\n   <AssemblyUsage>\n      <AssembledFiles>\n         <AssembledFile>\n            <DateCreated>2018-07-09T07:07:52.1332163Z</DateCreated>\n            <DownloadLink>http://localhost:56052/Integration/Download.aspx?fileIdentifier=a04a0447-bda2-4ea7-93bb-438a10ed333f</DownloadLink>\n            <FilePath>Documents\\FaxCoverExample.3.docx</FilePath>\n            <FileSize>13 KB</FileSize>\n            <FileType>MS Word 2007</FileType>\n            <Identifier>a04a0447-bda2-4ea7-93bb-438a10ed333f</Identifier>\n            <ServerFile>\n               <DateUploaded>2018-07-09T07:07:52.1332163Z</DateUploaded>\n               <Description i:nil=\"true\" />\n               <FileSize>13 KB</FileSize>\n               <FileType>MS Word 2007</FileType>\n               '<Identifier>TY8age3/tOHSXIS2MqB22SA8JGYTczrCck1K9RKaKnNxZ+csCpbmtA==</Identifier>'\n               <Name>FaxCoverExample.3.docx</Name>\n               <TemplateIdentifier i:nil=\"true\" />\n               <URL>http://localhost:56052/Protected/Download.aspx?fileIdentifier=TY8age3%2ftOHSXIS2MqB22SA8JGYTczrCck1K9RKaKnNxZ%2bcsCpbmtA%3d%3d</URL>\n            </ServerFile>\n         </AssembledFile>\n      </AssembledFiles>\n      <DataDownloadLink>http://localhost:56052/Integration/Download.aspx?usageIdentifier=0b6db589-1b50-47c0-891d-882bc734b23c</DataDownloadLink>\n      <DataFileDateCreated>2018-07-09T07:07:52.6265813Z</DataFileDateCreated>\n      <DataFilePath>Datasets\\FaxCoverExample.3.xddata.xml</DataFilePath>\n      <DataFileSize>518 bytes</DataFileSize>\n      <DataFileType i:nil=\"true\" />\n      <ID>7</ID>\n      <Identifier>0b6db589-1b50-47c0-891d-882bc734b23c</Identifier>\n      <ReturnURL i:nil=\"true\" />\n      <ServerFile>\n         <DateUploaded>2018-07-09T07:07:52.6265813Z</DateUploaded>\n         <Description i:nil=\"true\" />\n         <FileSize>518 bytes</FileSize>\n         <FileType>XML File</FileType>\n         <Identifier>xapI3smfLMHhqfs84jGM/mg6XyBO48UBck9dOtteLKYSRnWDxf/YSA==</Identifier>\n         <Name>FaxCoverExample.3.xddata.xml</Name>\n         <TemplateIdentifier i:nil=\"true\" />\n         <URL>http://localhost:56052/Protected/Download.aspx?fileIdentifier=xapI3smfLMHhqfs84jGM%2fmg6XyBO48UBck9dOtteLKYSRnWDxf%2fYSA%3d%3d</URL>\n      </ServerFile>\n      <TemplateIdentifier>0ec756a0-9c65-4307-9a57-8634c5505155</TemplateIdentifier>\n      <TemplatePath>FaxCoverExample.xdtpx</TemplatePath>\n   </AssemblyUsage>\n</ArrayOfAssemblyUsage>"}],"_postman_id":"a7097f89-ee8e-4258-830f-368d35014445"},{"name":"10b Download Template By Template Identifier","id":"2d11730b-65cd-49e4-8b7e-9997b64448f5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{serverurl}}/Integration/downloadfile.aspx?authenticationTicket={{authenticationTicket}}&templateIdentifier={{templateIdentifier}}","description":"<p>This request is used to download a template file from the server.</p>\n<p>The template to be downloaded is specified by the <code>templateIdentifier</code> parameter.</p>\n<p>This request returns the specified file as a download.</p>\n<p><strong>NOTE</strong>: On the right is an XML example with an Idetifier tag used to download the file that is highligted in the color Green. It is IMPORTANT to note that it is NOT A RESPONSE example from Download file by <code>File Identifier</code>.</p>\n","urlObject":{"path":["Integration","downloadfile.aspx"],"host":["{{serverurl}}"],"query":[{"key":"authenticationTicket","value":"{{authenticationTicket}}"},{"key":"templateIdentifier","value":"{{templateIdentifier}}"}],"variable":[]}},"response":[{"id":"c9b079e2-c769-4afe-9bb2-213ef9a77395","name":"10. Download File By File Identifier","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{serverurl}}/Integration/downloadfile.aspx?authenticationTicket={{authenticationticket}}&fileIdentifier={{downloadidentifier}}","host":["{{serverurl}}"],"path":["Integration","downloadfile.aspx"],"query":[{"key":"authenticationTicket","value":"{{authenticationticket}}"},{"key":"fileIdentifier","value":"{{downloadidentifier}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"","header":[],"cookie":[],"responseTime":null,"body":"```<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<ArrayOfAssemblyUsage xmlns=\"http://schemas.datacontract.org/2004/07/o2Smart.DocumentAssembly.Web.WebObjects\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\">\n   <AssemblyUsage>\n      <AssembledFiles>\n         <AssembledFile>\n            <DateCreated>2018-07-09T07:07:52.1332163Z</DateCreated>\n            <DownloadLink>http://localhost:56052/Integration/Download.aspx?fileIdentifier=a04a0447-bda2-4ea7-93bb-438a10ed333f</DownloadLink>\n            <FilePath>Documents\\FaxCoverExample.3.docx</FilePath>\n            <FileSize>13 KB</FileSize>\n            <FileType>MS Word 2007</FileType>\n            <Identifier>a04a0447-bda2-4ea7-93bb-438a10ed333f</Identifier>\n            <ServerFile>\n               <DateUploaded>2018-07-09T07:07:52.1332163Z</DateUploaded>\n               <Description i:nil=\"true\" />\n               <FileSize>13 KB</FileSize>\n               <FileType>MS Word 2007</FileType>\n               '<Identifier>TY8age3/tOHSXIS2MqB22SA8JGYTczrCck1K9RKaKnNxZ+csCpbmtA==</Identifier>'\n               <Name>FaxCoverExample.3.docx</Name>\n               <TemplateIdentifier i:nil=\"true\" />\n               <URL>http://localhost:56052/Protected/Download.aspx?fileIdentifier=TY8age3%2ftOHSXIS2MqB22SA8JGYTczrCck1K9RKaKnNxZ%2bcsCpbmtA%3d%3d</URL>\n            </ServerFile>\n         </AssembledFile>\n      </AssembledFiles>\n      <DataDownloadLink>http://localhost:56052/Integration/Download.aspx?usageIdentifier=0b6db589-1b50-47c0-891d-882bc734b23c</DataDownloadLink>\n      <DataFileDateCreated>2018-07-09T07:07:52.6265813Z</DataFileDateCreated>\n      <DataFilePath>Datasets\\FaxCoverExample.3.xddata.xml</DataFilePath>\n      <DataFileSize>518 bytes</DataFileSize>\n      <DataFileType i:nil=\"true\" />\n      <ID>7</ID>\n      <Identifier>0b6db589-1b50-47c0-891d-882bc734b23c</Identifier>\n      <ReturnURL i:nil=\"true\" />\n      <ServerFile>\n         <DateUploaded>2018-07-09T07:07:52.6265813Z</DateUploaded>\n         <Description i:nil=\"true\" />\n         <FileSize>518 bytes</FileSize>\n         <FileType>XML File</FileType>\n         <Identifier>xapI3smfLMHhqfs84jGM/mg6XyBO48UBck9dOtteLKYSRnWDxf/YSA==</Identifier>\n         <Name>FaxCoverExample.3.xddata.xml</Name>\n         <TemplateIdentifier i:nil=\"true\" />\n         <URL>http://localhost:56052/Protected/Download.aspx?fileIdentifier=xapI3smfLMHhqfs84jGM%2fmg6XyBO48UBck9dOtteLKYSRnWDxf%2fYSA%3d%3d</URL>\n      </ServerFile>\n      <TemplateIdentifier>0ec756a0-9c65-4307-9a57-8634c5505155</TemplateIdentifier>\n      <TemplatePath>FaxCoverExample.xdtpx</TemplatePath>\n   </AssemblyUsage>\n</ArrayOfAssemblyUsage>"}],"_postman_id":"2d11730b-65cd-49e4-8b7e-9997b64448f5"},{"name":"11. Download File By Download Identifier","id":"fad4675f-d7e2-4a77-9473-1d1c38514838","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{serverurl}}/Integration/downloadfile.aspx?authenticationTicket={{authenticationTicket}}&downloadIdentifier={{downloadIdentifier}}","description":"<p>This request is used to download a file from the server.</p>\n<p>The file to be downloaded is specified by the <code>downloadIdentifier</code> parameter.</p>\n<p>This request returns the specified file as a download.</p>\n<p><strong>NOTE</strong>: On the right-hand side, there is an example of a xml response and highlighted in <strong>GREEN</strong> is the <code>downloadIdentifier</code> tag to use when downloading the file;</p>\n<p>IMPORTANT to note that it is NOT A RESPONSE example from Download file by <code>Download Identifier</code></p>\n","urlObject":{"path":["Integration","downloadfile.aspx"],"host":["{{serverurl}}"],"query":[{"key":"authenticationTicket","value":"{{authenticationTicket}}"},{"key":"downloadIdentifier","value":"{{downloadIdentifier}}"}],"variable":[]}},"response":[{"id":"a884e836-43d4-4d78-93a4-93609c14653f","name":"11. Download File By Download Identifier","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{serverurl}}/Integration/downloadfile.aspx?authenticationTicket={{authenticationticket}}&downloadIdentifier={{downloadidentifier}}","host":["{{serverurl}}"],"path":["Integration","downloadfile.aspx"],"query":[{"key":"authenticationTicket","value":"{{authenticationticket}}"},{"key":"downloadIdentifier","value":"{{downloadidentifier}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"","header":[],"cookie":[],"responseTime":null,"body":"```<ArrayOfAssemblyUsage xmlns=\"http://schemas.datacontract.org/2004/07/o2Smart.DocumentAssembly.Web.WebObjects\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n    <AssemblyUsage>\r\n        <AssembledFiles>\r\n            <AssembledFile>\r\n                <DateCreated>2018-07-16T08:35:35.359817Z</DateCreated>\r\n                <DownloadLink>http://localhost:56052/Integration/DownloadFile.aspx?downloadIdentifier=9cdbf5d7-6cc9-4efb-b4b9-2523c1b83c6c</DownloadLink>\r\n                <FilePath>Documents\\FaxCoverExample.12.docx</FilePath>\r\n                <FileSize>13 KB</FileSize>\r\n                <FileType>MS Word 2007</FileType>\r\n               ' <Identifier>9cdbf5d7-6cc9-4efb-b4b9-2523c1b83c6c</Identifier>'\r\n                <ServerFile>\r\n                    <DateUploaded>2018-07-16T08:35:35.359817Z</DateUploaded>\r\n                    <Description i:nil=\"true\"/>\r\n                    <FileSize>13 KB</FileSize>\r\n                    <FileType>MS Word 2007</FileType>\r\n                    <Identifier>TY8age3/tOHSXIS2MqB22SA8JGYTczrCSZcmAVV8e55HDs16WQ7+mw==</Identifier>\r\n                    <Name>FaxCoverExample.12.docx</Name>\r\n                    <TemplateIdentifier i:nil=\"true\"/>\r\n                    <URL>http://localhost:56052/Protected/Download.aspx?fileIdentifier=TY8age3%2ftOHSXIS2MqB22SA8JGYTczrCSZcmAVV8e55HDs16WQ7%2bmw%3d%3d</URL>\r\n                </ServerFile>\r\n            </AssembledFile>\r\n        </AssembledFiles>\r\n        <DataDownloadLink>http://localhost:56052/Integration/DownloadFile.aspx?usageIdentifier=830c2526-aec0-4508-b257-9c2191f4f57b</DataDownloadLink>\r\n        <DataFileDateCreated>2018-07-16T08:35:35.4257888Z</DataFileDateCreated>\r\n        <DataFilePath>Datasets\\FaxCoverExample.12.xddata.xml</DataFilePath>\r\n        <DataFileSize>520 bytes</DataFileSize>\r\n        <DataFileType i:nil=\"true\"/>\r\n        <ID>1016</ID>\r\n        <Identifier>830c2526-aec0-4508-b257-9c2191f4f57b</Identifier>\r\n        <ReturnURL i:nil=\"true\"/>\r\n        <ServerFile>\r\n            <DateUploaded>2018-07-16T08:35:35.4257888Z</DateUploaded>\r\n            <Description i:nil=\"true\"/>\r\n            <FileSize>520 bytes</FileSize>\r\n            <FileType>XML File</FileType>\r\n            <Identifier>xapI3smfLMHhqfs84jGM/mg6XyBO48UBEqYBW8QniRIVx6YUcUokcg==</Identifier>\r\n            <Name>FaxCoverExample.12.xddata.xml</Name>\r\n            <TemplateIdentifier i:nil=\"true\"/>\r\n            <URL>http://localhost:56052/Protected/Download.aspx?fileIdentifier=xapI3smfLMHhqfs84jGM%2fmg6XyBO48UBEqYBW8QniRIVx6YUcUokcg%3d%3d</URL>\r\n        </ServerFile>\r\n        <TemplateIdentifier>0ec756a0-9c65-4307-9a57-8634c5505155</TemplateIdentifier>\r\n        <TemplatePath>FaxCoverExample.xdtpx</TemplatePath>\r\n    </AssemblyUsage>\r\n</ArrayOfAssemblyUsage>```"}],"_postman_id":"fad4675f-d7e2-4a77-9473-1d1c38514838"},{"name":"12. Download File By Usage Identifier","id":"aca1d4ef-0dc5-4c07-b71b-4aa8446a681b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{serverurl}}/Integration/downloadfile.aspx?authenticationTicket={{authenticationTicket}}&usageIdentifier={{usageIdentifier}}","description":"<p>This request is used to download a file from the server.</p>\n<p>The file to be downloaded is specified by the <code>downloadIdentifier</code> parameter.</p>\n<p>This request returns the specified file as a download.</p>\n<p><strong>NOTE</strong>: On the right-hand side, there is an example of a xml response and highlighted in <strong>GREEN</strong> is the <code>usageIdentifier</code> tag to use when downloading the file;\nIt is IMPORTANT to note that it is NOT A RESPONSE example from Download file by <code>Usage Identifier</code>.</p>\n","urlObject":{"path":["Integration","downloadfile.aspx"],"host":["{{serverurl}}"],"query":[{"key":"authenticationTicket","value":"{{authenticationTicket}}"},{"key":"usageIdentifier","value":"{{usageIdentifier}}"}],"variable":[]}},"response":[{"id":"e1343579-e437-40db-b107-cb9eb1f729b6","name":"12. Download File By Usage Identifier","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{serverurl}}/Integration/downloadfile.aspx?authenticationTicket={{authenticationticket}}&usageIdentifier={{downloadidentifier}}","host":["{{serverurl}}"],"path":["Integration","downloadfile.aspx"],"query":[{"key":"authenticationTicket","value":"{{authenticationticket}}"},{"key":"usageIdentifier","value":"{{downloadidentifier}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"","header":[],"cookie":[],"responseTime":null,"body":"```<ArrayOfAssemblyUsage xmlns=\"http://schemas.datacontract.org/2004/07/o2Smart.DocumentAssembly.Web.WebObjects\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n    <AssemblyUsage>\r\n        <AssembledFiles>\r\n            <AssembledFile>\r\n                <DateCreated>2018-07-16T08:35:35.359817Z</DateCreated>\r\n                <DownloadLink>http://localhost:56052/Integration/DownloadFile.aspx?downloadIdentifier=9cdbf5d7-6cc9-4efb-b4b9-2523c1b83c6c</DownloadLink>\r\n                <FilePath>Documents\\FaxCoverExample.12.docx</FilePath>\r\n                <FileSize>13 KB</FileSize>\r\n                <FileType>MS Word 2007</FileType>\r\n                <Identifier>9cdbf5d7-6cc9-4efb-b4b9-2523c1b83c6c</Identifier>\r\n                <ServerFile>\r\n                    <DateUploaded>2018-07-16T08:35:35.359817Z</DateUploaded>\r\n                    <Description i:nil=\"true\"/>\r\n                    <FileSize>13 KB</FileSize>\r\n                    <FileType>MS Word 2007</FileType>\r\n                    <Identifier>TY8age3/tOHSXIS2MqB22SA8JGYTczrCSZcmAVV8e55HDs16WQ7+mw==</Identifier>\r\n                    <Name>FaxCoverExample.12.docx</Name>\r\n                    <TemplateIdentifier i:nil=\"true\"/>\r\n                    <URL>http://localhost:56052/Protected/Download.aspx?fileIdentifier=TY8age3%2ftOHSXIS2MqB22SA8JGYTczrCSZcmAVV8e55HDs16WQ7%2bmw%3d%3d</URL>\r\n                </ServerFile>\r\n            </AssembledFile>\r\n        </AssembledFiles>\r\n        <DataDownloadLink>http://localhost:56052/Integration/DownloadFile.aspx?usageIdentifier=830c2526-aec0-4508-b257-9c2191f4f57b</DataDownloadLink>\r\n        <DataFileDateCreated>2018-07-16T08:35:35.4257888Z</DataFileDateCreated>\r\n        <DataFilePath>Datasets\\FaxCoverExample.12.xddata.xml</DataFilePath>\r\n        <DataFileSize>520 bytes</DataFileSize>\r\n        <DataFileType i:nil=\"true\"/>\r\n        <ID>1016</ID>\r\n        '<Identifier>830c2526-aec0-4508-b257-9c2191f4f57b</Identifier>'\r\n        <ReturnURL i:nil=\"true\"/>\r\n        <ServerFile>\r\n            <DateUploaded>2018-07-16T08:35:35.4257888Z</DateUploaded>\r\n            <Description i:nil=\"true\"/>\r\n            <FileSize>520 bytes</FileSize>\r\n            <FileType>XML File</FileType>\r\n            <Identifier>xapI3smfLMHhqfs84jGM/mg6XyBO48UBEqYBW8QniRIVx6YUcUokcg==</Identifier>\r\n            <Name>FaxCoverExample.12.xddata.xml</Name>\r\n            <TemplateIdentifier i:nil=\"true\"/>\r\n            <URL>http://localhost:56052/Protected/Download.aspx?fileIdentifier=xapI3smfLMHhqfs84jGM%2fmg6XyBO48UBEqYBW8QniRIVx6YUcUokcg%3d%3d</URL>\r\n        </ServerFile>\r\n        <TemplateIdentifier>0ec756a0-9c65-4307-9a57-8634c5505155</TemplateIdentifier>\r\n        <TemplatePath>FaxCoverExample.xdtpx</TemplatePath>\r\n    </AssemblyUsage>\r\n</ArrayOfAssemblyUsage>```"}],"_postman_id":"aca1d4ef-0dc5-4c07-b71b-4aa8446a681b"},{"name":"13. Delete a file","event":[{"listen":"test","script":{"id":"47017a15-2e6d-4c4b-bb2f-8c26af1ea523","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"2139d263-ac65-45e3-adca-d2423f589f32","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{serverurl}}/IntegrationServices/ThirdPartyService.svc/DeleteFile?authenticationTicket={{authenticationTicket}}&fileIdentifier={{fileToDelete}}","description":"<p>This request is used to delete a file from the server.</p>\n<p>The file to be deleted is specified by the <code>fileidentifier</code> parameter.</p>\n<p>This request returns status code 200 if successful.</p>\n","urlObject":{"path":["IntegrationServices","ThirdPartyService.svc","DeleteFile"],"host":["{{serverurl}}"],"query":[{"key":"authenticationTicket","value":"{{authenticationTicket}}"},{"key":"fileIdentifier","value":"{{fileToDelete}}"}],"variable":[]}},"response":[],"_postman_id":"2139d263-ac65-45e3-adca-d2423f589f32"},{"name":"14. Get Web Version","id":"18fbcbb5-6730-474d-b4d4-3b154847347b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{serverurl}}/IntegrationServices/ThirdPartyService.svc/GetWebVersion?authenticationTicket={{authenticationTicket}}","description":"<p>This API request is the Web version, which is the one published at the bottom of the browser explorer page.</p>\n","urlObject":{"path":["IntegrationServices","ThirdPartyService.svc","GetWebVersion"],"host":["{{serverurl}}"],"query":[{"key":"authenticationTicket","value":"{{authenticationTicket}}"}],"variable":[]}},"response":[],"_postman_id":"18fbcbb5-6730-474d-b4d4-3b154847347b"},{"name":"15. Get Xpress Dox Version ","id":"0ee75862-4862-4e13-aad1-14c34439eef2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{serverurl}}/IntegrationServices/ThirdPartyService.svc/GetXpressDoxVersion?authenticationTicket={{authenticationTicket}}","description":"<p>This API request is to get the XpressDox Engine version. </p>\n","urlObject":{"path":["IntegrationServices","ThirdPartyService.svc","GetXpressDoxVersion"],"host":["{{serverurl}}"],"query":[{"key":"authenticationTicket","value":"{{authenticationTicket}}"}],"variable":[]}},"response":[],"_postman_id":"0ee75862-4862-4e13-aad1-14c34439eef2"},{"name":"16. Get Interview Schema","event":[{"listen":"test","script":{"id":"811220a1-f30e-491b-aa20-ca499646dafc","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;","","var jsonObject = xml2Json(responseBody);","var ticket = jsonObject.string._;","","postman.setEnvironmentVariable(\"authenticationticket\", ticket);"],"type":"text/javascript"}}],"id":"85acfce5-163d-410c-bab2-fbdf064e3f4a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{serverurl}}/IntegrationServices/ThirdPartyService.svc/GetTemplateSchema?authenticationTicket={{authenticationTicket}}&templateIdentifier={{templateIdentifier}}","description":"<p>This <code>GET</code> request is used to retrieve the interview scheme.  It can be used to build a custom interview UI.</p>\n","urlObject":{"path":["IntegrationServices","ThirdPartyService.svc","GetTemplateSchema"],"host":["{{serverurl}}"],"query":[{"key":"authenticationTicket","value":"{{authenticationTicket}}"},{"key":"templateIdentifier","value":"{{templateIdentifier}}"}],"variable":[]}},"response":[],"_postman_id":"85acfce5-163d-410c-bab2-fbdf064e3f4a"},{"name":"17. Get templates run (Usage Data)","id":"48d8c88f-e98f-45a2-b9d1-6a4a564e5a60","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{serverurl}}/IntegrationServices/ThirdPartyService.svc/GetUsages?authenticationTicket={{authenticationTicket}}&beginDate=2022-03-11T12:25:33.473&endDate=2022-03-11T12:35:33.473","description":"<p>This <code>GET</code> request is used to retrieve the templates run for the specified {beginDate} and {endDate}.</p>\n","urlObject":{"path":["IntegrationServices","ThirdPartyService.svc","GetUsages"],"host":["{{serverurl}}"],"query":[{"key":"authenticationTicket","value":"{{authenticationTicket}}"},{"key":"beginDate","value":"2022-03-11T12:25:33.473"},{"key":"endDate","value":"2022-03-11T12:35:33.473"}],"variable":[]}},"response":[],"_postman_id":"48d8c88f-e98f-45a2-b9d1-6a4a564e5a60"},{"name":"18. Get account Users","id":"05356317-b769-4cfe-9ea4-5b8446ffee34","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{serverurl}}/IntegrationServices/ThirdPartyService.svc/GetUsers?authenticationTicket={{authenticationTicket}}","description":"<p>This <code>GET</code> request is used to retrieve list of all users for the current account.</p>\n","urlObject":{"path":["IntegrationServices","ThirdPartyService.svc","GetUsers"],"host":["{{serverurl}}"],"query":[{"key":"authenticationTicket","value":"{{authenticationTicket}}"}],"variable":[]}},"response":[],"_postman_id":"05356317-b769-4cfe-9ea4-5b8446ffee34"},{"name":"19. Get account Groups","id":"d70c731a-b090-4ac1-ac4d-d6dd44eb32e2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{serverurl}}/IntegrationServices/ThirdPartyService.svc/GetAccountGroups?authenticationTicket={{authenticationTicket}}","description":"<p>This <code>GET</code> request is used to retrieve all user groups defined for the current account.</p>\n","urlObject":{"path":["IntegrationServices","ThirdPartyService.svc","GetAccountGroups"],"host":["{{serverurl}}"],"query":[{"key":"authenticationTicket","value":"{{authenticationTicket}}"}],"variable":[]}},"response":[],"_postman_id":"d70c731a-b090-4ac1-ac4d-d6dd44eb32e2"},{"name":"20. Get User Groups","id":"99b462d6-2117-40d0-83af-827f61df014c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{serverurl}}/IntegrationServices/ThirdPartyService.svc/GetUserGroups?authenticationTicket={{authenticationTicket}}&userID={{userID}}","description":"<p>This <code>GET</code> request is used to retrieve groups assigned for the specified user.</p>\n","urlObject":{"path":["IntegrationServices","ThirdPartyService.svc","GetUserGroups"],"host":["{{serverurl}}"],"query":[{"key":"authenticationTicket","value":"{{authenticationTicket}}"},{"key":"userID","value":"{{userID}}"}],"variable":[]}},"response":[],"_postman_id":"99b462d6-2117-40d0-83af-827f61df014c"},{"name":"21. Set User Groups","id":"cd480a9a-8012-4f51-9683-628a197af46b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"<UpdateUserGroupsRequest>\r\n  <UserID>2</UserID>\r\n  <UserGroups>\r\n    <int xmlns=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">1</int>\r\n    <int xmlns=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">3002</int>\r\n  </UserGroups>\r\n</UpdateUserGroupsRequest>","options":{"raw":{"language":"xml"}}},"url":"{{serverurl}}/IntegrationServices/ThirdPartyService.svc/UpdateUserGroups?authenticationTicket={{authenticationTicket}}&userID={{userID}}","description":"<p>This <code>POST</code> request is used to assign groups to the user.</p>\n","urlObject":{"path":["IntegrationServices","ThirdPartyService.svc","UpdateUserGroups"],"host":["{{serverurl}}"],"query":[{"key":"authenticationTicket","value":"{{authenticationTicket}}"},{"key":"userID","value":"{{userID}}"}],"variable":[]}},"response":[],"_postman_id":"cd480a9a-8012-4f51-9683-628a197af46b"},{"name":"22. Get Users by GroupID","id":"9139d280-0132-4966-b060-95a0c07b8ecb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{serverurl}}/IntegrationServices/ThirdPartyService.svc/GetGroupUsers?authenticationTicket={{authenticationTicket}}&groupID=3002","description":"<p>This <code>POST</code> request is used to assign groups to the user.</p>\n","urlObject":{"path":["IntegrationServices","ThirdPartyService.svc","GetGroupUsers"],"host":["{{serverurl}}"],"query":[{"key":"authenticationTicket","value":"{{authenticationTicket}}"},{"key":"groupID","value":"3002"}],"variable":[]}},"response":[],"_postman_id":"9139d280-0132-4966-b060-95a0c07b8ecb"},{"name":"23. Set Group Users","id":"e828fb46-9201-4706-950b-02717def8883","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"<UpdateGroupUsersRequest>\r\n  <GroupID>3002</GroupID>\r\n  <GroupUsers>\r\n    <int xmlns=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">4006</int>\r\n    <int xmlns=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">2</int>\r\n  </GroupUsers>\r\n</UpdateGroupUsersRequest>","options":{"raw":{"language":"xml"}}},"url":"{{serverurl}}/IntegrationServices/ThirdPartyService.svc/UpdateGroupUsers?authenticationTicket={{authenticationTicket}}","description":"<p>This <code>POST</code> request is used to assign groups to the user.</p>\n","urlObject":{"path":["IntegrationServices","ThirdPartyService.svc","UpdateGroupUsers"],"host":["{{serverurl}}"],"query":[{"key":"authenticationTicket","value":"{{authenticationTicket}}"}],"variable":[]}},"response":[],"_postman_id":"e828fb46-9201-4706-950b-02717def8883"},{"name":"24. Create User Group","id":"711e6aa9-7cb6-4b0b-9dda-100088ba8669","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"<CreateUserGroupRequest>\r\n  <Name>Group 1</Name>  \r\n</CreateUserGroupRequest>","options":{"raw":{"language":"xml"}}},"url":"{{serverurl}}/IntegrationServices/ThirdPartyService.svc/CreateUserGroup?authenticationTicket={{authenticationTicket}}","description":"<p>This <code>POST</code> request is used to create new user group.</p>\n","urlObject":{"path":["IntegrationServices","ThirdPartyService.svc","CreateUserGroup"],"host":["{{serverurl}}"],"query":[{"key":"authenticationTicket","value":"{{authenticationTicket}}"}],"variable":[]}},"response":[],"_postman_id":"711e6aa9-7cb6-4b0b-9dda-100088ba8669"},{"name":"24. Create User","id":"bd224738-cfca-4f49-ab3a-36a9bdb0c840","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"<CreateUserRequest>\r\n  <FirstName>FirstName</FirstName>  \r\n  <LastName>LastName</LastName>  \r\n  <Email>Email3@email.com</Email>  \r\n  <RoleID>5</RoleID>  \r\n  <SuppressEmail>true</SuppressEmail>\r\n</CreateUserRequest>","options":{"raw":{"language":"xml"}}},"url":"{{serverurl}}/IntegrationServices/ThirdPartyService.svc/CreateUser?authenticationTicket={{authenticationTicket}}","description":"<p>This <code>POST</code> request is used to create new user.</p>\n<p>Available options for RoleID value:</p>\n<ul>\n<li>1 - Account Administrator</li>\n<li>2 - File Administrator</li>\n<li>3 - Template Runner</li>\n<li>5 - Xdds User</li>\n</ul>\n","urlObject":{"path":["IntegrationServices","ThirdPartyService.svc","CreateUser"],"host":["{{serverurl}}"],"query":[{"key":"authenticationTicket","value":"{{authenticationTicket}}"}],"variable":[]}},"response":[],"_postman_id":"bd224738-cfca-4f49-ab3a-36a9bdb0c840"},{"name":"25. Search","event":[{"listen":"test","script":{"id":"887106b0-abc0-48a2-9afd-32b17b110c59","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"e7dcab4b-fb30-4a7d-9d71-19f4b8d34612","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{serverurl}}/IntegrationServices/ThirdPartyService.svc/Search?authenticationTicket={{authenticationTicket}}&folderIdentifier=qHoEXOAPELXwuZHX1KaYVg==&query=dha","description":"<p>This method is used for recursive search for files in a folder on the XpressDox Server.</p>\n<p><em>Note</em>: Set search pattern to <code>{query}</code> parameter.</p>\n<p><em>Note</em>: Send an empty string for <code>{folderIdentifier}</code> to retrieve the contents starting from the root folder.</p>\n<p>This method returns a list of the <code>ServerFile</code> elements.</p>\n","urlObject":{"path":["IntegrationServices","ThirdPartyService.svc","Search"],"host":["{{serverurl}}"],"query":[{"key":"authenticationTicket","value":"{{authenticationTicket}}"},{"key":"folderIdentifier","value":"qHoEXOAPELXwuZHX1KaYVg=="},{"key":"query","value":"dha"}],"variable":[]}},"response":[],"_postman_id":"e7dcab4b-fb30-4a7d-9d71-19f4b8d34612"},{"name":"26. Get Assembly Result","event":[{"listen":"test","script":{"id":"887106b0-abc0-48a2-9afd-32b17b110c59","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"54e7db36-f33b-4b20-8a18-01d89bc3bccd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{serverurl}}/IntegrationServices/ThirdPartyService.svc/GetAssemblyResult?authenticationTicket={{authenticationTicket}}&usageIdentifier=97CE4151-F3AC-4E90-AF44-E1A986534121","description":"<p>This method is used to get assembly result XML by usageIdentifier.</p>\n<p>Input parameters: <code>{usageIdentifier},</code> <code>{authenticationTicket}</code></p>\n","urlObject":{"path":["IntegrationServices","ThirdPartyService.svc","GetAssemblyResult"],"host":["{{serverurl}}"],"query":[{"key":"authenticationTicket","value":"{{authenticationTicket}}"},{"key":"usageIdentifier","value":"97CE4151-F3AC-4E90-AF44-E1A986534121"}],"variable":[]}},"response":[],"_postman_id":"54e7db36-f33b-4b20-8a18-01d89bc3bccd"},{"name":"27. Get Template Preview","event":[{"listen":"test","script":{"id":"7d8a151d-d607-4978-abe6-2e4f4556791c","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript","packages":{}}}],"id":"a41d4160-ed95-408c-b356-f52efcb18d83","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>\r\n<PenelopePembrooke-Migraleve.xddata>\r\n  <patName>Penelope Pembrooke</patName>\r\n  <patId>234-34-5555</patId>\r\n  <patBirthDate>1964-01-15</patBirthDate>\r\n  <patDiagnosis>Migraine Headaches</patDiagnosis>\r\n  <patIcd>465; 978; 234</patIcd>\r\n  <patPharma>Warren's Family Pharmacy</patPharma>\r\n  <patPharmaPhone>624-534-5555</patPharmaPhone>\r\n  <proName>Stanley Schultz</proName>\r\n  <proSpeciality>Neuroscience</proSpeciality>\r\n  <proDea>523466452</proDea>\r\n  <proComplete>Amanda Murray</proComplete>\r\n  <proPhone>366-234-5555</proPhone>\r\n  <proFax>366-235-5555</proFax>\r\n  <medName>Migraleve</medName>\r\n  <medStrength>50mg</medStrength>\r\n  <medDirection>1 tablet 3 times daily</medDirection>\r\n  <medForm>Oral</medForm>\r\n  <medFormOther></medFormOther>\r\n  <medDuration>While symptoms last</medDuration>\r\n  <medIsOngoing>0</medIsOngoing>\r\n  <medDateInit></medDateInit>\r\n  <medRationale>Treatment with formularies proved unsuccesful. Patient suffers acute migraine attacks. When controlled patient will be managed prophylactically.</medRationale>\r\n  <hist>\r\n    <dateStart>2017-02-06</dateStart>\r\n    <dateEnd>2017-02-13</dateEnd>\r\n    <name>MigraMax</name>\r\n    <dose>1 tablet daily</dose>\r\n    <reason>Patient did not respond</reason>\r\n  </hist>\r\n  <reqFilePath></reqFilePath>\r\n  <reqDataPath></reqDataPath>\r\n  <reqFileName></reqFileName>\r\n</PenelopePembrooke-Migraleve.xddata>"},"url":"{{serverurl}}/IntegrationServices/ThirdPartyService.svc/GetTemplatePreview?authenticationTicket={{authenticationTicket}}&templateIdentifier={{templateIdentifier}}","description":"<p>This request is used to generate template preview(s).</p>\n<p>The template is identified by the <code>templateIdentifier</code>.</p>\n<p><strong>NOTE</strong>: this identifier is static. It is assigned the first time the template is uploaded to the server and remains the same even if the template is edited, renamed or moved.</p>\n<p>The data you would like to use to fill the document must be sent in XML format.</p>\n<p>A template may be coded in such a way that it returns more than one document. Therefore this request returns an array of previews. Each element has two properties <code>caption</code> and <code>content</code> where <code>content</code> is Base64 string of pdf. Use the following C# code to get byte array of the preview: <code>byte[] preview = Convert.FromBase64String(content);</code></p>\n","urlObject":{"path":["IntegrationServices","ThirdPartyService.svc","GetTemplatePreview"],"host":["{{serverurl}}"],"query":[{"key":"authenticationTicket","value":"{{authenticationTicket}}"},{"key":"templateIdentifier","value":"{{templateIdentifier}}"}],"variable":[]}},"response":[],"_postman_id":"a41d4160-ed95-408c-b356-f52efcb18d83"},{"name":"28. Get Template Preview as PDF","event":[{"listen":"test","script":{"id":"7d8a151d-d607-4978-abe6-2e4f4556791c","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript","packages":{}}}],"id":"37b2c3da-8606-41a7-a28e-f48e9953641a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>\r\n<PenelopePembrooke-Migraleve.xddata>\r\n  <patName>Penelope Pembrooke</patName>\r\n  <patId>234-34-5555</patId>\r\n  <patBirthDate>1964-01-15</patBirthDate>\r\n  <patDiagnosis>Migraine Headaches</patDiagnosis>\r\n  <patIcd>465; 978; 234</patIcd>\r\n  <patPharma>Warren's Family Pharmacy</patPharma>\r\n  <patPharmaPhone>624-534-5555</patPharmaPhone>\r\n  <proName>Stanley Schultz</proName>\r\n  <proSpeciality>Neuroscience</proSpeciality>\r\n  <proDea>523466452</proDea>\r\n  <proComplete>Amanda Murray</proComplete>\r\n  <proPhone>366-234-5555</proPhone>\r\n  <proFax>366-235-5555</proFax>\r\n  <medName>Migraleve</medName>\r\n  <medStrength>50mg</medStrength>\r\n  <medDirection>1 tablet 3 times daily</medDirection>\r\n  <medForm>Oral</medForm>\r\n  <medFormOther></medFormOther>\r\n  <medDuration>While symptoms last</medDuration>\r\n  <medIsOngoing>0</medIsOngoing>\r\n  <medDateInit></medDateInit>\r\n  <medRationale>Treatment with formularies proved unsuccesful. Patient suffers acute migraine attacks. When controlled patient will be managed prophylactically.</medRationale>\r\n  <hist>\r\n    <dateStart>2017-02-06</dateStart>\r\n    <dateEnd>2017-02-13</dateEnd>\r\n    <name>MigraMax</name>\r\n    <dose>1 tablet daily</dose>\r\n    <reason>Patient did not respond</reason>\r\n  </hist>\r\n  <reqFilePath></reqFilePath>\r\n  <reqDataPath></reqDataPath>\r\n  <reqFileName></reqFileName>\r\n</PenelopePembrooke-Migraleve.xddata>"},"url":"{{serverurl}}/IntegrationServices/ThirdPartyService.svc/GetTemplatePreview?authenticationTicket={{authenticationTicket}}&templateIdentifier={{templateIdentifier}}","description":"<p>This request is used to generate template preview(s).</p>\n<p>The template is identified by the <code>templateIdentifier</code>.</p>\n<p><strong>NOTE</strong>: this identifier is static. It is assigned the first time the template is uploaded to the server and remains the same even if the template is edited, renamed or moved.</p>\n<p>The data you would like to use to fill the document must be sent in XML format.</p>\n<p>A template may be coded in such a way that it returns more than one document. Therefore this request returns an array of previews. Each element has two properties <code>caption</code> and <code>content</code> where <code>content</code> is Base64 string of pdf. Use the following C# code to get byte array of the preview: <code>byte[] preview = Convert.FromBase64String(content);</code></p>\n","urlObject":{"path":["IntegrationServices","ThirdPartyService.svc","GetTemplatePreview"],"host":["{{serverurl}}"],"query":[{"key":"authenticationTicket","value":"{{authenticationTicket}}"},{"key":"templateIdentifier","value":"{{templateIdentifier}}"}],"variable":[]}},"response":[],"_postman_id":"37b2c3da-8606-41a7-a28e-f48e9953641a"},{"name":"Interview Integration - JavaScript and iFrame","id":"0c31f424-747b-4ab7-a9dd-e2646538e62e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"VIEW","header":[],"url":"","description":"<p>Over and above the API (Server to Server Communication), XpressDox also offers Interview Integration. (3rd Party Server to Browser to XpressDox Server Communication)</p>\n<h4 id=\"integration-information\">Integration Information</h4>\n<p>The XpressDox Server provides code snippets to make integration of interviews really easy for you. To access these snippets:</p>\n<ul>\n<li><p>Sign in to your XpressDox Cloud or Server account</p>\n</li>\n<li><p>Click to view any interview</p>\n</li>\n<li><p>Click the <code>Include Interview in your Page</code> link on the left hand side of the page</p>\n</li>\n<li><p>Set your preferences and click the <code>Show Me How</code> button</p>\n</li>\n<li><p>JavaScript and iFrame code snippets (including explanatory comments) you need to integrate the template interview with your page will be generated automatically for you</p>\n</li>\n</ul>\n<p>We recommend you use the JavaScript integration so that you have more control over the interview in your page. We supply the following JavaScript methods <em>once the interview is loaded</em>:</p>\n<ul>\n<li><p><code>xdInterview.mask(message);</code> This adds the loading overlay to the interview with the custom <code>message</code> text.</p>\n</li>\n<li><p><code>xdInterview.unmask();</code> This removes the loading overlay.</p>\n</li>\n<li><p><code>xdInterview.getInterviewData();</code> This method returns the interview data in xml format.</p>\n</li>\n<li><p><code>xdInterview.getInterviewDataBase64();</code> This method returns the interview data in base64 format.</p>\n</li>\n<li><p><code>xdInterview.getCleanInterviewData();</code> This method returns the interview data in xml format but with specified elements removed. Command <a href=\"https://learningcenter.xpressdox.com/reference/excludefromdataset/\">ExcludeFromDataSet</a> is used to exclude data elements.</p>\n</li>\n<li><p><code>xdInterview.getCleanInterviewDataBase64();</code> This method returns the interview data in base64 format but with specified elements removed. Command <a href=\"https://learningcenter.xpressdox.com/reference/excludefromdataset/\">ExcludeFromDataSet</a> is used to exclude data elements.</p>\n</li>\n<li><p><code>xdInterview.navigatetoURL(navigateURL);</code> This method redirects the page, without the \"leaving page message\", to the provided URL.</p>\n</li>\n<li><p><code>xdInterview.getButtonAssembleText();</code> This method returns the 'Assemble' button text. Useful for localization purposes.</p>\n</li>\n<li><p><code>xdInterview.validate();</code> This method validates the interview for any required fields or configured rules.</p>\n</li>\n<li><p><code>xdInterview.SetInterviewSize(size);</code> This method sets the interview size. Available options:<br />  \"small\", \"medium\", \"large\", \"xlarge\"</p>\n</li>\n<li><p><code>xdInterview.assemble(additionalParams, shouldOutputErrorMessage);</code> This method triggers the assembly process. The interview will be validated before the assembly is performed.</p>\n</li>\n<li><p><code>xdInterview.moveToNextTab();</code> If the interview has tabs - this method will move to the next tab.</p>\n</li>\n<li><p><code>xdInterview.moveToPreviousTab();</code> If interview has tabs - this method will move to the previous tab.</p>\n</li>\n<li><p><code>xdInterview.previewDocument();</code> This method will preview the document, given the current data.</p>\n</li>\n<li><p><code>IntegrationManager.LoadData();</code> This method will re-load data set to hidden field xdInitialData. Data must be base64 encoded. If you have xml data - use the following JS transformation: <code>var encodedData = btoa(unescape(encodeURIComponent(yourXmlString)))</code></p>\n</li>\n<li><p><code>IntegrationManager.LoadXDInterview();</code> This method will reload interview on the page.</p>\n</li>\n</ul>\n<p>We supply the following JavaScript event/hooks <em>once the interview is loaded</em>:</p>\n<ul>\n<li><p><code>function xdox_OnCustomClick() { }</code> XpressDox will call this method when the custom button is clicked. Used with this command: <a href=\"http://xpressdox.com/single/SetWebCustomButton\">SetWebCustomButton</a></p>\n</li>\n<li><p><code>function xdox_OnTabShown(totalNumberOfTabs, currentTabIndex, currentTabTitle) { }</code> XpressDox will call this method when a tab is clicked. Please note currentTabIndex is 1 based.</p>\n</li>\n<li><p><code>function xdox_OnInterviewLoaded(interviewTitle) { }</code> XpressDox will call this method with <code>interviewTitle</code> once the interview is loaded and displayed on your page.</p>\n</li>\n<li><p><code>function xdox_OnAssembleClick() { }</code> XpressDox will call this method when the 'Assemble' button is clicked. If your implementation returns false, the XpressDox code will no longer assemble the document nor redirect to another page.</p>\n</li>\n<li><p><code>function xdox_OnAssemblyComplete(AssemblyResultObject) { }</code> This method will only run if there is no redirect URL configured. XpressDox will call this method when the Assembly Process is complete, just before the assembly result is displayed. If your implementation returns false, no further XpressDox code will execute. The AssemblyResult object will be passed to your method.</p>\n</li>\n<li><p><code>function xdox_OnControlEntered (dataElementName) { }</code> XpressDox will call this method when the control receives focus.</p>\n</li>\n<li><p><code>function xdox_OnInterviewSetUp() { }</code> XpressDox will call this method when interview is setting up.</p>\n</li>\n<li><p><code>function xdox_OnInterviewAssembleError(error) { }</code> XpressDox will call this method when an error occurs during assembly process.</p>\n</li>\n<li><p><code>function xdox_OnSaveClick() { }</code> XpressDox will call this method when the 'Save Data' button clicked.</p>\n</li>\n<li><p><code>function xdox_OnShowWizardSubForm() { }</code> XpressDox will call this method when a sub-form shown.</p>\n</li>\n<li><p><code>function xdox_OnPreviewDocumentStarted() { }</code> XpressDox will call this method on the click of the 'Preview' link.</p>\n</li>\n<li><p><code>function xdox_OnPreviewDocumentFinished() { }</code> XpressDox will call this method when the document preview is complete.</p>\n</li>\n</ul>\n<p>An example of these methods being implemented is as follows: <code>function xdox_OnCustomClick() {console.log(\"The user clicked the custom web button\"); }</code></p>\n<p>In addition, the following commands can be used in the template for further customization:</p>\n<ul>\n<li><p><a href=\"http://xpressdox.com/single/SetWebReturnURL\">SetWebReturnURL</a></p>\n</li>\n<li><p><a href=\"http://xpressdox.com/single/SetWebButtonText\">SetWebButtonText</a></p>\n</li>\n<li><p><a href=\"http://xpressdox.com/single/SetWebCustomButton\">SetWebCustomButton</a></p>\n</li>\n<li><p><a href=\"http://xpressdox.com/single/SendWebEmail\">SendWebEmail</a></p>\n</li>\n<li><p><a href=\"http://xpressdox.com/single/SetWebInterimSaveButton\">SetWebInterimSaveButton</a></p>\n</li>\n<li><p><a href=\"http://xpressdox.com/single/SetWebInterviewSize\">SetWebInterviewSize</a></p>\n</li>\n</ul>\n","urlObject":{"query":[],"variable":[]}},"response":[],"_postman_id":"0c31f424-747b-4ab7-a9dd-e2646538e62e"}]}