smalley
Version:
Validates data passed in against a validation definition config.
35 lines • 831 B
JSON
{
"email": "test@test.com",
"employeeId": 12345,
"orderId": null,
"saleTypeId": 1,
"discountCode": null,
"discountRate": null,
"memo": "This is a test sale",
"date": "01/01/2016",
"items": [
{
"lineItemId": "1234567890-1",
"eventId": 12345678,
"vendorId": 12345678,
"section": "Lower Grandstand - 101",
"row": "A",
"quantity": 4,
"rate": 25.00,
"serviceCharge": 5.00,
"tax": 5.89,
"inhandDate": "10/10/2016",
"shippingInfo":
{
"shippingTypeId": 111,
"trackingNumber": "1234123412341234",
"eticket": "https://some/location/in/a/galaxy/far/away.pdf"
}
}
],
"payments": [
{
"lineItemId": "1234567890-1"
}
]
}