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:
- CanOverrideMembershipPrices
- HasUnpaidSubscriptionForTermDate
- GetPartyBillingMonths
- CheckMembershipRenewalAvailable
- BilledForRenewal
- GetOrderLineGroupTermData
- AtLeastOneChapterRequired
- GetPartyPrimaryChapter
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, Asi.Contracts",
"$value": "item Value"
},
{
"$type": "Asi.Soa.Commerce.DataContracts.OrderLineData, Asi.Contracts",
"$value": "parentOrderLine Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"Asi.Soa.Commerce.DataContracts.ItemSummaryData, Asi.Contracts",
"Asi.Soa.Commerce.DataContracts.OrderLineData, Asi.Contracts"
]
},
"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
}
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
}
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, Asi.Contracts",
"$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, Asi.Contracts",
"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
}
AtLeastOneChapterRequired
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "AtLeastOneChapterRequired",
"EntityTypeName": "LegacyPartyMembership",
"Parameters": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
"$values": [
{
"$type": "Asi.Soa.Commerce.DataContracts.OrderLineData, Asi.Contracts",
"$value": "orderLine Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"Asi.Soa.Commerce.DataContracts.OrderLineData, Asi.Contracts"
]
},
"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
}