Category: API
Summary: Change to response code for certain bulk division update scenarios for Messaging Campaigns
Context: Currently, if updating messaging campaigns' divisions via /api/v2/authorization/divisions/{divisionId}/objects/messagingcampaign
, when any entity fails to update the operation will immediately abort and return a generic "500 Internal Server Error" response. That case will be updated to return a "409 Conflict" with the detail code "bulk.move.unable.to.move", which will make it consistent with the rest of the /api/v2/authorization/divisions/{divisionId}/objects/{objectType}
endpoints. It will also update all entities that it can and report on all entities it could not update in the error response, which is also more consistent with the other endpoints. Other cases that currently return a 500 will continue to behave as they do now.
Impact: When calling this endpoint, error handling should now also handle 409 Conflict
responses if it does not. There is no evidence that this error case has been encountered by any customer in at least the last 30 days.
Date of Change: No later than June 4, 2021
Impacted APIs:
- /api/v2/authorization/divisions/{divisionId}/objects/messagingcampaign
References: OD-199