DigiOffice API Services Services

<back to all web services

GetOutlookContactItems

Get all Outlook contacts based on CustomerQuery ID

Requires Authentication
namespace IDB.API.DTO.Outlook.CRM

open System
open System.IO
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations

    ///<summary>
    ///Get all Outlook contacts based on CustomerQuery ID
    ///</summary>
    [<AllowNullLiteral>]
    type GetOutlookContactItems() = 
        member val QueryID:Int32 = new Int32() with get,set

F# GetOutlookContactItems DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

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

POST /jsv/reply/GetOutlookContactItems HTTP/1.1 
Host: test-do-services.klokgroep.nl 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	QueryID: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

[
	{
		Inactief: False,
		Title: String,
		FirstName: String,
		MiddleName: String,
		LastName: String,
		FullName: String,
		Suffix: String,
		Birthday: 0001-01-01,
		Gender: String,
		Categories: String,
		CompanyName: String,
		BusinessAddressStreet: String,
		BusinessAddressPostalCode: String,
		BusinessAddressCity: String,
		BusinessAddressCountry: String,
		OtherAddressStreet: String,
		OtherAddressPostalCode: String,
		OtherAddressCity: String,
		OtherAddressCountry: String,
		Home2TelephoneNumber: String,
		HomeAddressStreet: String,
		HomeAddressPostalCode: String,
		HomeAddressCity: String,
		HomeAddressCountry: String,
		BusinessTelephoneNumber: String,
		Business2TelephoneNumber: String,
		MobileTelephoneNumber: String,
		HomeTelephoneNumber: String,
		Department: String,
		JobTitle: String,
		Profession: String,
		Email1Address: String,
		Email1DisplayName: String,
		Email2Address: String,
		Email2DisplayName: String,
		Email3Address: String,
		Email3DisplayName: String,
		BusinessHomePage: String,
		FileAs: String,
		Spouse: String,
		User1: String,
		User2: String,
		User3: String,
		User4: String,
		ImageID: String,
		ImageLastUpdate: 0001-01-01,
		BusinessFaxNumber: String,
		OtherFaxNumber: String,
		HomeFaxNumber: String
	}
]