- handleGet
Built in definition for API deployment GET method
- handlePost
Built in definition for API deployment POST method
Built in definition for API deployment GET method
Returns the corresponding user entry in the Contacts sheet matching the serialNumber query parameter
Kind: inner method of handleGet
Returns: object
- Standard response with a JavaScript text body
Param | Type | Description |
---|---|---|
e | object |
Request event data |
Built in definition for API deployment POST method
- handlePost
- ~doPost(e) ⇒
object
- ~addEvent(sheet, eventJson) ⇒
boolean
- ~doPost(e) ⇒
Creates an event entry in the Events spreadsheet
Kind: inner method of handlePost
Returns: object
- Standard response with a JavaScript text body
Param | Type | Description |
---|---|---|
e | object |
Request event data |
Adds a PassNinja event to a new row in the target spreadsheet
Kind: inner method of handlePost
Returns: boolean
- If the action completed successfully
Param | Type | Description |
---|---|---|
sheet | Sheet |
Sheet to insert the event into |
eventJson | object |
JSON representation of the PassNinja event |