- Update service needed entry based on the provided request.
Send the whole service needed. The name and isActive are required. The category and the locations are stored exactly as sent: a categoryId that is left out or null removes the category, and a locations list that is left out, null or empty removes every location so the service needed applies everywhere. Read the current values from POST /v2/tickets/serviceNeeded/all first when only some of them should change. For customers connected to Mapped with ticket metadata sync turned on, the sync that runs every 30 minutes writes the category from Mapped and adds or removes location rows for the twins Mapped knows, so an edit to a service needed that Mapped owns does not stick.
The whole service needed to store.
Gets or sets the name of the service needed. Required. Leading and trailing spaces are removed.
Gets or sets the category Id of the service needed. Leave it out or send null to remove the category.
Gets or sets a value indicating whether the service needed is active. Required.
- https://.app.willowinc.com/api/v3https://.app.willowinc.com/api/v3/tickets/service-needed/{serviceNeededId}
{ "name": null, "categoryId": null, "isActive": null, "locations": null }
OK
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": null, "categoryId": null, "locations": null, "isActive": true }