Update ORGANISATION
Updates ORGANISATION identified by uid_based_id.
The uid_based_id can take only a form of an HIER_OBJECT_ID identifier taken from VERSIONED_OBJECT.uid.value (i.e. a versioned_object_uid).
If the request body already contains a ORGANISATION.uid.value, it must match the uid_based_id in the URL.
The existing latest version_uid of ORGANISATION resource (i.e. the preceding_version_uid) must be specified in the If-Match header.
- Type: stringFormat: uuiduid
_based _id requiredAn identifier in a form of a HIER_OBJECT_ID identifier taken from VERSIONED_OBJECT.uid.value (i.e. a
versioned_object_uid).
- Type: stringIf
- Match requiredHeader to make the request conditional. Together with
ETagrequest tag, it helps to prevent simultaneous updates of a resource from overwriting each other ("mid-air collisions"). The format is always anversion_uididentifier enclosed by double quotes. The operation will be performed only if the existing latestversion_uidof the resource (i.e. thepreceding_version_uid) matches this header's value. - Type: stringenumPrefer
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.values- return=representation
- return=minimal
- return=identifier
The new ORGANISATION.
- Type: stringarchetype
_node _id required - Type: array object[] · ListOfPartyIdentityidentitiesrequired
- Type: object · DV_TEXTnamerequired
Polymorphic DV_TEXT wrapper. See concrete leaf schemas:
UMDvTextUMDvCodedText
- enum_typeconst:ORGANISATIONvalues
- O
R G A N I S A T I O N
- Type: object · ARCHETYPEDarchetype
_details - Type: array object[] · ListOfContactcontacts
- Type: object · ITEM_STRUCTUREdetails
Polymorphic ITEM_STRUCTURE wrapper. See concrete leaf schemas:
ItemSingleItemListItemTableItemTree
- Type: object · FEEDER_AUDITfeeder
_audit - Type: array object[] ·languagesEmpty object
- Type: array object[] ·links
- Type: array object[] · ListOfPartyRelationShiprelationships
- Type: array object[] ·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/organisation/123e4567-e89b-12d3-a456-426614174000 \ --request PUT \ --header 'If-Match: ' \ --header 'Prefer: return=minimal' \ --header 'Content-Type: application/json' \ --data '{ "_type": "ORGANISATION", "name": {}, "archetype_node_id": "", "uid": {{ "_type": "ORGANISATION", "name": {}, "archetype_node_id": "string", "uid": { "_type": "HIER_OBJECT_ID", "value": "123e4567-e89b-12d3-a456-426614174000" }, "links": [ {