---
title: "Assign the tech’s certificate to the work order"
method: PUT
path: "/workorders/{workOrderId}/technicianCertificate"
tags: ["WorkOrders"]
---

# Assign the tech’s certificate to the work order

`PUT /workorders/{workOrderId}/technicianCertificate`

## Request

- Base URL: `https://sb2api.servicechannel.com/v3`
- URL: `https://sb2api.servicechannel.com/v3/workorders/{workOrderId}/technicianCertificate`
- Auth: OAuth 2
  - Authorization code: `https://sb2login.servicechannel.com/oauth/authorize`
  - Token URL: `https://sb2login.servicechannel.com/oauth/token`
- TypeScript: <https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3/docs/workorders/:workOrderId/technicianCertificate/put.ts> (a function with typed inputs; its response is checked against the schema)

Associates the existing certificate of the technician with the work order. The WO should belong to the HVAC or Refrigeration trade. The method also adds the technician as the responsible tech who performed the service.

## Path parameters

- `workOrderId` integer, required

## Request body

- ServiceChannelServicesMessagingWorkordersChangeWoTechnicianCertificateRequest: Object containing the tech’s certificate ID.
  - `CertificateId` integer: Numeric ID of the certificate assigned to the technician. <br />To get the certificate ID, run the `Get/RefrigerantCertifications` method in [Contractor Tools API Swagger](https://ctoolsapi.servicechannel.com/swagger/index.html?urls.primaryName=ContractorTools.API%20v1). <br />***Note:*** The tech’s certificates can be uploaded and managed in the tech’s profile in Provider Automation or the SC Provider mobile app.

## Response `200`

The certificate of the technician was successfully assigned to the work order.

## Other responses

- `400`: The request is not accepted due to bad syntax, missing parameters, insufficient data, etc. <br/>Error codes: 502 &mdash; Work order is not found 601 &mdash; Invalid location ID 701 &mdash; Invalid trade 1301 &mdash; Request data is empty 3901 &mdash; Invalid certificate ID
- `401`: The requested resource requires authentication. <br/>Error codes: 504 &mdash; API call rejected by security permissions
- `404`: The requested resource does not exist on the server.
- `500`: Something went wrong, and the server was unable to complete your request.

---

[API](https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3.md) - [All operations](https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3/llms.txt) - [OpenAPI document](https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3/revisions/d490d6596809?raw)
