post https://yourorgsite.com/api/MediaOrderLine/_execute
Executes an operation of MediaOrderLine
With the MediaOrderLine service, you can perform the following operations on the execute endpoint:
- AddMediaOrderLines
- DeleteMediaOrderLines
- ChangeSequenceAndUpdateCost
- DeleteMediaOrderLineByMediaOrderId
AddMediaOrderLines
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "AddMediaOrderLines",
"EntityTypeName": "MediaOrderLine",
"Parameters": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
"$values": [
{
"$type": "Asi.Soa.Media.DataContracts.MediaOrderLineData, Asi.Contracts",
"$value": "mediaOrderLineData Value"
},
{
"$type": "System.String[]",
"$value": "mediaOrderIds Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"Asi.Soa.Media.DataContracts.MediaOrderLineData, Asi.Contracts",
"System.String[]"
]
},
"UseJson": false
}
DeleteMediaOrderLines
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "DeleteMediaOrderLines",
"EntityTypeName": "MediaOrderLine",
"Parameters": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
"$values": [
{
"$type": "System.String[]",
"$value": "deleteMediaOrderLineIds Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"System.String[]"
]
},
"UseJson": false
}
ChangeSequenceAndUpdateCost
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "ChangeSequenceAndUpdateCost",
"EntityTypeName": "MediaOrderLine",
"Parameters": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
"$values": [
{
"$type": "System.Int32",
"$value": "mediaOrderId Value"
},
{
"$type": "System.Int32",
"$value": "mediaOrderLineId Value"
},
{
"$type": "System.Boolean",
"$value": "movedUp Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"System.Int32",
"System.Int32",
"System.Boolean"
]
},
"UseJson": false
}
DeleteMediaOrderLineByMediaOrderId
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "DeleteMediaOrderLineByMediaOrderId",
"EntityTypeName": "MediaOrderLine",
"Parameters": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
"$values": [
{
"$type": "System.Int32",
"$value": "mediaOrderId Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"System.Int32"
]
},
"UseJson": false
}