@vtfk/p360

Wrapper for Public 360 SIF RPC Web Service from Tieto

Usage no npm install needed!

<script type="module">
  import vtfkP360 from 'https://cdn.skypack.dev/@vtfk/p360';
</script>

README

Build Status js-standard-style

p360

Node wrapper for Public 360 SIF RPC Web Service from Tieto.

Installation

$ npm install @vtfk/p360 --save

SIF documentation

SI Integration Framework (SIF) is public 360s RPC-webservice.

For a full list of calls and callbacks see the documentation here

Usage

(async () => {
  const p360 = require('@vtfk/p360')

  const options = {
    host: 'server.domain.no',
    authkey: 'your-rpc-auth-key'
  }
  try {
    const client = p360(options)
    const { ContactService } = client
    const result  = await contactService.GetContactPersons({ parameter: { Name: 'Maccyber%' } })
    console.log(JSON.stringify(result, null, 2))
  } catch (error) {
    console.error(error)
  }
})()

License

MIT