Gemma.WebApi

<back to all web services

NotaQuery

Requires Authentication
Required role:Admin
NotaQuery Parameters:
NameParameterData TypeRequiredDescription
Idqueryint?No
IdGreaterThanOrEqualToqueryint?No
IdGreaterThanqueryint?No
IdLessThanqueryint?No
IdLessThanOrEqualToqueryint?No
IdNotEqualToqueryint?No
IdBetweenqueryint[]No
IdInqueryint[]No
DataqueryDateTime?No
DataGreaterThanOrEqualToqueryDateTime?No
DataGreaterThanqueryDateTime?No
DataLessThanqueryDateTime?No
DataLessThanOrEqualToqueryDateTime?No
DataNotEqualToqueryDateTime?No
DataBetweenqueryDateTime[]No
DataInqueryDateTime[]No
UtenteIdqueryint?No
UtenteIdGreaterThanOrEqualToqueryint?No
UtenteIdGreaterThanqueryint?No
UtenteIdLessThanqueryint?No
UtenteIdLessThanOrEqualToqueryint?No
UtenteIdNotEqualToqueryint?No
UtenteIdBetweenqueryint[]No
UtenteIdInqueryint[]No
ContattoIdqueryint?No
ContattoIdGreaterThanOrEqualToqueryint?No
ContattoIdGreaterThanqueryint?No
ContattoIdLessThanqueryint?No
ContattoIdLessThanOrEqualToqueryint?No
ContattoIdNotEqualToqueryint?No
ContattoIdBetweenqueryint[]No
ContattoIdInqueryint[]No
TabellaquerystringNo
TabellaStartsWithquerystringNo
TabellaEndsWithquerystringNo
TabellaContainsquerystringNo
TabellaLikequerystringNo
TabellaBetweenquerystring[]No
TabellaInquerystring[]No
RiferimentoIdqueryint?No
RiferimentoIdGreaterThanOrEqualToqueryint?No
RiferimentoIdGreaterThanqueryint?No
RiferimentoIdLessThanqueryint?No
RiferimentoIdLessThanOrEqualToqueryint?No
RiferimentoIdNotEqualToqueryint?No
RiferimentoIdBetweenqueryint[]No
RiferimentoIdInqueryint[]No
NotaTestoquerystringNo
NotaTestoStartsWithquerystringNo
NotaTestoEndsWithquerystringNo
NotaTestoContainsquerystringNo
NotaTestoLikequerystringNo
NotaTestoBetweenquerystring[]No
NotaTestoInquerystring[]No
IsPerVerbalequerybool?No
TagNotifichequerystringNo
TagNotificheStartsWithquerystringNo
TagNotificheEndsWithquerystringNo
TagNotificheContainsquerystringNo
TagNotificheLikequerystringNo
TagNotificheBetweenquerystring[]No
TagNotificheInquerystring[]No
TestoVerbaleIdqueryint?No
TestoVerbaleIdGreaterThanOrEqualToqueryint?No
TestoVerbaleIdGreaterThanqueryint?No
TestoVerbaleIdLessThanqueryint?No
TestoVerbaleIdLessThanOrEqualToqueryint?No
TestoVerbaleIdNotEqualToqueryint?No
TestoVerbaleIdBetweenqueryint[]No
TestoVerbaleIdInqueryint[]No
IsNotaAutomaticaquerybool?No
IsEvidenziataquerybool?No
QueryBase Parameters:
NameParameterData TypeRequiredDescription
Skipformint?No
Takeformint?No
OrderByformstringNo
OrderByDescformstringNo
IncludeformstringNo
FieldsformstringNo
MetaformDictionary<string, string>No
Nota Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
DataformDateTimeNo
UtenteIdformintNo
ContattoIdformintNo
TabellaformstringNo
RiferimentoIdformintNo
NotaTestoformstringNo
IsPerVerbaleformboolNo
TagNotificheformstringNo
TestoVerbaleIdformintNo
IsNotaAutomaticaformboolNo
IsEvidenziataformboolNo
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 .xml suffix or ?format=xml

HTTP + XML

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

POST /xml/reply/NotaQuery HTTP/1.1 
Host: gemma.api.kerberos.energy 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<NotaQuery xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gemma.WebApi.ServiceModel.Types">
  <Skip xmlns="http://schemas.servicestack.net/types">0</Skip>
  <Take xmlns="http://schemas.servicestack.net/types">0</Take>
  <OrderBy xmlns="http://schemas.servicestack.net/types">String</OrderBy>
  <OrderByDesc xmlns="http://schemas.servicestack.net/types">String</OrderByDesc>
  <Include xmlns="http://schemas.servicestack.net/types">String</Include>
  <Fields xmlns="http://schemas.servicestack.net/types">String</Fields>
  <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>
  <ContattoId>0</ContattoId>
  <ContattoIdBetween xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>0</d2p1:int>
  </ContattoIdBetween>
  <ContattoIdGreaterThan>0</ContattoIdGreaterThan>
  <ContattoIdGreaterThanOrEqualTo>0</ContattoIdGreaterThanOrEqualTo>
  <ContattoIdIn xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>0</d2p1:int>
  </ContattoIdIn>
  <ContattoIdLessThan>0</ContattoIdLessThan>
  <ContattoIdLessThanOrEqualTo>0</ContattoIdLessThanOrEqualTo>
  <ContattoIdNotEqualTo>0</ContattoIdNotEqualTo>
  <Data>0001-01-01T00:00:00</Data>
  <DataBetween xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:dateTime>0001-01-01T00:00:00</d2p1:dateTime>
  </DataBetween>
  <DataGreaterThan>0001-01-01T00:00:00</DataGreaterThan>
  <DataGreaterThanOrEqualTo>0001-01-01T00:00:00</DataGreaterThanOrEqualTo>
  <DataIn xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:dateTime>0001-01-01T00:00:00</d2p1:dateTime>
  </DataIn>
  <DataLessThan>0001-01-01T00:00:00</DataLessThan>
  <DataLessThanOrEqualTo>0001-01-01T00:00:00</DataLessThanOrEqualTo>
  <DataNotEqualTo>0001-01-01T00:00:00</DataNotEqualTo>
  <Id>0</Id>
  <IdBetween xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>0</d2p1:int>
  </IdBetween>
  <IdGreaterThan>0</IdGreaterThan>
  <IdGreaterThanOrEqualTo>0</IdGreaterThanOrEqualTo>
  <IdIn xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>0</d2p1:int>
  </IdIn>
  <IdLessThan>0</IdLessThan>
  <IdLessThanOrEqualTo>0</IdLessThanOrEqualTo>
  <IdNotEqualTo>0</IdNotEqualTo>
  <IsEvidenziata>false</IsEvidenziata>
  <IsNotaAutomatica>false</IsNotaAutomatica>
  <IsPerVerbale>false</IsPerVerbale>
  <NotaTesto>String</NotaTesto>
  <NotaTestoBetween xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </NotaTestoBetween>
  <NotaTestoContains>String</NotaTestoContains>
  <NotaTestoEndsWith>String</NotaTestoEndsWith>
  <NotaTestoIn xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </NotaTestoIn>
  <NotaTestoLike>String</NotaTestoLike>
  <NotaTestoStartsWith>String</NotaTestoStartsWith>
  <RiferimentoId>0</RiferimentoId>
  <RiferimentoIdBetween xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>0</d2p1:int>
  </RiferimentoIdBetween>
  <RiferimentoIdGreaterThan>0</RiferimentoIdGreaterThan>
  <RiferimentoIdGreaterThanOrEqualTo>0</RiferimentoIdGreaterThanOrEqualTo>
  <RiferimentoIdIn xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>0</d2p1:int>
  </RiferimentoIdIn>
  <RiferimentoIdLessThan>0</RiferimentoIdLessThan>
  <RiferimentoIdLessThanOrEqualTo>0</RiferimentoIdLessThanOrEqualTo>
  <RiferimentoIdNotEqualTo>0</RiferimentoIdNotEqualTo>
  <Tabella>String</Tabella>
  <TabellaBetween xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </TabellaBetween>
  <TabellaContains>String</TabellaContains>
  <TabellaEndsWith>String</TabellaEndsWith>
  <TabellaIn xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </TabellaIn>
  <TabellaLike>String</TabellaLike>
  <TabellaStartsWith>String</TabellaStartsWith>
  <TagNotifiche>String</TagNotifiche>
  <TagNotificheBetween xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </TagNotificheBetween>
  <TagNotificheContains>String</TagNotificheContains>
  <TagNotificheEndsWith>String</TagNotificheEndsWith>
  <TagNotificheIn xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </TagNotificheIn>
  <TagNotificheLike>String</TagNotificheLike>
  <TagNotificheStartsWith>String</TagNotificheStartsWith>
  <TestoVerbaleId>0</TestoVerbaleId>
  <TestoVerbaleIdBetween xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>0</d2p1:int>
  </TestoVerbaleIdBetween>
  <TestoVerbaleIdGreaterThan>0</TestoVerbaleIdGreaterThan>
  <TestoVerbaleIdGreaterThanOrEqualTo>0</TestoVerbaleIdGreaterThanOrEqualTo>
  <TestoVerbaleIdIn xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>0</d2p1:int>
  </TestoVerbaleIdIn>
  <TestoVerbaleIdLessThan>0</TestoVerbaleIdLessThan>
  <TestoVerbaleIdLessThanOrEqualTo>0</TestoVerbaleIdLessThanOrEqualTo>
  <TestoVerbaleIdNotEqualTo>0</TestoVerbaleIdNotEqualTo>
  <UtenteId>0</UtenteId>
  <UtenteIdBetween xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>0</d2p1:int>
  </UtenteIdBetween>
  <UtenteIdGreaterThan>0</UtenteIdGreaterThan>
  <UtenteIdGreaterThanOrEqualTo>0</UtenteIdGreaterThanOrEqualTo>
  <UtenteIdIn xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>0</d2p1:int>
  </UtenteIdIn>
  <UtenteIdLessThan>0</UtenteIdLessThan>
  <UtenteIdLessThanOrEqualTo>0</UtenteIdLessThanOrEqualTo>
  <UtenteIdNotEqualTo>0</UtenteIdNotEqualTo>
</NotaQuery>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<QueryResponseOfNotaCYQkyN_Pr 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/Gemma.WebApi.ServiceModel.Types">
    <d2p1:Nota>
      <d2p1:ContattoId>0</d2p1:ContattoId>
      <d2p1:Data>0001-01-01T00:00:00</d2p1:Data>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:IsEvidenziata>false</d2p1:IsEvidenziata>
      <d2p1:IsNotaAutomatica>false</d2p1:IsNotaAutomatica>
      <d2p1:IsPerVerbale>false</d2p1:IsPerVerbale>
      <d2p1:NotaTesto>String</d2p1:NotaTesto>
      <d2p1:RiferimentoId>0</d2p1:RiferimentoId>
      <d2p1:Tabella>String</d2p1:Tabella>
      <d2p1:TagNotifiche>String</d2p1:TagNotifiche>
      <d2p1:TestoVerbaleId>0</d2p1:TestoVerbaleId>
      <d2p1:UtenteId>0</d2p1:UtenteId>
    </d2p1:Nota>
  </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>
</QueryResponseOfNotaCYQkyN_Pr>