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
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",
"$value": "legacyOrderStageProcessingData Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"Asi.Soa.Commerce.DataContracts.Order.LegacyOrderStageProcessingData"
]
},
"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",
"$value": "legacyOrderStageProcessingData Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"Asi.Soa.Commerce.DataContracts.Order.LegacyOrderStageProcessingData"
]
},
"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",
"$value": "legacyOrderStageProcessingData Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"Asi.Soa.Commerce.DataContracts.Order.LegacyOrderStageProcessingData"
]
},
"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",
"$value": "legacyOrderStageProcessingData Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"Asi.Soa.Commerce.DataContracts.Order.LegacyOrderStageProcessingData"
]
},
"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",
"$value": "legacyOrderStageProcessingData Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"Asi.Soa.Commerce.DataContracts.Order.LegacyOrderStageProcessingData"
]
},
"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",
"$value": "legacyOrderStageProcessingData Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"Asi.Soa.Commerce.DataContracts.Order.LegacyOrderStageShipProcessingData"
]
},
"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",
"$value": "legacyOrderStageInvoiceProcessingData Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"Asi.Soa.Commerce.DataContracts.Order.LegacyOrderStageInvoiceProcessingData"
]
},
"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",
"$value": "legacyOrderStageProcessingData Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"Asi.Soa.Commerce.DataContracts.Order.LegacyOrderStageProcessingData"
]
},
"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": "effectiveDate Value"
},
{
"$type": "System.String[]",
"$values": ["itemCodes Value", "itemCodes Value 2"]
},
{
"$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
}