---
title: "Update issue choice on WO"
method: PUT
path: "/workorders/{workorderId}/issueChoice"
tags: ["WorkOrders"]
---

# Update issue choice on WO

`PUT /workorders/{workorderId}/issueChoice`

## Request

- Base URL: `https://sb2api.servicechannel.com/v3`
- URL: `https://sb2api.servicechannel.com/v3/workorders/{workorderId}/issueChoice`
- 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/issueChoice/put.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `workorderId` integer, required

## Query parameters

- `subscriberId` integer, required
- `locationId` integer

## Request body

- ServiceChannelServicesMessagingWorkordersIssueChoiceRequest
  - `AreaId` integer
  - `ProblemType` string
  - `AssetType` string
  - `ProblemCode` string
  - `SetupId` integer
  - `AdditionalFields` ServiceChannelDataFieldValue[]
    - `Header` string
    - `Value` string
  - `IsUpdateScrecProblemType` boolean

## Response `200`

Indicates that the request succeeded.

## Other responses

- `400`: Bad Request - the request could not be understood or was missing required parameters.<br/>Error codes:<br/> 503 - Validation fails;<br> 1000 - Invalid setupId(dashboard) for current user;
- `500`: Indicates that a generic error has occurred on the server.

---

[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)
