post https://yourorgsite.com/api/MediaOrder/_execute
Executes an operation of MediaOrder
With the MediaOrder service, you can perform the following operations on the execute endpoint:
- GenerateBuyId
- AddMediaOrder
- UpdateMediaOrder
- PostOrderForCopy
GenerateBuyId
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "GenerateBuyId",
"EntityTypeName": "MediaOrder",
"UseJson": false
}
AddMediaOrder
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "AddMediaOrder",
"EntityTypeName": "MediaOrder",
"Parameters": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
"$values": [
{
"$type": "Asi.Soa.Media.DataContracts.MediaOrderData, Asi.Contracts",
"$value": "mediaOrderData Value"
},
{
"$type": "System.Int32[]",
"$value": "adIssueDateDatas Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"Asi.Soa.Media.DataContracts.MediaOrderData, Asi.Contracts",
"System.Int32[]"
]
},
"UseJson": false
}
UpdateMediaOrder
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "UpdateMediaOrder",
"EntityTypeName": "MediaOrder",
"Parameters": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
"$values": [
{
"$type": "Asi.Soa.Media.DataContracts.MediaOrderData, Asi.Contracts",
"$value": "mediaOrderData Value"
},
{
"$type": "System.Int32[]",
"$value": "adIssueDateDatas Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"Asi.Soa.Media.DataContracts.MediaOrderData, Asi.Contracts",
"System.Int32[]"
]
},
"UseJson": false
}
PostOrderForCopy
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "PostOrderForCopy",
"EntityTypeName": "MediaOrder",
"Parameters": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
"$values": [
{
"$type": "System.Collections.ObjectModel.Collection`1[[Asi.Soa.Media.DataContracts.MediaOrderData, Asi.Contracts]]",
"$value": "mediaOrderData Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"System.Collections.ObjectModel.Collection`1[[Asi.Soa.Media.DataContracts.MediaOrderData, Asi.Contracts]]"
]
},
"UseJson": false
}