POST api/weighing-scales/update

Request Information

URI Parameters

None.

Body Parameters

WeighingScaleData
NameDescriptionTypeAdditional information
Name

string

None.

Brand

WeighingScaleBrandType

None.

Model

string

None.

ConnectionType

WeighingScaleConnectionType

None.

ConnectionConfig

ConnectionConfigData

None.

LabelConfig

LabelConfigData

None.

IsActive

boolean

None.

BrandName

string

None.

ConnectionTypeName

string

None.

ID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "Brand": 1,
  "Model": "sample string 2",
  "ConnectionType": 0,
  "ConnectionConfig": null,
  "LabelConfig": {
    "CodeType": 0,
    "BarcodeType": "sample string 1",
    "BarcodePrefix": "sample string 2",
    "ProductCodeLength": 1,
    "ValueLength": 1,
    "ValueDecimals": 1,
    "PrintProductName": true,
    "PrintWeight": true,
    "PrintPrice": true,
    "PrintExpirationDate": true,
    "LabelWidthMm": 1,
    "LabelHeightMm": 1
  },
  "IsActive": true,
  "BrandName": "Kretz",
  "ConnectionTypeName": "Ninguna",
  "ID": 1
}

text/xml

Sample:
<WeighingScaleData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StackBase.Common.Data.WeighingScales">
  <ID xmlns="http://schemas.datacontract.org/2004/07/StackBase.Common.Data">1</ID>
  <Brand>KRETZ</Brand>
  <ConnectionConfig i:nil="true" />
  <ConnectionType>NONE</ConnectionType>
  <IsActive>true</IsActive>
  <LabelConfig>
    <BarcodePrefix>sample string 2</BarcodePrefix>
    <BarcodeType>sample string 1</BarcodeType>
    <CodeType>BALANCE_BARCODE_BY_WEIGHT</CodeType>
    <LabelHeightMm>1</LabelHeightMm>
    <LabelWidthMm>1</LabelWidthMm>
    <PrintExpirationDate>true</PrintExpirationDate>
    <PrintPrice>true</PrintPrice>
    <PrintProductName>true</PrintProductName>
    <PrintWeight>true</PrintWeight>
    <ProductCodeLength>1</ProductCodeLength>
    <ValueDecimals>1</ValueDecimals>
    <ValueLength>1</ValueLength>
  </LabelConfig>
  <Model>sample string 2</Model>
  <Name>sample string 1</Name>
</WeighingScaleData>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

WeighingScaleData
NameDescriptionTypeAdditional information
Name

string

None.

Brand

WeighingScaleBrandType

None.

Model

string

None.

ConnectionType

WeighingScaleConnectionType

None.

ConnectionConfig

ConnectionConfigData

None.

LabelConfig

LabelConfigData

None.

IsActive

boolean

None.

BrandName

string

None.

ConnectionTypeName

string

None.

ID

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "Brand": 1,
  "Model": "sample string 2",
  "ConnectionType": 0,
  "ConnectionConfig": null,
  "LabelConfig": {
    "CodeType": 0,
    "BarcodeType": "sample string 1",
    "BarcodePrefix": "sample string 2",
    "ProductCodeLength": 1,
    "ValueLength": 1,
    "ValueDecimals": 1,
    "PrintProductName": true,
    "PrintWeight": true,
    "PrintPrice": true,
    "PrintExpirationDate": true,
    "LabelWidthMm": 1,
    "LabelHeightMm": 1
  },
  "IsActive": true,
  "BrandName": "Kretz",
  "ConnectionTypeName": "Ninguna",
  "ID": 1
}

text/xml

Sample:
<WeighingScaleData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StackBase.Common.Data.WeighingScales">
  <ID xmlns="http://schemas.datacontract.org/2004/07/StackBase.Common.Data">1</ID>
  <Brand>KRETZ</Brand>
  <ConnectionConfig i:nil="true" />
  <ConnectionType>NONE</ConnectionType>
  <IsActive>true</IsActive>
  <LabelConfig>
    <BarcodePrefix>sample string 2</BarcodePrefix>
    <BarcodeType>sample string 1</BarcodeType>
    <CodeType>BALANCE_BARCODE_BY_WEIGHT</CodeType>
    <LabelHeightMm>1</LabelHeightMm>
    <LabelWidthMm>1</LabelWidthMm>
    <PrintExpirationDate>true</PrintExpirationDate>
    <PrintPrice>true</PrintPrice>
    <PrintProductName>true</PrintProductName>
    <PrintWeight>true</PrintWeight>
    <ProductCodeLength>1</ProductCodeLength>
    <ValueDecimals>1</ValueDecimals>
    <ValueLength>1</ValueLength>
  </LabelConfig>
  <Model>sample string 2</Model>
  <Name>sample string 1</Name>
</WeighingScaleData>