Skip to content

finsyn/finsyn-serviceid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Finsyn ServiceId

Service ids are used to identify entities throughout the service. They consist of:

  • Type: the kind of the entity
  • ID: unique key within the type

ID format for different types

Type Format
company VATNumber
security ISIN
entity LEI
branch Finsyn internal string
market Finsyn internal string

Serialization

# format
[type]_[id]

# examples
company_SE121212121201
security_SE1212121212
market_stockholm
branch_gaming
userfb_148932148213

Client helper libraries

JavaScript

Usage
npm install finsyn-serviceid
const { getId, getType, isType } = require('finsyn-serviceid')

getId('security_SE1212121212')
// 'SE1212121212'

getType('security_SE1212121212')
// 'security'

isType('security')('security_SE1212121212')
// true

About

FInsyn service ID documentation and utils

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published