s1 API Host

<back to all web services

RequestLogs

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

HTTP + SOAP11

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

POST /soap11 HTTP/1.1 
Host: s1-api-tst.fource.nl 
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: RequestLogs

<?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>

<RequestLogs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.servicestack.net/types">
  <BeforeSecs>0</BeforeSecs>
  <AfterSecs>0</AfterSecs>
  <IpAddress>String</IpAddress>
  <ForwardedFor>String</ForwardedFor>
  <UserAuthId>String</UserAuthId>
  <SessionId>String</SessionId>
  <Referer>String</Referer>
  <PathInfo>String</PathInfo>
  <Ids xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:long>0</d2p1:long>
  </Ids>
  <BeforeId>0</BeforeId>
  <AfterId>0</AfterId>
  <HasResponse>false</HasResponse>
  <WithErrors>false</WithErrors>
  <Skip>0</Skip>
  <Take>0</Take>
  <EnableSessionTracking>false</EnableSessionTracking>
  <EnableResponseTracking>false</EnableResponseTracking>
  <EnableErrorTracking>false</EnableErrorTracking>
  <DurationLongerThan>PT0S</DurationLongerThan>
  <DurationLessThan>PT0S</DurationLessThan>
</RequestLogs>

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

<RequestLogsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.servicestack.net/types">
  <Results>
    <RequestLogEntry>
      <AbsoluteUri>String</AbsoluteUri>
      <DateTime>0001-01-01T00:00:00</DateTime>
      <ErrorResponse />
      <FormData xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfstringstring>
          <d4p1:Key>String</d4p1:Key>
          <d4p1:Value>String</d4p1:Value>
        </d4p1:KeyValueOfstringstring>
      </FormData>
      <ForwardedFor>String</ForwardedFor>
      <Headers xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfstringstring>
          <d4p1:Key>String</d4p1:Key>
          <d4p1:Value>String</d4p1:Value>
        </d4p1:KeyValueOfstringstring>
      </Headers>
      <HttpMethod>String</HttpMethod>
      <Id>0</Id>
      <IpAddress>String</IpAddress>
      <Items xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfstringanyType>
          <d4p1:Key>String</d4p1:Key>
          <d4p1:Value />
        </d4p1:KeyValueOfstringanyType>
      </Items>
      <PathInfo>String</PathInfo>
      <Referer>String</Referer>
      <RequestBody>String</RequestBody>
      <RequestDto />
      <RequestDuration>PT0S</RequestDuration>
      <ResponseDto />
      <Session />
      <SessionId>String</SessionId>
      <UserAuthId>String</UserAuthId>
    </RequestLogEntry>
  </Results>
  <Usage xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>String</d2p1:Key>
      <d2p1:Value>String</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </Usage>
  <ResponseStatus>
    <ErrorCode>String</ErrorCode>
    <Message>String</Message>
    <StackTrace>String</StackTrace>
    <Errors>
      <ResponseError>
        <ErrorCode>String</ErrorCode>
        <FieldName>String</FieldName>
        <Message>String</Message>
      </ResponseError>
    </Errors>
  </ResponseStatus>
</RequestLogsResponse>

    </soap:Body>
</soap:Envelope>