Skip to main content

SaveBidProactivePolicyInput

A new revision of the Bid Desk proactive policy. The whole body is sent and checked by the shared policy validator; errors come back with their field paths.

input SaveBidProactivePolicyInput {
appliesToOpen: Boolean!
body: JSON!
expectedRevision: Int!
note: String
}

Fields​

SaveBidProactivePolicyInput.appliesToOpen ● Boolean! non-null scalar​

Whether the new revision also governs items already waiting. False: it governs only items that start waiting after the save.

SaveBidProactivePolicyInput.body ● JSON! non-null scalar​

The whole policy body { v, calendar, targets, ladder, approvalCoversAfterMinutes, hardDeadlineLeadMinutes }. Refused with POLICY_INVALID and the list of { path, code } errors when it does not validate.

SaveBidProactivePolicyInput.expectedRevision ● Int! non-null scalar​

The revision the edit started from: 0 when the organization has none yet. Refused with VERSION_CONFLICT when someone saved first.

SaveBidProactivePolicyInput.note ● String scalar​

An optional note on what changed, at most 500 characters.

Member Of​

saveBidProactivePolicy mutation