The following is an example of a Person’s (James W. Gordon ) Signup for the Neighbors Calling Neighbors Event. James has been Invited to be the Host during Shift 2452 (specifically from 3PM to 4PM ) at Campaign HQ .
JSON
{
"eventSignupId": 2452,
"person": {
"vanId": 100476252,
"firstName": "James",
"middleName": "Worthington",
"lastName": "Gordon"
},
"event": {
"eventId": 1370,
"name": "Neighbors Calling Neighbors",
"shortName": "NeighborCall"
},
"shift": {
"eventShiftId": 2162,
"name": null
},
"role": {
"roleId": 111687,
"name": "Host"
},
"status": {
"statusId": 4,
"name": "Invited"
},
"location": {
"locationId": 272,
"name": "Campaign HQ",
"displayName": "Campaign HQ, 48 Grove St Somerville, MA 02144-2500"
},
"startTimeOverride": "2015-06-01T15:00:00-04:00",
"endTimeOverride": "2015-06-01T16:00:00-04:00"
}
The overall Signup object has a number of properties with simple object values. Only simple objects’ unique identifiers are required.
Property Type Description eventSignupIdint Read-only; Unique identifier for this Signup personobject Required; An accessible Person eventobject Required; A simple Event to sign up for shiftobject Required; A simple Shift of the Event roleobject Required; A simple Role for this person to play statusobject Required; A signup Status (e.g., “Invited”) locationobject Required if event has Locations; If specified, a Location that is available to this Event startTimeOverridedatetime Optional; If specified, overrides the startTime of the associated shift and requires that endTimeOverride must also be set endTimeOverridedatetime Optional; If specified, overrides the endTime of the associated shift and requires that startTimeOverride must be set to an earlier time supporterGroupIdint Optional; a Supporter Group to associate with this Event Signup
Property Type Description vanIdstring Required; Unique identifier for an accessible person firstNamestring Read-only; A person’s first name, no longer than 20 characters middleNamestring Read-only; A person’s middle name, no longer than 20 characters lastNamestring Read-only; A person’s last name, no longer than 25 characters
Property Type Description eventIdint Required; Unique identifier for an accessible Event namestring Read-only; A name for this Event, no longer than 500 characters shortNamestring Read-only; A shorter name for this Event, no longer than 12 characters
Property Type Description eventShiftIdint Required; Unique identifier for a Shift of this Event namestring Read-only; A name for this Shift, no longer than 15 characters
Property Type Description roleIdint Required; Unique identifier for a Role available to this Event namestring Read-only; The name of this Role, no longer than 50 characters
Property Type Description statusIdint Required; Unique identifier for a Status available to this Event (as specified by the Event Type ) namestring Read-only; The name of this Status, no longer than 10 characters
Property Type Description locationIdint Required; Unique identifier for an existing Location namestring Read-only; The name of this Location, no longer than 50 characters displayNamestring Read-only; The name and address of this Location, no longer than 200 characters