POST ticket_services/TimedTicket
This method will accept contact information to create a contact record.
Requires: HTTPS, Basic Auth.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| newContact | A json object with the following properties:
FirstName: (string) The contact's Firstname. Required.
LastName: (string) The contact's lastname. Required.
Email: (string) The contact's email address. Required.
Address:
Street1: (string) Street address line1.
Street2: (string) Street address line2.
City: (string) The contact's city.
State: (string) The contact's state.
Postalcode: (string) The contact's Postal / Zip code.
Country: (string) The contact's country.
HomePhone: (string) The contact's home phone.
WorkPhone: (string) The contact's work phone.
MobilePhone:(string) The contact's mobile number. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"FirstName": "sample string 1",
"LastName": "sample string 2",
"Email": "sample string 3",
"Address": {
"Street1": "sample string 1",
"Street2": "sample string 2",
"City": "sample string 3",
"State": "sample string 4",
"Postalcode": "sample string 5",
"Country": "sample string 6",
"HomePhone": "sample string 7",
"WorkPhone": "sample string 8",
"MobilePhone": "sample string 9"
},
"BookingAttendee": [
{
"MemberCode": 1,
"FirstName": "sample string 2",
"LastName": "sample string 3",
"Email": "sample string 4"
},
{
"MemberCode": 1,
"FirstName": "sample string 2",
"LastName": "sample string 3",
"Email": "sample string 4"
},
{
"MemberCode": 1,
"FirstName": "sample string 2",
"LastName": "sample string 3",
"Email": "sample string 4"
}
]
}
Response Information
Response body formats
application/json, text/json
Sample:
{
"MemberCode": 1,
"MemberNumber": 2,
"FirstName": "sample string 4",
"LastName": "sample string 5",
"Email": "sample string 6",
"Address": {
"Street1": "sample string 1",
"Street2": "sample string 2",
"City": "sample string 3",
"State": "sample string 4",
"Postalcode": "sample string 5",
"Country": "sample string 6",
"HomePhone": "sample string 7",
"WorkPhone": "sample string 8",
"MobilePhone": "sample string 9"
},
"BookingAttendee": [
{
"MemberCode": 1,
"FirstName": "sample string 2",
"LastName": "sample string 3",
"Email": "sample string 4"
},
{
"MemberCode": 1,
"FirstName": "sample string 2",
"LastName": "sample string 3",
"Email": "sample string 4"
},
{
"MemberCode": 1,
"FirstName": "sample string 2",
"LastName": "sample string 3",
"Email": "sample string 4"
}
]
}