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 |
Creates a survey.
See: Consumer Surveys API Reference for consumersurveys.surveys.insert
.
Synopsis
- type SurveysInsertResource = "consumersurveys" :> ("v2" :> ("surveys" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Survey :> Post '[JSON] Survey))))
- surveysInsert :: Survey -> SurveysInsert
- data SurveysInsert
- siPayload :: Lens' SurveysInsert Survey
REST Resource
type SurveysInsertResource = "consumersurveys" :> ("v2" :> ("surveys" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Survey :> Post '[JSON] Survey)))) Source #
A resource alias for consumersurveys.surveys.insert
method which the
SurveysInsert
request conforms to.
Creating a Request
Creates a value of SurveysInsert
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SurveysInsert Source #
Creates a survey.
See: surveysInsert
smart constructor.