Web App Plugins

<back to all web services

GetContacts

The following routes are available for this service:
GET/contacts
GetContactsResponse Parameters:
NameParameterData TypeRequiredDescription
ResultsformList<Contact>No
Contact Parameters:
NameParameterData TypeRequiredDescription
NameformstringNo
CompanyformstringNo
AgeformintNo

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.

GET /contacts HTTP/1.1 
Host: plugins.web-app.io 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<GetContactsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServerInfo">
  <Results>
    <Contact>
      <Age>0</Age>
      <Company>String</Company>
      <Name>String</Name>
    </Contact>
  </Results>
</GetContactsResponse>