My Service

<back to all web services

RequestLogs

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: www.fontanas.net 
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>

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

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

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

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