post https://yourorgsite.com/api/LegacyOrder/_execute
Executes an operation of LegacyOrder
With the LegacyOrder service, you can perform the following operations on the execute endpoint:
- DetermineRedirect
- Quote
- ReIssueQuote
- ConvertToStandard
- PickList
- ShippingPapers
- Ship
- Invoice
- ReleaseBackorders
- GetOrderLineTermGroupData
- GetOrderLineTermGroupRenewalData
DetermineRedirect
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "DetermineRedirect",
"EntityTypeName": "LegacyOrder",
"Parameters": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
"$values": [
{
"$type": "System.Decimal",
"$value": "orderNumber Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"System.Decimal"
]
},
"UseJson": false
}
Quote
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "Quote",
"EntityTypeName": "LegacyOrder",
"Parameters": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
"$values": [
{
"$type": "Asi.Soa.Commerce.DataContracts.Order.LegacyOrderStageProcessingData, Asi.Contracts",
"$value": "legacyOrderStageProcessingData Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"Asi.Soa.Commerce.DataContracts.Order.LegacyOrderStageProcessingData, Asi.Contracts"
]
},
"UseJson": false
}
ReIssueQuote
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "ReIssueQuote",
"EntityTypeName": "LegacyOrder",
"Parameters": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
"$values": [
{
"$type": "Asi.Soa.Commerce.DataContracts.Order.LegacyOrderStageProcessingData, Asi.Contracts",
"$value": "legacyOrderStageProcessingData Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"Asi.Soa.Commerce.DataContracts.Order.LegacyOrderStageProcessingData, Asi.Contracts"
]
},
"UseJson": false
}
ConvertToStandard
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "ConvertToStandard",
"EntityTypeName": "LegacyOrder",
"Parameters": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
"$values": [
{
"$type": "Asi.Soa.Commerce.DataContracts.Order.LegacyOrderStageProcessingData, Asi.Contracts",
"$value": "legacyOrderStageProcessingData Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"Asi.Soa.Commerce.DataContracts.Order.LegacyOrderStageProcessingData, Asi.Contracts"
]
},
"UseJson": false
}
PickList
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "PickList",
"EntityTypeName": "LegacyOrder",
"Parameters": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
"$values": [
{
"$type": "Asi.Soa.Commerce.DataContracts.Order.LegacyOrderStageProcessingData, Asi.Contracts",
"$value": "legacyOrderStageProcessingData Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"Asi.Soa.Commerce.DataContracts.Order.LegacyOrderStageProcessingData, Asi.Contracts"
]
},
"UseJson": false
}
ShippingPapers
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "ShippingPapers",
"EntityTypeName": "LegacyOrder",
"Parameters": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
"$values": [
{
"$type": "Asi.Soa.Commerce.DataContracts.Order.LegacyOrderStageProcessingData, Asi.Contracts",
"$value": "legacyOrderStageProcessingData Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"Asi.Soa.Commerce.DataContracts.Order.LegacyOrderStageProcessingData, Asi.Contracts"
]
},
"UseJson": false
}
Ship
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "Ship",
"EntityTypeName": "LegacyOrder",
"Parameters": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
"$values": [
{
"$type": "Asi.Soa.Commerce.DataContracts.Order.LegacyOrderStageShipProcessingData, Asi.Contracts",
"$value": "legacyOrderStageProcessingData Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"Asi.Soa.Commerce.DataContracts.Order.LegacyOrderStageShipProcessingData, Asi.Contracts"
]
},
"UseJson": false
}
Invoice
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "Invoice",
"EntityTypeName": "LegacyOrder",
"Parameters": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
"$values": [
{
"$type": "Asi.Soa.Commerce.DataContracts.Order.LegacyOrderStageInvoiceProcessingData, Asi.Contracts",
"$value": "legacyOrderStageInvoiceProcessingData Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"Asi.Soa.Commerce.DataContracts.Order.LegacyOrderStageInvoiceProcessingData, Asi.Contracts"
]
},
"UseJson": false
}
ReleaseBackorders
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "ReleaseBackorders",
"EntityTypeName": "LegacyOrder",
"Parameters": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
"$values": [
{
"$type": "Asi.Soa.Commerce.DataContracts.Order.LegacyOrderStageProcessingData, Asi.Contracts",
"$value": "legacyOrderStageProcessingData Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"Asi.Soa.Commerce.DataContracts.Order.LegacyOrderStageProcessingData, Asi.Contracts"
]
},
"UseJson": false
}
GetOrderLineTermGroupData
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "GetOrderLineTermGroupData",
"EntityTypeName": "LegacyOrder",
"Parameters": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
"$values": [
{
"$type": "System.String",
"$value": "partyId Value"
},
{
"$type": "System.Nullable`1[[System.DateTime, mscorlib, ]]",
"$value": "billingDate Value"
},
{
"$type": "System.String[]",
"$value": "itemCodes Value"
},
{
"$type": "System.String",
"$value": "duesCycleCode Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"System.String",
"System.Nullable`1[[System.DateTime, mscorlib, ]]",
"System.String[]",
"System.String"
]
},
"UseJson": false
}
GetOrderLineTermGroupRenewalData
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "GetOrderLineTermGroupRenewalData",
"EntityTypeName": "LegacyOrder",
"Parameters": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
"$values": [
{
"$type": "System.String",
"$value": "partyId Value"
},
{
"$type": "System.String",
"$value": "itemCode Value"
},
{
"$type": "System.String",
"$value": "duesCycleCode Value"
},
{
"$type": "System.String",
"$value": "invoiceId Value"
},
{
"$type": "System.DateTime",
"$value": "orderDate Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"System.String",
"System.String",
"System.String",
"System.String",
"System.DateTime"
]
},
"UseJson": false
}