post https://yourorgsite.com/api/LegacyPartyMembership/_execute
Executes an operation of LegacyPartyMembership
With the LegacyPartyMembership service, you can perform the following operations on the execute endpoint:
- TermDatesOverrideable
- CanOverrideMembershipPrices
- HasUnpaidSubscriptionForTermDate
- GetLegacyBillingMonths
- GetPartyBillingMonths
- GetLegacyStandardBillingMonths
- GetBillingCycleType
- CheckMembershipRenewalAvailable
- BilledForRenewal
- GetOrderLineGroupTermData
- BilledChapterRequiredForRenewal
- AllowMultipleChapters
- GetPartyPrimaryChapter
TermDatesOverrideable
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "TermDatesOverrideable",
"EntityTypeName": "LegacyPartyMembership",
"Parameters": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
"$values": [
{
"$type": "Asi.Soa.Commerce.DataContracts.OrderLineData",
"$value": "orderLine Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"Asi.Soa.Commerce.DataContracts.OrderLineData"
]
},
"UseJson": false
}
CanOverrideMembershipPrices
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "CanOverrideMembershipPrices",
"EntityTypeName": "LegacyPartyMembership",
"Parameters": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
"$values": [
{
"$type": "Asi.Soa.Commerce.DataContracts.ItemSummaryData",
"$value": "item Value"
},
{
"$type": "Asi.Soa.Commerce.DataContracts.OrderLineData",
"$value": "parentOrderLine Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"Asi.Soa.Commerce.DataContracts.ItemSummaryData",
"Asi.Soa.Commerce.DataContracts.OrderLineData"
]
},
"UseJson": false
}
HasUnpaidSubscriptionForTermDate
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "HasUnpaidSubscriptionForTermDate",
"EntityTypeName": "LegacyPartyMembership",
"Parameters": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
"$values": [
{
"$type": "System.DateTime",
"$value": "termBeginDate Value"
},
{
"$type": "System.String",
"$value": "partyId Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"System.DateTime",
"System.String"
]
},
"UseJson": false
}
GetLegacyBillingMonths
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "GetLegacyBillingMonths",
"EntityTypeName": "LegacyPartyMembership",
"Parameters": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
"$values": [
{
"$type": "Asi.Soa.Commerce.DataContracts.OrderLineData",
"$value": "orderLine Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"Asi.Soa.Commerce.DataContracts.OrderLineData"
]
},
"UseJson": false
}
GetPartyBillingMonths
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "GetPartyBillingMonths",
"EntityTypeName": "LegacyPartyMembership",
"Parameters": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
"$values": [
{
"$type": "System.String",
"$value": "partyId Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"System.String"
]
},
"UseJson": false
}
GetLegacyStandardBillingMonths
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "GetLegacyStandardBillingMonths",
"EntityTypeName": "LegacyPartyMembership",
"UseJson": false
}
GetBillingCycleType
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "GetBillingCycleType",
"EntityTypeName": "LegacyPartyMembership",
"Parameters": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
"$values": [
{
"$type": "System.String",
"$value": "billingCycleType Value"
},
{
"$type": "System.String",
"$value": "itemId Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"System.String",
"System.String"
]
},
"UseJson": false
}
CheckMembershipRenewalAvailable
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "CheckMembershipRenewalAvailable",
"EntityTypeName": "LegacyPartyMembership",
"Parameters": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
"$values": [
{
"$type": "System.String",
"$value": "shipToPartyId Value"
},
{
"$type": "Asi.Soa.Commerce.DataContracts.ComboOrderData",
"$value": "comboOrder Value"
},
{
"$type": "System.String",
"$value": "orderLineId Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"System.String",
"Asi.Soa.Commerce.DataContracts.ComboOrderData",
"System.String"
]
},
"UseJson": false
}
BilledForRenewal
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "BilledForRenewal",
"EntityTypeName": "LegacyPartyMembership",
"Parameters": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
"$values": [
{
"$type": "System.String",
"$value": "billToPartyId Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"System.String"
]
},
"UseJson": false
}
GetOrderLineGroupTermData
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "GetOrderLineGroupTermData",
"EntityTypeName": "LegacyPartyMembership",
"Parameters": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
"$values": [
{
"$type": "System.String",
"$value": "partyId Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"System.String"
]
},
"UseJson": false
}
BilledChapterRequiredForRenewal
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "BilledChapterRequiredForRenewal",
"EntityTypeName": "LegacyPartyMembership",
"Parameters": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
"$values": [
{
"$type": "Asi.Soa.Commerce.DataContracts.OrderLineData",
"$value": "orderLine Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"Asi.Soa.Commerce.DataContracts.OrderLineData"
]
},
"UseJson": false
}
AllowMultipleChapters
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "AllowMultipleChapters",
"EntityTypeName": "LegacyPartyMembership",
"Parameters": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
"$values": [
{
"$type": "Asi.Soa.Commerce.DataContracts.OrderLineData",
"$value": "orderLine Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"Asi.Soa.Commerce.DataContracts.OrderLineData"
]
},
"UseJson": false
}
GetPartyPrimaryChapter
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "GetPartyPrimaryChapter",
"EntityTypeName": "LegacyPartyMembership",
"Parameters": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
"$values": [
{
"$type": "System.String",
"$value": "partyId Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"System.String"
]
},
"UseJson": false
}