{"info":{"_postman_id":"078273dc-d821-4769-ba16-8911222025a3","name":"Cadence REST API (SF)","description":"<html><head></head><body><h2 id=\"get-started-here\">Get started here</h2>\n<p>Welcome!</p>\n<p>Documentation on how Clients can interact with Cadence via our API.</p>\n<h2 id=\"what-is-possible\"><strong>What is possible?</strong></h2>\n<p>The API will enable you to -</p>\n<ul>\n<li><p>create requests for:</p>\n<ul>\n<li><p>Transcripts</p>\n</li>\n<li><p>Interpretation (Remote and In-person)</p>\n</li>\n<li><p>Moderation</p>\n</li>\n<li><p>Document Translation</p>\n</li>\n</ul>\n</li>\n<li><p>cancel &amp; edit requests</p>\n</li>\n<li><p>get the public status of requests</p>\n</li>\n<li><p>check the health status of our API</p>\n</li>\n</ul>\n<h2 id=\"need-some-help\"><strong>Need some help?</strong></h2>\n<p><a href=\"https://mailto:bookings@cadencetranslate.com\">bookings@cadencetranslate.com</a></p>\n<p>Proudly built on Salesforce.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"578432","collectionId":"078273dc-d821-4769-ba16-8911222025a3","publishedId":"S11Bz39S","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2025-07-30T06:51:47.000Z"},"item":[{"name":"Authentication","item":[{"name":"Generate access token","event":[{"listen":"test","script":{"id":"f7d31fa9-a9c3-4b1f-805d-69c868457f94","exec":["// Fixed the failing response time test","pm.test(\"Response status code is 200\", function () {","    pm.response.to.have.status(200);","});","","// Response has the required fields","pm.test(\"Response has the required fields\", function () {","    const responseData = pm.response.json();","    ","    pm.expect(responseData).to.be.an('object');","    pm.expect(responseData).to.have.property('access_token'); // Check for access token","    pm.expect(responseData).to.have.property('instance_url'); // Check for instance URL","    pm.expect(responseData).to.have.property('id'); // Check for ID","    pm.expect(responseData).to.have.property('token_type'); // Check for token type","    pm.expect(responseData).to.have.property('issued_at'); // Check for issued at","    pm.expect(responseData).to.have.property('signature'); // Check for signature","});","","// Access token is a non-empty string","pm.test(\"Access token is a non-empty string\", function () {","    const responseData = pm.response.json();","    ","    pm.expect(responseData.access_token).to.be.a('string').and.to.have.lengthOf.at.least(1, \"Access token should not be empty\");","});","","// Instance URL is a valid URL format","pm.test(\"Instance URL is a valid URL format\", function () {","    const responseData = pm.response.json();","    ","    pm.expect(responseData.instance_url).to.match(/^https?:\\/\\/\\w+/);","});",""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"5394f5f1-1b84-4343-9375-ad1591ce986f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"urlencoded","urlencoded":[]},"url":"","description":"<h3 id=\"request-description\">Request Description</h3>\n<p>This endpoint makes an HTTP POST request to obtain a token by providing the user's credentials and client details in the request URL.</p>\n<h3 id=\"response\">Response</h3>\n<p>The response for this request is a JSON object with the following properties:</p>\n<ul>\n<li><p><code>access_token</code> [string]: The access token obtained.</p>\n</li>\n<li><p><code>instance_url</code> [string]: The instance URL.</p>\n</li>\n<li><p><code>id</code> [string]: The ID.</p>\n</li>\n<li><p><code>token_type</code> [string]: The type of token.</p>\n</li>\n<li><p><code>issued_at</code> [string]: The timestamp at which the token was issued.</p>\n</li>\n<li><p><code>signature</code> [string]: The signature of the token.</p>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"078273dc-d821-4769-ba16-8911222025a3","id":"078273dc-d821-4769-ba16-8911222025a3","name":"Cadence REST API (SF)","type":"collection"}},"urlObject":{"query":[],"variable":[]}},"response":[{"id":"d065a547-fbb2-45ef-80d9-4990b21a502e","name":"Generate access token","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://login.salesforce.com/services/oauth2/token?grant_type=password&client_id=&client_secret=&username={{username}}&password={{password}}","host":["https://login.salesforce.com/services/oauth2/token"],"query":[{"key":"grant_type","value":"password","description":"set to 'password'"},{"key":"client_id","value":"","description":"provided by Cadence; ID from the connected app definition"},{"key":"client_secret","value":"","description":"provided by Cadence; secret from the connected app definition"},{"key":"username","value":"{{username}}","description":"end-user’s {username}; usually email address.\n\n"},{"key":"password","value":"{{password}}","description":"end-user’s {password + security token}; concatenation the 2 parametres password AND security token."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 24 Apr 2024 05:01:07 GMT"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Cache-Control","value":"no-cache,must-revalidate,max-age=0,no-store,private"},{"key":"Expires","value":"Thu, 01 Jan 1970 00:00:00 GMT"},{"key":"X-ReadOnlyMode","value":"false"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"access_token\": \"060000089!AsagQEAQ2socB5rs23ac0mOmybrCqlfgngWyc425fsZS052vkffNYsFIU6m25ggkre.RqszFn4WJGjDv1Gq.WPhew25OXAvNeIDy1m\",\n    \"instance_url\": \"https://cadencetranslate.my.salesforce.com\",\n    \"id\": \"https://login.salesforce.com/id/00D460000016P89EAE/0058Y00000BIySBQA1\",\n    \"token_type\": \"Bearer\",\n    \"issued_at\": \"1713934868154\",\n    \"signature\": \"haoMe3ascwt+x/oWhwbtTv1QFN0yPi/v4kslSAe+JaM=\"\n}"}],"_postman_id":"5394f5f1-1b84-4343-9375-ad1591ce986f"}],"id":"9148257f-0291-4bf1-9641-0834751c7063","description":"<p>The oauth2/token endpoint lets you generate an authentication token.</p>\n<h1 id=\"about-the-security-token\">About the security token</h1>\n<h3 id=\"expiration\">Expiration</h3>\n<p>The token has no expiration date. Please contact Cadence if you believe your token has expired.</p>\n","_postman_id":"9148257f-0291-4bf1-9641-0834751c7063","auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"078273dc-d821-4769-ba16-8911222025a3","id":"078273dc-d821-4769-ba16-8911222025a3","name":"Cadence REST API (SF)","type":"collection"}}},{"name":"API Health Check","item":[{"name":"Get API status","event":[{"listen":"test","script":{"id":"447891af-102a-4adb-8dc4-702131738807","exec":["","pm.test(\"Response time is within acceptable range\", function () {","  pm.expect(pm.response.responseTime).to.be.below(200);","});","","","pm.test(\"Response time is less than 200ms\", function () {","    pm.expect(pm.response.responseTime).to.be.below(200);","});","","pm.test(\"The response should be in JSON format\", function () {","    pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");","});","","pm.test(\"Response status code is 200\", function () {","  pm.expect(pm.response.code).to.equal(200);","});","","","pm.test(\"Message field is a non-empty string and contains the expected message\", function () {","  const responseData = pm.response.json();","","  pm.expect(responseData.message).to.be.a('string').and.to.not.be.empty;","  pm.expect(responseData.message).to.equal(\"Service is up and running.\");","});","",""],"type":"text/javascript","packages":{}}}],"id":"e213b462-6b6e-467e-8d8d-37fdb8303402","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Authorization","name":"Content-Type","type":"text","value":"Bearer {access_token}"}],"url":"https://cadencetranslate.my.salesforce.com/services/apexrest/status","description":"<p>Use this request to verify whether API is healthy or not. When service is operational, a response like below is expected.</p>\n<p><code>Content-Type</code> application/json</p>\n<p><code>Status Code</code> 200</p>\n<p><code>Response</code> {\"message\": \"Service is up and running.\"}</p>\n","urlObject":{"host":["https://cadencetranslate.my.salesforce.com/services/apexrest/status"],"query":[],"variable":[]}},"response":[{"id":"ee52ee72-f28c-4b2c-9c40-653143557442","name":"Get API status","originalRequest":{"method":"GET","header":[{"key":"Authorization","name":"Content-Type","type":"text","value":"Bearer {access_token}"}],"url":"https://cadencetranslate.my.salesforce.com/services/apexrest/status"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 19 Apr 2024 04:51:23 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Robots-Tag","value":"none"},{"key":"Cache-Control","value":"no-cache,must-revalidate,max-age=0,no-store,private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Server","value":"sfdcedge"},{"key":"X-SFDC-Request-Id","value":"963bef8b43295e3aa9be02a6af71c696"},{"key":"X-SFDC-Edge-Cache","value":"MISS"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Service is up and running.\"\n}"}],"_postman_id":"e213b462-6b6e-467e-8d8d-37fdb8303402"}],"id":"e9972b50-964f-4f73-9f73-db6716a0e1ed","_postman_id":"e9972b50-964f-4f73-9f73-db6716a0e1ed","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"078273dc-d821-4769-ba16-8911222025a3","id":"078273dc-d821-4769-ba16-8911222025a3","name":"Cadence REST API (SF)","type":"collection"}}},{"name":"Service Request V3","item":[{"name":"Create new transcript","event":[{"listen":"test","script":{"id":"1a41a467-a62a-40d0-ad02-be9e95a160b8","exec":["","pm.test(\"Response status code is 201\", function () {","    pm.response.to.have.status(201);","});","","","pm.test(\"Validate the response schema for the required fields - id, success, and errors\", function () {","    const responseData = pm.response.json();","    ","    pm.expect(responseData).to.be.an('object');","    pm.expect(responseData.id).to.be.a('string');","    pm.expect(responseData.success).to.be.a('boolean');","    pm.expect(responseData.errors).to.be.an('array');","});","","","pm.test(\"Response time is within acceptable limit\", function () {","    pm.expect(pm.response.responseTime).to.be.below(300);","});","","","pm.test(\"Start date is in the format YYYY-MM-YY and corresponds to today's date\", function () {","    const responseData = pm.response.json();","    ","    pm.expect(responseData.StartDate).to.match(/^\\d{4}-\\d{2}-\\d{2}$/);","    pm.expect(responseData.StartDate).to.equal(new Date().toISOString().slice(0, 10));","});","",""],"type":"text/javascript","packages":{}}}],"id":"27264e01-417a-412a-8d98-e7d618b24579","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    // Client Account ID\n    \"AccountId\": \"0014600000WYJKfAAP\",\n    // Initials for Salesforce\n    \"RecordTypeId\": \"0121M000001gzLSQAY\", //Record type = transcript\n    \"Status\": \"Pending\",\n    // Audio Link\n    \"Audio_link__c\": \"https://callrecordings.s3.aws.com/asd3v88sj3bc-1nchj212.mp3\",\n    // Transcript Order Details\n    \"Transcript_type__c\": \"Machine\", // e.g. Machine OR Human\n    \"TAT__c\": \"24 hours\",\n    \"Source_Language__c\": \"English\",\n    \"Target_Language__c\": \"English\",\n    \"Recording_required__c\": \"true\",\n    // Transcript Information\n    \"StartDate\": \"2024-04-12T17:30:53+00:00\",\n    \"Industry__c\": \"Chemicals\",\n    \"Subject\": \" TEST TEST TEST - Watch market in Europe\", //usually the title of the transcript\n    \"Project_code__c\": \"333435\",\n    \"Moderator_Name__c\": \"Moderator\",\n    \"Expert_Name_1__c\": \"Expert_name_1\",\n    \"Expert_Name_2__c\": \"Expert_name_2\",\n    \"Description\": \"The details of the transcript\",\n    \"Glossary__c\": \"Glossary terms\",\n    // Callback Details\n    \"HttpCallbackURL__c\": \"https://clientdomain.com/cadencetranslate-callback\",\n    \"HttpCallbackMethod__c\": \"POST\",\n    \"HttpCallbackHeaders__c\": \"Authorization: Bearer zyx\\nCustom-header: Custom-value\"\n}"},"url":"https://cadencetranslate.my.salesforce.com/services/data/v49.0/sobjects/WorkOrder/","description":"<p>Key value pairs</p>\n<p><strong>// Initials for Salesforce</strong></p>\n<p><code>AccountId</code> [string] - an 18-character account ID which Cadence will provide<br /><code>RecordTypeId</code> [string] - set to \"0121M000001gzLSQAY\"<br /><code>Status</code> [string] - initially set to 'Pending'</p>\n<p><strong>// Transcript Order Details</strong><br /><code>Audio_link__c</code> [URL/string] - URL for the source recording<br /><code>TAT__c</code> [enum/string] - indicates desired turnaround time. There are three options: \"2 hours\", \"24 hours\", and \"48 hours\".<br /><code>Source_language__c</code> [enum/string] - language of the audio provided<br /><code>Target_language__c</code> [enum/string] - language of the transcript</p>\n<p><strong>// Transcript Information</strong><br /><code>Subject</code> [string] - name of the transcript, typically the name of the project (e.g., \"Watch market in Europe\")<br /><code>StartDate</code> [date/UTC] - UTC date in YYYY-MM-DD format, should correspond to today's date<br /><code>Description</code> [string] - a text field (character limit: 32,000) for any relevant metadata, such as:</p>\n<ul>\n<li><p>Names of call participants</p>\n</li>\n<li><p>Biography of expert</p>\n</li>\n</ul>\n<p><code>Project_code__c</code> [string] - primary identifier in clients' database<br /><code>Transcript_type__c</code> [enum/string] - set to \"Machine\" or \"Human\". Default is \"Human\"<br /><code>Output_file_format__c</code> [enum/string] - set to \"Docx\", \"Pdf\", \"Json\", \"Srt\", \"Vtt\", \"Text\". Default is \"Docx\"</p>\n<h3 id=\"language-options\">Language options:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>Source_language__c</code>  <br /><code>Target_language__c</code></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>English  <br />Mandarin  <br />Japanese  <br />Korean  <br />French  <br />Spanish  <br />German  <br />Arabic  <br />Bahasa Indonesia  <br />Bulgarian  <br />Cantonese  <br />Catalan  <br />Croatian  <br />Czech  <br />Danish  <br />Dutch  <br />Finnish  <br />Greek  <br />Hebrew  <br />Hindi  <br />Hungarian  <br />Italian  <br />Lithuanian  <br />Malay  <br />Norwegian  <br />Polish  <br />Portuguese  <br />Romanian  <br />Russian  <br />Slovak  <br />Swedish  <br />Thai  <br />Turkish  <br />Ukrainian  <br />Vietnamese</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"optional-parameters\">Optional parameters</h2>\n<p><code>Moderator_Name__c</code> [string] - Specifies the name of the moderator.<br /><code>Expert_Name_1__c</code> [string] - Specified the name of the first expert.<br /><code>Expert_Name_2__c</code>[string] - Specifies the name of the second expert.<br /><code>Expert_Name_3__c</code> [string] - Specifies the name of the third expert.<br /><code>Expert_Name_4__c</code> [string] - Specifies the name of the fourth expert.<br /><code>Organization_Name__c</code> [string] - Specifies the name of the organization that are included in the transcript.<br /><code>End_client_s_name__c</code> [string] - Specifies the name of the end client.<br /><code>Delivery_email__c</code>[email/string] - Specifies the end client emails.<br /><code>Glossary__c</code> [string] - Store all glossary items associated with the audio.</p>\n<p><code>Message_to_cadence__c</code> [string] - This is to input any additional information/specific instructions to Cadence.<br /><code>Recording_required__c</code> [boolean] - Specifies whether a recording is required. Set it as \"true\". The default is \"false\"</p>\n<p><code>Industry__c</code> [enum/string] - This is the industry of the project. Please set it as below:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>Industry__c</code></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Agriculture and Mining</td>\n</tr>\n<tr>\n<td>Automotive</td>\n</tr>\n<tr>\n<td>Business Services</td>\n</tr>\n<tr>\n<td>Chemicals</td>\n</tr>\n<tr>\n<td>Computer and Electronics</td>\n</tr>\n<tr>\n<td>Consumer Services</td>\n</tr>\n<tr>\n<td>Education</td>\n</tr>\n<tr>\n<td>Energy and Utilities</td>\n</tr>\n<tr>\n<td>Environmental Services</td>\n</tr>\n<tr>\n<td>Financial Services</td>\n</tr>\n<tr>\n<td>Government</td>\n</tr>\n<tr>\n<td>Health, Pharmaceuticals, and Biotech</td>\n</tr>\n<tr>\n<td>Manufacturing</td>\n</tr>\n<tr>\n<td>Media and Entertainment</td>\n</tr>\n<tr>\n<td>Non-profit</td>\n</tr>\n<tr>\n<td>Real Estate and Construction</td>\n</tr>\n<tr>\n<td>Retail</td>\n</tr>\n<tr>\n<td>Software and Internet</td>\n</tr>\n<tr>\n<td>Telecommunications</td>\n</tr>\n<tr>\n<td>Transportation and Storage</td>\n</tr>\n<tr>\n<td>Travel Recreation and Leisure</td>\n</tr>\n<tr>\n<td>Wholesale and Distribution</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"error-callback\">Error Callback</h2>\n<p>We provide a callback in order to proactively notify clients of errors.</p>\n<p><code>HttpCallbackURL__c</code> [URL/string] - URL to push status updates</p>\n<p><code>HttpCallbackMethod__c</code> [enum/string]- Enum</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>HttpCallbackMethod__c</code></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>GET</td>\n</tr>\n<tr>\n<td>POST</td>\n</tr>\n<tr>\n<td>PATCH</td>\n</tr>\n<tr>\n<td>PUT</td>\n</tr>\n<tr>\n<td>DELETE</td>\n</tr>\n</tbody>\n</table>\n</div><p><code>HttpCallbackHeaders__c</code>: Optional TextField to specify additional headers.</p>\n<p>Headers should be a key value pairs separated by semicolon.</p>\n<p>Each key on the new line.</p>\n<p>Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">Authorization: Bearer xyz\nCustom-Header-1: Custom-Value\n\n</code></pre>\n<h1 id=\"responses\">Responses</h1>\n<p>A <code>200 OK</code> response will return a unique 18-character identifer that is used by Salesforce.</p>\n<p>[UPDATE PENDING]</p>\n<h1 id=\"status-callback\">Status callback</h1>\n<h3 id=\"events\">Events</h3>\n<p>Requested job status has changed to one of the:</p>\n<ul>\n<li><p>Pending</p>\n</li>\n<li><p>Accepted - in Progress</p>\n</li>\n<li><p>Complete - Delivery Failure</p>\n</li>\n<li><p>Complete - Delivery Success</p>\n</li>\n<li><p>Canceled</p>\n</li>\n<li><p>Error</p>\n</li>\n</ul>\n<h3 id=\"callback-request-body\">Callback request body</h3>\n<p><code>request_id</code>: Created request Id</p>\n<p><code>status</code>: Enum {<code>Pending</code>, <code>Accepted - in Progress</code>, <code>Complete - Delivery Failure</code>, <code>Complete - Delivery Success</code>, <code>Canceled</code>, <code>Error</code>}</p>\n<p><code>details</code>: nullable string with errors.<br />Additional details we might tell you accompanying failed status</p>\n<p>Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"request_id\": \"AX12351C1\",\n    \"status\": \"Pending\",\n    \"details\": null\n}\n\n</code></pre>\n<h3 id=\"how-to-use\">How to Use</h3>\n<p><strong>Set up a listener:</strong> The client needs to set up a webserver listener at a specific URL to receive the callbacks. This URL is often referred to as the “HttpCallbackURL”.</p>\n<p><strong>Specify http callback details:</strong> When requesting transcription, add necessary fields</p>\n<h3 id=\"retries\">Retries</h3>\n<p>Status callback will have 5 retries to deliver status updates with exponentially increasing waiting time between the requests.</p>\n<p>Succsesfull response is consdiered with http respnse status of <code>2xx</code></p>\n","urlObject":{"host":["https://cadencetranslate.my.salesforce.com/services/data/v49.0/sobjects/WorkOrder/"],"query":[],"variable":[]}},"response":[{"id":"8e1bb6e2-f1f3-4c0e-b789-ed7fe6957d02","name":"Add a transcript for project \"Watch market in Europe\"","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {access_token}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"AccountId\": \"0014600000WYJKfAAP\",\n    \"RecordTypeId\": \"0121M000001gzLSQAY\",\n    \"StartDate\": \"2023-09-15\",\n    \"Audio_link__c\":\"https://callrecordings.s3.aws.com/asd3v88sj3bc-1nchj212.mp3\",\n    \"TAT__c\":\"24 hours\",\n    \"Recording_required__c\":\"true\",\n    \"Status\": \"Greenlight received\",\n    \"Subject\": \"Watch market in Europe\",\n    \"Transcript_type__c\": \"Machine\",\n    \"Output_file_format__c\": \"Text\",\n    \"Source_language__c\": \"English\",\n    \"Target_language__c\":\"Mandarin\",\n    \"Project_code__c\": \"333435\",\n    \"Description\": \"The details of the transcript\",\n    \"Industry__c\": \"Chemicals\",\n    \"JSON_transcript__c\": \"true\",\n    \"HttpCallbackURL__c\": \"https://clientdomain.com/cadencetranslate-callback\",\n    \"HttpCallbackMethod__c\": \"POST\",\n    \"HttpCallbackHeaders__c\": \"Authorization: Bearer zyx\\nCustom-header: Custom-value\"\n}","options":{"raw":{"language":"json"}}},"url":"https://cadencetranslate.my.salesforce.com/services/data/v49.0/sobjects/WorkOrder/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"0061h000009b3vjAAA\",\n    \"success\": true,\n    \"errors\": []\n}"}],"_postman_id":"27264e01-417a-412a-8d98-e7d618b24579"},{"name":"Get public status","event":[{"listen":"test","script":{"id":"c94d418a-bffd-4a7c-8c17-a1aaedd54e91","exec":["","pm.test(\"Response status code is 200\", function () {","    pm.response.to.have.status(200);","});","","","pm.test(\"Response time is less than 500ms\", function () {","  pm.expect(pm.response.responseTime).to.be.below(500);","});","","","pm.test(\"Response has the required fields\", function () {","    const responseData = pm.response.json();","    ","    pm.expect(responseData).to.be.an('object');","    pm.expect(responseData).to.have.property('attributes');","    pm.expect(responseData).to.have.property('PublicStatus__c');","    pm.expect(responseData).to.have.property('Id');","});","","","pm.test(\"PublicStatus__c should be one of the expected values\", function () {","  const responseData = pm.response.json();","  const expectedValues = [\"Pending\", \"Accepted - in Progress\", \"Complete - Delivery Failure\", \"Complete - Delivery Success\", \"Canceled\", \"Error\"];","  ","  pm.expect(responseData.PublicStatus__c).to.be.oneOf(expectedValues);","});","",""],"type":"text/javascript","packages":{}}}],"id":"593f3afd-ad36-402d-be55-540e3b41f46c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Authorization","name":"Content-Type","type":"text","value":"Bearer {access_token}"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://cadencetranslate.my.salesforce.com/services/data/v49.0/sobjects/WorkOrder//{{record_ID}}?fields=PublicStatus__c, API_publicStatus_errorMessage__c","description":"<p>Use this to request the status of an ongoing transcript request. This will result in one of the following values for <code>PublicStatus__c</code> being returned:</p>\n<ul>\n<li>Pending</li>\n<li>Accepted - in Progress</li>\n<li>Complete - Delivery Failure</li>\n<li>Complete - Delivery Success</li>\n<li>Canceled</li>\n<li>Error</li>\n</ul>\n<p><code>API_publicStatus_errorMessage__c</code></p>\n<p>A custom message from Cadence explaining the error.</p>\n","urlObject":{"path":["{{record_ID}}"],"host":["https://cadencetranslate.my.salesforce.com/services/data/v49.0/sobjects/WorkOrder/"],"query":[{"key":"fields","value":"PublicStatus__c, API_publicStatus_errorMessage__c"}],"variable":[]}},"response":[{"id":"dc40d3cb-f073-42e0-819d-46bbd74c46a8","name":"Get public status","originalRequest":{"method":"GET","header":[{"key":"Authorization","name":"Content-Type","type":"text","value":"Bearer {access_token}"}],"url":{"raw":"https://cadencetranslate.my.salesforce.com/services/data/v49.0/sobjects/WorkOrder//{{record_ID}}?fields=PublicStatus__c","host":["https://cadencetranslate.my.salesforce.com/services/data/v49.0/sobjects/WorkOrder/"],"path":["{{record_ID}}"],"query":[{"key":"fields","value":"PublicStatus__c"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 24 Apr 2024 05:48:54 GMT"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-SFDC-REQUEST-CHECK","value":"2"},{"key":"ETag","value":"\"odl/mviL+C8wF9Pbab61lGsnDU86F2bO9ONARcRH7a4=--gzip\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Sforce-Limit-Info","value":"api-usage=24972/158000"},{"key":"Cache-Control","value":"no-cache,must-revalidate,max-age=0,no-store,private"},{"key":"X-Robots-Tag","value":"none"},{"key":"Server","value":"sfdcedge"},{"key":"X-SFDC-Request-Id","value":"6d6f4e4035fce06ebbf7af0930e170b7"},{"key":"X-SFDC-Edge-Cache","value":"MISS"}],"cookie":[],"responseTime":null,"body":"{\n    \"attributes\": {\n        \"type\": \"WorkOrder\",\n        \"url\": \"/services/data/v49.0/sobjects/WorkOrder/0WOQm00HUTOA4\"\n    },\n    \"PublicStatus__c\": \"Canceled\",\n    \"Id\": \"0WOQm000002EHUTOA4\"\n}"}],"_postman_id":"593f3afd-ad36-402d-be55-540e3b41f46c"},{"name":"https://cadencetranslate.my.salesforce.com/services/data/v49.0/sobjects/WorkOrder//{{record_ID}}?fields=PublicStatus__c,Notification__sObject__Id","event":[{"listen":"test","script":{"id":"c94d418a-bffd-4a7c-8c17-a1aaedd54e91","exec":["","pm.test(\"Response status code is 200\", function () {","    pm.response.to.have.status(200);","});","","","pm.test(\"Response time is less than 500ms\", function () {","  pm.expect(pm.response.responseTime).to.be.below(500);","});","","","pm.test(\"Response has the required fields\", function () {","    const responseData = pm.response.json();","    ","    pm.expect(responseData).to.be.an('object');","    pm.expect(responseData).to.have.property('attributes');","    pm.expect(responseData).to.have.property('PublicStatus__c');","    pm.expect(responseData).to.have.property('Id');","});","","","pm.test(\"PublicStatus__c should be one of the expected values\", function () {","  const responseData = pm.response.json();","  const expectedValues = [\"Pending\", \"Accepted - in Progress\", \"Complete - Delivery Failure\", \"Complete - Delivery Success\", \"Canceled\", \"Error\"];","  ","  pm.expect(responseData.PublicStatus__c).to.be.oneOf(expectedValues);","});","",""],"type":"text/javascript","packages":{}}}],"id":"eab5770b-0b4c-4dcf-99d0-a2cd2c3c7803","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"Bearer {access_token}","type":"text"}],"url":"https://cadencetranslate.my.salesforce.com/services/data/v49.0/sobjects/WorkOrder//{{record_ID}}?fields=PublicStatus__c,Sonix_ID__c","urlObject":{"path":["{{record_ID}}"],"host":["https://cadencetranslate.my.salesforce.com/services/data/v49.0/sobjects/WorkOrder/"],"query":[{"key":"fields","value":"PublicStatus__c,Sonix_ID__c"}],"variable":[]}},"response":[],"_postman_id":"eab5770b-0b4c-4dcf-99d0-a2cd2c3c7803"},{"name":"Get transcript link","event":[{"listen":"test","script":{"id":"3920428b-f04c-48bb-9ccd-e0fc224b4eae","exec":["","pm.test(\"Response status code is 200\", function () {","    pm.response.to.have.status(200);","});","","","pm.test(\"Response time is less than 200ms\", function () {","  pm.expect(pm.response.responseTime).to.be.below(200);","});","","","pm.test(\"Attributes, Final_Deliverable__c, and Id properties exist in the response\", function () {","    const responseData = pm.response.json();","    ","    pm.expect(responseData).to.be.an('object');","    pm.expect(responseData.attributes).to.exist.and.to.be.an('object');","    pm.expect(responseData.Final_Deliverable__c).to.exist;","    pm.expect(responseData.Id).to.exist;","});","","","pm.test(\"Validate that Final_Deliverable__c is either null or a non-empty string\", function () {","  const responseData = pm.response.json();","","  pm.expect(responseData).to.be.an('object');","  pm.expect(responseData.Final_Deliverable__c).to.satisfy((value) => {","    return value === null || (typeof value === 'string' && value.length > 0);","  }, \"Final_Deliverable__c should be either null or a non-empty string\");","});","","","pm.test(\"Id is an empty string\", function () {","  const responseData = pm.response.json();","  ","  pm.expect(responseData.Id).to.equal(\"\");","});","",""],"type":"text/javascript","packages":{}}}],"id":"11fe1962-640d-4a9e-9d09-55743e173876","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Authorization","name":"Content-Type","type":"text","value":"Bearer {access_token}"}],"url":"https://cadencetranslate.my.salesforce.com/services/data/v49.0/sobjects/WorkOrder//{{record_ID}}?fields=Final_Deliverable__c","description":"<h1 id=\"description\">Description</h1>\n<p>Use this to retrieve the URL of a completed transcript file. The format of this file will typically be JSON unless otherwise specified.</p>\n<p>This endpoint utilizes {record_ID} which is the 18-character unique record identifier that you receive when you succesfully create a request.</p>\n<h1 id=\"responses\">Responses</h1>\n<p><code>Final_Deliverable__c</code> is the link of the transcript.</p>\n","urlObject":{"path":["{{record_ID}}"],"host":["https://cadencetranslate.my.salesforce.com/services/data/v49.0/sobjects/WorkOrder/"],"query":[{"key":"fields","value":"Final_Deliverable__c"}],"variable":[]}},"response":[{"id":"38c52c16-06bb-4cd5-97df-1c24ebd3890a","name":"Get transcript link","originalRequest":{"method":"GET","header":[{"key":"Authorization","name":"Content-Type","type":"text","value":"Bearer 00D460000016P89!AQEAQG._Nm0gbVo3zwKjS0z37AjDq2HIFT16y2i1uG6q3V78z9bCSvAyEHJGnqyPnaWqe5TvaVZA0E41LTaRLrwfWw_yJ09J"}],"url":{"raw":"https://cadencetranslate.my.salesforce.com/services/data/v49.0/sobjects/WorkOrder/0WOQm000000tRsPOAU?fields=Final_Deliverable__c","protocol":"https","host":["cadencetranslate","my","salesforce","com"],"path":["services","data","v49.0","sobjects","WorkOrder","0WOQm000000tRsPOAU"],"query":[{"key":"fields","value":"Final_Deliverable__c"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 15 Feb 2024 08:28:44 GMT"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-SFDC-REQUEST-CHECK","value":"2"},{"key":"Sforce-Limit-Info","value":"api-usage=17957/158000"},{"key":"Cache-Control","value":"no-cache,must-revalidate,max-age=0,no-store,private"},{"key":"Content-Encoding","value":"gzip"},{"key":"ETag","value":"\"TLmV4KFPEyvirShEHAOvdkauPSktE9DPAlHRpPl9Ltc=--gzip\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubDomains"},{"key":"X-Robots-Tag","value":"none"},{"key":"Server","value":"sfdcedge"},{"key":"X-SFDC-Request-Id","value":"3996880e76927be957d6347725d9f04d"},{"key":"X-SFDC-Edge-Cache","value":"MISS"}],"cookie":[],"responseTime":null,"body":"{\n    \"attributes\": {\n        \"type\": \"WorkOrder\",\n        \"url\": \"/services/data/v49.0/sobjects/WorkOrder/0WOQm000000tRsPOAU\"\n    },\n    \"Final_Deliverable__c\": \"https://s3.us-west-2.amazonaws.com/cadence-external/Requests/0WOQm000001pCZpOAM/XXXX-XXXX-XXXX-XXX.txt\",\n    \"Id\": \"0WOQm000000tRsPOAU\"\n}"}],"_postman_id":"11fe1962-640d-4a9e-9d09-55743e173876"},{"name":"Cancel request","id":"c4327436-2589-40bb-9b15-d5a31eb357ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"Status\": \"Canceled\"\n}"},"url":"https://cadencetranslate.my.salesforce.com/services/data/v49.0/sobjects/WorkOrder//{{record_ID}}","description":"<h1 id=\"description\">Description</h1>\n<p>This endpoint utilizes {record_ID} which is the 18-character unique record identifier to find the request record and cancel it. You receive the ID as the response when you succesfully create a new request.</p>\n<h1 id=\"required-parameters\">Required parameters</h1>\n<p><code>Status</code> This must be specified as \"Canceled\"</p>\n<h1 id=\"responses\">Responses</h1>\n<p>A successful submission results in a <code>No Content</code> response.</p>\n","urlObject":{"path":["{{record_ID}}"],"host":["https://cadencetranslate.my.salesforce.com/services/data/v49.0/sobjects/WorkOrder/"],"query":[],"variable":[]}},"response":[{"id":"b0a50740-5010-487c-b45d-f5c2430f566a","name":"Cancel request","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"Status\": \"Canceled\"\n}"},"url":"https://cadencetranslate.my.salesforce.com/services/data/v49.0/sobjects/WorkOrder/0WO8Y000003QKJsWAO"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Date","value":"Tue, 31 Jan 2023 08:39:57 GMT"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Content-Security-Policy","value":"upgrade-insecure-requests"},{"key":"X-Robots-Tag","value":"none"},{"key":"Cache-Control","value":"no-cache,must-revalidate,max-age=0,no-store,private"},{"key":"Sforce-Limit-Info","value":"api-usage=12714/155000"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"c4327436-2589-40bb-9b15-d5a31eb357ee"},{"name":"Create new call interpretation","event":[{"listen":"prerequest","script":{"id":"aa95ae2d-cfd3-4ebb-92ad-7dc734e2f578","exec":[""],"type":"text/javascript","packages":{}}},{"listen":"test","script":{"id":"d90cb211-ba80-432d-8357-0599e8b26971","exec":["","pm.test(\"Response status code is 201\", function () {","    pm.response.to.have.status(201);","});","","","pm.test(\"Response has the required fields - id, success, and errors\", function () {","    const responseData = pm.response.json();","    ","    pm.expect(responseData).to.be.an('object');","    pm.expect(responseData.id).to.exist;","    pm.expect(responseData.success).to.exist;","    pm.expect(responseData.errors).to.exist;","});","","","pm.test(\"Start date is in valid format\", function () {","    const responseData = pm.response.json();","    ","    pm.expect(responseData.StartDate).to.match(/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}.\\d{3}[+-]\\d{2}:\\d{2}$/);","});","","","pm.test(\"AccountId has a valid 18-character format\", function () {","    const responseData = pm.response.json();","    ","    pm.expect(responseData.AccountId).to.have.lengthOf(18);","});","","","pm.test(\"Response time is within an acceptable range\", function () {","    pm.expect(pm.response.responseTime).to.be.below(300);","});","",""],"type":"text/javascript","packages":{}}}],"id":"bef70ae9-1658-4d41-aff8-7620dde2b27e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"AccountId\": {{account_id}},\n    \"RecordTypeId\": \"0121M000001gzLNQAY\",\n    \"WorkTypeId\": \"08q1M00000000MRQAY\",\n    \"StartDate\": \"2023-07-03T14:30:00.000+08:00\",\n    \"Status\": \"Ready for matchmaking\",\n    \"Subject\": \"TEST \",\n    \"Project_code__c\": \"333435\",\n    \"Description\": \"Dial in & Specialist Details\",\n    \"Source_Language__c\": \"Mandarin\",\n    \"Target_Language__c\": \"English\",\n    \"Industry__c\": \"Retail\"\n}"},"url":"https://cadencetranslate.my.salesforce.com/services/data/v49.0/sobjects/WorkOrder/","description":"<h1 id=\"description\">Description</h1>\n<p>Allows user to create a new call interpretation request. It accesses the standard Salesforce object Work Order.</p>\n<h1 id=\"required-parameters\">Required parameters</h1>\n<p><code>AccountId</code> [string] - This is an 18-character account ID (Please ask Cadence if you have not received this)</p>\n<p><code>Subject</code> [string] - Typically it is the name of the project (e.g., \"Watch market in Europe\")</p>\n<p><code>Status</code> [string] - This must be specified as 'Ready for matchmaking'</p>\n<p><code>StartDate</code> [date/utc] - This must be formatted as yyyy-MM-ddTHH:mm:ss.SSS+/-HH:mm and should correspond to when the call will happen. The default timezone is UTC timezone. Here is the format explanation:</p>\n<ul>\n<li><p>yyyy is the four-digit year</p>\n</li>\n<li><p>MM is the two-digit month (01-12)</p>\n</li>\n<li><p>dd is the two-digit day (01-31)</p>\n</li>\n<li><p>'T' is a seperator indicating that time-of-day-follows</p>\n</li>\n<li><p>HH is two-digit hour (00-23)</p>\n</li>\n<li><p>mm is two-digit minute (00-59)</p>\n</li>\n<li><p>ss is two-digit second (00-59)</p>\n</li>\n<li><p>SSS is the optional three-digit miliseconds (000-999)</p>\n</li>\n<li><p>+/-HH:mm is the Zulu (UTC) time zone offset</p>\n</li>\n</ul>\n<p>e.g., 3rd of May 2023 at 9:30 AM China Time &gt; \"2023-05-03T09:30:00.000+08:00\" (China Time is +8 from UTC timezone)</p>\n<p><code>RecordTypeId</code> [string] - This should be set to \"0121M000001gzLNQAY\" since it refers to an internal Salesforce record type</p>\n<p><code>WorkTypeId</code> [string] - This should be set to \"08q1M00000000MRQAY\" since it refers to an internal Salesforce record type</p>\n<p><code>Project_code__c</code> [string] - This is a text field that should be the primary identifier in our clients' database</p>\n<p><code>Description</code>[string] - This is a text field (character limit: 32,000) for any metadata that is relevant, such as:</p>\n<ul>\n<li><p>Names of call participants</p>\n</li>\n<li><p>Biography of expert</p>\n</li>\n<li><p>Dial in details</p>\n</li>\n</ul>\n<p><code>Source_Language__c</code> [enum/string] - Language spoken by the specialist/expert. Capitalize the first alphabet ( e.g.\"Mandarin\")</p>\n<p><code>Target_Language__c</code> [enum/string] - Language spoken by the client. Capitalize the first alphabet ( e.g.\"English\")</p>\n<h1 id=\"optional-parameters\">Optional parameters</h1>\n<p><code>Industry__c</code> [enum/string] - This is the industry of the project. Please set it as below:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>Industry__c</code></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Agriculture and Mining</td>\n</tr>\n<tr>\n<td>Automotive</td>\n</tr>\n<tr>\n<td>Business Services</td>\n</tr>\n<tr>\n<td>Chemicals</td>\n</tr>\n<tr>\n<td>Computer and Electronics</td>\n</tr>\n<tr>\n<td>Consumer Services</td>\n</tr>\n<tr>\n<td>Education</td>\n</tr>\n<tr>\n<td>Energy and Utilities</td>\n</tr>\n<tr>\n<td>Environmental Services</td>\n</tr>\n<tr>\n<td>Financial Services</td>\n</tr>\n<tr>\n<td>Government</td>\n</tr>\n<tr>\n<td>Health, Pharmaceuticals, and Biotech</td>\n</tr>\n<tr>\n<td>Manufacturing</td>\n</tr>\n<tr>\n<td>Media and Entertainment</td>\n</tr>\n<tr>\n<td>Non-profit</td>\n</tr>\n<tr>\n<td>Real Estate and Construction</td>\n</tr>\n<tr>\n<td>Retail</td>\n</tr>\n<tr>\n<td>Software and Internet</td>\n</tr>\n<tr>\n<td>Telecommunications</td>\n</tr>\n<tr>\n<td>Transportation and Storage</td>\n</tr>\n<tr>\n<td>Travel Recreation and Leisure</td>\n</tr>\n<tr>\n<td>Wholesale and Distribution</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"environmental-variables\">Environmental Variables</h1>\n<p><code>AccountId</code> , <code>Status</code>, <code>RecordTypeId</code>, and <code>WorkTypeId</code> , are all fixed values and can be stored as environmental variables.</p>\n<h1 id=\"responses\">Responses</h1>\n<p>A <code>200 OK</code> response will return a unique 18-character identifer that is used by Salesforce. Please store this identifer to edit or cancel the record.</p>\n","urlObject":{"host":["https://cadencetranslate.my.salesforce.com/services/data/v49.0/sobjects/WorkOrder/"],"query":[],"variable":[]}},"response":[{"id":"b537e147-8d43-450f-8e78-44ff2d6b056e","name":"Create new call interpretation","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"AccountId\": \"0014600000Czb1gAAB\",\n    \"RecordTypeId\": \"0121M000001gzLNQAY\",\n    \"WorkTypeId\": \"08q1M00000000MRQAY\",\n    \"StartDate\": \"2023-07-03T14:30:00.000+08:00\",\n    \"Status\": \"Ready for matchmaking\",\n    \"Subject\": \"TEST \",\n    \"Project_code__c\": \"333435\",\n    \"Description\": \"Dial in & Specialist Details\",\n    \"Source_Language__c\": \"Mandarin\",\n    \"Target_Language__c\": \"English\",\n    \"Industry__c\": \"Retail\"\n}"},"url":"https://cadencetranslate.my.salesforce.com/services/data/v49.0/sobjects/WorkOrder/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 31 Jan 2023 08:04:48 GMT"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Robots-Tag","value":"none"},{"key":"Cache-Control","value":"no-cache,must-revalidate,max-age=0,no-store,private"},{"key":"Sforce-Limit-Info","value":"api-usage=12385/155000"},{"key":"Location","value":"/services/data/v49.0/sobjects/WorkOrder/0WO8Y000003QKIfWAO"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"0WO8Y000003QKIfWAO\",\n    \"success\": true,\n    \"errors\": []\n}"}],"_postman_id":"bef70ae9-1658-4d41-aff8-7620dde2b27e"}],"id":"e22b23ec-1a57-4241-b04f-1015a784a3bc","description":"<h2 id=\"description\">Description</h2>\n<p>Create a new transcript request using the standard Salesforce object 'Work Order'.</p>\n","_postman_id":"e22b23ec-1a57-4241-b04f-1015a784a3bc","auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"078273dc-d821-4769-ba16-8911222025a3","id":"078273dc-d821-4769-ba16-8911222025a3","name":"Cadence REST API (SF)","type":"collection"}}},{"name":"DEPRECATED","item":[{"name":"Service Requests V1","item":[{"name":"View transcript status","id":"c5a5273a-50b1-4fa9-8c34-16e07f1ae808","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {access_token}","type":"text"}],"url":"https://cadencetranslate.my.salesforce.com/services/data/v45.0/query/?q=SELECT+StageName+FROM+Opportunity+WHERE&Project_code__c=HP-1234","description":"<p>Shows the status of a transcript request, including the URL path for the final product (if available), based on the <code>Project_code__c</code> parameter. This should be the unique identifier from our clients' database.</p>\n<h1 id=\"required-parameters\">Required parameters</h1>\n<p><code>Project_code__c</code> [string] - This is a text field that should be the primary identifier in our clients' database</p>\n<h1 id=\"outputs\">Outputs</h1>\n<p><code>Status</code> See below for a list of possible statuses</p>\n<p><code>Transcript URL</code> This is a public URL containing the link to the transcript in .docx format.</p>\n<h1 id=\"statuses\">Statuses</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Status</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>Coordination in progress</strong></td>\n<td>Audio received, transcript not yet complete</td>\n</tr>\n<tr>\n<td><strong>Coordination complete</strong></td>\n<td>Transcript complete, but pending internal review</td>\n</tr>\n<tr>\n<td><strong>Ready for review</strong></td>\n<td>Transcript is available</td>\n</tr>\n<tr>\n<td><strong>Ready for invoice</strong></td>\n<td>Transcript has been accepted</td>\n</tr>\n<tr>\n<td><strong>Invoiced</strong></td>\n<td>Transcript has been billed</td>\n</tr>\n<tr>\n<td><strong>Closed Lost</strong></td>\n<td>Transcript was cancelled</td>\n</tr>\n<tr>\n<td><strong>Closed Lost (Waived)</strong></td>\n<td>Transcript was completed at no charge</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["services","data","v45.0","query",""],"host":["cadencetranslate","my","salesforce","com"],"query":[{"description":{"content":"<p>A predefined SOQL query to retrieve the status of the transcript</p>\n","type":"text/plain"},"key":"q","value":"SELECT+StageName+FROM+Opportunity+WHERE"},{"description":{"content":"<p>This is determined by the client</p>\n","type":"text/plain"},"key":"Project_code__c","value":"HP-1234"}],"variable":[]}},"response":[{"id":"77f18342-e669-47b9-a8f4-21555d064c20","name":"Example #1","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer 432jrefw980p243ouihnfeg89yp234huoi","type":"text"}],"url":{"raw":"https://cadencetranslate.my.salesforce.com/services/data/v45.0/query/?q=SELECT+StageName+FROM+Account+WHERE&Project_code__c=HP-1234","protocol":"https","host":["cadencetranslate","my","salesforce","com"],"path":["services","data","v45.0","query",""],"query":[{"key":"q","value":"SELECT+StageName+FROM+Account+WHERE","description":"A predefined SOQL query to retrieve the status of the transcript"},{"key":"Project_code__c","value":"HP-1234","description":"This is determined by the client"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"c5a5273a-50b1-4fa9-8c34-16e07f1ae808"},{"name":"Create new transcript","id":"5e0f8c27-913f-4cbd-8fbc-a0eb9e4f4d75","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {access_token}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"AccountId\" : {{AccountID}}\n\t, \"RecordTypeId\" : \"01246000000xdMTAAY\"\n\t, \"CloseDate\" : \"2019-02-19\"\n\t, \"StageName\" : \"Coordination in progress\"\n\t, \"Name\" : \"Watch market in Europe\"\n\t, \"Project_code__c\" : \"HD-43211\"\n\t, \"Media_URL__c\" : \"https://callrecordings.s3.aws.com/asd3v88sj3bc-1nchj212.mp3\"\n}"},"url":"https://cadencetranslate.my.salesforce.com/services/data/v45.0/sobjects/Opportunity/","description":"<h1 id=\"description\">Description</h1>\n<p>Allows user to create a new transcript request. It accesses the standard Salesforce object Opportunity.</p>\n<h1 id=\"required-parameters\">Required parameters</h1>\n<p><code>AccountId</code> This is an 18-character account ID</p>\n<p><code>Name</code> This is name of the transcript. Typically it is the name of the project (e.g., \"Watch market in Europe\")</p>\n<p><code>StageName</code> This must be specified as 'Coordination in progress'</p>\n<p><code>CloseDate</code> This must be formatted as YYYY-MM-YY and should correspond to today's date</p>\n<p><code>RecordTypeId</code> This should be set to \"01246000000xdMTAAY\" since it refers to an internal Salesforce record type</p>\n<p><code>Project_ID__c</code> This is a text field that should be the primary identifier in our clients' database</p>\n<h1 id=\"optional-parameters\">Optional parameters</h1>\n<p><code>Description</code> This is a text field (character limit: 32,000) for any metadata that is relevant, such as:</p>\n<ul>\n<li>Names of call participants</li>\n<li>Biography of expert</li>\n</ul>\n<p><code>Media_URL__c</code> This is a URL to the source recording. It should be tokenized but otherwise publicly accessible.</p>\n<p><code>Primary_client__c</code> This is a text field for the name of the primary client point-of-contact for this request</p>\n<p><code>Languages__c</code> This is an array to indicate the source language for the audio. It accepts human-readable language names such as {\"English\", \"Spanish\", \"French\"}. A full list is available upon request.</p>\n<p><code>Target_Languages__c</code> This is an array to indicate the target language for the transcript. It accepts human-readable language names such as {\"English\", \"Spanish\", \"French\"}. A full list is available upon request.</p>\n<h1 id=\"responses\">Responses</h1>\n<p>A <code>200 OK</code> response will return a unique 18-character identifer that is used by Salesforce. You do not need to retain this value since the <code>Project_ID__c</code> parameter will be used instead to access and modify this record.</p>\n","urlObject":{"protocol":"https","path":["services","data","v45.0","sobjects","Opportunity",""],"host":["cadencetranslate","my","salesforce","com"],"query":[],"variable":[]}},"response":[{"id":"b7583be8-7c98-4105-9994-2d91f2623e23","name":"Add a transcript for project \"Watch market in Europe\" with identifier \"HD-43211\"","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {access_token}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"AccountId\" : {{AccountID}}\n\t, \"RecordTypeId\" : \"01246000000xdMTAAY\"\n\t, \"CloseDate\" : \"2020-10-19\"\n\t, \"StageName\" : \"Coordination in progress\"\n\t, \"Name\" : \"Watch market in Europe\"\n\t, \"Project_ID__c\" : \"HD-43211\"\n\t, \"Media_URL__c\" : \"https://callrecordings.s3.aws.com/asd3v88sj3bc-1nchj212.mp3\"\n}"},"url":"https://cadencetranslate.my.salesforce.com/services/data/v45.0/sobjects/Opportunity/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"0061h000009b3vjAAA\",\n    \"success\": true,\n    \"errors\": []\n}"}],"_postman_id":"5e0f8c27-913f-4cbd-8fbc-a0eb9e4f4d75"},{"name":"Cancel transcript","id":"1aa2a97d-0f42-442d-9a54-aa684501048f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"StageName\": \"Closed Lost\",\n\t\"Loss_Reason__c\": \"Event cancelled\"\n}"},"url":"https://cadencetranslate.my.salesforce.com/services/data/v45.0/sobjects/Opportunity/Project_ID__c/{project_ID}","description":"<h1 id=\"description\">Description</h1>\n<p>This endpoint utilizes your unique identifier to find the transcript record and cancel it.</p>\n<h1 id=\"required-parameters\">Required parameters</h1>\n<p><code>StageName</code> This must be specified as \"Closed Lost\"</p>\n<p><code>Loss_Reason__c</code> This must be specified as \"Event Cancelled\"</p>\n<h1 id=\"responses\">Responses</h1>\n<p>A successful submission results in a <code>204 No Content</code> response. Please contact your Account Manager if you would like a custom email notification when utilizing this endpoint.</p>\n","urlObject":{"protocol":"https","path":["services","data","v45.0","sobjects","Opportunity","Project_ID__c","{project_ID}"],"host":["cadencetranslate","my","salesforce","com"],"query":[],"variable":[]}},"response":[{"id":"eaa545db-0e70-428f-b1b6-81d62c5121bf","name":"Cancel transcript with identifier \"HD-43211\"","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"StageName\": \"Closed Lost\",\n\t\"Loss_Reason__c\": \"Event cancelled\"\n}"},"url":"https://cadencetranslate.my.salesforce.com/services/data/v45.0/sobjects/Opportunity/Project_ID__c/HD-43211"},"status":"No Content","code":204,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"1aa2a97d-0f42-442d-9a54-aa684501048f"}],"id":"04ca8ab3-5fd8-46bb-b59c-a32cc5c09df9","description":"<p>These endpoints allow you to create, view and modify Opportunities</p>\n","event":[{"listen":"prerequest","script":{"id":"4e46ccb5-04ed-4b9a-b527-94e2262efa03","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"6a36810f-2426-40c7-a8b2-da056b4522d0","type":"text/javascript","exec":[""]}}],"_postman_id":"04ca8ab3-5fd8-46bb-b59c-a32cc5c09df9","auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"078273dc-d821-4769-ba16-8911222025a3","id":"078273dc-d821-4769-ba16-8911222025a3","name":"Cadence REST API (SF)","type":"collection"}}},{"name":"Service Requests V2","item":[{"name":"Create new transcript","id":"1ffce96a-1674-4e95-9ac9-43acb2d633bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"AccountId\" : \"AccountId\"\n\t, \"RecordTypeId\" : \"0121M000001gzLSQAY\"\n\t, \"StartDate\" : \"2020-10-08\"\n\t, \"Status\" : \"Coordination in progress\"\n\t, \"Subject\" : \"TEST \"\n\t, \"Project_code__c\" : \"333435\"\n\t, \"Cadence_Commentary__c\" : \"https://callrecordings.s3.aws.com/asd3v88sj3bc-1nchj212.mp3\"\n}"},"url":"https://cadencetranslate.my.salesforce.com/services/data/v49.0/sobjects/WorkOrder/","description":"<h1 id=\"description\">Description</h1>\n<p>Allows user to create a new transcript request. It accesses the standard Salesforce object Work Order.</p>\n<h1 id=\"required-parameters\">Required parameters</h1>\n<p><code>AccountId</code> This is an 18-character account ID</p>\n<p><code>Subject</code> This is name of the transcript. Typically it is the name of the project (e.g., \"Watch market in Europe\")</p>\n<p><code>Status</code> This must be specified as 'Coordination in progress'</p>\n<p><code>StartDate</code> This must be formatted as YYYY-MM-YY and should correspond to today's date</p>\n<p><code>RecordTypeId</code> This should be set to \"0121M000001gzLSQAY\" since it refers to an internal Salesforce record type</p>\n<p><code>Project_code__c\"</code> This is a text field that should be the primary identifier in our clients' database</p>\n<h1 id=\"optional-parameters\">Optional parameters</h1>\n<p><code>Details</code> This is a text field (character limit: 32,000) for any metadata that is relevant, such as:</p>\n<ul>\n<li>Names of call participants</li>\n<li>Biography of expert</li>\n</ul>\n<p><code>Cadence_Commentary__c</code> This is a URL to the source recording. It should be tokenized but otherwise publicly accessible.</p>\n<h1 id=\"responses\">Responses</h1>\n<p>A <code>200 OK</code> response will return a unique 18-character identifer that is used by Salesforce. You do not need to retain this value since the <code>Project_ID__c</code> parameter will be used instead to access and modify this record.</p>\n","urlObject":{"protocol":"https","path":["services","data","v49.0","sobjects","WorkOrder",""],"host":["cadencetranslate","my","salesforce","com"],"query":[],"variable":[]}},"response":[{"id":"d49ae32e-5030-410a-9f3b-73afc6f0de26","name":"Add a transcript for project \"Watch market in Europe\" with identifier \"HD-43211\"","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {access_token}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"AccountId\" : {{AccountID}}\n\t, \"RecordTypeId\" : \"0121M000001gzLSQAY\"\n\t, \"StartDate\" : \"2020-10-07\"\n\t, \"Status\" : \"Coordination in progress\"\n\t, \"Subject\" : \"Watch market in Europe\"\n\t, \"Project_code__c\" : \"HD-43211\"\n\t, \"Cadence_Commentary__c\" : \"https://callrecordings.s3.aws.com/asd3v88sj3bc-1nchj212.mp3\"\n}"},"url":"https://cadencetranslate.my.salesforce.com/services/data/v49.0/sobjects/WorkOrder/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"0061h000009b3vjAAA\",\n    \"success\": true,\n    \"errors\": []\n}"}],"_postman_id":"1ffce96a-1674-4e95-9ac9-43acb2d633bf"}],"id":"812440cb-7b5d-4cf2-85c4-03b6d79ac06d","description":"<p>These endpoints allow you to create, view and modify Work Orders</p>\n","event":[{"listen":"prerequest","script":{"id":"3cb09718-d617-4950-bc46-a96ba3c3b566","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"41d1c4b0-af77-4f93-ac55-11ba20d6164b","type":"text/javascript","exec":[""]}}],"_postman_id":"812440cb-7b5d-4cf2-85c4-03b6d79ac06d","auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"078273dc-d821-4769-ba16-8911222025a3","id":"078273dc-d821-4769-ba16-8911222025a3","name":"Cadence REST API (SF)","type":"collection"}}},{"name":"Edit Request","item":[{"name":"Edit request","event":[{"listen":"test","script":{"id":"9a02ae12-1325-45d2-b62a-37deabf0d401","exec":["// Updated response time test to 300ms","pm.test(\"Response status code is 204\", function () {","    pm.response.to.have.status(204);","});","","// Added comment for response time test","pm.test(\"Response time is within acceptable range\", function () {","  pm.expect(pm.response.responseTime).to.be.below(300); // Updated response time test to 300ms","});","","// Removed the test for null response","// pm.test(\"Response is null\", function () {","//     const responseData = xml2Json(pm.response.text());","//     ","//     pm.expect(responseData).to.be.null;","// });","","// Removed redundant response time test","// pm.test(\"Response time is less than 200ms\", function () {","//     pm.expect(pm.response.responseTime).to.be.below(200);","// });"],"type":"text/javascript","packages":{}}}],"id":"325a5f8a-b0cf-4e96-8b58-e76d09566a45","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"StartDate\": \"2023-08-02T14:45:00.000+08:00\",\n    \"PublicStatus__c\": \"error\"\n}"},"url":"https://cadencetranslate.my.salesforce.com/services/data/v49.0/sobjects/WorkOrder//{{record_ID}}","description":"<h1 id=\"description\">Description</h1>\n<p>This endpoint utilizes {record_ID} which is the 18-character unique record identifier to find the request record and edit it. You receive the ID as the response when you succesfully create a new request.</p>\n<h1 id=\"required-parameters\">Required parameters</h1>\n<p>Need to specify what field and what is the value that need to be edited.</p>\n<p>(e.g., The request got rescheduled and we want to change the date &amp; time of the call)</p>\n<p><code>StartDate</code> Set the new date e.g., 2023-08-02T14:45:00.000+08:00</p>\n<h1 id=\"additional-parameters\">Additional parameters</h1>\n<p>You can also change other information such as:</p>\n<p><code>Subject</code> Name of the project (e.g., \"Watch market in Europe\")</p>\n<p><code>Project_code__c</code> This is a text field that should be the primary identifier in our clients' database</p>\n<p><code>Source_Language__c</code> Language spoken by the specialist/expert. Capitalize the first alphabet ( e.g.\"Mandarin\")</p>\n<p><code>Target_Language__c</code> Language spoken by the client. Capitalize the first alphabet ( e.g.\"English\")</p>\n<p>Please consult with Cadence if you would like to edit other information.</p>\n<h1 id=\"responses\">Responses</h1>\n<p>A successful submission results in a <code>No Content</code> response.</p>\n","urlObject":{"path":["{{record_ID}}"],"host":["https://cadencetranslate.my.salesforce.com/services/data/v49.0/sobjects/WorkOrder/"],"query":[],"variable":[]}},"response":[],"_postman_id":"325a5f8a-b0cf-4e96-8b58-e76d09566a45"}],"id":"bc964cf2-862e-4119-9e97-df2da7dda82f","_postman_id":"bc964cf2-862e-4119-9e97-df2da7dda82f","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"078273dc-d821-4769-ba16-8911222025a3","id":"078273dc-d821-4769-ba16-8911222025a3","name":"Cadence REST API (SF)","type":"collection"}}}],"id":"00e758e5-c884-4ddc-9e3d-f511ae69159a","_postman_id":"00e758e5-c884-4ddc-9e3d-f511ae69159a","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"078273dc-d821-4769-ba16-8911222025a3","id":"078273dc-d821-4769-ba16-8911222025a3","name":"Cadence REST API (SF)","type":"collection"}}}],"auth":{"type":"oauth2","oauth2":{"basicConfig":[]}},"event":[{"listen":"prerequest","script":{"id":"98ba5e88-6f03-4f3c-97a9-4eaf1c73730b","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"ea6ccbe9-c328-4b8b-a186-17f0d31a4bb0","type":"text/javascript","exec":[""]}}],"variable":[{"key":"c_id","value":""},{"key":"c_secret","value":""},{"key":"url_auth","value":"https://login.salesforce.com/services/oauth2/","type":"string"},{"key":"url_health","value":"https://cadencetranslate.my.salesforce.com/services/apexrest/status","type":"string"},{"key":"url_main","value":"https://cadencetranslate.my.salesforce.com/services/data/v49.0/sobjects/WorkOrder/","type":"string"}]}