https://github.com/vtfk/p360
Node wrapper for Public 360 SIF RPC Web Service from Tieto
https://github.com/vtfk/p360
Last synced: 6 months ago
JSON representation
Node wrapper for Public 360 SIF RPC Web Service from Tieto
- Host: GitHub
- URL: https://github.com/vtfk/p360
- Owner: vtfk
- License: mit
- Created: 2019-12-07T06:24:05.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-10-30T15:46:13.000Z (7 months ago)
- Last Synced: 2024-10-30T16:37:13.343Z (7 months ago)
- Language: JavaScript
- Homepage:
- Size: 433 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://travis-ci.com/vtfk/p360)
[](https://github.com/feross/standard)# p360
Node wrapper for Public 360 SIF RPC Web Service from [Tieto](https://www.tieto.no/).
# Installation
```bash
$ 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](https://github.com/telemark/skoleskyss-arbeid/blob/master/biztalk/GenericWebServiceLayer.pdf)
## Usage
```JavaScript
(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](LICENSE)