POST GetMediaData?ProductID={ProductID}&PartID={PartID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ProductID

string

Required

PartID

string

Required

Body Parameters

None.

Response Information

Resource Description

GetMediaContentResponse
NameDescriptionTypeAdditional information
MediaContentArray

Collection of MediaContent

None.

errorMessage

None.

Response Formats

application/json, text/json

Sample:
{
  "mediaContentArrayField": [
    {
      "productIdField": "sample string 1",
      "partIdField": "sample string 2",
      "urlField": "sample string 3",
      "mediaTypeField": 0,
      "classTypeArrayField": [
        {
          "classTypeIdField": 1,
          "classTypeNameField": "sample string 2",
          "PropertyChanged": null
        },
        {
          "classTypeIdField": 1,
          "classTypeNameField": "sample string 2",
          "PropertyChanged": null
        }
      ],
      "fileSizeField": 4.1,
      "fileSizeFieldSpecified": true,
      "widthField": 6.0,
      "widthFieldSpecified": true,
      "heightField": 8.0,
      "heightFieldSpecified": true,
      "dpiField": 10,
      "dpiFieldSpecified": true,
      "colorField": "sample string 12",
      "decorationArrayField": [
        {
          "decorationIdField": 1,
          "decorationNameField": "sample string 2",
          "PropertyChanged": null
        },
        {
          "decorationIdField": 1,
          "decorationNameField": "sample string 2",
          "PropertyChanged": null
        }
      ],
      "locationArrayField": [
        {
          "locationIdField": 1,
          "locationNameField": "sample string 2",
          "PropertyChanged": null
        },
        {
          "locationIdField": 1,
          "locationNameField": "sample string 2",
          "PropertyChanged": null
        }
      ],
      "decorationIdField": 13,
      "decorationIdFieldSpecified": true,
      "descriptionField": "sample string 15",
      "singlePartField": true,
      "changeTimeStampField": "2018-12-15T16:38:00.8694048-06:00",
      "changeTimeStampFieldSpecified": true,
      "PropertyChanged": null
    },
    {
      "productIdField": "sample string 1",
      "partIdField": "sample string 2",
      "urlField": "sample string 3",
      "mediaTypeField": 0,
      "classTypeArrayField": [
        {
          "classTypeIdField": 1,
          "classTypeNameField": "sample string 2",
          "PropertyChanged": null
        },
        {
          "classTypeIdField": 1,
          "classTypeNameField": "sample string 2",
          "PropertyChanged": null
        }
      ],
      "fileSizeField": 4.1,
      "fileSizeFieldSpecified": true,
      "widthField": 6.0,
      "widthFieldSpecified": true,
      "heightField": 8.0,
      "heightFieldSpecified": true,
      "dpiField": 10,
      "dpiFieldSpecified": true,
      "colorField": "sample string 12",
      "decorationArrayField": [
        {
          "decorationIdField": 1,
          "decorationNameField": "sample string 2",
          "PropertyChanged": null
        },
        {
          "decorationIdField": 1,
          "decorationNameField": "sample string 2",
          "PropertyChanged": null
        }
      ],
      "locationArrayField": [
        {
          "locationIdField": 1,
          "locationNameField": "sample string 2",
          "PropertyChanged": null
        },
        {
          "locationIdField": 1,
          "locationNameField": "sample string 2",
          "PropertyChanged": null
        }
      ],
      "decorationIdField": 13,
      "decorationIdFieldSpecified": true,
      "descriptionField": "sample string 15",
      "singlePartField": true,
      "changeTimeStampField": "2018-12-15T16:38:00.8694048-06:00",
      "changeTimeStampFieldSpecified": true,
      "PropertyChanged": null
    }
  ],
  "errorMessageField": {
    "codeField": 1,
    "descriptionField": "sample string 2",
    "PropertyChanged": null
  },
  "PropertyChanged": null
}

application/xml, text/xml

Sample:
<GetMediaContentResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.ProductionMediaService">
  <PropertyChanged xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.ComponentModel" i:nil="true" />
  <errorMessageField>
    <PropertyChanged xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.ComponentModel" i:nil="true" />
    <codeField>1</codeField>
    <descriptionField>sample string 2</descriptionField>
  </errorMessageField>
  <mediaContentArrayField>
    <MediaContent>
      <PropertyChanged xmlns:d4p1="http://schemas.datacontract.org/2004/07/System.ComponentModel" i:nil="true" />
      <changeTimeStampField>2018-12-15T16:38:00.8694048-06:00</changeTimeStampField>
      <changeTimeStampFieldSpecified>true</changeTimeStampFieldSpecified>
      <classTypeArrayField>
        <ClassType>
          <PropertyChanged xmlns:d6p1="http://schemas.datacontract.org/2004/07/System.ComponentModel" i:nil="true" />
          <classTypeIdField>1</classTypeIdField>
          <classTypeNameField>sample string 2</classTypeNameField>
        </ClassType>
        <ClassType>
          <PropertyChanged xmlns:d6p1="http://schemas.datacontract.org/2004/07/System.ComponentModel" i:nil="true" />
          <classTypeIdField>1</classTypeIdField>
          <classTypeNameField>sample string 2</classTypeNameField>
        </ClassType>
      </classTypeArrayField>
      <colorField>sample string 12</colorField>
      <decorationArrayField>
        <Decoration>
          <PropertyChanged xmlns:d6p1="http://schemas.datacontract.org/2004/07/System.ComponentModel" i:nil="true" />
          <decorationIdField>1</decorationIdField>
          <decorationNameField>sample string 2</decorationNameField>
        </Decoration>
        <Decoration>
          <PropertyChanged xmlns:d6p1="http://schemas.datacontract.org/2004/07/System.ComponentModel" i:nil="true" />
          <decorationIdField>1</decorationIdField>
          <decorationNameField>sample string 2</decorationNameField>
        </Decoration>
      </decorationArrayField>
      <decorationIdField>13</decorationIdField>
      <decorationIdFieldSpecified>true</decorationIdFieldSpecified>
      <descriptionField>sample string 15</descriptionField>
      <dpiField>10</dpiField>
      <dpiFieldSpecified>true</dpiFieldSpecified>
      <fileSizeField>4.1</fileSizeField>
      <fileSizeFieldSpecified>true</fileSizeFieldSpecified>
      <heightField>8</heightField>
      <heightFieldSpecified>true</heightFieldSpecified>
      <locationArrayField>
        <Location>
          <PropertyChanged xmlns:d6p1="http://schemas.datacontract.org/2004/07/System.ComponentModel" i:nil="true" />
          <locationIdField>1</locationIdField>
          <locationNameField>sample string 2</locationNameField>
        </Location>
        <Location>
          <PropertyChanged xmlns:d6p1="http://schemas.datacontract.org/2004/07/System.ComponentModel" i:nil="true" />
          <locationIdField>1</locationIdField>
          <locationNameField>sample string 2</locationNameField>
        </Location>
      </locationArrayField>
      <mediaTypeField>Image</mediaTypeField>
      <partIdField>sample string 2</partIdField>
      <productIdField>sample string 1</productIdField>
      <singlePartField>true</singlePartField>
      <urlField>sample string 3</urlField>
      <widthField>6</widthField>
      <widthFieldSpecified>true</widthFieldSpecified>
    </MediaContent>
    <MediaContent>
      <PropertyChanged xmlns:d4p1="http://schemas.datacontract.org/2004/07/System.ComponentModel" i:nil="true" />
      <changeTimeStampField>2018-12-15T16:38:00.8694048-06:00</changeTimeStampField>
      <changeTimeStampFieldSpecified>true</changeTimeStampFieldSpecified>
      <classTypeArrayField>
        <ClassType>
          <PropertyChanged xmlns:d6p1="http://schemas.datacontract.org/2004/07/System.ComponentModel" i:nil="true" />
          <classTypeIdField>1</classTypeIdField>
          <classTypeNameField>sample string 2</classTypeNameField>
        </ClassType>
        <ClassType>
          <PropertyChanged xmlns:d6p1="http://schemas.datacontract.org/2004/07/System.ComponentModel" i:nil="true" />
          <classTypeIdField>1</classTypeIdField>
          <classTypeNameField>sample string 2</classTypeNameField>
        </ClassType>
      </classTypeArrayField>
      <colorField>sample string 12</colorField>
      <decorationArrayField>
        <Decoration>
          <PropertyChanged xmlns:d6p1="http://schemas.datacontract.org/2004/07/System.ComponentModel" i:nil="true" />
          <decorationIdField>1</decorationIdField>
          <decorationNameField>sample string 2</decorationNameField>
        </Decoration>
        <Decoration>
          <PropertyChanged xmlns:d6p1="http://schemas.datacontract.org/2004/07/System.ComponentModel" i:nil="true" />
          <decorationIdField>1</decorationIdField>
          <decorationNameField>sample string 2</decorationNameField>
        </Decoration>
      </decorationArrayField>
      <decorationIdField>13</decorationIdField>
      <decorationIdFieldSpecified>true</decorationIdFieldSpecified>
      <descriptionField>sample string 15</descriptionField>
      <dpiField>10</dpiField>
      <dpiFieldSpecified>true</dpiFieldSpecified>
      <fileSizeField>4.1</fileSizeField>
      <fileSizeFieldSpecified>true</fileSizeFieldSpecified>
      <heightField>8</heightField>
      <heightFieldSpecified>true</heightFieldSpecified>
      <locationArrayField>
        <Location>
          <PropertyChanged xmlns:d6p1="http://schemas.datacontract.org/2004/07/System.ComponentModel" i:nil="true" />
          <locationIdField>1</locationIdField>
          <locationNameField>sample string 2</locationNameField>
        </Location>
        <Location>
          <PropertyChanged xmlns:d6p1="http://schemas.datacontract.org/2004/07/System.ComponentModel" i:nil="true" />
          <locationIdField>1</locationIdField>
          <locationNameField>sample string 2</locationNameField>
        </Location>
      </locationArrayField>
      <mediaTypeField>Image</mediaTypeField>
      <partIdField>sample string 2</partIdField>
      <productIdField>sample string 1</productIdField>
      <singlePartField>true</singlePartField>
      <urlField>sample string 3</urlField>
      <widthField>6</widthField>
      <widthFieldSpecified>true</widthFieldSpecified>
    </MediaContent>
  </mediaContentArrayField>
</GetMediaContentResponse>