Skip to content

Instantly share code, notes, and snippets.

@JohnGoodman
Created July 18, 2014 00:06
Show Gist options
  • Save JohnGoodman/e5f6a323aba791402a02 to your computer and use it in GitHub Desktop.
Save JohnGoodman/e5f6a323aba791402a02 to your computer and use it in GitHub Desktop.
Appointment Details
{
"ArgumentErrors": null,
"ErrorCode": 0,
"ErrorMessage": null,
"IsSuccess": true,
"Appointment": {
"BookingNumber": "100076425151",
"Confirmable": true,
"EndDateTime": "/Date(1405630800000-0400)/",
"FinalTotal": {
"Amount": 40,
"CurrencyCode": "USD"
},
"ID": 76425151,
"IsCancelled": false,
"IsNoShow": false,
"LocationID": 6030,
"StartDateTime": "/Date(1405626300000-0400)/",
"Status": {
"ID": 2,
"Name": "Booked"
},
"CanTakePayment": false,
"DateCreated": "/Date(1405553100000-0400)/",
"AppointmentPayment": {
"CouponCode": null,
"PaymentItem": null
},
"AppointmentTreatments": [
{
"AppointmentID": 76425151,
"DynamicPrice": {
"Discount": {
"Amount": 0,
"CurrencyCode": "USD"
},
"FinalPrice": {
"Amount": 40,
"CurrencyCode": "USD"
},
"OriginalPrice": {
"Amount": 40,
"CurrencyCode": "USD"
},
"Specials": [],
"SpecialsSummary": null,
"IsFinalPriceOverriden": false,
"OverrideReasonID": null,
"ReceiptDisplayPrice": {
"Amount": 40,
"CurrencyCode": "USD"
}
},
"EndDateTime": "/Date(1405630800000-0400)/",
"ID": 88396518,
"StartDateTime": "/Date(1405626300000-0400)/",
"FullStayGroupID": null,
"SharedRoomGroupID": null,
"ChildID": null,
"ChildName": null,
"Treatment": {
"AllowCustomersToBookOnline": true,
"Category": {
"ID": 25,
"Name": "Pedicures"
},
"Description": "pedicure",
"DisplayName": null,
"ID": 576786,
"Name": "Spa Pedicure",
"Price": {
"Amount": 35,
"CurrencyCode": "USD"
},
"SubCategory": {
"ID": 119,
"Name": "Spa Pedicure"
},
"TotalDuration": 60,
"TreatmentDuration": 60,
"ImageURL": null,
"DurationType": {
"ID": 1,
"Name": "Fixed Single Day"
},
"FlexiblePriceIncrementType": {
"ID": null,
"Name": null
},
"IsBoundingService": false,
"IsFlexiblePrice": false,
"IsSharedService": false,
"MaxTreatmentDuration": null,
"MinTreatmentDuration": null,
"SharedRoomGuestCount": null,
"ColorCode": null,
"DoesNotRequireStaff": false,
"IsForCouples": false,
"AvailableInAdvance": 2,
"DateCreated": "/Date(1343617980000-0400)/",
"DateLastModified": "/Date(1361914800000-0500)/",
"AvailableInAdvanceDateUnitType": {
"ID": 3,
"Name": "months"
}
},
"Employee": {
"FirstName": "Christina ",
"Gender": {
"ID": 2,
"Name": "Female"
},
"ID": 111301,
"LastName": "Sanchez",
"LocationID": 6030,
"Photo": null,
"ProfileDescription": null,
"Type": 1
}
}
],
"Customer": null,
"Treatment": {
"AllowCustomersToBookOnline": true,
"Category": {
"ID": 25,
"Name": "Pedicures"
},
"Description": "pedicure",
"DisplayName": null,
"ID": 576786,
"Name": "Spa Pedicure",
"Price": {
"Amount": 35,
"CurrencyCode": "USD"
},
"SubCategory": {
"ID": 119,
"Name": "Spa Pedicure"
},
"TotalDuration": 60,
"TreatmentDuration": 60,
"ImageURL": null,
"DurationType": {
"ID": 1,
"Name": "Fixed Single Day"
},
"FlexiblePriceIncrementType": {
"ID": null,
"Name": null
},
"IsBoundingService": false,
"IsFlexiblePrice": false,
"IsSharedService": false,
"MaxTreatmentDuration": null,
"MinTreatmentDuration": null,
"SharedRoomGuestCount": null,
"ColorCode": null,
"DoesNotRequireStaff": false,
"IsForCouples": false,
"AvailableInAdvance": 2,
"DateCreated": "/Date(1343617980000-0400)/",
"DateLastModified": "/Date(1361914800000-0500)/",
"AvailableInAdvanceDateUnitType": {
"ID": 3,
"Name": "months"
}
},
"GroupAppointmentID": null,
"BookedDateTime": "/Date(1405553100000-0400)/",
"AddOnItems": [],
"Child": null
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment