Cemberle

<back to all web services

MyNotifRequest

The following routes are available for this service:
All Verbs/mynotif
MyNotifRequest Parameters:
NameParameterData TypeRequiredDescription
UseridqueryintNo
MyNotifResponse Parameters:
NameParameterData TypeRequiredDescription
SuccessformboolNo
myNotifformList<MyNotifView>No
MycountformintNo
MyNotifView Parameters:
NameParameterData TypeRequiredDescription
NotifIdformintNo
UseridformintNo
StatusformstringNo
TitleformstringNo
TypesformstringNo
IconsformstringNo
SubtitleformstringNo
CreatedateformDateTimeNo

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 /mynotif HTTP/1.1 
Host: service.cemberle.com 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<MyNotifRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WSCemberle.ServiceInterface">
  <Userid>0</Userid>
</MyNotifRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<MyNotifResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WSCemberle.ServiceModel">
  <Mycount>0</Mycount>
  <Success>false</Success>
  <myNotif>
    <MyNotifView>
      <Createdate>0001-01-01T00:00:00</Createdate>
      <Icons>String</Icons>
      <NotifId>0</NotifId>
      <Status>String</Status>
      <Subtitle>String</Subtitle>
      <Title>String</Title>
      <Types>String</Types>
      <Userid>0</Userid>
    </MyNotifView>
  </myNotif>
</MyNotifResponse>