GET api/services/import/v1/wearpartimport/getMappedAsapClasses

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of WearpartClassAsap
NameDescriptionTypeAdditional information
Id

integer

None.

ASTID

string

None.

ConNum

string

None.

Name

string

None.

Type

integer

None.

Description

string

None.

WpCharacteristicsAsap

Collection of WearpartCharacteristicAsap

None.

WpRestrictionsAsap

Collection of WearpartCharacteristicRestrictionAsap

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "ASTID": "sample string 2",
    "ConNum": "sample string 3",
    "Name": "sample string 4",
    "Type": 5,
    "Description": "sample string 6",
    "WpCharacteristicsAsap": [
      {
        "Id": 1,
        "CLASS": "sample string 2",
        "NAME_CHAR": "sample string 3",
        "DESCR_CHAR": "sample string 4",
        "ENTRY_OBLIGATORY": true,
        "ADDITIONAL_VAL": true,
        "BASE_UOM_ISO": "sample string 7",
        "CURRENCY_ISO": "sample string 8",
        "DATA_TYPE": "sample string 9",
        "NUMBER_DIGITS": 10,
        "NUMBER_DECIMALS": 11,
        "TEMPLATE": "sample string 12",
        "SIGN": true,
        "SINGLE_VALUE": true,
        "INTERVALS_ALLOWED": true,
        "MappedId": 16,
        "Import": true
      },
      {
        "Id": 1,
        "CLASS": "sample string 2",
        "NAME_CHAR": "sample string 3",
        "DESCR_CHAR": "sample string 4",
        "ENTRY_OBLIGATORY": true,
        "ADDITIONAL_VAL": true,
        "BASE_UOM_ISO": "sample string 7",
        "CURRENCY_ISO": "sample string 8",
        "DATA_TYPE": "sample string 9",
        "NUMBER_DIGITS": 10,
        "NUMBER_DECIMALS": 11,
        "TEMPLATE": "sample string 12",
        "SIGN": true,
        "SINGLE_VALUE": true,
        "INTERVALS_ALLOWED": true,
        "MappedId": 16,
        "Import": true
      }
    ],
    "WpRestrictionsAsap": [
      {
        "NAME_CHAR": "sample string 1",
        "CHAR_VALUE": "sample string 2",
        "CHAR_VALUE_LONG": "sample string 3",
        "DESCR_CVAL_LONG": "sample string 4",
        "DESCR_CVAL": "sample string 5",
        "NUM_VAL_FM": 6.1,
        "NUM_VAL_TO": 7.1,
        "CURR_VAL_FM": 8.1,
        "CURR_VAL_TO": 9.1
      },
      {
        "NAME_CHAR": "sample string 1",
        "CHAR_VALUE": "sample string 2",
        "CHAR_VALUE_LONG": "sample string 3",
        "DESCR_CVAL_LONG": "sample string 4",
        "DESCR_CVAL": "sample string 5",
        "NUM_VAL_FM": 6.1,
        "NUM_VAL_TO": 7.1,
        "CURR_VAL_FM": 8.1,
        "CURR_VAL_TO": 9.1
      }
    ]
  },
  {
    "Id": 1,
    "ASTID": "sample string 2",
    "ConNum": "sample string 3",
    "Name": "sample string 4",
    "Type": 5,
    "Description": "sample string 6",
    "WpCharacteristicsAsap": [
      {
        "Id": 1,
        "CLASS": "sample string 2",
        "NAME_CHAR": "sample string 3",
        "DESCR_CHAR": "sample string 4",
        "ENTRY_OBLIGATORY": true,
        "ADDITIONAL_VAL": true,
        "BASE_UOM_ISO": "sample string 7",
        "CURRENCY_ISO": "sample string 8",
        "DATA_TYPE": "sample string 9",
        "NUMBER_DIGITS": 10,
        "NUMBER_DECIMALS": 11,
        "TEMPLATE": "sample string 12",
        "SIGN": true,
        "SINGLE_VALUE": true,
        "INTERVALS_ALLOWED": true,
        "MappedId": 16,
        "Import": true
      },
      {
        "Id": 1,
        "CLASS": "sample string 2",
        "NAME_CHAR": "sample string 3",
        "DESCR_CHAR": "sample string 4",
        "ENTRY_OBLIGATORY": true,
        "ADDITIONAL_VAL": true,
        "BASE_UOM_ISO": "sample string 7",
        "CURRENCY_ISO": "sample string 8",
        "DATA_TYPE": "sample string 9",
        "NUMBER_DIGITS": 10,
        "NUMBER_DECIMALS": 11,
        "TEMPLATE": "sample string 12",
        "SIGN": true,
        "SINGLE_VALUE": true,
        "INTERVALS_ALLOWED": true,
        "MappedId": 16,
        "Import": true
      }
    ],
    "WpRestrictionsAsap": [
      {
        "NAME_CHAR": "sample string 1",
        "CHAR_VALUE": "sample string 2",
        "CHAR_VALUE_LONG": "sample string 3",
        "DESCR_CVAL_LONG": "sample string 4",
        "DESCR_CVAL": "sample string 5",
        "NUM_VAL_FM": 6.1,
        "NUM_VAL_TO": 7.1,
        "CURR_VAL_FM": 8.1,
        "CURR_VAL_TO": 9.1
      },
      {
        "NAME_CHAR": "sample string 1",
        "CHAR_VALUE": "sample string 2",
        "CHAR_VALUE_LONG": "sample string 3",
        "DESCR_CVAL_LONG": "sample string 4",
        "DESCR_CVAL": "sample string 5",
        "NUM_VAL_FM": 6.1,
        "NUM_VAL_TO": 7.1,
        "CURR_VAL_FM": 8.1,
        "CURR_VAL_TO": 9.1
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfWearpartClassAsap xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Andritz.AES.SPC.ImportTool.DataModels.Wearpart">
  <WearpartClassAsap>
    <ASTID>sample string 2</ASTID>
    <ConNum>sample string 3</ConNum>
    <Description>sample string 6</Description>
    <Id>1</Id>
    <Name>sample string 4</Name>
    <Type>5</Type>
    <WpCharacteristicsAsap>
      <WearpartCharacteristicAsap>
        <ADDITIONAL_VAL>true</ADDITIONAL_VAL>
        <BASE_UOM_ISO>sample string 7</BASE_UOM_ISO>
        <CLASS>sample string 2</CLASS>
        <CURRENCY_ISO>sample string 8</CURRENCY_ISO>
        <DATA_TYPE>sample string 9</DATA_TYPE>
        <DESCR_CHAR>sample string 4</DESCR_CHAR>
        <ENTRY_OBLIGATORY>true</ENTRY_OBLIGATORY>
        <INTERVALS_ALLOWED>true</INTERVALS_ALLOWED>
        <Id>1</Id>
        <Import>true</Import>
        <MappedId>16</MappedId>
        <NAME_CHAR>sample string 3</NAME_CHAR>
        <NUMBER_DECIMALS>11</NUMBER_DECIMALS>
        <NUMBER_DIGITS>10</NUMBER_DIGITS>
        <SIGN>true</SIGN>
        <SINGLE_VALUE>true</SINGLE_VALUE>
        <TEMPLATE>sample string 12</TEMPLATE>
      </WearpartCharacteristicAsap>
      <WearpartCharacteristicAsap>
        <ADDITIONAL_VAL>true</ADDITIONAL_VAL>
        <BASE_UOM_ISO>sample string 7</BASE_UOM_ISO>
        <CLASS>sample string 2</CLASS>
        <CURRENCY_ISO>sample string 8</CURRENCY_ISO>
        <DATA_TYPE>sample string 9</DATA_TYPE>
        <DESCR_CHAR>sample string 4</DESCR_CHAR>
        <ENTRY_OBLIGATORY>true</ENTRY_OBLIGATORY>
        <INTERVALS_ALLOWED>true</INTERVALS_ALLOWED>
        <Id>1</Id>
        <Import>true</Import>
        <MappedId>16</MappedId>
        <NAME_CHAR>sample string 3</NAME_CHAR>
        <NUMBER_DECIMALS>11</NUMBER_DECIMALS>
        <NUMBER_DIGITS>10</NUMBER_DIGITS>
        <SIGN>true</SIGN>
        <SINGLE_VALUE>true</SINGLE_VALUE>
        <TEMPLATE>sample string 12</TEMPLATE>
      </WearpartCharacteristicAsap>
    </WpCharacteristicsAsap>
    <WpRestrictionsAsap>
      <WearpartCharacteristicRestrictionAsap>
        <CHAR_VALUE>sample string 2</CHAR_VALUE>
        <CHAR_VALUE_LONG>sample string 3</CHAR_VALUE_LONG>
        <CURR_VAL_FM>8.1</CURR_VAL_FM>
        <CURR_VAL_TO>9.1</CURR_VAL_TO>
        <DESCR_CVAL>sample string 5</DESCR_CVAL>
        <DESCR_CVAL_LONG>sample string 4</DESCR_CVAL_LONG>
        <NAME_CHAR>sample string 1</NAME_CHAR>
        <NUM_VAL_FM>6.1</NUM_VAL_FM>
        <NUM_VAL_TO>7.1</NUM_VAL_TO>
      </WearpartCharacteristicRestrictionAsap>
      <WearpartCharacteristicRestrictionAsap>
        <CHAR_VALUE>sample string 2</CHAR_VALUE>
        <CHAR_VALUE_LONG>sample string 3</CHAR_VALUE_LONG>
        <CURR_VAL_FM>8.1</CURR_VAL_FM>
        <CURR_VAL_TO>9.1</CURR_VAL_TO>
        <DESCR_CVAL>sample string 5</DESCR_CVAL>
        <DESCR_CVAL_LONG>sample string 4</DESCR_CVAL_LONG>
        <NAME_CHAR>sample string 1</NAME_CHAR>
        <NUM_VAL_FM>6.1</NUM_VAL_FM>
        <NUM_VAL_TO>7.1</NUM_VAL_TO>
      </WearpartCharacteristicRestrictionAsap>
    </WpRestrictionsAsap>
  </WearpartClassAsap>
  <WearpartClassAsap>
    <ASTID>sample string 2</ASTID>
    <ConNum>sample string 3</ConNum>
    <Description>sample string 6</Description>
    <Id>1</Id>
    <Name>sample string 4</Name>
    <Type>5</Type>
    <WpCharacteristicsAsap>
      <WearpartCharacteristicAsap>
        <ADDITIONAL_VAL>true</ADDITIONAL_VAL>
        <BASE_UOM_ISO>sample string 7</BASE_UOM_ISO>
        <CLASS>sample string 2</CLASS>
        <CURRENCY_ISO>sample string 8</CURRENCY_ISO>
        <DATA_TYPE>sample string 9</DATA_TYPE>
        <DESCR_CHAR>sample string 4</DESCR_CHAR>
        <ENTRY_OBLIGATORY>true</ENTRY_OBLIGATORY>
        <INTERVALS_ALLOWED>true</INTERVALS_ALLOWED>
        <Id>1</Id>
        <Import>true</Import>
        <MappedId>16</MappedId>
        <NAME_CHAR>sample string 3</NAME_CHAR>
        <NUMBER_DECIMALS>11</NUMBER_DECIMALS>
        <NUMBER_DIGITS>10</NUMBER_DIGITS>
        <SIGN>true</SIGN>
        <SINGLE_VALUE>true</SINGLE_VALUE>
        <TEMPLATE>sample string 12</TEMPLATE>
      </WearpartCharacteristicAsap>
      <WearpartCharacteristicAsap>
        <ADDITIONAL_VAL>true</ADDITIONAL_VAL>
        <BASE_UOM_ISO>sample string 7</BASE_UOM_ISO>
        <CLASS>sample string 2</CLASS>
        <CURRENCY_ISO>sample string 8</CURRENCY_ISO>
        <DATA_TYPE>sample string 9</DATA_TYPE>
        <DESCR_CHAR>sample string 4</DESCR_CHAR>
        <ENTRY_OBLIGATORY>true</ENTRY_OBLIGATORY>
        <INTERVALS_ALLOWED>true</INTERVALS_ALLOWED>
        <Id>1</Id>
        <Import>true</Import>
        <MappedId>16</MappedId>
        <NAME_CHAR>sample string 3</NAME_CHAR>
        <NUMBER_DECIMALS>11</NUMBER_DECIMALS>
        <NUMBER_DIGITS>10</NUMBER_DIGITS>
        <SIGN>true</SIGN>
        <SINGLE_VALUE>true</SINGLE_VALUE>
        <TEMPLATE>sample string 12</TEMPLATE>
      </WearpartCharacteristicAsap>
    </WpCharacteristicsAsap>
    <WpRestrictionsAsap>
      <WearpartCharacteristicRestrictionAsap>
        <CHAR_VALUE>sample string 2</CHAR_VALUE>
        <CHAR_VALUE_LONG>sample string 3</CHAR_VALUE_LONG>
        <CURR_VAL_FM>8.1</CURR_VAL_FM>
        <CURR_VAL_TO>9.1</CURR_VAL_TO>
        <DESCR_CVAL>sample string 5</DESCR_CVAL>
        <DESCR_CVAL_LONG>sample string 4</DESCR_CVAL_LONG>
        <NAME_CHAR>sample string 1</NAME_CHAR>
        <NUM_VAL_FM>6.1</NUM_VAL_FM>
        <NUM_VAL_TO>7.1</NUM_VAL_TO>
      </WearpartCharacteristicRestrictionAsap>
      <WearpartCharacteristicRestrictionAsap>
        <CHAR_VALUE>sample string 2</CHAR_VALUE>
        <CHAR_VALUE_LONG>sample string 3</CHAR_VALUE_LONG>
        <CURR_VAL_FM>8.1</CURR_VAL_FM>
        <CURR_VAL_TO>9.1</CURR_VAL_TO>
        <DESCR_CVAL>sample string 5</DESCR_CVAL>
        <DESCR_CVAL_LONG>sample string 4</DESCR_CVAL_LONG>
        <NAME_CHAR>sample string 1</NAME_CHAR>
        <NUM_VAL_FM>6.1</NUM_VAL_FM>
        <NUM_VAL_TO>7.1</NUM_VAL_TO>
      </WearpartCharacteristicRestrictionAsap>
    </WpRestrictionsAsap>
  </WearpartClassAsap>
</ArrayOfWearpartClassAsap>