EMUN1 ASP.NET

<back to all web services

QueryBlogs

QueryBlogs Parameters:
NameParameterData TypeRequiredDescription
TagCriteriaqueryDictionary<string, HashSet<String>>No
TagKindpathstringNo
TagValuepathstringNo
IdpathstringNo
onlyNewqueryboolNo
QueryBase Parameters:
NameParameterData TypeRequiredDescription
Skipformint?No
Takeformint?No
OrderByformstringNo
OrderByDescformstringNo
IncludeformstringNo
FieldsformstringNo
MetaformDictionary<string, string>No
Blog Parameters:
NameParameterData TypeRequiredDescription
PublishedOnformDateTimeNo
ExpiresOnformDateTimeNo
ContentformstringNo
TitleformstringNo
IsReadformboolNo
RolesformList<Roles>No
FormSubmission Parameters:
NameParameterData TypeRequiredDescription
DataformJsonObjectNo
EventsformJsonObjectNo
TaggedModel Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
RefIdformstringNo
EuidformGuidNo
LabelformstringNo
DescriptionformstringNo
ActiveformboolNo
TagsformDictionary<string, HashSet<String>>No
MetaformDictionary<string, string>No
AuditedModel Parameters:
NameParameterData TypeRequiredDescription
CreatedByformstringNo
CreatedOnformDateTimeNo
LastModifiedOnformDateTimeNo
LastModifiedByformstringNo
GeneratedformboolNo
ExportedformboolNo
PositionformintNo
QueryResponse<T> Parameters:
NameParameterData TypeRequiredDescription
OffsetformintNo
TotalformintNo
ResultsformList<T>No
MetaformDictionary<string, string>No
ResponseStatusformResponseStatusNo

To override the Content-type in your clients, use the 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: www.bernhardthospitality.com 
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: QueryBlogs

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

<QueryBlogs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServiceStack">
  <Fields xmlns="http://schemas.servicestack.net/types">String</Fields>
  <Include xmlns="http://schemas.servicestack.net/types">String</Include>
  <Meta xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.servicestack.net/types">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>String</d2p1:Key>
      <d2p1:Value>String</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </Meta>
  <OrderBy xmlns="http://schemas.servicestack.net/types">String</OrderBy>
  <OrderByDesc xmlns="http://schemas.servicestack.net/types">String</OrderByDesc>
  <Skip xmlns="http://schemas.servicestack.net/types">0</Skip>
  <Take xmlns="http://schemas.servicestack.net/types">0</Take>
  <Id>String</Id>
  <TagCriteria xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringArrayOfstringty7Ep6D1>
      <d2p1:Key>String</d2p1:Key>
      <d2p1:Value>
        <d2p1:string>String</d2p1:string>
      </d2p1:Value>
    </d2p1:KeyValueOfstringArrayOfstringty7Ep6D1>
  </TagCriteria>
  <TagKind>String</TagKind>
  <TagValue>String</TagValue>
  <onlyNew>false</onlyNew>
</QueryBlogs>

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

<QueryResponseOfBlogQXtZvBwT xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.servicestack.net/types">
  <Offset>0</Offset>
  <Total>0</Total>
  <Results xmlns:d2p1="http://schemas.datacontract.org/2004/07/ServiceStack">
    <d2p1:Blog>
      <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Emun.Tags">String</CreatedBy>
      <CreatedOn xmlns="http://schemas.datacontract.org/2004/07/Emun.Tags">0001-01-01T00:00:00</CreatedOn>
      <Exported xmlns="http://schemas.datacontract.org/2004/07/Emun.Tags">false</Exported>
      <Generated xmlns="http://schemas.datacontract.org/2004/07/Emun.Tags">false</Generated>
      <LastModifiedBy xmlns="http://schemas.datacontract.org/2004/07/Emun.Tags">String</LastModifiedBy>
      <LastModifiedOn xmlns="http://schemas.datacontract.org/2004/07/Emun.Tags">0001-01-01T00:00:00</LastModifiedOn>
      <Position xmlns="http://schemas.datacontract.org/2004/07/Emun.Tags">0</Position>
      <Active xmlns="http://schemas.datacontract.org/2004/07/Emun.Tags">false</Active>
      <Description xmlns="http://schemas.datacontract.org/2004/07/Emun.Tags">String</Description>
      <Euid xmlns="http://schemas.datacontract.org/2004/07/Emun.Tags">00000000-0000-0000-0000-000000000000</Euid>
      <Id xmlns="http://schemas.datacontract.org/2004/07/Emun.Tags">String</Id>
      <Label xmlns="http://schemas.datacontract.org/2004/07/Emun.Tags">String</Label>
      <Meta xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Emun.Tags">
        <d4p1:KeyValueOfstringstring>
          <d4p1:Key>String</d4p1:Key>
          <d4p1:Value>String</d4p1:Value>
        </d4p1:KeyValueOfstringstring>
      </Meta>
      <RefId xmlns="http://schemas.datacontract.org/2004/07/Emun.Tags">String</RefId>
      <Tags xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Emun.Tags">
        <d4p1:KeyValueOfstringArrayOfstringty7Ep6D1>
          <d4p1:Key>String</d4p1:Key>
          <d4p1:Value>
            <d4p1:string>String</d4p1:string>
          </d4p1:Value>
        </d4p1:KeyValueOfstringArrayOfstringty7Ep6D1>
      </Tags>
      <d2p1:Data 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:Data>
      <d2p1:Events 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:Events>
      <d2p1:Content>String</d2p1:Content>
      <d2p1:ExpiresOn>0001-01-01T00:00:00</d2p1:ExpiresOn>
      <d2p1:IsRead>false</d2p1:IsRead>
      <d2p1:PublishedOn>0001-01-01T00:00:00</d2p1:PublishedOn>
      <d2p1:Roles xmlns:d4p1="http://schemas.datacontract.org/2004/07/Emun">
        <d4p1:Roles>Administrator</d4p1:Roles>
      </d2p1:Roles>
      <d2p1:Title>String</d2p1:Title>
    </d2p1:Blog>
  </Results>
  <Meta xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>String</d2p1:Key>
      <d2p1:Value>String</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </Meta>
  <ResponseStatus>
    <ErrorCode>String</ErrorCode>
    <Message>String</Message>
    <StackTrace>String</StackTrace>
    <Errors>
      <ResponseError>
        <ErrorCode>String</ErrorCode>
        <FieldName>String</FieldName>
        <Message>String</Message>
        <Meta xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:KeyValueOfstringstring>
            <d5p1:Key>String</d5p1:Key>
            <d5p1:Value>String</d5p1:Value>
          </d5p1:KeyValueOfstringstring>
        </Meta>
      </ResponseError>
    </Errors>
    <Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>String</d3p1:Key>
        <d3p1:Value>String</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
    </Meta>
  </ResponseStatus>
</QueryResponseOfBlogQXtZvBwT>

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