plan-controller

POST-method to create a new plan

Admin can create a new plan

post/plans

Request

  • Base URL: http://api.moirailabs.com/api/v1
  • URL: http://api.moirailabs.com/api/v1/plans
  • Auth: none required

Headers

X-Request-IDstring
Example:8df31080-3b78-4e63-a67d-c2d107190f3c

Optional frontend-generated correlation ID. The backend returns the effective value in the response header.

Request body

namestring required
contractAmountinteger required
periodinteger required
pricenumber required
enrichedProfilingRequestsPerPeriodinteger required

Response

OK

Changes

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