Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Begins running a survey.
See: Consumer Surveys API Reference for consumersurveys.surveys.start
.
Synopsis
- type SurveysStartResource = "consumersurveys" :> ("v2" :> ("surveys" :> (Capture "resourceId" Text :> ("start" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SurveysStartRequest :> Post '[JSON] SurveysStartResponse))))))
- surveysStart :: Text -> SurveysStartRequest -> SurveysStart
- data SurveysStart
- ssResourceId :: Lens' SurveysStart Text
- ssPayload :: Lens' SurveysStart SurveysStartRequest
REST Resource
type SurveysStartResource = "consumersurveys" :> ("v2" :> ("surveys" :> (Capture "resourceId" Text :> ("start" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SurveysStartRequest :> Post '[JSON] SurveysStartResponse)))))) Source #
A resource alias for consumersurveys.surveys.start
method which the
SurveysStart
request conforms to.
Creating a Request
Creates a value of SurveysStart
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SurveysStart Source #
Begins running a survey.
See: surveysStart
smart constructor.
Instances
Request Lenses
ssPayload :: Lens' SurveysStart SurveysStartRequest Source #
Multipart request metadata.