Getting Started

This is the documentation for the 24SevenOffice API. Please note that most integrations will require some familiarity with the inner workings of the 24SevenOffice system. It is further necessary to have some business rules and use cases in place before proceeding with an integration. We have an extensive Help Center that will provide many answers and good insights.

To start using the 24SevenOffice API, please complete the following three steps:

  1. Sign up as a 24SevenOffice community user.
  2. Register as an API partner. Once you have registered, you will receive the login credentials for a demo client in 24SevenOffice. You may use this demo client to test while you develop your integration/application.
  3. Receive an ApplicationId by sending an email to apisupport@24sevenoffice.com. The ApplicationId is a unique "per integration" key and not a "per customer" key. Please note that the ApplicationId has no association to any specific clients in the 24SevenOffice system and is not used as a direct form of authentication for any specific client.

Please include the following in the email:

  • Name of integration
  • Description of the integration
  • Email address of contact person/developer (This email MUST be a registered community account in our system: Register)

After completing steps 1-3 you are ready to use the 24SevenOffice API and start with your integration/application.

Get up and running with authentication

To get started using our webservices, please follow these steps:

  1. Initialize a SoapClient/WebService-object to Authenticate
  2. Check if there is an ASP.NET_SessionId saved (see step 4), if yes, go to step 5
  3. Log in using the Login method. The Login method uses a Credential object as parameter, which requires username, password and ApplicationID. The username is always an email address (community user).
  4. Save the ASP.NET_SessionId that is returned from the Login method (Save it on your side using Database/Cookies/Session/Etc)
  5. Check if ASP.NET_SessionId is still alive at 24SevenOffice by using AuthenticateService’s HasSession method. If it does not, go to step 3.
  6. Initialize a SoapClient/WebService-object to the Webservice that you want to use
  7. Set the cookie with the name “ASP.NET_SessionId” to the SessionId-value you confirmed in step 5, and pass this cookie along to the webservice that you’re going to use.

Code examples for: C# .NET and PHP.

You need to add Web References your project by following this simple guide : Add Web Reference

If you have any questions, please do not hesitate to contact us on apisupport@24sevenoffice.com

Please read the terms for 24SevenOffice API