DocCenter


Click here for a complete list of operations.

UpdateDocument

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 /DocCenter.asmx HTTP/1.1
Host: doccenter.movelife.net
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/UpdateDocument"

<?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>
    <SecuredWebServiceHeader xmlns="http://tempuri.org/">
      <Username>string</Username>
      <Password>string</Password>
      <AuthenticatedToken>string</AuthenticatedToken>
    </SecuredWebServiceHeader>
  </soap:Header>
  <soap:Body>
    <UpdateDocument xmlns="http://tempuri.org/">
      <input>
        <File>base64Binary</File>
        <System>Software or Partners or Backoffice or Cookbook or Menus or Android or IOS or MoveData</System>
        <DocumentType>Image_Partner or Image_Establishment or Image_Recipe or Documentation or Recipes or Ingredients or Support or Template_Labels or Template_TechnicalSheet or Template_CostsSheet or Billing or Translations or MD_Products or MD_Products_Generics or MD_Interventions or MD_Image_Products or Image_Recipe_Preparation or Image_Client_Supplier or Image_Client_Salubrity or MD_Notes or Image_Menu_Header or Image_Menu_Background or Image_Complement</DocumentType>
        <IdDocument>int</IdDocument>
        <IdReferer>int</IdReferer>
        <FileName>string</FileName>
        <Extension>string</Extension>
        <Description>string</Description>
        <GeneratePermanentLink>boolean</GeneratePermanentLink>
        <Username>string</Username>
        <UserId>int</UserId>
        <JsonObject>string</JsonObject>
      </input>
    </UpdateDocument>
  </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>
    <UpdateDocumentResponse xmlns="http://tempuri.org/">
      <UpdateDocumentResult>
        <Data />
        <ErrorMessage>string</ErrorMessage>
        <ErrorCode>int</ErrorCode>
        <FileName>string</FileName>
        <Extension>string</Extension>
        <Link>string</Link>
        <Link_Thumbnail>string</Link_Thumbnail>
      </UpdateDocumentResult>
    </UpdateDocumentResponse>
  </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 /DocCenter.asmx HTTP/1.1
Host: doccenter.movelife.net
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>
    <SecuredWebServiceHeader xmlns="http://tempuri.org/">
      <Username>string</Username>
      <Password>string</Password>
      <AuthenticatedToken>string</AuthenticatedToken>
    </SecuredWebServiceHeader>
  </soap12:Header>
  <soap12:Body>
    <UpdateDocument xmlns="http://tempuri.org/">
      <input>
        <File>base64Binary</File>
        <System>Software or Partners or Backoffice or Cookbook or Menus or Android or IOS or MoveData</System>
        <DocumentType>Image_Partner or Image_Establishment or Image_Recipe or Documentation or Recipes or Ingredients or Support or Template_Labels or Template_TechnicalSheet or Template_CostsSheet or Billing or Translations or MD_Products or MD_Products_Generics or MD_Interventions or MD_Image_Products or Image_Recipe_Preparation or Image_Client_Supplier or Image_Client_Salubrity or MD_Notes or Image_Menu_Header or Image_Menu_Background or Image_Complement</DocumentType>
        <IdDocument>int</IdDocument>
        <IdReferer>int</IdReferer>
        <FileName>string</FileName>
        <Extension>string</Extension>
        <Description>string</Description>
        <GeneratePermanentLink>boolean</GeneratePermanentLink>
        <Username>string</Username>
        <UserId>int</UserId>
        <JsonObject>string</JsonObject>
      </input>
    </UpdateDocument>
  </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>
    <UpdateDocumentResponse xmlns="http://tempuri.org/">
      <UpdateDocumentResult>
        <Data />
        <ErrorMessage>string</ErrorMessage>
        <ErrorCode>int</ErrorCode>
        <FileName>string</FileName>
        <Extension>string</Extension>
        <Link>string</Link>
        <Link_Thumbnail>string</Link_Thumbnail>
      </UpdateDocumentResult>
    </UpdateDocumentResponse>
  </soap12:Body>
</soap12:Envelope>