Skip to content

Commit

Permalink
Added information about certificationRequestsMerged (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
Albinutte authored Oct 16, 2023
1 parent 6f3da27 commit 4e8e925
Showing 1 changed file with 33 additions and 5 deletions.
38 changes: 33 additions & 5 deletions docs/webhooks/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ <h2>Table of Contents</h2>
<li><a href="#certificationResultShared">certificationResultShared</a></li>
<li><a href="#certificationRequestExpired">certificationRequestExpired</a></li>
<li><a href="#certificationRequestRejected">certificationRequestRejected</a></li>
<li><a href="#certificationRequestsMerged">certificationRequestsMerged</a></li>
</ul>
</ul>
</div>
Expand Down Expand Up @@ -467,11 +468,11 @@ <h4 id="preScreenResultShared">preScreenResultShared</h4>
<div class="subsection">
<h4 id="preScreenExpired">preScreenExpired</h4>
<p>
Fired when a test session invitation cannot be fulfilled within the
expiration window. The <strong>expiredReason</strong> field indicates whether the
expiration is due to the test not being taken at all, or whether the test could not
be certified by CodeSignal due to possibility/suspicion of cheating. If the latter,
a <strong>rejectedReasons</strong> field will also be provided.
Fired when a test session invitation cannot be fulfilled within the expiration
window. The <strong>expiredReason</strong> field indicates whether the expiration is
due to the test not being taken at all, or whether the test could not be certified
by CodeSignal due to possibility/suspicion of cheating. If the latter, a
<strong>rejectedReasons</strong> field will also be provided.
</p>
<div>Request format:</div>
<pre><code>{
Expand Down Expand Up @@ -939,6 +940,33 @@ <h3 id="certificationRequestRejected">certificationRequestRejected</h3>
candidateEmail: '[email protected]',
candidateName: 'Jane Doe',
}
};</code></pre>
</div>
<div class="subsection">
<h3 id="certificationRequestsMerged">certificationRequestsMerged</h3>
<p>
This event is fired in case two Certification Requests get merged together. This can
happen if a candidate gets invited to take the same assessment using different email
addresses. In this case the newer request will be deleted, and its data will be
transferred to the older one.
</p>
<div>Request format:</div>
<pre><code>{
event: 'certificationRequestsMerged',
triggeredOn: number,
payload: {
deletedRequestId: string,
mergedRequestId: string,
}
};</code></pre>
<div>Sample request:</div>
<pre><code>{
event: 'certificationRequestRejected',
triggeredOn: 1553720789347,
payload: {
deletedRequestId: 'lehjeh36dleh29',
mergedRequestId: 'dhey29hcl28hl28',
}
};</code></pre>
</div>
</div>
Expand Down

0 comments on commit 4e8e925

Please sign in to comment.