HomeGuidesAPI ReferenceChangelogDiscussions
GuidesiMIS ProfessionaliMIS EnterpriseClient SupportLog In
API Reference

Executes a MediaInventoryMaster operation

Executes an operation of MediaInventoryMaster

With the MediaInventoryMaster service, you can perform the following operations on the execute endpoint:

  • CreateInventoryMatrix
  • CheckBlockedInventory
  • AddMediaInventoryMasterAndDetail
  • UpdateAdSizeId

CreateInventoryMatrix

BODY PARAMS:
{
  "$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
  "OperationName": "CreateInventoryMatrix",
  "EntityTypeName": "MediaInventoryMaster",
  "Parameters": {
    "$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
    "$values": [
      {
        "$type": "System.Int32",
        "$value": "mediaAssetId Value"
      },
      {
        "$type": "System.Collections.Generic.IEnumerable`1[[Asi.Soa.Media.DataContracts.MediaInventoryMasterData, Asi.Contracts]]",
        "$value": "contracts Value"
      }
    ]
  },
  "ParameterTypeName": {
    "$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
    "$values": [
      "System.Int32",
      "System.Collections.Generic.IEnumerable`1[[Asi.Soa.Media.DataContracts.MediaInventoryMasterData, Asi.Contracts]]"
    ]
  },
  "UseJson": false
}

CheckBlockedInventory

BODY PARAMS:
{
  "$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
  "OperationName": "CheckBlockedInventory",
  "EntityTypeName": "MediaInventoryMaster",
  "Parameters": {
    "$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
    "$values": [
      {
        "$type": "System.Int32",
        "$value": "mediaAssetId Value"
      },
      {
        "$type": "System.Int32",
        "$value": "adSizeId Value"
      },
      {
        "$type": "System.Int32",
        "$value": "issueDateId Value"
      }
    ]
  },
  "ParameterTypeName": {
    "$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
    "$values": [
      "System.Int32",
      "System.Int32",
      "System.Int32"
    ]
  },
  "UseJson": false
}

AddMediaInventoryMasterAndDetail

BODY PARAMS:
{
  "$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
  "OperationName": "AddMediaInventoryMasterAndDetail",
  "EntityTypeName": "MediaInventoryMaster",
  "Parameters": {
    "$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
    "$values": [
      {
        "$type": "Asi.Soa.Media.DataContracts.MediaOrderData, Asi.Contracts",
        "$value": "mediaOrder Value"
      }
    ]
  },
  "ParameterTypeName": {
    "$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
    "$values": [
      "Asi.Soa.Media.DataContracts.MediaOrderData, Asi.Contracts"
    ]
  },
  "UseJson": false
}

UpdateAdSizeId

BODY PARAMS:
{
  "$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
  "OperationName": "UpdateAdSizeId",
  "EntityTypeName": "MediaInventoryMaster",
  "Parameters": {
    "$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
    "$values": [
      {
        "$type": "System.Int32",
        "$value": "inventoryId Value"
      },
      {
        "$type": "System.Int32",
        "$value": "adSizeId Value"
      }
    ]
  },
  "ParameterTypeName": {
    "$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
    "$values": [
      "System.Int32",
      "System.Int32"
    ]
  },
  "UseJson": false
}
Language
Credentials
OAuth2
Click Try It! to start a request and see the response here!