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
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
|
201 |
Created |
|
400 |
Bad Request |
|
401 |
Unauthorized |
|
403 |
Forbidden |
|
404 |
Not Found |
No Content |
405 |
Method Not allowed |
|
409 |
Conflict |
|
500 |
Internal Server Error |
3.1.2. List or find Individual objects
GET /individual
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Query |
familyName |
Requested family name for filtering |
string |
Query |
fields |
Comma-separated properties to be provided in response |
string |
Query |
givenName |
Requested given name for filtering |
string |
Query |
limit |
Requested number of resources to be provided in response |
integer(int32) |
Query |
offset |
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 |
|
401 |
Unauthorized |
|
403 |
Forbidden |
|
404 |
Not Found |
|
405 |
Method Not allowed |
|
409 |
Conflict |
|
500 |
Internal Server Error |
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 |
Identifier of the Individual |
string |
Query |
fields |
Comma-separated properties to provide in response |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Success |
|
400 |
Bad Request |
|
401 |
Unauthorized |
|
403 |
Forbidden |
|
404 |
Not Found |
|
405 |
Method Not allowed |
|
409 |
Conflict |
|
500 |
Internal Server Error |
3.1.4. Deletes a Individual
DELETE /individual/{id}
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
No Content |
204 |
Deleted |
No Content |
400 |
Bad Request |
|
401 |
Unauthorized |
|
403 |
Forbidden |
|
404 |
Not Found |
|
405 |
Method Not allowed |
|
409 |
Conflict |
|
500 |
Internal Server Error |
3.1.5. Creates a Organization
POST /organization
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
|
201 |
Created |
|
400 |
Bad Request |
|
401 |
Unauthorized |
|
403 |
Forbidden |
|
404 |
Not Found |
No Content |
405 |
Method Not allowed |
|
409 |
Conflict |
|
500 |
Internal Server Error |
3.1.6. List or find Organization objects
GET /organization
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Query |
fields |
Comma-separated properties to be provided in response |
string |
Query |
limit |
Requested number of resources to be provided in response |
integer(int32) |
Query |
offset |
Requested index for start of resources to be provided in response |
integer(int32) |
Query |
tradingName |
For filtering: Trading name |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Success |
< Organization > array |
400 |
Bad Request |
|
401 |
Unauthorized |
|
403 |
Forbidden |
|
404 |
Not Found |
|
405 |
Method Not allowed |
|
409 |
Conflict |
|
500 |
Internal Server Error |
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 |
Identifier of the Organization |
string |
Query |
fields |
Comma-separated properties to provide in response |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Success |
|
400 |
Bad Request |
|
401 |
Unauthorized |
|
403 |
Forbidden |
|
404 |
Not Found |
|
405 |
Method Not allowed |
|
409 |
Conflict |
|
500 |
Internal Server Error |
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 |
When sub-classing, this defines the super-class |
string |
@referredType |
The actual type of the target instance when needed for disambiguation. |
string |
@schemaLocation |
A URI to a JSON-Schema file that defines additional attributes and relationships |
string |
@type |
When sub-classing, this defines the sub-class entity name |
string |
attachmentType |
Attachment type such as video, picture |
string |
content |
The actual contents of the attachment object, if embedded, encoded as base64 |
string |
description |
A narrative text describing the content of the attachment |
string |
href |
URI for this Attachment |
string |
id |
Unique identifier for this particular attachment |
string |
mimeType |
Attachment mime type such as extension file for video, picture and document |
string |
name |
The name of the attachment |
string |
size |
The size of the attachment. |
|
url |
Uniform Resource Locator, is a web page address (a subset of URI) |
string |
validFor |
The period of time for which the attachment is valid |
4.2. Characteristic
Describes a given characteristic of an object or entity through a name/value pair.
Name | Description | Schema |
---|---|---|
@baseType |
When sub-classing, this defines the super-class |
string |
@schemaLocation |
A URI to a JSON-Schema file that defines additional attributes and relationships |
string |
@type |
When sub-classing, this defines the sub-class entity name |
string |
name |
Name of the characteristic |
string |
value |
The value of the characteristic |
object |
valueType |
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 |
When sub-classing, this defines the super-class |
string |
@schemaLocation |
A URI to a JSON-Schema file that defines additional attributes and relationships |
string |
@type |
When sub-classing, this defines the sub-class entity name |
string |
characteristic |
Any additional characteristic(s) of this contact medium |
|
mediumType |
Type of the contact medium, such as: email address, telephone number, postal address |
string |
preferred |
If true, indicates that is the preferred contact medium |
boolean |
validFor |
The time period that the contact medium is valid for |
4.4. Disability
Lack or inadequate strength or ability.
Name | Description | Schema |
---|---|---|
@baseType |
When sub-classing, this defines the super-class |
string |
@schemaLocation |
A URI to a JSON-Schema file that defines additional attributes and relationships |
string |
@type |
When sub-classing, this defines the sub-class entity name |
string |
disabilityCode |
Code of the disability |
string |
disabilityName |
Name of the disability |
string |
validFor |
4.5. Error
Used when an API throws an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx)
Name | Description | Schema |
---|---|---|
@baseType |
When sub-classing, this defines the super-class. |
string |
@schemaLocation |
A URI to a JSON-Schema file that defines additional attributes and relationships |
string |
@type |
When sub-classing, this defines the sub-class entity name. |
string |
code |
Application relevant detail, defined in the API or a common list. |
string |
message |
More details and corrective actions related to the error which can be shown to a client user. |
string |
reason |
Explanation of the reason for the error which can be shown to a client user. |
string |
referenceError |
URI of documentation describing the error. |
string |
status |
HTTP Error code extension |
string |
4.6. ExternalReference
External reference of the individual or reference in other system
Name | Description | Schema |
---|---|---|
@baseType |
When sub-classing, this defines the super-class |
string |
@schemaLocation |
A URI to a JSON-Schema file that defines additional attributes and relationships |
string |
@type |
When sub-classing, this defines the sub-class entity name |
string |
externalReferenceType |
Type of the external reference |
string |
name |
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 |
When sub-classing, this defines the super-class |
string |
@schemaLocation |
A URI to a JSON-Schema file that defines additional attributes and relationships |
string |
@type |
When sub-classing, this defines the sub-class entity name |
string |
aristocraticTitle |
e.g. Baron, Graf, Earl,… |
string |
birthDate |
Birth date |
string(date-time) |
contactMedium |
< ContactMedium > array |
|
countryOfBirth |
Country where the individual was born |
string |
creditRating |
< PartyCreditProfile > array |
|
deathDate |
Date of death |
string(date-time) |
disability |
< Disability > array |
|
externalReference |
< ExternalReference > array |
|
familyName |
Contains the non-chosen or inherited name. Also known as last name in the Western context |
string |
familyNamePrefix |
Family name prefix |
string |
formattedName |
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 |
Full name flatten (first, middle, and last names) |
string |
gender |
Gender |
string |
generation |
e.g.. Sr, Jr, III (the third),… |
string |
givenName |
First name of the individual |
string |
href |
Hyperlink to access the organization |
string |
id |
Unique identifier of the organization |
string |
individualIdentification |
< IndividualIdentification > array |
|
languageAbility |
< LanguageAbility > array |
|
legalName |
Legal name or birth name (name one has for official purposes) |
string |
location |
Temporary current location od the individual (may be used if the individual has approved its sharing) |
string |
maritalStatus |
Marital status (married, divorced, widow …) |
string |
middleName |
Middles name or initial |
string |
nationality |
Nationality |
string |
otherName |
< OtherNameIndividual > array |
|
partyCharacteristic |
< Characteristic > array |
|
placeOfBirth |
Reference to the place where the individual was born |
string |
preferredGivenName |
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 |
< RelatedParty > array |
|
skill |
< Skill > array |
|
status |
Status of the individual |
enum (initialized, validated, deceaded) |
taxExemptionCertificate |
< TaxExemptionCertificate > array |
|
title |
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 |
When sub-classing, this defines the super-class |
string |
@schemaLocation |
A URI to a JSON-Schema file that defines additional attributes and relationships |
string |
@type |
When sub-classing, this defines the sub-class entity name |
string |
attachment |
||
identificationId |
Identifier |
string |
identificationType |
Identification type (passport, national identity card, drivers license, social security number, birth certificate) |
string |
issuingAuthority |
Authority which has issued the identifier, such as: social security, town hall |
string |
issuingDate |
Date at which the identifier was issued |
string(date-time) |
validFor |
The period for which the identification information is valid. |
4.9. LanguageAbility
Ability of an individual to understand or converse in a language.
Name | Description | Schema |
---|---|---|
@baseType |
When sub-classing, this defines the super-class |
string |
@schemaLocation |
A URI to a JSON-Schema file that defines additional attributes and relationships |
string |
@type |
When sub-classing, this defines the sub-class entity name |
string |
isFavouriteLanguage |
A “true” value specifies whether the language is considered by the individual as his favourite one |
boolean |
languageCode |
Language code (RFC 5646) |
string |
languageName |
Language name |
string |
listeningProficiency |
Listening proficiency evaluated for this language |
string |
readingProficiency |
Reading proficiency evaluated for this language |
string |
speakingProficiency |
Speaking proficiency evaluated for this language |
string |
validFor |
||
writingProficiency |
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 |
When sub-classing, this defines the super-class |
string |
@schemaLocation |
A URI to a JSON-Schema file that defines additional attributes and relationships |
string |
@type |
When sub-classing, this defines the sub-class entity name |
string |
city |
The city |
string |
contactType |
The type of contact, for example: phone number such as mobile, fixed home, fixed office. postal address such as shipping instalation… |
string |
country |
The country |
string |
emailAddress |
Full email address in standard format |
string |
faxNumber |
The fax number of the contact |
string |
phoneNumber |
The primary phone number of the contact |
string |
postCode |
Postcode |
string |
socialNetworkId |
Identifier as a member of a social network |
string |
stateOrProvince |
State or province |
string |
street1 |
Describes the street |
string |
street2 |
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 |
When sub-classing, this defines the super-class |
string |
@schemaLocation |
A URI to a JSON-Schema file that defines additional attributes and relationships |
string |
@type |
When sub-classing, this defines the sub-class entity name |
string |
contactMedium |
< ContactMedium > array |
|
creditRating |
< PartyCreditProfile > array |
|
existsDuring |
||
externalReference |
< ExternalReference > array |
|
href |
Hyperlink to access the organization |
string |
id |
Unique identifier of the organization |
string |
isHeadOffice |
If value is true, the organization is the head office |
boolean |
isLegalEntity |
If value is true, the organization is a legal entity known by a national referential. |
boolean |
name |
Organization name (department name for example) |
string |
nameType |
Type of the name : Co, Inc, Ltd,… |
string |
organizationChildRelationship |
< OrganizationChildRelationship > array |
|
organizationIdentification |
< OrganizationIdentification > array |
|
organizationParentRelationship |
||
organizationType |
Type of Organization (company, department…) |
string |
otherName |
< OtherNameOrganization > array |
|
partyCharacteristic |
< Characteristic > array |
|
relatedParty |
< RelatedParty > array |
|
status |
Status of the organization |
enum (initialized, validated, closed) |
taxExemptionCertificate |
< TaxExemptionCertificate > array |
|
tradingName |
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 |
When sub-classing, this defines the super-class |
string |
@schemaLocation |
A URI to a JSON-Schema file that defines additional attributes and relationships |
string |
@type |
When sub-classing, this defines the sub-class entity name |
string |
organization |
||
relationshipType |
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 |
When sub-classing, this defines the super-class |
string |
@schemaLocation |
A URI to a JSON-Schema file that defines additional attributes and relationships |
string |
@type |
When sub-classing, this defines the sub-class entity name |
string |
attachment |
||
identificationId |
Identifier |
string |
identificationType |
Type of identification information used to identify the company in a country or internationally |
string |
issuingAuthority |
Authority which has issued the identifier (chamber of commerce…) |
string |
issuingDate |
Date at which the identifier was issued |
string(date-time) |
validFor |
The period for which the identification information is valid. |
4.14. OrganizationParentRelationship
Parent references of an organization in a structure of organizations.
Name | Description | Schema |
---|---|---|
@baseType |
When sub-classing, this defines the super-class |
string |
@schemaLocation |
A URI to a JSON-Schema file that defines additional attributes and relationships |
string |
@type |
When sub-classing, this defines the sub-class entity name |
string |
organization |
||
relationshipType |
Type of the relationship. Could be juridical, hierarchical, geographical, functional for example. |
string |
4.15. OrganizationRef
Name | Description | Schema |
---|---|---|
@baseType |
When sub-classing, this defines the super-class |
string |
@referredType |
The actual type of the target instance when needed for disambiguation. |
string |
@schemaLocation |
A URI to a JSON-Schema file that defines additional attributes and relationships |
string |
@type |
When sub-classing, this defines the sub-class entity name |
string |
href |
Reference of the related entity. |
string |
id |
Unique identifier of a related entity. |
string |
name |
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 |
When sub-classing, this defines the super-class |
string |
@schemaLocation |
A URI to a JSON-Schema file that defines additional attributes and relationships |
string |
@type |
When sub-classing, this defines the sub-class entity name |
string |
aristocraticTitle |
e.g. Baron, Graf, Earl,… |
string |
familyName |
Contains the non-chosen or inherited name. Also known as last name in the Western context |
string |
familyNamePrefix |
Family name prefix |
string |
formattedName |
. 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 |
Full name flatten (first, middle, and last names) |
string |
generation |
e.g. Sr, Jr… |
string |
givenName |
First name |
string |
legalName |
Legal name or birth name (name one has for official purposes) |
string |
middleName |
Middle name or initial |
string |
preferredGivenName |
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 |
Use for titles (aristrocatic, social, …): Pr, Dr, Sir,…. |
string |
validFor |
4.17. OtherNameOrganization
Keeps track of other names, for example the old name of an organization.
Name | Description | Schema |
---|---|---|
@baseType |
When sub-classing, this defines the super-class |
string |
@schemaLocation |
A URI to a JSON-Schema file that defines additional attributes and relationships |
string |
@type |
When sub-classing, this defines the sub-class entity name |
string |
name |
Organization name (department name for example) |
string |
nameType |
Co. , Inc. , Ltd. , Pty Ltd. , Plc; , Gmbh |
string |
tradingName |
The name that the organization trades under |
string |
validFor |
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 |
When sub-classing, this defines the super-class |
string |
@schemaLocation |
A URI to a JSON-Schema file that defines additional attributes and relationships |
string |
@type |
When sub-classing, this defines the sub-class entity name |
string |
creditAgencyName |
Name of the credit agency giving the score |
string |
creditAgencyType |
Type of the credit agency giving the score |
string |
ratingReference |
Reference corresponding to the credit rating |
string |
ratingScore |
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 |
4.19. Quantity
An amount in a given unit
Name | Description | Schema |
---|---|---|
amount |
Numeric value in a given unit |
number(float) |
units |
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 |
When sub-classing, this defines the super-class |
string |
@referredType |
The actual type of the target instance when needed for disambiguation. |
string |
@schemaLocation |
A URI to a JSON-Schema file that defines additional attributes and relationships |
string |
@type |
When sub-classing, this defines the sub-class entity name |
string |
href |
Reference of the related entity. |
string |
id |
Unique identifier of a related entity. |
string |
name |
Name of the related entity. |
string |
role |
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 |
When sub-classing, this defines the super-class |
string |
@schemaLocation |
A URI to a JSON-Schema file that defines additional attributes and relationships |
string |
@type |
When sub-classing, this defines the sub-class entity name |
string |
comment |
A free text comment linked to the evaluation done |
string |
evaluatedLevel |
Level of expertise in a skill evaluated for an individual |
string |
skillCode |
Code of the skill |
string |
skillName |
Name of the skill such as Java language,… |
string |
validFor |
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 |
When sub-classing, this defines the super-class |
string |
@referredType |
The actual type of the target instance when needed for disambiguation. |
string |
@schemaLocation |
A URI to a JSON-Schema file that defines additional attributes and relationships |
string |
@type |
When sub-classing, this defines the sub-class entity name |
string |
id |
Unique identifier of the tax. |
string |
name |
Tax name. |
string |
taxType |
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 |
When sub-classing, this defines the super-class |
string |
@schemaLocation |
A URI to a JSON-Schema file that defines additional attributes and relationships |
string |
@type |
When sub-classing, this defines the sub-class entity name |
string |
attachment |
||
id |
Unique identifier of the certificate of the tax exemption |
string |
taxDefinition |
< TaxDefinition > array |
|
validFor |
4.24. TimePeriod
A period of time, either as a deadline (endDateTime only) a startDateTime only, or both
Name | Description | Schema |
---|---|---|
endDateTime |
End of the time period, using IETC-RFC-3339 format |
string(date-time) |
startDateTime |
Start of the time period, using IETC-RFC-3339 format. If you define a start, you must also define an end |
string(date-time) |