Commute surveys

Edit a survey (a draft takes everything; an open survey keeps its form; a closed one takes nothing)

Changed on
put/commute-surveys/{surveyId}

Request

  • Base URL: https://api.greentally.ai/v1
  • URL: https://api.greentally.ai/v1/commute-surveys/{surveyId}
  • Auth: HTTP bearer

Path parameters

surveyIdstring required

Request body

closesAtstring date-time nullable required
headcountinteger nullable required
introstring required
periodEndstring date required

Exclusive: the 1st of a later month, at most 12 months after the start.

periodStartstring date required

The 1st of a month.

scaleUpboolean required
templateIdstring
titlestring required

Response

The survey

Changes

    • ▲

      the response property // became nullable for the status

    • ▲

      the response property // became nullable for the status

    • ▲

      the response property // became nullable for the status

    • ▲

      the response property // became nullable for the status

    • ▲

      the response property // became nullable for the status

    • ○

      added the required property // to the response with the status

    • ○

      added the required property / to the response with the status

    • ○

      added the required property / to the response with the status