StarterTemplate ASP.NET Host

<back to all web services

RequestLogs

To override the Content-type in your clients HTTP Accept Header, append ?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: bootstrapapi.apphb.com 
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.datacontract.org/2004/07/ServiceStack.ServiceInterface.Admin">
  <AfterId>0</AfterId>
  <AfterSecs>0</AfterSecs>
  <BeforeId>0</BeforeId>
  <BeforeSecs>0</BeforeSecs>
  <DurationLessThan>PT0S</DurationLessThan>
  <DurationLongerThan>PT0S</DurationLongerThan>
  <EnableErrorTracking>false</EnableErrorTracking>
  <EnableResponseTracking>false</EnableResponseTracking>
  <EnableSessionTracking>false</EnableSessionTracking>
  <ForwardedFor>String</ForwardedFor>
  <HasResponse>false</HasResponse>
  <Ids xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:long>0</d2p1:long>
  </Ids>
  <IpAddress>String</IpAddress>
  <PathInfo>String</PathInfo>
  <Referer>String</Referer>
  <SessionId>String</SessionId>
  <Skip>0</Skip>
  <Take>0</Take>
  <UserAuthId>String</UserAuthId>
  <WithErrors>false</WithErrors>
</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.datacontract.org/2004/07/ServiceStack.ServiceInterface.Admin">
  <ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types">
    <d2p1:ErrorCode>String</d2p1:ErrorCode>
    <d2p1:Message>String</d2p1:Message>
    <d2p1:StackTrace>String</d2p1:StackTrace>
    <d2p1:Errors>
      <d2p1:ResponseError>
        <d2p1:ErrorCode>String</d2p1:ErrorCode>
        <d2p1:FieldName>String</d2p1:FieldName>
        <d2p1:Message>String</d2p1:Message>
      </d2p1:ResponseError>
    </d2p1:Errors>
  </ResponseStatus>
  <Results xmlns:d2p1="http://schemas.servicestack.net/types">
    <d2p1:RequestLogEntry>
      <d2p1:AbsoluteUri>String</d2p1:AbsoluteUri>
      <d2p1:DateTime>0001-01-01T00:00:00</d2p1:DateTime>
      <d2p1:ErrorResponse />
      <d2p1: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>
      </d2p1:FormData>
      <d2p1:ForwardedFor>String</d2p1:ForwardedFor>
      <d2p1: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>
      </d2p1:Headers>
      <d2p1:HttpMethod>String</d2p1:HttpMethod>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:IpAddress>String</d2p1:IpAddress>
      <d2p1:Items xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfstringanyType>
          <d4p1:Key>String</d4p1:Key>
          <d4p1:Value />
        </d4p1:KeyValueOfstringanyType>
      </d2p1:Items>
      <d2p1:PathInfo>String</d2p1:PathInfo>
      <d2p1:Referer>String</d2p1:Referer>
      <d2p1:RequestBody>String</d2p1:RequestBody>
      <d2p1:RequestDto />
      <d2p1:RequestDuration>PT0S</d2p1:RequestDuration>
      <d2p1:ResponseDto />
      <d2p1:Session />
      <d2p1:SessionId>String</d2p1:SessionId>
      <d2p1:UserAuthId>String</d2p1:UserAuthId>
    </d2p1: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>
</RequestLogsResponse>

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