GET api/OuterGateClientOrder/GetAllMaterials

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

OuterMaterialsModelOut
NameDescriptionTypeAdditional information
FilmWidthModels

Collection of FilmWidthModel

None.

TypeOfMaterialModels

Collection of TypeOfMaterialModel

None.

TypeOfHolesModels

Collection of TypeOfHolesModel

None.

TypeOfEyeletsModels

Collection of TypeOfEyeletsModel

None.

TypeOfProcessingModels

Collection of TypeOfProcessingModel

None.

Response Formats

application/json, text/json

Sample:
{
  "FilmWidthModels": [
    {
      "Id": 1,
      "Width": 2.1
    },
    {
      "Id": 1,
      "Width": 2.1
    }
  ],
  "TypeOfMaterialModels": [
    {
      "Id": 1,
      "Name": "sample string 2",
      "SpecificWeight": 1.1
    },
    {
      "Id": 1,
      "Name": "sample string 2",
      "SpecificWeight": 1.1
    }
  ],
  "TypeOfHolesModels": [
    {
      "Id": 1,
      "Name": "sample string 2"
    },
    {
      "Id": 1,
      "Name": "sample string 2"
    }
  ],
  "TypeOfEyeletsModels": [
    {
      "Id": 1,
      "Name": "sample string 2"
    },
    {
      "Id": 1,
      "Name": "sample string 2"
    }
  ],
  "TypeOfProcessingModels": [
    {
      "Id": 1,
      "Name": "sample string 2"
    },
    {
      "Id": 1,
      "Name": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<OuterMaterialsModelOut xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/tocode.CodePlast.CommonModels.Models.Film">
  <FilmWidthModels>
    <FilmWidthModel>
      <Id>1</Id>
      <Width>2.1</Width>
    </FilmWidthModel>
    <FilmWidthModel>
      <Id>1</Id>
      <Width>2.1</Width>
    </FilmWidthModel>
  </FilmWidthModels>
  <TypeOfEyeletsModels>
    <TypeOfEyeletsModel>
      <Id>1</Id>
      <Name>sample string 2</Name>
    </TypeOfEyeletsModel>
    <TypeOfEyeletsModel>
      <Id>1</Id>
      <Name>sample string 2</Name>
    </TypeOfEyeletsModel>
  </TypeOfEyeletsModels>
  <TypeOfHolesModels>
    <TypeOfHolesModel>
      <Id>1</Id>
      <Name>sample string 2</Name>
    </TypeOfHolesModel>
    <TypeOfHolesModel>
      <Id>1</Id>
      <Name>sample string 2</Name>
    </TypeOfHolesModel>
  </TypeOfHolesModels>
  <TypeOfMaterialModels>
    <TypeOfMaterialModel>
      <Id>1</Id>
      <Name>sample string 2</Name>
      <SpecificWeight>1.1</SpecificWeight>
    </TypeOfMaterialModel>
    <TypeOfMaterialModel>
      <Id>1</Id>
      <Name>sample string 2</Name>
      <SpecificWeight>1.1</SpecificWeight>
    </TypeOfMaterialModel>
  </TypeOfMaterialModels>
  <TypeOfProcessingModels>
    <TypeOfProcessingModel>
      <Id>1</Id>
      <Name>sample string 2</Name>
    </TypeOfProcessingModel>
    <TypeOfProcessingModel>
      <Id>1</Id>
      <Name>sample string 2</Name>
    </TypeOfProcessingModel>
  </TypeOfProcessingModels>
</OuterMaterialsModelOut>