Http Verb | POST |
Resource URL | https://ts-stg-appgw.calacademy.org/TessituraService/Web/Cart/{sessionKey}/GiftCertificates |
URI Parameters
|
Request BodyRequest object type : AddGiftCertificateRequest
|
{
"Amount": 1.0,
"PaymentMethodId": 2,
"Notes": "sample string 3",
"Name": "sample string 4"
}
<AddGiftCertificateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<Amount>1</Amount>
<Name>sample string 4</Name>
<Notes>sample string 3</Notes>
<PaymentMethodId>2</PaymentMethodId>
</AddGiftCertificateRequest>
Response object type : CartProductResponse
Response object type CartProductResponse has the following properties. |
Property Name | Data Type | Length | Required | Readonly | Notes |
---|---|---|---|---|---|
Id | integer | ||||
ItemCount | integer | ||||
ParentId | integer | N | For Payments, parent id will be NULL. For Package and Performance responses, parent id will be the LineItem Id for the cart. | ||
ProductTypeId | integer |
{
"Id": 1,
"ProductTypeId": 2,
"ParentId": 1,
"ItemCount": 1
}
<CartProductResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<Id>1</Id>
<ItemCount>1</ItemCount>
<ParentId>1</ParentId>
<ProductTypeId>2</ProductTypeId>
</CartProductResponse>
Change | Version | Description | Contract | Old | New |
---|---|---|---|---|---|
Parameter Changed | 15.0.0 | sessionKey has been marked as required. | Required |