Programs

Create a program category. Roles: admin.

Changed on
post/api/program-categories

Request

  • Base URL
    https://api.mobilecoach.org (the document declares no server; this is the origin it was published from)
  • URL
    https://api.mobilecoach.org/api/program-categories
  • Auth
    AuthToken (a scheme the document does not define)

Request body

namestring required
descriptionstring
requiredboolean
downgradePolicyCode'NEVER' | 'DURING_RENEWAL' | 'ALWAYS_NO_REFUND' | 'ALWAYS_REFUND' | 'ALWAYS_REFUND_LESS_FEES' required
membershipIdinteger required
typeCode'CERTIFICATION' | 'CHALLENGE' | 'MEMBERSHIP' | 'PASS' required
tierBehaviorCode'NONE' | 'REPLACE_ON_ENROLL' | 'REPLACE_ON_COMPLETION' required

Response

OK

successboolean
errorstring

Changes

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status