Skip to content

Latest commit

 

History

History
114 lines (75 loc) · 2.57 KB

RollenApi.md

File metadata and controls

114 lines (75 loc) · 2.57 KB

ZaakregistratiecomponentZrcApi.RollenApi

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

Method HTTP request Description
rollenByIdGet GET /rollen/{id} rol_read
rollenPost POST /rollen rol_create

rollenByIdGet

Rol rollenByIdGet(id)

rol_read

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.RollenApi();

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


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

Parameters

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

Return type

Rol

Authorization

auth

HTTP request headers

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

rollenPost

Rol rollenPost(body)

rol_create

Koppel een BETROKKENE aan 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.RollenApi();

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


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

Parameters

Name Type Description Notes
body Rol

Return type

Rol

Authorization

auth

HTTP request headers

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