POST api/v1/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 |
|
| clientUnit | integer |
None. |
|
| operationUnit | integer |
None. |
|
| abcGroup | integer |
None. |
|
| validDays | integer |
None. |
|
| isStamped | boolean |
None. |
|
| veterinaryAttribute | boolean |
None. |
|
| temperatureMode | integer |
None. |
|
| dsc | string |
String length: inclusive between 0 and 1500 |
|
| 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,
"clientUnit": 1,
"operationUnit": 1,
"abcGroup": 1,
"validDays": 1,
"isStamped": true,
"veterinaryAttribute": true,
"temperatureMode": 1,
"dsc": "sample string 9",
"unitsDsc": [
{
"unitType": 1,
"exponent": 2,
"unitCount": 3,
"price": 1.0,
"ndsRate": 1,
"length": 1.0,
"width": 1.0,
"height": 1.0,
"volume": 1.0,
"weightNetto": 1.0,
"weightBrutto": 1.0
},
{
"unitType": 1,
"exponent": 2,
"unitCount": 3,
"price": 1.0,
"ndsRate": 1,
"length": 1.0,
"width": 1.0,
"height": 1.0,
"volume": 1.0,
"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,
"name": "sample string 4"
},
{
"code": "sample string 1",
"unit": 2,
"count": 3,
"name": "sample string 4"
}
],
"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,
"clientUnit": 1,
"operationUnit": 1,
"abcGroup": 1,
"validDays": 1,
"isStamped": true,
"veterinaryAttribute": true,
"temperatureMode": 1,
"dsc": "sample string 9",
"unitsDsc": [
{
"unitType": 1,
"exponent": 2,
"unitCount": 3,
"price": 1.0,
"ndsRate": 1,
"length": 1.0,
"width": 1.0,
"height": 1.0,
"volume": 1.0,
"weightNetto": 1.0,
"weightBrutto": 1.0
},
{
"unitType": 1,
"exponent": 2,
"unitCount": 3,
"price": 1.0,
"ndsRate": 1,
"length": 1.0,
"width": 1.0,
"height": 1.0,
"volume": 1.0,
"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,
"name": "sample string 4"
},
{
"code": "sample string 1",
"unit": 2,
"count": 3,
"name": "sample string 4"
}
],
"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>
<clientUnit>1</clientUnit>
<code>sample string 1</code>
<dsc>sample string 9</dsc>
<group>sample string 4</group>
<isStamped>true</isStamped>
<name>sample string 3</name>
<nomContent>
<Nomenclature.ContentItem>
<code>sample string 1</code>
<count>3</count>
<name>sample string 4</name>
<unit>2</unit>
</Nomenclature.ContentItem>
<Nomenclature.ContentItem>
<code>sample string 1</code>
<count>3</count>
<name>sample string 4</name>
<unit>2</unit>
</Nomenclature.ContentItem>
</nomContent>
<operationUnit>1</operationUnit>
<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>
<supplier>sample string 5</supplier>
<temperatureMode>1</temperatureMode>
<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>
<veterinaryAttribute>true</veterinaryAttribute>
</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>
<clientUnit>1</clientUnit>
<code>sample string 1</code>
<dsc>sample string 9</dsc>
<group>sample string 4</group>
<isStamped>true</isStamped>
<name>sample string 3</name>
<nomContent>
<Nomenclature.ContentItem>
<code>sample string 1</code>
<count>3</count>
<name>sample string 4</name>
<unit>2</unit>
</Nomenclature.ContentItem>
<Nomenclature.ContentItem>
<code>sample string 1</code>
<count>3</count>
<name>sample string 4</name>
<unit>2</unit>
</Nomenclature.ContentItem>
</nomContent>
<operationUnit>1</operationUnit>
<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>
<supplier>sample string 5</supplier>
<temperatureMode>1</temperatureMode>
<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>
<veterinaryAttribute>true</veterinaryAttribute>
</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.