Zapier · Example Payload

Zapier Get Choices Example

IntegrationsiPaaS

Zapier Get Choices Example is an example object payload from Zapier, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummaryrequestExamplesresponseExamples

Example Payload

Raw ↑
{
  "operationId": "get-choices",
  "method": "POST",
  "path": "/v2/actions/{action_id}/inputs/{input_id}/choices",
  "summary": "Zapier Get Choices",
  "requestExamples": [
    {
      "contentType": "application/json",
      "name": "Get-choicesRequestExample",
      "example": {
        "data": {
          "authentication": {},
          "inputs": {}
        }
      }
    }
  ],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "name": "ChoicesForSomeAction",
      "example": [
        {
          "data": [
            {
              "id": "55c",
              "type": "choice",
              "label": "First",
              "value": "example"
            },
            {
              "id": "a73",
              "type": "choice",
              "label": "Second",
              "value": "example"
            }
          ],
          "links": {
            "next": null,
            "prev": null
          },
          "meta": {
            "page": 1
          }
        }
      ]
    },
    {
      "status": "403",
      "contentType": "application/json",
      "name": "Get-choices403Example",
      "example": {
        "errors": [
          {}
        ]
      }
    },
    {
      "status": "401",
      "contentType": "application/json",
      "name": "Get-choices401Example",
      "example": {
        "errors": [
          {}
        ]
      }
    },
    {
      "status": "409",
      "contentType": "application/json",
      "name": "Get-choices409Example",
      "example": {
        "errors": [
          {}
        ]
      }
    },
    {
      "status": "429",
      "contentType": "application/json",
      "name": "Get-choices429Example",
      "example": {
        "errors": [
          {}
        ]
      }
    },
    {
      "status": "503",
      "contentType": "application/json",
      "name": "Get-choices503Example",
      "example": {
        "errors": [
          {}
        ]
      }
    },
    {
      "status": "504",
      "contentType": "application/json",
      "name": "Get-choices504Example",
      "example": {
        "errors": [
          {}
        ]
      }
    },
    {
      "status": "400",
      "contentType": "application/json",
      "name": "MalformedRequest.",
      "example": {
        "errors": [
          {
            "status": 400,
            "code": "parse_error",
            "title": "ParseError",
            "detail": "Malformed request.",
            "source": null,
            "meta": {
              "source": "ZAPIER",
              "full_details": {
                "message": "Malformed request.",
                "code": "parse_error"
              }
            }
          }
        ]
      }
    },
    {
      "status": "500",
      "contentType": "application/json",
      "name": "AServerErrorOccurred.",
      "example": {
        "errors": [
          {
            "status": 500,
            "code": "error",
            "title": "APIException",
            "detail": "A server error occurred.",
            "source": null,
            "meta": {
              "source": "ZAPIER",
              "full_details": {
                "message": "A server error occurred.",
                "code": "error"
              }
            }
          }
        ]
      }
    }
  ]
}