WSGescom
Cliquez ici pour une liste complète des opérations.
AddStockReserveIntoDatabase
Insert un stock réservé et renvoie l'id fraichement créé
Test
Le formulaire de test est uniquement disponible pour les demandes de l'ordinateur local.SOAP 1.1
Le texte suivant est un exemple de demande et de réponse SOAP 1.1. Les espaces réservés affichés doivent être remplacés par des valeurs réelles.
POST /WebServices/Gescom/WSGescom.asmx HTTP/1.1
Host: iparlademo.lc2l-informatique.fr
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://lc2l-informatique.fr/AddStockReserveIntoDatabase"
<?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>
<AddStockReserveIntoDatabase xmlns="http://lc2l-informatique.fr/">
<stockReserve>
<SocieteCode>string</SocieteCode>
<ArticleCode>string</ArticleCode>
<ArticleTypeCode>string</ArticleTypeCode>
<LotId>long</LotId>
<DocumentId>long</DocumentId>
<DocumentLigId>long</DocumentLigId>
<StockReserveQuantiteUniteStock>double</StockReserveQuantiteUniteStock>
<UniteCodeStock>string</UniteCodeStock>
<StockReserveDateDebut>string</StockReserveDateDebut>
<StockReserveDateFin>string</StockReserveDateFin>
<StockReserveTypeCode>string</StockReserveTypeCode>
<StockReserveAnnule>string</StockReserveAnnule>
<StockReserveMotifAnnulation>string</StockReserveMotifAnnulation>
<StockReserveCommentaire>string</StockReserveCommentaire>
<UtilisateurLoginCreation>string</UtilisateurLoginCreation>
<UtilisateurLoginModification>string</UtilisateurLoginModification>
<StockReserveEncours>string</StockReserveEncours>
<ArticleLibelle>string</ArticleLibelle>
<ArticleTypeLibelle>string</ArticleTypeLibelle>
<UniteLibelleStock>string</UniteLibelleStock>
<LotDateDlcDluo>string</LotDateDlcDluo>
<LotCode>string</LotCode>
<QuantitePreparee>double</QuantitePreparee>
</stockReserve>
</AddStockReserveIntoDatabase>
</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>
<AddStockReserveIntoDatabaseResponse xmlns="http://lc2l-informatique.fr/">
<AddStockReserveIntoDatabaseResult>long</AddStockReserveIntoDatabaseResult>
</AddStockReserveIntoDatabaseResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
Le texte suivant est un exemple de demande et de réponse SOAP 1.2. Les espaces réservés affichés doivent être remplacés par des valeurs réelles.
POST /WebServices/Gescom/WSGescom.asmx HTTP/1.1
Host: iparlademo.lc2l-informatique.fr
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>
<AddStockReserveIntoDatabase xmlns="http://lc2l-informatique.fr/">
<stockReserve>
<SocieteCode>string</SocieteCode>
<ArticleCode>string</ArticleCode>
<ArticleTypeCode>string</ArticleTypeCode>
<LotId>long</LotId>
<DocumentId>long</DocumentId>
<DocumentLigId>long</DocumentLigId>
<StockReserveQuantiteUniteStock>double</StockReserveQuantiteUniteStock>
<UniteCodeStock>string</UniteCodeStock>
<StockReserveDateDebut>string</StockReserveDateDebut>
<StockReserveDateFin>string</StockReserveDateFin>
<StockReserveTypeCode>string</StockReserveTypeCode>
<StockReserveAnnule>string</StockReserveAnnule>
<StockReserveMotifAnnulation>string</StockReserveMotifAnnulation>
<StockReserveCommentaire>string</StockReserveCommentaire>
<UtilisateurLoginCreation>string</UtilisateurLoginCreation>
<UtilisateurLoginModification>string</UtilisateurLoginModification>
<StockReserveEncours>string</StockReserveEncours>
<ArticleLibelle>string</ArticleLibelle>
<ArticleTypeLibelle>string</ArticleTypeLibelle>
<UniteLibelleStock>string</UniteLibelleStock>
<LotDateDlcDluo>string</LotDateDlcDluo>
<LotCode>string</LotCode>
<QuantitePreparee>double</QuantitePreparee>
</stockReserve>
</AddStockReserveIntoDatabase>
</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>
<AddStockReserveIntoDatabaseResponse xmlns="http://lc2l-informatique.fr/">
<AddStockReserveIntoDatabaseResult>long</AddStockReserveIntoDatabaseResult>
</AddStockReserveIntoDatabaseResponse>
</soap12:Body>
</soap12:Envelope>