POST api/SaveNewEAN
Request Information
URI Parameters
None.
Body Parameters
SendModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Product | ProductModel |
None. |
|
| EAN | string |
None. |
|
| GmsCount | integer |
None. |
|
| HpaCount | integer |
None. |
|
| UeCount | integer |
None. |
|
| BarcodeFound | integer |
None. |
|
| Area | AreaModel |
None. |
|
| Sector | SectorModel |
None. |
|
| Images | Collection of Collection of byte |
None. |
|
| Customer | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Product": {
"intProductId": 1,
"strProductName": "sample string 2",
"floatContainerSize": 3.1,
"wstrPhraseText": "sample string 4",
"strSupplierName": "sample string 5"
},
"EAN": "sample string 1",
"GmsCount": 2,
"HpaCount": 3,
"UeCount": 4,
"BarcodeFound": 5,
"Area": {
"HALLEID": 1,
"HALLEBEZEICHNUNG": "sample string 2"
},
"Sector": {
"HALLEID": 1,
"ETAGEID": 2,
"ETAGEBEZEICHNUNG": "sample string 3",
"KST": "sample string 4"
},
"Images": [
"QEA=",
"QEA="
],
"Customer": "sample string 6"
}
application/xml, text/xml
Sample:
<SendModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GefahrstofferfassungWappService.Models">
<Area>
<HALLEBEZEICHNUNG>sample string 2</HALLEBEZEICHNUNG>
<HALLEID>1</HALLEID>
</Area>
<BarcodeFound>5</BarcodeFound>
<Customer>sample string 6</Customer>
<EAN>sample string 1</EAN>
<GmsCount>2</GmsCount>
<HpaCount>3</HpaCount>
<Images xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:base64Binary>QEA=</d2p1:base64Binary>
<d2p1:base64Binary>QEA=</d2p1:base64Binary>
</Images>
<Product>
<floatContainerSize>3.1</floatContainerSize>
<intProductId>1</intProductId>
<strProductName>sample string 2</strProductName>
<strSupplierName>sample string 5</strSupplierName>
<wstrPhraseText>sample string 4</wstrPhraseText>
</Product>
<Sector>
<ETAGEBEZEICHNUNG>sample string 3</ETAGEBEZEICHNUNG>
<ETAGEID>2</ETAGEID>
<HALLEID>1</HALLEID>
<KST>sample string 4</KST>
</Sector>
<UeCount>4</UeCount>
</SendModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>