MWS
Click here for a complete list of operations.
InvOSSendChanges
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /Android/Mobos/moboswebservice.asmx HTTP/1.1
Host: www.mobosws.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://leoss.si/MobosWebService/InvOSSendChanges"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<AuthHeader xmlns="http://leoss.si/MobosWebService/">
<user>string</user>
<pass>string</pass>
<applicationID>string</applicationID>
<deviceID>string</deviceID>
<appVersion>string</appVersion>
<deviceInfo>string</deviceInfo>
</AuthHeader>
</soap:Header>
<soap:Body>
<InvOSSendChanges xmlns="http://leoss.si/MobosWebService/">
<terminalIdx>int</terminalIdx>
<barcodeChangesList>
<InvBarcode>
<Bidd>int</Bidd>
<Code>string</Code>
<Firm>int</Firm>
<Type>int</Type>
<CBarcode>string</CBarcode>
</InvBarcode>
<InvBarcode>
<Bidd>int</Bidd>
<Code>string</Code>
<Firm>int</Firm>
<Type>int</Type>
<CBarcode>string</CBarcode>
</InvBarcode>
</barcodeChangesList>
<inventoryChangesList>
<Inventory>
<Code>string</Code>
<Firm>int</Firm>
<Type>int</Type>
<Status>int</Status>
<NameFull>string</NameFull>
<ByPcs>boolean</ByPcs>
<BadSticker>boolean</BadSticker>
<ForRemove>boolean</ForRemove>
<NewProduct>boolean</NewProduct>
</Inventory>
<Inventory>
<Code>string</Code>
<Firm>int</Firm>
<Type>int</Type>
<Status>int</Status>
<NameFull>string</NameFull>
<ByPcs>boolean</ByPcs>
<BadSticker>boolean</BadSticker>
<ForRemove>boolean</ForRemove>
<NewProduct>boolean</NewProduct>
</Inventory>
</inventoryChangesList>
<stockChangesList>
<StockInv>
<Sidd>int</Sidd>
<ObjectCode>string</ObjectCode>
<ObjectFirm>int</ObjectFirm>
<ObjectType>int</ObjectType>
<ObjectUnit1>int</ObjectUnit1>
<LocCode>string</LocCode>
<LocFirm>int</LocFirm>
<LocType>int</LocType>
<OwnCode>string</OwnCode>
<OwnFirm>int</OwnFirm>
<OwnType>int</OwnType>
<ObjectAmount1>decimal</ObjectAmount1>
<ObjectAmount2>decimal</ObjectAmount2>
<ObjectSerial>string</ObjectSerial>
<MWrite1>int</MWrite1>
<ChangeDateTime>dateTime</ChangeDateTime>
<InsertDateTime>dateTime</InsertDateTime>
<UserIdx>int</UserIdx>
<Status>int</Status>
<Note>string</Note>
<ProcessedCounter>int</ProcessedCounter>
</StockInv>
<StockInv>
<Sidd>int</Sidd>
<ObjectCode>string</ObjectCode>
<ObjectFirm>int</ObjectFirm>
<ObjectType>int</ObjectType>
<ObjectUnit1>int</ObjectUnit1>
<LocCode>string</LocCode>
<LocFirm>int</LocFirm>
<LocType>int</LocType>
<OwnCode>string</OwnCode>
<OwnFirm>int</OwnFirm>
<OwnType>int</OwnType>
<ObjectAmount1>decimal</ObjectAmount1>
<ObjectAmount2>decimal</ObjectAmount2>
<ObjectSerial>string</ObjectSerial>
<MWrite1>int</MWrite1>
<ChangeDateTime>dateTime</ChangeDateTime>
<InsertDateTime>dateTime</InsertDateTime>
<UserIdx>int</UserIdx>
<Status>int</Status>
<Note>string</Note>
<ProcessedCounter>int</ProcessedCounter>
</StockInv>
</stockChangesList>
<objectPhotoList>
<ObjectPhoto>
<Id>int</Id>
<Code>string</Code>
<Firm>int</Firm>
<Type>int</Type>
<Photo>base64Binary</Photo>
<DtCreation>dateTime</DtCreation>
<UserIdx>int</UserIdx>
<TerminalIdx>int</TerminalIdx>
</ObjectPhoto>
<ObjectPhoto>
<Id>int</Id>
<Code>string</Code>
<Firm>int</Firm>
<Type>int</Type>
<Photo>base64Binary</Photo>
<DtCreation>dateTime</DtCreation>
<UserIdx>int</UserIdx>
<TerminalIdx>int</TerminalIdx>
</ObjectPhoto>
</objectPhotoList>
<inventorySignatureList>
<InventorySignature>
<Id>int</Id>
<Name>string</Name>
<Note>string</Note>
<Firm>int</Firm>
<Signature>base64Binary</Signature>
<DtCreation>dateTime</DtCreation>
<UserIdx>int</UserIdx>
</InventorySignature>
<InventorySignature>
<Id>int</Id>
<Name>string</Name>
<Note>string</Note>
<Firm>int</Firm>
<Signature>base64Binary</Signature>
<DtCreation>dateTime</DtCreation>
<UserIdx>int</UserIdx>
</InventorySignature>
</inventorySignatureList>
<signatureStockLinkList>
<SignatureStockLink>
<IdSignature>int</IdSignature>
<Sidd>int</Sidd>
</SignatureStockLink>
<SignatureStockLink>
<IdSignature>int</IdSignature>
<Sidd>int</Sidd>
</SignatureStockLink>
</signatureStockLinkList>
<inventorySignatureParametersList>
<SignatureParameters>
<IdSignature>int</IdSignature>
<Firm>int</Firm>
<ObjectCode>string</ObjectCode>
<LocationCode>string</LocationCode>
<SubjectCode>string</SubjectCode>
<InventoryStatus>int</InventoryStatus>
</SignatureParameters>
<SignatureParameters>
<IdSignature>int</IdSignature>
<Firm>int</Firm>
<ObjectCode>string</ObjectCode>
<LocationCode>string</LocationCode>
<SubjectCode>string</SubjectCode>
<InventoryStatus>int</InventoryStatus>
</SignatureParameters>
</inventorySignatureParametersList>
</InvOSSendChanges>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<InvOSSendChangesResponse xmlns="http://leoss.si/MobosWebService/">
<InvOSSendChangesResult>string</InvOSSendChangesResult>
</InvOSSendChangesResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /Android/Mobos/moboswebservice.asmx HTTP/1.1
Host: www.mobosws.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Header>
<AuthHeader xmlns="http://leoss.si/MobosWebService/">
<user>string</user>
<pass>string</pass>
<applicationID>string</applicationID>
<deviceID>string</deviceID>
<appVersion>string</appVersion>
<deviceInfo>string</deviceInfo>
</AuthHeader>
</soap12:Header>
<soap12:Body>
<InvOSSendChanges xmlns="http://leoss.si/MobosWebService/">
<terminalIdx>int</terminalIdx>
<barcodeChangesList>
<InvBarcode>
<Bidd>int</Bidd>
<Code>string</Code>
<Firm>int</Firm>
<Type>int</Type>
<CBarcode>string</CBarcode>
</InvBarcode>
<InvBarcode>
<Bidd>int</Bidd>
<Code>string</Code>
<Firm>int</Firm>
<Type>int</Type>
<CBarcode>string</CBarcode>
</InvBarcode>
</barcodeChangesList>
<inventoryChangesList>
<Inventory>
<Code>string</Code>
<Firm>int</Firm>
<Type>int</Type>
<Status>int</Status>
<NameFull>string</NameFull>
<ByPcs>boolean</ByPcs>
<BadSticker>boolean</BadSticker>
<ForRemove>boolean</ForRemove>
<NewProduct>boolean</NewProduct>
</Inventory>
<Inventory>
<Code>string</Code>
<Firm>int</Firm>
<Type>int</Type>
<Status>int</Status>
<NameFull>string</NameFull>
<ByPcs>boolean</ByPcs>
<BadSticker>boolean</BadSticker>
<ForRemove>boolean</ForRemove>
<NewProduct>boolean</NewProduct>
</Inventory>
</inventoryChangesList>
<stockChangesList>
<StockInv>
<Sidd>int</Sidd>
<ObjectCode>string</ObjectCode>
<ObjectFirm>int</ObjectFirm>
<ObjectType>int</ObjectType>
<ObjectUnit1>int</ObjectUnit1>
<LocCode>string</LocCode>
<LocFirm>int</LocFirm>
<LocType>int</LocType>
<OwnCode>string</OwnCode>
<OwnFirm>int</OwnFirm>
<OwnType>int</OwnType>
<ObjectAmount1>decimal</ObjectAmount1>
<ObjectAmount2>decimal</ObjectAmount2>
<ObjectSerial>string</ObjectSerial>
<MWrite1>int</MWrite1>
<ChangeDateTime>dateTime</ChangeDateTime>
<InsertDateTime>dateTime</InsertDateTime>
<UserIdx>int</UserIdx>
<Status>int</Status>
<Note>string</Note>
<ProcessedCounter>int</ProcessedCounter>
</StockInv>
<StockInv>
<Sidd>int</Sidd>
<ObjectCode>string</ObjectCode>
<ObjectFirm>int</ObjectFirm>
<ObjectType>int</ObjectType>
<ObjectUnit1>int</ObjectUnit1>
<LocCode>string</LocCode>
<LocFirm>int</LocFirm>
<LocType>int</LocType>
<OwnCode>string</OwnCode>
<OwnFirm>int</OwnFirm>
<OwnType>int</OwnType>
<ObjectAmount1>decimal</ObjectAmount1>
<ObjectAmount2>decimal</ObjectAmount2>
<ObjectSerial>string</ObjectSerial>
<MWrite1>int</MWrite1>
<ChangeDateTime>dateTime</ChangeDateTime>
<InsertDateTime>dateTime</InsertDateTime>
<UserIdx>int</UserIdx>
<Status>int</Status>
<Note>string</Note>
<ProcessedCounter>int</ProcessedCounter>
</StockInv>
</stockChangesList>
<objectPhotoList>
<ObjectPhoto>
<Id>int</Id>
<Code>string</Code>
<Firm>int</Firm>
<Type>int</Type>
<Photo>base64Binary</Photo>
<DtCreation>dateTime</DtCreation>
<UserIdx>int</UserIdx>
<TerminalIdx>int</TerminalIdx>
</ObjectPhoto>
<ObjectPhoto>
<Id>int</Id>
<Code>string</Code>
<Firm>int</Firm>
<Type>int</Type>
<Photo>base64Binary</Photo>
<DtCreation>dateTime</DtCreation>
<UserIdx>int</UserIdx>
<TerminalIdx>int</TerminalIdx>
</ObjectPhoto>
</objectPhotoList>
<inventorySignatureList>
<InventorySignature>
<Id>int</Id>
<Name>string</Name>
<Note>string</Note>
<Firm>int</Firm>
<Signature>base64Binary</Signature>
<DtCreation>dateTime</DtCreation>
<UserIdx>int</UserIdx>
</InventorySignature>
<InventorySignature>
<Id>int</Id>
<Name>string</Name>
<Note>string</Note>
<Firm>int</Firm>
<Signature>base64Binary</Signature>
<DtCreation>dateTime</DtCreation>
<UserIdx>int</UserIdx>
</InventorySignature>
</inventorySignatureList>
<signatureStockLinkList>
<SignatureStockLink>
<IdSignature>int</IdSignature>
<Sidd>int</Sidd>
</SignatureStockLink>
<SignatureStockLink>
<IdSignature>int</IdSignature>
<Sidd>int</Sidd>
</SignatureStockLink>
</signatureStockLinkList>
<inventorySignatureParametersList>
<SignatureParameters>
<IdSignature>int</IdSignature>
<Firm>int</Firm>
<ObjectCode>string</ObjectCode>
<LocationCode>string</LocationCode>
<SubjectCode>string</SubjectCode>
<InventoryStatus>int</InventoryStatus>
</SignatureParameters>
<SignatureParameters>
<IdSignature>int</IdSignature>
<Firm>int</Firm>
<ObjectCode>string</ObjectCode>
<LocationCode>string</LocationCode>
<SubjectCode>string</SubjectCode>
<InventoryStatus>int</InventoryStatus>
</SignatureParameters>
</inventorySignatureParametersList>
</InvOSSendChanges>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<InvOSSendChangesResponse xmlns="http://leoss.si/MobosWebService/">
<InvOSSendChangesResult>string</InvOSSendChangesResult>
</InvOSSendChangesResponse>
</soap12:Body>
</soap12:Envelope>