POST api/v2/Nomenclature/Import
Request Information
URI Parameters
None.
Body Parameters
Collection of Nomenclature| Name | Description | Type | Additional information |
|---|---|---|---|
| code | string |
Required String length: inclusive between 0 and 100 |
|
| artk | string |
String length: inclusive between 0 and 100 |
|
| name | string |
Required String length: inclusive between 0 and 255 |
|
| group | string |
Required String length: inclusive between 0 and 250 |
|
| supplier | string |
String length: inclusive between 0 and 255 |
|
| unit | integer |
Required |
|
| abcGroup | integer |
None. |
|
| validDays | integer |
None. |
|
| dsc | string |
String length: inclusive between 0 and 1500 |
|
| sticker | string |
String length: inclusive between 0 and 2000 |
|
| unitsDsc | Collection of UnitsDsc |
None. |
|
| palletsDsc | Collection of PalletsDsc |
Required |
|
| barcodes | Collection of Barcode |
None. |
|
| nomContent | Collection of ContentItem |
None. |
|
| parameters | Collection of Parameter |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"code": "sample string 1",
"artk": "sample string 2",
"name": "sample string 3",
"group": "sample string 4",
"supplier": "sample string 5",
"unit": 6,
"abcGroup": 1,
"validDays": 1,
"dsc": "sample string 7",
"sticker": "sample string 8",
"unitsDsc": [
{
"unitType": 1,
"exponent": 2,
"unitCount": 3,
"price": 1.0,
"ndsRate": 1,
"length": 1,
"width": 1,
"height": 1,
"volume": 1,
"weightNetto": 1.0,
"weightBrutto": 1.0
},
{
"unitType": 1,
"exponent": 2,
"unitCount": 3,
"price": 1.0,
"ndsRate": 1,
"length": 1,
"width": 1,
"height": 1,
"volume": 1,
"weightNetto": 1.0,
"weightBrutto": 1.0
}
],
"palletsDsc": [
{
"palletType": 1,
"unitsPerPallet": 2,
"unitsPerLayer": 1
},
{
"palletType": 1,
"unitsPerPallet": 2,
"unitsPerLayer": 1
}
],
"barcodes": [
{
"unitType": 1,
"barcode": "sample string 2"
},
{
"unitType": 1,
"barcode": "sample string 2"
}
],
"nomContent": [
{
"code": "sample string 1",
"unit": 2,
"count": 3
},
{
"code": "sample string 1",
"unit": 2,
"count": 3
}
],
"parameters": [
{
"name": "sample string 1",
"value": "sample string 2"
},
{
"name": "sample string 1",
"value": "sample string 2"
}
]
},
{
"code": "sample string 1",
"artk": "sample string 2",
"name": "sample string 3",
"group": "sample string 4",
"supplier": "sample string 5",
"unit": 6,
"abcGroup": 1,
"validDays": 1,
"dsc": "sample string 7",
"sticker": "sample string 8",
"unitsDsc": [
{
"unitType": 1,
"exponent": 2,
"unitCount": 3,
"price": 1.0,
"ndsRate": 1,
"length": 1,
"width": 1,
"height": 1,
"volume": 1,
"weightNetto": 1.0,
"weightBrutto": 1.0
},
{
"unitType": 1,
"exponent": 2,
"unitCount": 3,
"price": 1.0,
"ndsRate": 1,
"length": 1,
"width": 1,
"height": 1,
"volume": 1,
"weightNetto": 1.0,
"weightBrutto": 1.0
}
],
"palletsDsc": [
{
"palletType": 1,
"unitsPerPallet": 2,
"unitsPerLayer": 1
},
{
"palletType": 1,
"unitsPerPallet": 2,
"unitsPerLayer": 1
}
],
"barcodes": [
{
"unitType": 1,
"barcode": "sample string 2"
},
{
"unitType": 1,
"barcode": "sample string 2"
}
],
"nomContent": [
{
"code": "sample string 1",
"unit": 2,
"count": 3
},
{
"code": "sample string 1",
"unit": 2,
"count": 3
}
],
"parameters": [
{
"name": "sample string 1",
"value": "sample string 2"
},
{
"name": "sample string 1",
"value": "sample string 2"
}
]
}
]
application/xml, text/xml
Sample:
<ArrayOfNomenclature xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FreshLogicAPI.Models">
<Nomenclature>
<abcGroup>1</abcGroup>
<artk>sample string 2</artk>
<barcodes>
<Nomenclature.Barcode>
<barcode>sample string 2</barcode>
<unitType>1</unitType>
</Nomenclature.Barcode>
<Nomenclature.Barcode>
<barcode>sample string 2</barcode>
<unitType>1</unitType>
</Nomenclature.Barcode>
</barcodes>
<code>sample string 1</code>
<dsc>sample string 7</dsc>
<group>sample string 4</group>
<name>sample string 3</name>
<nomContent>
<Nomenclature.ContentItem>
<code>sample string 1</code>
<count>3</count>
<unit>2</unit>
</Nomenclature.ContentItem>
<Nomenclature.ContentItem>
<code>sample string 1</code>
<count>3</count>
<unit>2</unit>
</Nomenclature.ContentItem>
</nomContent>
<palletsDsc>
<Nomenclature.PalletsDsc>
<palletType>1</palletType>
<unitsPerLayer>1</unitsPerLayer>
<unitsPerPallet>2</unitsPerPallet>
</Nomenclature.PalletsDsc>
<Nomenclature.PalletsDsc>
<palletType>1</palletType>
<unitsPerLayer>1</unitsPerLayer>
<unitsPerPallet>2</unitsPerPallet>
</Nomenclature.PalletsDsc>
</palletsDsc>
<parameters>
<Parameter>
<name>sample string 1</name>
<value>sample string 2</value>
</Parameter>
<Parameter>
<name>sample string 1</name>
<value>sample string 2</value>
</Parameter>
</parameters>
<sticker>sample string 8</sticker>
<supplier>sample string 5</supplier>
<unit>6</unit>
<unitsDsc>
<Nomenclature.UnitsDsc>
<exponent>2</exponent>
<height>1</height>
<length>1</length>
<ndsRate>1</ndsRate>
<price>1</price>
<unitCount>3</unitCount>
<unitType>1</unitType>
<volume>1</volume>
<weightBrutto>1</weightBrutto>
<weightNetto>1</weightNetto>
<width>1</width>
</Nomenclature.UnitsDsc>
<Nomenclature.UnitsDsc>
<exponent>2</exponent>
<height>1</height>
<length>1</length>
<ndsRate>1</ndsRate>
<price>1</price>
<unitCount>3</unitCount>
<unitType>1</unitType>
<volume>1</volume>
<weightBrutto>1</weightBrutto>
<weightNetto>1</weightNetto>
<width>1</width>
</Nomenclature.UnitsDsc>
</unitsDsc>
<validDays>1</validDays>
</Nomenclature>
<Nomenclature>
<abcGroup>1</abcGroup>
<artk>sample string 2</artk>
<barcodes>
<Nomenclature.Barcode>
<barcode>sample string 2</barcode>
<unitType>1</unitType>
</Nomenclature.Barcode>
<Nomenclature.Barcode>
<barcode>sample string 2</barcode>
<unitType>1</unitType>
</Nomenclature.Barcode>
</barcodes>
<code>sample string 1</code>
<dsc>sample string 7</dsc>
<group>sample string 4</group>
<name>sample string 3</name>
<nomContent>
<Nomenclature.ContentItem>
<code>sample string 1</code>
<count>3</count>
<unit>2</unit>
</Nomenclature.ContentItem>
<Nomenclature.ContentItem>
<code>sample string 1</code>
<count>3</count>
<unit>2</unit>
</Nomenclature.ContentItem>
</nomContent>
<palletsDsc>
<Nomenclature.PalletsDsc>
<palletType>1</palletType>
<unitsPerLayer>1</unitsPerLayer>
<unitsPerPallet>2</unitsPerPallet>
</Nomenclature.PalletsDsc>
<Nomenclature.PalletsDsc>
<palletType>1</palletType>
<unitsPerLayer>1</unitsPerLayer>
<unitsPerPallet>2</unitsPerPallet>
</Nomenclature.PalletsDsc>
</palletsDsc>
<parameters>
<Parameter>
<name>sample string 1</name>
<value>sample string 2</value>
</Parameter>
<Parameter>
<name>sample string 1</name>
<value>sample string 2</value>
</Parameter>
</parameters>
<sticker>sample string 8</sticker>
<supplier>sample string 5</supplier>
<unit>6</unit>
<unitsDsc>
<Nomenclature.UnitsDsc>
<exponent>2</exponent>
<height>1</height>
<length>1</length>
<ndsRate>1</ndsRate>
<price>1</price>
<unitCount>3</unitCount>
<unitType>1</unitType>
<volume>1</volume>
<weightBrutto>1</weightBrutto>
<weightNetto>1</weightNetto>
<width>1</width>
</Nomenclature.UnitsDsc>
<Nomenclature.UnitsDsc>
<exponent>2</exponent>
<height>1</height>
<length>1</length>
<ndsRate>1</ndsRate>
<price>1</price>
<unitCount>3</unitCount>
<unitType>1</unitType>
<volume>1</volume>
<weightBrutto>1</weightBrutto>
<weightNetto>1</weightNetto>
<width>1</width>
</Nomenclature.UnitsDsc>
</unitsDsc>
<validDays>1</validDays>
</Nomenclature>
</ArrayOfNomenclature>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.