Commute surveys

Send the accepted responses to emissions

Changed on

Puts every accepted response into one new batch and submits the generated Commuting sheet as a direct upload by the caller (analysis starts in the upload's review page). The previous live batch is replaced and its upload deleted. Responses in the live batch are locked for review. Needs report.share_external and org.write_data, in the default workspace. A survey with people and fewer than 3 responses answers 409 TOO_FEW_RESPONSES.

post/commute-surveys/{surveyId}/send

Request

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

Path parameters

surveyIdstring required

Response

The survey, with the new batch as latestBatch

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