1. Overview

Party Management TMF Webservices Documentation

1.1. Version information

Version : 1.0.0

1.2. URI scheme

Host : hostname
BasePath : /partytmfwebservices/v1

1.3. Tags

  • Party Management : Pm Individual Controller

1.4. Produces

  • application/json

2. Security

2.1. oauth2_password

Type : oauth2
Flow : password
Token URL : https://localhost/:9002/authorizationserver/oauth/token

Name

basic

2.2. oauth2_client_credentials

Type : oauth2
Flow : application
Token URL : https://localhost/:9002/authorizationserver/oauth/token

Name

extended

3. Resources

3.1. Party Management

Pm Individual Controller

3.1.1. Creates a Individual

POST /individual
Description

This operation creates a Individual entity.

Parameters
Type Name Description Schema

Body

individual
required

The Individual to be created

Individual

Responses
HTTP Code Description Schema

200

OK

Individual

201

Created

Individual

400

Bad Request

Error

401

Unauthorized

Error

403

Forbidden

Error

404

Not Found

No Content

405

Method Not allowed

Error

409

Conflict

Error

500

Internal Server Error

Error

Consumes
  • application/json

Produces
  • application/json;charset=utf-8

Security
Type Name

oauth2

oauth2_client_credentials

oauth2

oauth2_password

3.1.2. List or find Individual objects

GET /individual
Description

This operation list or find Individual entities

Parameters
Type Name Description Schema

Query

familyName
optional

Requested family name for filtering

string

Query

fields
optional

Comma-separated properties to be provided in response

string

Query

givenName
optional

Requested given name for filtering

string

Query

limit
optional

Requested number of resources to be provided in response

integer(int32)

Query

offset
optional

Requested index for start of resources to be provided in response

integer(int32)

Responses
HTTP Code Description Schema

200

Success

< Individual > array

400

Bad Request

Error

401

Unauthorized

Error

403

Forbidden

Error

404

Not Found

Error

405

Method Not allowed

Error

409

Conflict

Error

500

Internal Server Error

Error

Produces
  • application/json;charset=utf-8

Security
Type Name

oauth2

oauth2_client_credentials

oauth2

oauth2_password

3.1.3. Retrieves a Individual by ID

GET /individual/{id}
Description

This operation retrieves a Individual entity. Attribute selection is enabled for all first level attributes.

Parameters
Type Name Description Schema

Path

id
required

Identifier of the Individual

string

Query

fields
optional

Comma-separated properties to provide in response

string

Responses
HTTP Code Description Schema

200

Success

Individual

400

Bad Request

Error

401

Unauthorized

Error

403

Forbidden

Error

404

Not Found

Error

405

Method Not allowed

Error

409

Conflict

Error

500

Internal Server Error

Error

Produces
  • application/json;charset=utf-8

Security
Type Name

oauth2

oauth2_client_credentials

oauth2

oauth2_password

3.1.4. Deletes a Individual

DELETE /individual/{id}
Description

This operation deletes a Individual entity.

Parameters
Type Name Description Schema

Path

id
required

Identifier of the Individual

string

Responses
HTTP Code Description Schema

200

OK

No Content

204

Deleted

No Content

400

Bad Request

Error

401

Unauthorized

Error

403

Forbidden

Error

404

Not Found

Error

405

Method Not allowed

Error

409

Conflict

Error

500

Internal Server Error

Error

Produces
  • application/json;charset=utf-8

Security
Type Name

oauth2

oauth2_client_credentials

oauth2

oauth2_password

3.1.5. Creates a Organization

POST /organization
Description

This operation creates a Organization entity.

Parameters
Type Name Description Schema

Body

organization
required

The Organization to be created

Organization

Responses
HTTP Code Description Schema

200

OK

Organization

201

Created

Organization

400

Bad Request

Error

401

Unauthorized

Error

403

Forbidden

Error

404

Not Found

No Content

405

Method Not allowed

Error

409

Conflict

Error

500

Internal Server Error

Error

Consumes
  • application/json;charset=utf-8

Produces
  • application/json;charset=utf-8

Security
Type Name

oauth2

oauth2_client_credentials

oauth2

oauth2_password

3.1.6. List or find Organization objects

GET /organization
Description

This operation list or find Organization entities

Parameters
Type Name Description Schema

Query

fields
optional

Comma-separated properties to be provided in response

string

Query

limit
optional

Requested number of resources to be provided in response

integer(int32)

Query

offset
optional

Requested index for start of resources to be provided in response

integer(int32)

Query

tradingName
optional

For filtering: Trading name

string

Responses
HTTP Code Description Schema

200

Success

< Organization > array

400

Bad Request

Error

401

Unauthorized

Error

403

Forbidden

Error

404

Not Found

Error

405

Method Not allowed

Error

409

Conflict

Error

500

Internal Server Error

Error

Produces
  • application/json;charset=utf-8

Security
Type Name

oauth2

oauth2_client_credentials

oauth2

oauth2_password

3.1.7. Retrieves a Organization by ID

GET /organization/{id}
Description

This operation retrieves a Organization entity. Attribute selection is enabled for all first level attributes.

Parameters
Type Name Description Schema

Path

id
required

Identifier of the Organization

string

Query

fields
optional

Comma-separated properties to provide in response

string

Responses
HTTP Code Description Schema

200

Success

Organization

400

Bad Request

Error

401

Unauthorized

Error

403

Forbidden

Error

404

Not Found

Error

405

Method Not allowed

Error

409

Conflict

Error

500

Internal Server Error

Error

Produces
  • application/json;charset=utf-8

Security
Type Name

oauth2

oauth2_client_credentials

oauth2

oauth2_password

3.1.8. Deletes a Organization

DELETE /organization/{id}
Description

This operation deletes a Organization entity.

Parameters
Type Name Description Schema

Path

id
required

Identifier of the Organization

string

Responses
HTTP Code Description Schema

200

OK

No Content

204

Deleted

No Content

400

Bad Request

Error

401

Unauthorized

Error

403

Forbidden

Error

404

Not Found

Error

405

Method Not allowed

Error

409

Conflict

Error

500

Internal Server Error

Error

Produces
  • application/json;charset=utf-8

Security
Type Name

oauth2

oauth2_client_credentials

oauth2

oauth2_password

4. Definitions

4.1. AttachmentRefOrValue

An attachment by value or by reference. An attachment complements the description of an element, for example through a document, a video, a picture.

Name Description Schema

@baseType
optional

When sub-classing, this defines the super-class

string

@referredType
optional

The actual type of the target instance when needed for disambiguation.

string

@schemaLocation
optional

A URI to a JSON-Schema file that defines additional attributes and relationships

string

@type
optional

When sub-classing, this defines the sub-class entity name

string

attachmentType
optional

Attachment type such as video, picture

string

content
optional

The actual contents of the attachment object, if embedded, encoded as base64

string

description
optional

A narrative text describing the content of the attachment

string

href
optional

URI for this Attachment

string

id
optional

Unique identifier for this particular attachment

string

mimeType
optional

Attachment mime type such as extension file for video, picture and document

string

name
optional

The name of the attachment

string

size
optional

The size of the attachment.

Quantity

url
optional

Uniform Resource Locator, is a web page address (a subset of URI)

string

validFor
optional

The period of time for which the attachment is valid

TimePeriod

4.2. Characteristic

Describes a given characteristic of an object or entity through a name/value pair.

Name Description Schema

@baseType
optional

When sub-classing, this defines the super-class

string

@schemaLocation
optional

A URI to a JSON-Schema file that defines additional attributes and relationships

string

@type
optional

When sub-classing, this defines the sub-class entity name

string

name
required

Name of the characteristic

string

value
required

The value of the characteristic

object

valueType
optional

Data type of the value of the characteristic

string

4.3. ContactMedium

Indicates the contact medium that could be used to contact the party.

Name Description Schema

@baseType
optional

When sub-classing, this defines the super-class

string

@schemaLocation
optional

A URI to a JSON-Schema file that defines additional attributes and relationships

string

@type
optional

When sub-classing, this defines the sub-class entity name

string

characteristic
optional

Any additional characteristic(s) of this contact medium

MediumCharacteristic

mediumType
optional

Type of the contact medium, such as: email address, telephone number, postal address

string

preferred
optional

If true, indicates that is the preferred contact medium

boolean

validFor
optional

The time period that the contact medium is valid for

TimePeriod

4.4. Disability

Lack or inadequate strength or ability.

Name Description Schema

@baseType
optional

When sub-classing, this defines the super-class

string

@schemaLocation
optional

A URI to a JSON-Schema file that defines additional attributes and relationships

string

@type
optional

When sub-classing, this defines the sub-class entity name

string

disabilityCode
optional

Code of the disability

string

disabilityName
optional

Name of the disability

string

validFor
optional

TimePeriod

4.5. Error

Used when an API throws an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx)

Name Description Schema

@baseType
optional

When sub-classing, this defines the super-class.

string

@schemaLocation
optional

A URI to a JSON-Schema file that defines additional attributes and relationships

string

@type
optional

When sub-classing, this defines the sub-class entity name.

string

code
required

Application relevant detail, defined in the API or a common list.

string

message
optional

More details and corrective actions related to the error which can be shown to a client user.

string

reason
required

Explanation of the reason for the error which can be shown to a client user.

string

referenceError
optional

URI of documentation describing the error.

string

status
optional

HTTP Error code extension

string

4.6. ExternalReference

External reference of the individual or reference in other system

Name Description Schema

@baseType
optional

When sub-classing, this defines the super-class

string

@schemaLocation
optional

A URI to a JSON-Schema file that defines additional attributes and relationships

string

@type
optional

When sub-classing, this defines the sub-class entity name

string

externalReferenceType
optional

Type of the external reference

string

name
optional

External reference name

string

4.7. Individual

Individual represents a single human being (a man, woman or child). The individual can be a customer, an employee or any other person that the organization needs to store information about.

Name Description Schema

@baseType
optional

When sub-classing, this defines the super-class

string

@schemaLocation
optional

A URI to a JSON-Schema file that defines additional attributes and relationships

string

@type
optional

When sub-classing, this defines the sub-class entity name

string

aristocraticTitle
optional

e.g. Baron, Graf, Earl,…

string

birthDate
optional

Birth date

string(date-time)

contactMedium
optional

< ContactMedium > array

countryOfBirth
optional

Country where the individual was born

string

creditRating
optional

< PartyCreditProfile > array

deathDate
optional

Date of death

string(date-time)

disability
optional

< Disability > array

externalReference
optional

< ExternalReference > array

familyName
optional

Contains the non-chosen or inherited name. Also known as last name in the Western context

string

familyNamePrefix
optional

Family name prefix

string

formattedName
optional

A fully formatted name in one string with all of its pieces in their proper place and all of the necessary punctuation. Useful for specific contexts (Chinese, Japanese, Korean,…)

string

fullName
optional

Full name flatten (first, middle, and last names)

string

gender
optional

Gender

string

generation
optional

e.g.. Sr, Jr, III (the third),…

string

givenName
optional

First name of the individual

string

href
optional

Hyperlink to access the organization

string

id
optional

Unique identifier of the organization

string

individualIdentification
optional

< IndividualIdentification > array

languageAbility
optional

< LanguageAbility > array

legalName
optional

Legal name or birth name (name one has for official purposes)

string

location
optional

Temporary current location od the individual (may be used if the individual has approved its sharing)

string

maritalStatus
optional

Marital status (married, divorced, widow …)

string

middleName
optional

Middles name or initial

string

nationality
optional

Nationality

string

otherName
optional

< OtherNameIndividual > array

partyCharacteristic
optional

< Characteristic > array

placeOfBirth
optional

Reference to the place where the individual was born

string

preferredGivenName
optional

Contains the chosen name by which the individual prefers to be addressed. Note: This name may be a name other than a given name, such as a nickname

string

relatedParty
optional

< RelatedParty > array

skill
optional

< Skill > array

status
optional

Status of the individual

enum (initialized, validated, deceaded)

taxExemptionCertificate
optional

< TaxExemptionCertificate > array

title
optional

Useful for titles (aristocratic, social,…) Pr, Dr, Sir, …

string

4.8. IndividualIdentification

Represents our registration of information used as proof of identity by an individual (passport, national identity card, drivers license, social security number, birth certificate)

Name Description Schema

@baseType
optional

When sub-classing, this defines the super-class

string

@schemaLocation
optional

A URI to a JSON-Schema file that defines additional attributes and relationships

string

@type
optional

When sub-classing, this defines the sub-class entity name

string

attachment
optional

AttachmentRefOrValue

identificationId
optional

Identifier

string

identificationType
optional

Identification type (passport, national identity card, drivers license, social security number, birth certificate)

string

issuingAuthority
optional

Authority which has issued the identifier, such as: social security, town hall

string

issuingDate
optional

Date at which the identifier was issued

string(date-time)

validFor
optional

The period for which the identification information is valid.

TimePeriod

4.9. LanguageAbility

Ability of an individual to understand or converse in a language.

Name Description Schema

@baseType
optional

When sub-classing, this defines the super-class

string

@schemaLocation
optional

A URI to a JSON-Schema file that defines additional attributes and relationships

string

@type
optional

When sub-classing, this defines the sub-class entity name

string

isFavouriteLanguage
optional

A “true” value specifies whether the language is considered by the individual as his favourite one

boolean

languageCode
optional

Language code (RFC 5646)

string

languageName
optional

Language name

string

listeningProficiency
optional

Listening proficiency evaluated for this language

string

readingProficiency
optional

Reading proficiency evaluated for this language

string

speakingProficiency
optional

Speaking proficiency evaluated for this language

string

validFor
optional

TimePeriod

writingProficiency
optional

Writing proficiency evaluated for this language

string

4.10. MediumCharacteristic

Describes the contact medium characteristics that could be used to contact a party (an individual or an organization)

Name Description Schema

@baseType
optional

When sub-classing, this defines the super-class

string

@schemaLocation
optional

A URI to a JSON-Schema file that defines additional attributes and relationships

string

@type
optional

When sub-classing, this defines the sub-class entity name

string

city
optional

The city

string

contactType
optional

The type of contact, for example: phone number such as mobile, fixed home, fixed office. postal address such as shipping instalation…

string

country
optional

The country

string

emailAddress
optional

Full email address in standard format

string

faxNumber
optional

The fax number of the contact

string

phoneNumber
optional

The primary phone number of the contact

string

postCode
optional

Postcode

string

socialNetworkId
optional

Identifier as a member of a social network

string

stateOrProvince
optional

State or province

string

street1
optional

Describes the street

string

street2
optional

Complementary street description

string

4.11. Organization

Organization represents a group of people identified by shared interests or purpose. Examples include business, department and enterprise. Because of the complex nature of many businesses, both organizations and organization units are represented by the same data.

Name Description Schema

@baseType
optional

When sub-classing, this defines the super-class

string

@schemaLocation
optional

A URI to a JSON-Schema file that defines additional attributes and relationships

string

@type
optional

When sub-classing, this defines the sub-class entity name

string

contactMedium
optional

< ContactMedium > array

creditRating
optional

< PartyCreditProfile > array

existsDuring
optional

TimePeriod

externalReference
optional

< ExternalReference > array

href
optional

Hyperlink to access the organization

string

id
optional

Unique identifier of the organization

string

isHeadOffice
optional

If value is true, the organization is the head office

boolean

isLegalEntity
optional

If value is true, the organization is a legal entity known by a national referential.

boolean

name
optional

Organization name (department name for example)

string

nameType
optional

Type of the name : Co, Inc, Ltd,…

string

organizationChildRelationship
optional

< OrganizationChildRelationship > array

organizationIdentification
optional

< OrganizationIdentification > array

organizationParentRelationship
optional

OrganizationParentRelationship

organizationType
optional

Type of Organization (company, department…)

string

otherName
optional

< OtherNameOrganization > array

partyCharacteristic
optional

< Characteristic > array

relatedParty
optional

< RelatedParty > array

status
optional

Status of the organization

enum (initialized, validated, closed)

taxExemptionCertificate
optional

< TaxExemptionCertificate > array

tradingName
optional

Name that the organization (unit) trades under

string

4.12. OrganizationChildRelationship

Child references of an organization in a structure of organizations.

Name Description Schema

@baseType
optional

When sub-classing, this defines the super-class

string

@schemaLocation
optional

A URI to a JSON-Schema file that defines additional attributes and relationships

string

@type
optional

When sub-classing, this defines the sub-class entity name

string

organization
optional

OrganizationRef

relationshipType
optional

Type of the relationship. Could be juridical, hierarchical, geographical, functional for example.

string

4.13. OrganizationIdentification

Represents our registration of information used as proof of identity by an organization

Name Description Schema

@baseType
optional

When sub-classing, this defines the super-class

string

@schemaLocation
optional

A URI to a JSON-Schema file that defines additional attributes and relationships

string

@type
optional

When sub-classing, this defines the sub-class entity name

string

attachment
optional

AttachmentRefOrValue

identificationId
optional

Identifier

string

identificationType
optional

Type of identification information used to identify the company in a country or internationally

string

issuingAuthority
optional

Authority which has issued the identifier (chamber of commerce…)

string

issuingDate
optional

Date at which the identifier was issued

string(date-time)

validFor
optional

The period for which the identification information is valid.

TimePeriod

4.14. OrganizationParentRelationship

Parent references of an organization in a structure of organizations.

Name Description Schema

@baseType
optional

When sub-classing, this defines the super-class

string

@schemaLocation
optional

A URI to a JSON-Schema file that defines additional attributes and relationships

string

@type
optional

When sub-classing, this defines the sub-class entity name

string

organization
optional

OrganizationRef

relationshipType
optional

Type of the relationship. Could be juridical, hierarchical, geographical, functional for example.

string

4.15. OrganizationRef

Name Description Schema

@baseType
optional

When sub-classing, this defines the super-class

string

@referredType
optional

The actual type of the target instance when needed for disambiguation.

string

@schemaLocation
optional

A URI to a JSON-Schema file that defines additional attributes and relationships

string

@type
optional

When sub-classing, this defines the sub-class entity name

string

href
optional

Reference of the related entity.

string

id
required

Unique identifier of a related entity.

string

name
optional

Name of the related entity.

string

4.16. OtherNameIndividual

Keeps track of other names, for example the old name of a woman before marriage or an artist name.

Name Description Schema

@baseType
optional

When sub-classing, this defines the super-class

string

@schemaLocation
optional

A URI to a JSON-Schema file that defines additional attributes and relationships

string

@type
optional

When sub-classing, this defines the sub-class entity name

string

aristocraticTitle
optional

e.g. Baron, Graf, Earl,…

string

familyName
optional

Contains the non-chosen or inherited name. Also known as last name in the Western context

string

familyNamePrefix
optional

Family name prefix

string

formattedName
optional

. A fully formatted name in one string with all of its pieces in their proper place and all of the necessary punctuation. Useful for specific contexts (Chinese, Japanese, Korean,…)

string

fullName
optional

Full name flatten (first, middle, and last names)

string

generation
optional

e.g. Sr, Jr…

string

givenName
optional

First name

string

legalName
optional

Legal name or birth name (name one has for official purposes)

string

middleName
optional

Middle name or initial

string

preferredGivenName
optional

Contains the chosen name by which the person prefers to be addressed. Note: This name may be a name other than a given name, such as a nickname

string

title
optional

Use for titles (aristrocatic, social, …): Pr, Dr, Sir,….

string

validFor
optional

TimePeriod

4.17. OtherNameOrganization

Keeps track of other names, for example the old name of an organization.

Name Description Schema

@baseType
optional

When sub-classing, this defines the super-class

string

@schemaLocation
optional

A URI to a JSON-Schema file that defines additional attributes and relationships

string

@type
optional

When sub-classing, this defines the sub-class entity name

string

name
optional

Organization name (department name for example)

string

nameType
optional

Co. , Inc. , Ltd. , Pty Ltd. , Plc; , Gmbh

string

tradingName
optional

The name that the organization trades under

string

validFor
optional

TimePeriod

4.18. PartyCreditProfile

An individual might be evaluated for its worthiness and this evaluation might be based on a credit rating given by a credit agency.

Name Description Schema

@baseType
optional

When sub-classing, this defines the super-class

string

@schemaLocation
optional

A URI to a JSON-Schema file that defines additional attributes and relationships

string

@type
optional

When sub-classing, this defines the sub-class entity name

string

creditAgencyName
optional

Name of the credit agency giving the score

string

creditAgencyType
optional

Type of the credit agency giving the score

string

ratingReference
optional

Reference corresponding to the credit rating

string

ratingScore
optional

A measure of a party’s creditworthiness calculated on the basis of a combination of factors such as their income and credit history

integer(int32)

validFor
optional

TimePeriod

4.19. Quantity

An amount in a given unit

Name Description Schema

amount
optional

Numeric value in a given unit

number(float)

units
optional

Unit

string

4.20. RelatedParty

Related Entity reference. A related party defines party or party role linked to a specific entity.

Name Description Schema

@baseType
optional

When sub-classing, this defines the super-class

string

@referredType
required

The actual type of the target instance when needed for disambiguation.

string

@schemaLocation
optional

A URI to a JSON-Schema file that defines additional attributes and relationships

string

@type
optional

When sub-classing, this defines the sub-class entity name

string

href
optional

Reference of the related entity.

string

id
required

Unique identifier of a related entity.

string

name
optional

Name of the related entity.

string

role
optional

Role played by the related party

string

4.21. Skill

Skills evaluated for an individual with a level and possibly with a limited validity when an obsolescence is defined (Ex: the first-aid certificate first level is limited to one year and an update training is required each year to keep the level).

Name Description Schema

@baseType
optional

When sub-classing, this defines the super-class

string

@schemaLocation
optional

A URI to a JSON-Schema file that defines additional attributes and relationships

string

@type
optional

When sub-classing, this defines the sub-class entity name

string

comment
optional

A free text comment linked to the evaluation done

string

evaluatedLevel
optional

Level of expertise in a skill evaluated for an individual

string

skillCode
optional

Code of the skill

string

skillName
optional

Name of the skill such as Java language,…

string

validFor
optional

TimePeriod

4.22. TaxDefinition

Reference of a tax definition. A tax is levied by an authorized tax jurisdiction. There are many different types of tax (Federal Tax levied by the US Government, State Tax levied by the State of California,…).

Name Description Schema

@baseType
optional

When sub-classing, this defines the super-class

string

@referredType
optional

The actual type of the target instance when needed for disambiguation.

string

@schemaLocation
optional

A URI to a JSON-Schema file that defines additional attributes and relationships

string

@type
optional

When sub-classing, this defines the sub-class entity name

string

id
optional

Unique identifier of the tax.

string

name
optional

Tax name.

string

taxType
optional

Type of the tax.

string

4.23. TaxExemptionCertificate

A tax exemption certificate represents a tax exemption granted to a party (individual or organization) by a tax jurisdiction which may be a city, state, country,… An exemption has a certificate identifier (received from the jurisdiction that levied the tax) and a validity period. An exemption is per tax types and determines for each type of tax what portion of the tax is exempted (partial by percentage or complete) via the tax definition.

Name Description Schema

@baseType
optional

When sub-classing, this defines the super-class

string

@schemaLocation
optional

A URI to a JSON-Schema file that defines additional attributes and relationships

string

@type
optional

When sub-classing, this defines the sub-class entity name

string

attachment
optional

AttachmentRefOrValue

id
optional

Unique identifier of the certificate of the tax exemption

string

taxDefinition
optional

< TaxDefinition > array

validFor
optional

TimePeriod

4.24. TimePeriod

A period of time, either as a deadline (endDateTime only) a startDateTime only, or both

Name Description Schema

endDateTime
optional

End of the time period, using IETC-RFC-3339 format

string(date-time)

startDateTime
optional

Start of the time period, using IETC-RFC-3339 format. If you define a start, you must also define an end

string(date-time)