WSGescom


Cliquez ici pour une liste complète des opérations.

CopyDocument

Copie un document identifié par son ID. Retourne l'ID du nouveau document

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/CopyDocument"

<?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>
    <CopyDocument xmlns="http://lc2l-informatique.fr/">
      <documentFrom>
        <SocieteCode>string</SocieteCode>
        <EntiteCode>string</EntiteCode>
        <SiteCode>string</SiteCode>
        <AtelierCode>string</AtelierCode>
        <DocumentTypeCode>string</DocumentTypeCode>
        <DocumentNumero>long</DocumentNumero>
        <DocumentNumeroUsage>string</DocumentNumeroUsage>
        <TiersCode>string</TiersCode>
        <TiersTypeCode>string</TiersTypeCode>
        <DocumentReference>string</DocumentReference>
        <DocumentReferenceTiers>string</DocumentReferenceTiers>
        <DocumentLotFacturation>string</DocumentLotFacturation>
        <DocumentDateDocument>string</DocumentDateDocument>
        <DocumentDateEcheance>string</DocumentDateEcheance>
        <DocumentDateExpedition>string</DocumentDateExpedition>
        <DocumentStatutCode>string</DocumentStatutCode>
        <TvaTypeCode>string</TvaTypeCode>
        <DocumentMtHtbrut>double</DocumentMtHtbrut>
        <DocumentMtHtnet>double</DocumentMtHtnet>
        <DocumentMtTva>double</DocumentMtTva>
        <DocumentMtTtc>double</DocumentMtTtc>
        <StatutReglementCode>string</StatutReglementCode>
        <DocumentMtRegle>double</DocumentMtRegle>
        <DocumentMtAPayer>double</DocumentMtAPayer>
        <DocumentComptabilise>string</DocumentComptabilise>
        <InterfaceComptableId>long</InterfaceComptableId>
        <TiersCodeRepresentant>string</TiersCodeRepresentant>
        <DocumentCommentaire1>string</DocumentCommentaire1>
        <DocumentCommentaire2>string</DocumentCommentaire2>
        <DocumentCommentaire3>string</DocumentCommentaire3>
        <DocumentCommentaire4>string</DocumentCommentaire4>
        <IdOrigine>long</IdOrigine>
        <DocumentTypeCodeOrigine>string</DocumentTypeCodeOrigine>
        <DocumentNumeroOrigine>long</DocumentNumeroOrigine>
        <DocumentNumeroCommandeOrigine>long</DocumentNumeroCommandeOrigine>
        <DocumentIdCommandeOrigine>long</DocumentIdCommandeOrigine>
        <DocumentNumeroUsageCommandeOrigine>string</DocumentNumeroUsageCommandeOrigine>
        <UtilisateurLogin>string</UtilisateurLogin>
        <DocumentMention>string</DocumentMention>
        <DocumentVersion>int</DocumentVersion>
        <InformationInterne>string</InformationInterne>
        <DateCreation>string</DateCreation>
        <DocumentImprimerReliquat>string</DocumentImprimerReliquat>
        <TiersCodeTransport>string</TiersCodeTransport>
        <DocumentMotifAnnulation>string</DocumentMotifAnnulation>
        <DocumentCle>string</DocumentCle>
        <DocumentGuid>string</DocumentGuid>
        <DocumentMtRemisePied>double</DocumentMtRemisePied>
        <DocumentMtRemiseTranche>double</DocumentMtRemiseTranche>
        <DocumentMtCvo1>double</DocumentMtCvo1>
        <DocumentMtCvo2>double</DocumentMtCvo2>
        <DocumentMtCvo3>double</DocumentMtCvo3>
        <DocumentMtCvo4>double</DocumentMtCvo4>
        <DocumentIncoterm>string</DocumentIncoterm>
        <DocumentExtraJson>string</DocumentExtraJson>
        <DocumentExtra>
          <DocumentClassification>string</DocumentClassification>
        </DocumentExtra>
        <DocumentNumeroLibelle>string</DocumentNumeroLibelle>
        <DocumentTypeLibelle>string</DocumentTypeLibelle>
        <DocumentStatutLibelle>string</DocumentStatutLibelle>
        <TiersLibelle>string</TiersLibelle>
        <TiersTypeLibelle>string</TiersTypeLibelle>
        <UtilisateurNom>string</UtilisateurNom>
        <UtilisateurPrenom>string</UtilisateurPrenom>
        <SocieteRaisonSociale>string</SocieteRaisonSociale>
        <IdBonPrepa>long</IdBonPrepa>
        <NbLigCommandeNonTraitees>int</NbLigCommandeNonTraitees>
        <DocumentOrigineDocumentNumeroUsage>string</DocumentOrigineDocumentNumeroUsage>
        <TiersLibelleTransport>string</TiersLibelleTransport>
        <LienTiersTypeTiersComptabiliteCompte>string</LienTiersTypeTiersComptabiliteCompte>
        <LienTiersTypeTiersAgrementSanitaire>string</LienTiersTypeTiersAgrementSanitaire>
        <MtTtcAvoirLie>double</MtTtcAvoirLie>
        <Nbligpreparees1>int</Nbligpreparees1>
        <Nblignontraitees>int</Nblignontraitees>
        <Nbligdocument>int</Nbligdocument>
        <Nbligrecues>int</Nbligrecues>
        <PieceJointeId>long</PieceJointeId>
        <PieceJointeDatas>base64Binary</PieceJointeDatas>
        <DriveOrderId>long</DriveOrderId>
        <LienDocumentDriveDateheureTransfert>string</LienDocumentDriveDateheureTransfert>
        <ImpressionAuthorized>boolean</ImpressionAuthorized>
        <ValidationAuthorized>boolean</ValidationAuthorized>
        <ValidationForcee>boolean</ValidationForcee>
        <ValidationForceePassword>string</ValidationForceePassword>
        <CopyOrigin>NOTDEFINED or GESCOM or PRODUCTION</CopyOrigin>
        <DriveCommandeNumero>string</DriveCommandeNumero>
        <IsCommandeDrive>string</IsCommandeDrive>
        <TiersContactId>long</TiersContactId>
        <DocumentType>NOTDEF or CDECLI or PRECDE or ORDFAB or BLCLI or BONPRE or DEVCLI or FACCLI or AVOCLI or AVOFOU or CDEFOU or BLFOU or BONREC or FACFOU or BCHFOU or DEVFOU or CDEDRV or RETCLI or TABLET</DocumentType>
        <DocumentStatut>NOTDEF or BRO or VAL or SOL or SUP or ANN</DocumentStatut>
        <StatutReglement>NOTDEF or APA or SOL or RAP or TPR or NA</StatutReglement>
        <Nbligpreparees>int</Nbligpreparees>
        <OnlinepaymentfeeTtc>double</OnlinepaymentfeeTtc>
        <OnlinepaymentfeeHt>double</OnlinepaymentfeeHt>
        <OnlinepaymentfeeTva>double</OnlinepaymentfeeTva>
      </documentFrom>
      <documentTypeCodeTo>string</documentTypeCodeTo>
      <validationAutorized>boolean</validationAutorized>
    </CopyDocument>
  </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>
    <CopyDocumentResponse xmlns="http://lc2l-informatique.fr/">
      <CopyDocumentResult>long</CopyDocumentResult>
    </CopyDocumentResponse>
  </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>
    <CopyDocument xmlns="http://lc2l-informatique.fr/">
      <documentFrom>
        <SocieteCode>string</SocieteCode>
        <EntiteCode>string</EntiteCode>
        <SiteCode>string</SiteCode>
        <AtelierCode>string</AtelierCode>
        <DocumentTypeCode>string</DocumentTypeCode>
        <DocumentNumero>long</DocumentNumero>
        <DocumentNumeroUsage>string</DocumentNumeroUsage>
        <TiersCode>string</TiersCode>
        <TiersTypeCode>string</TiersTypeCode>
        <DocumentReference>string</DocumentReference>
        <DocumentReferenceTiers>string</DocumentReferenceTiers>
        <DocumentLotFacturation>string</DocumentLotFacturation>
        <DocumentDateDocument>string</DocumentDateDocument>
        <DocumentDateEcheance>string</DocumentDateEcheance>
        <DocumentDateExpedition>string</DocumentDateExpedition>
        <DocumentStatutCode>string</DocumentStatutCode>
        <TvaTypeCode>string</TvaTypeCode>
        <DocumentMtHtbrut>double</DocumentMtHtbrut>
        <DocumentMtHtnet>double</DocumentMtHtnet>
        <DocumentMtTva>double</DocumentMtTva>
        <DocumentMtTtc>double</DocumentMtTtc>
        <StatutReglementCode>string</StatutReglementCode>
        <DocumentMtRegle>double</DocumentMtRegle>
        <DocumentMtAPayer>double</DocumentMtAPayer>
        <DocumentComptabilise>string</DocumentComptabilise>
        <InterfaceComptableId>long</InterfaceComptableId>
        <TiersCodeRepresentant>string</TiersCodeRepresentant>
        <DocumentCommentaire1>string</DocumentCommentaire1>
        <DocumentCommentaire2>string</DocumentCommentaire2>
        <DocumentCommentaire3>string</DocumentCommentaire3>
        <DocumentCommentaire4>string</DocumentCommentaire4>
        <IdOrigine>long</IdOrigine>
        <DocumentTypeCodeOrigine>string</DocumentTypeCodeOrigine>
        <DocumentNumeroOrigine>long</DocumentNumeroOrigine>
        <DocumentNumeroCommandeOrigine>long</DocumentNumeroCommandeOrigine>
        <DocumentIdCommandeOrigine>long</DocumentIdCommandeOrigine>
        <DocumentNumeroUsageCommandeOrigine>string</DocumentNumeroUsageCommandeOrigine>
        <UtilisateurLogin>string</UtilisateurLogin>
        <DocumentMention>string</DocumentMention>
        <DocumentVersion>int</DocumentVersion>
        <InformationInterne>string</InformationInterne>
        <DateCreation>string</DateCreation>
        <DocumentImprimerReliquat>string</DocumentImprimerReliquat>
        <TiersCodeTransport>string</TiersCodeTransport>
        <DocumentMotifAnnulation>string</DocumentMotifAnnulation>
        <DocumentCle>string</DocumentCle>
        <DocumentGuid>string</DocumentGuid>
        <DocumentMtRemisePied>double</DocumentMtRemisePied>
        <DocumentMtRemiseTranche>double</DocumentMtRemiseTranche>
        <DocumentMtCvo1>double</DocumentMtCvo1>
        <DocumentMtCvo2>double</DocumentMtCvo2>
        <DocumentMtCvo3>double</DocumentMtCvo3>
        <DocumentMtCvo4>double</DocumentMtCvo4>
        <DocumentIncoterm>string</DocumentIncoterm>
        <DocumentExtraJson>string</DocumentExtraJson>
        <DocumentExtra>
          <DocumentClassification>string</DocumentClassification>
        </DocumentExtra>
        <DocumentNumeroLibelle>string</DocumentNumeroLibelle>
        <DocumentTypeLibelle>string</DocumentTypeLibelle>
        <DocumentStatutLibelle>string</DocumentStatutLibelle>
        <TiersLibelle>string</TiersLibelle>
        <TiersTypeLibelle>string</TiersTypeLibelle>
        <UtilisateurNom>string</UtilisateurNom>
        <UtilisateurPrenom>string</UtilisateurPrenom>
        <SocieteRaisonSociale>string</SocieteRaisonSociale>
        <IdBonPrepa>long</IdBonPrepa>
        <NbLigCommandeNonTraitees>int</NbLigCommandeNonTraitees>
        <DocumentOrigineDocumentNumeroUsage>string</DocumentOrigineDocumentNumeroUsage>
        <TiersLibelleTransport>string</TiersLibelleTransport>
        <LienTiersTypeTiersComptabiliteCompte>string</LienTiersTypeTiersComptabiliteCompte>
        <LienTiersTypeTiersAgrementSanitaire>string</LienTiersTypeTiersAgrementSanitaire>
        <MtTtcAvoirLie>double</MtTtcAvoirLie>
        <Nbligpreparees1>int</Nbligpreparees1>
        <Nblignontraitees>int</Nblignontraitees>
        <Nbligdocument>int</Nbligdocument>
        <Nbligrecues>int</Nbligrecues>
        <PieceJointeId>long</PieceJointeId>
        <PieceJointeDatas>base64Binary</PieceJointeDatas>
        <DriveOrderId>long</DriveOrderId>
        <LienDocumentDriveDateheureTransfert>string</LienDocumentDriveDateheureTransfert>
        <ImpressionAuthorized>boolean</ImpressionAuthorized>
        <ValidationAuthorized>boolean</ValidationAuthorized>
        <ValidationForcee>boolean</ValidationForcee>
        <ValidationForceePassword>string</ValidationForceePassword>
        <CopyOrigin>NOTDEFINED or GESCOM or PRODUCTION</CopyOrigin>
        <DriveCommandeNumero>string</DriveCommandeNumero>
        <IsCommandeDrive>string</IsCommandeDrive>
        <TiersContactId>long</TiersContactId>
        <DocumentType>NOTDEF or CDECLI or PRECDE or ORDFAB or BLCLI or BONPRE or DEVCLI or FACCLI or AVOCLI or AVOFOU or CDEFOU or BLFOU or BONREC or FACFOU or BCHFOU or DEVFOU or CDEDRV or RETCLI or TABLET</DocumentType>
        <DocumentStatut>NOTDEF or BRO or VAL or SOL or SUP or ANN</DocumentStatut>
        <StatutReglement>NOTDEF or APA or SOL or RAP or TPR or NA</StatutReglement>
        <Nbligpreparees>int</Nbligpreparees>
        <OnlinepaymentfeeTtc>double</OnlinepaymentfeeTtc>
        <OnlinepaymentfeeHt>double</OnlinepaymentfeeHt>
        <OnlinepaymentfeeTva>double</OnlinepaymentfeeTva>
      </documentFrom>
      <documentTypeCodeTo>string</documentTypeCodeTo>
      <validationAutorized>boolean</validationAutorized>
    </CopyDocument>
  </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>
    <CopyDocumentResponse xmlns="http://lc2l-informatique.fr/">
      <CopyDocumentResult>long</CopyDocumentResult>
    </CopyDocumentResponse>
  </soap12:Body>
</soap12:Envelope>