Skip to content

Latest commit

 

History

History
114 lines (76 loc) · 2.99 KB

KlantcontactenApi.md

File metadata and controls

114 lines (76 loc) · 2.99 KB

ZaakregistratiecomponentZrcApi.KlantcontactenApi

All URIs are relative to http://example.com/api/v1

Method HTTP request Description
klantcontactenByIdGet GET /klantcontacten/{id} klantcontact_read
klantcontactenPost POST /klantcontacten klantcontact_create

klantcontactenByIdGet

KlantContact klantcontactenByIdGet(id)

klantcontact_read

Geef de details van een klantcontact voor een ZAAK.

Example

var ZaakregistratiecomponentZrcApi = require('zaakregistratiecomponent__zrc_api');
var defaultClient = ZaakregistratiecomponentZrcApi.ApiClient.instance;

// Configure HTTP basic authorization: auth
var auth = defaultClient.authentications['auth'];
auth.username = 'YOUR USERNAME';
auth.password = 'YOUR PASSWORD';

var apiInstance = new ZaakregistratiecomponentZrcApi.KlantcontactenApi();

var id = 56; // Number | A unique integer value identifying this klantcontact.


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.klantcontactenByIdGet(id, callback);

Parameters

Name Type Description Notes
id Number A unique integer value identifying this klantcontact.

Return type

KlantContact

Authorization

auth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

klantcontactenPost

KlantContact klantcontactenPost(body)

klantcontact_create

Registreer een klantcontact bij een ZAAK. Indien geen identificatie gegeven is, dan wordt deze automatisch gegenereerd.

Example

var ZaakregistratiecomponentZrcApi = require('zaakregistratiecomponent__zrc_api');
var defaultClient = ZaakregistratiecomponentZrcApi.ApiClient.instance;

// Configure HTTP basic authorization: auth
var auth = defaultClient.authentications['auth'];
auth.username = 'YOUR USERNAME';
auth.password = 'YOUR PASSWORD';

var apiInstance = new ZaakregistratiecomponentZrcApi.KlantcontactenApi();

var body = new ZaakregistratiecomponentZrcApi.KlantContact(); // KlantContact | 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.klantcontactenPost(body, callback);

Parameters

Name Type Description Notes
body KlantContact

Return type

KlantContact

Authorization

auth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json