Rule Books

Add Rule

Add a rule to the draft, opening it if needed.

post/v1/rule-books/{rule_book_id}/draft/rules

Request

  • Base URL
    https://api.sandbox.usenash.com
  • Auth
    none declared

Path parameters

rule_book_idstring required

The rule book id (rbk_…).

Request body

namestring required
in_nash'must' | 'aim_for' | 'report' | 'not_in_nash' required

How Nash plans with a rule. Must is never broken, Aim for is kept unless it costs a lot, and Report is checked after planning.

howstring nullable
schema_version1
keystring nullable
aliasesstring[]

Response

OK

draft_openedboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.