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: Surveys API Reference for surveys.surveys.insert
.
Synopsis
- type SurveysInsertResource = "surveys" :> ("v2" :> ("surveys" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Survey :> Post '[JSON] Survey))))
- surveysInsert :: Survey -> SurveysInsert
- data SurveysInsert
- siPayload :: Lens' SurveysInsert Survey
REST Resource
type SurveysInsertResource = "surveys" :> ("v2" :> ("surveys" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Survey :> Post '[JSON] Survey)))) Source #
A resource alias for surveys.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.