Create PERSON
Creates the first version of a new PERSON.
- Type: stringenum
Prefer Request header to indicate the preference over response details. The response will contain the entire resource when the
Preferheader has a value ofreturn=representation, or only the resource identifier (e.g., theuid) when the value isreturn=identifier.valuesreturn=representation return=minimal return=identifier
The PERSON.
- Type: string
archetype _node _id required - Type: array object[] · ListOfPartyIdentity
identities required - Type: object · DV_TEXT
name requiredPolymorphic DV_TEXT wrapper. See concrete leaf schemas:
UMDvTextUMDvCodedText
- enum
_type const:PERSONvaluesP E R S O N
- Type: object · ARCHETYPED
archetype _details - Type: array object[] · ListOfContact
contacts - Type: object · ITEM_STRUCTURE
details Polymorphic ITEM_STRUCTURE wrapper. See concrete leaf schemas:
ItemSingleItemListItemTableItemTree
- Type: object · FEEDER_AUDIT
feeder _audit - Type: array object[] · DV_TEXT[]
languages Empty object - Type: array object[] · LINK[]
links - Type: array object[] · ListOfPartyRelationShip
relationships - Type: array object[] · PARTY_REF[]
roles Identifier for parties in a demographic or identity service.
- application/json
- application/json
404 404 Not Foundis returned when, based on the request parameters, the server did not find a current representation of a target resource, or is not willing to disclose that one exists.422 422 Unprocessable Entityis returned when the content type and syntax is correct, could be converted to a resource, but there are semantic validation errors, such as the underlying template is not known or is not validating the supplied resource.
curl https://cataniamc.prod.cadasto.com/v1/demographic/person \ --request POST \ --header 'Prefer: return=minimal' \ --header 'Content-Type: application/json' \ --data '{ "_type": "PERSON", "name": {}, "archetype_node_id": "", "uid": { "_type": "HIER_OBJECT_ID",{ "_type": "PERSON", "name": {}, "archetype_node_id": "string", "uid": { "_type": "HIER_OBJECT_ID", "value": "123e4567-e89b-12d3-a456-426614174000" }, "links": [ {