---
title: "Bulk add/update asset to work order."
method: POST
path: "/assets/BulkAddAssetToWo"
tags: ["Assets"]
---

# Bulk add/update asset to work order.

`POST /assets/BulkAddAssetToWo`

## Request

- Base URL: `https://sb2api.servicechannel.com/v3`
- URL: `https://sb2api.servicechannel.com/v3/assets/BulkAddAssetToWo`
- 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/assets/BulkAddAssetToWo/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- ServiceChannelServicesMessagingAssetsUpdateAssetInRequestItem[]
  - `WorkOrderId` integer
  - `AssetId` integer
  - `ReplaceEquipment` boolean

## Response `200`

Assets were successfully added to work orders.

## Other responses

- `400`: The request was invalid or missing required parameters.
- `500`: An internal server error occurred.

---

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