PrismaLife services - Metadata

<back to all web services

ConfigFile

Übertragung von Konfigurationsdateien

ConfigFile-ServiceÜbertragung von Konfigurationsdateien
Parameters:
NameParameterData TypeRequiredDescription
LoginbodyCredentialYesLogin (Benutzername und Passwort)
FileNamebodystringYesFileName
FileContentbodystringYesFileContent in Base64
BIBOnlypathBooleanYesCreate BIB Document only
OmitDocumentpathBooleanNoOmit document, true = gets result without PDF attached.
DocFieldListbodyListNoList of DocFieldValue (key, value). FileName and Filecontent is not needed if this is filled. This must be NULL if FileContent should be used. List
IsTestClientpathBooleanNoPrismaLife Internal only. Flag for TestClient
CreateValidDocumentInTestClientpathBooleanNoPrismaLife Internal only. Flag to create valid Documents in TestClient

To override the Content-type in your clients HTTP Accept Header, append the .soap12 suffix or ?format=soap12

HTTP + SOAP12

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /soap12 HTTP/1.1 
Host: services.prismalife.com 
Content-Type: text/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>

<ConfigFile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.servicestack.net/types">
  <BIBOnly>false</BIBOnly>
  <CreateValidDocumentInTestClient>false</CreateValidDocumentInTestClient>
  <DocFieldList>
    <DocFieldValue>
      <Key>String</Key>
      <Value>String</Value>
    </DocFieldValue>
  </DocFieldList>
  <FileContent>String</FileContent>
  <FileName>String</FileName>
  <IsTestClient>false</IsTestClient>
  <Login>
    <Password>String</Password>
    <Username>String</Username>
  </Login>
  <OmitDocument>false</OmitDocument>
  <Options xmlns:d2p1="http://schemas.datacontract.org/2004/07/Service.Engine.Models">
    <d2p1:Rules>
      <d2p1:Rule>
        <d2p1:Key>String</d2p1:Key>
        <d2p1:Value>String</d2p1:Value>
      </d2p1:Rule>
    </d2p1:Rules>
  </Options>
</ConfigFile>

    </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
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>

<ConfigFileResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.servicestack.net/types">
  <Id>String</Id>
  <PayOutEnd>0</PayOutEnd>
  <Performance>0</Performance>
  <PremTotal>0</PremTotal>
  <ProductName>String</ProductName>
  <Report>
    <AllPages>0</AllPages>
    <FileKey>String</FileKey>
    <PDF>AA==</PDF>
  </Report>
  <ResponseStatus>
    <ErrorCode>String</ErrorCode>
    <Message>String</Message>
    <StackTrace>String</StackTrace>
    <Errors>
      <ResponseError>
        <ErrorCode>String</ErrorCode>
        <FieldName>String</FieldName>
        <Message>String</Message>
      </ResponseError>
    </Errors>
  </ResponseStatus>
  <Warnings xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </Warnings>
</ConfigFileResponse>

    </soap12:Body>
</soap12:Envelope>