@alheimsins/p360

1.0.4 • Public • Published

Build Status js-standard-style

p360

Node wrapper module for Public 360 SIF SOAP Web Service from Tieto

Installation

$ npm install @alheimsins/p360 --save

SIF documentation

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

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

Usage

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

  const options = {
    baseUrl: 'http://server.domain.no:8088/SI.WS.Core/SIF',
    username: 'domain/username',
    password: 'password'
  }
  try {
    const client = p360(options)
    const contactService = await client.ContactService()
    // console.log(contactService.describe())
    const { result } = await contactService.GetContactPersons({ parameter: { Name: 'Maccyber' } })
    console.log(JSON.stringify(result, null, 2))
  } catch (error) {
    console.error(error)
  }
})()

License

MIT

About

Created with <3 by Alheimsins

Alheimsins symbol

Package Sidebar

Install

npm i @alheimsins/p360

Weekly Downloads

7

Version

1.0.4

License

MIT

Unpacked Size

6.34 kB

Total Files

8

Last publish

Collaborators

  • maccyber
  • zrrrzzt