Create Addressable


This request add an addressable to the database.

Only set the commonName value if this should not dynamicly change when the firstName, familyName changes.
Otherwise only set the familyName.
Create a person with the field familyName fully filled with the whole name (like Jan de Jager). The commonName, firstName, prefix and suffix will be extracted automaticly in this case.

Resource

POST /addressables

Payload

A sub-class of Addressable. The object type must be specified.

Response

Object Response < Addressable > The created object.

Context

Authorization

User

Errors

Example

Request
POST https://xelion.nl/api/v1/master/addressables
Payload
{
    "objectType":"Person",
    "familyName":"Arnon Ron"
}
Response
{
  "object": {
    "employments": [],
    "commonName": "Arnon Ron",
    "oid": "1590002",
    "objectType": "Person"
  },
  "links": [
    {
      "rel": "self",
      "href": "http://xelion.nl/api/v1/master/addressables/1590002",
      "method": "GET"
    }
  ]
}