Cart Test
Web/Cart/{sessionKey}/SubLineItems/{subLineItemId}/PriceTypeId
Updates the price type on a sub line item
Http Verb PUT
Resource URL https://ts-stg-appgw.calacademy.org/TessituraService/Web/Cart/{sessionKey}/SubLineItems/{subLineItemId}/PriceTypeId

URI Parameters

Parameter Name Data Type Required Notes
sessionKey string Y
subLineItemId integer Y The Id of the sub lineitem to apply the price type to. Must be a valid sub lineitem in the cart.

Request Body

Request object type : UpdatePriceTypeRequest

Request object type UpdatePriceTypeRequest has the following properties.
Property Name Data Type Length Required Readonly Notes
NewPriceType integer Y The new price type to apply. Must be valid for the current MOS and for the current price zone of the seats.
FK: TR_PRICE_TYPE.id   Resource: PriceTypes
NewPriceTypeReason integer N The price type reason (comp code) to apply. Required if the price type specified requires reasons.
FK: TR_COMP_CODE.id   Resource: PriceTypeReasons
OriginalPriceType integer Y Used to filter which sub line items get updated, optional. Only sub lineitems with this price type will get the new one specified.
FK: TR_PRICE_TYPE.id   Resource: PriceTypes
{
  "OriginalPriceType": 1,
  "NewPriceType": 1,
  "NewPriceTypeReason": 1
}
<UpdatePriceTypeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <NewPriceType>1</NewPriceType>
  <NewPriceTypeReason>1</NewPriceTypeReason>
  <OriginalPriceType>1</OriginalPriceType>
</UpdatePriceTypeRequest>

No response body. Please check http status code header for success (200 OK) or failure. It there are error(s), a collection of ErrorMessages will be returned.

No response body. Please check http status code header for success (200 OK) or failure. It there are error(s), a collection of ErrorMessages will be returned.

Change Version Description Contract Old New
Parameter Changed 15.0.0 sessionKey has been marked as required. Required