Logo
OpenText Developer Cloud public resources API Documentation

Create case instance

POST {{baseUrl}}/instances/case/:type

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string




RESPONSES

status Created

{ "name": "ut consectetur magna sint", "description": "laborum reprehenderit quis Ut id", "tags": [ "officia dolore pari", "irure ad aute" ], "traits": {}, "properties": {}, "ancestor_ids": [ "79f3abf1-5d96-05f3-824b-52080ec840c8", "urn:uuid:c22ff500-bcfb-a6cd-0927-879fdf8616a9" ], "policies": [ "e95280d1-4578-bb7e-86f5-69579ea6b8b5", "7f5f090f-a0ee-9d38-f85d-790f6c9eed18" ], "lock_owner_identity": {}, "renditions": [ { "created_by": { "value": "<Error: Too many levels of nesting to fake this schema>" }, "updated_by": { "value": "<Error: Too many levels of nesting to fake this schema>" }, "owner": { "value": "<Error: Too many levels of nesting to fake this schema>" }, "name": "nostrud mollit Lorem", "mime_type": "adipisicing ut laboris", "content_size": 80576773, "blob_id": "c62b817e-ac28-cc44-f852-9b67d9a033ab", "rendition_type": "secondary", "height": -49566452, "width": 58120810, "traits": {}, "_links": { "self": { "value": "<Error: Too many levels of nesting to fake this schema>" }, "edit": { "value": "<Error: Too many levels of nesting to fake this schema>" }, "delete": { "value": "<Error: Too many levels of nesting to fake this schema>" }, "parent": { "value": "<Error: Too many levels of nesting to fake this schema>" }, "urn:eim:linkrel:download_media": { "value": "<Error: Too many levels of nesting to fake this schema>" } } }, { "created_by": { "value": "<Error: Too many levels of nesting to fake this schema>" }, "updated_by": { "value": "<Error: Too many levels of nesting to fake this schema>" }, "owner": { "value": "<Error: Too many levels of nesting to fake this schema>" }, "name": "ex adipisicing ad", "mime_type": "mollit consectetur reprehenderit", "content_size": 45880096, "blob_id": "00abc539-04d3-f1ae-a9cf-3d4622aa4af1", "rendition_type": "primary", "height": -39715089, "width": -44540597, "traits": {}, "_links": { "self": { "value": "<Error: Too many levels of nesting to fake this schema>" }, "edit": { "value": "<Error: Too many levels of nesting to fake this schema>" }, "delete": { "value": "<Error: Too many levels of nesting to fake this schema>" }, "parent": { "value": "<Error: Too many levels of nesting to fake this schema>" }, "urn:eim:linkrel:download_media": { "value": "<Error: Too many levels of nesting to fake this schema>" } } } ], "_links": { "self": { "href": "nulla Excepteur anim qui" }, "edit": { "href": "labore" }, "delete": { "href": "labore ut " }, "urn:eim:linkrel:permissions": { "href": "Excepteur elit adipisicing" }, "urn:eim:linkrel:acl": { "href": "exercitation cupidatat sed dolore" }, "urn:eim:linkrel:audit": { "href": "anim consequat voluptate et" }, "urn:eim:linkrel:copy": { "href": "in" }, "urn:eim:linkrel:parent_links": { "href": "ex laborum ea comm" }, "urn:eim:linkrel:checkout": { "href": "anim voluptate Ut" }, "urn:eim:linkrel:cancel_checkout": { "href": "dolore labore ut" }, "urn:eim:linkrel:delete_all": { "href": "et esse Ut" }, "urn:eim:linkrel:contents": { "href": "dolore ex minim" }, "urn:eim:linkrel:version_history": { "href": "officia" }, "urn:eim:linkrel:audit_allversions": { "href": "laboris officia" }, "urn:eim:linkrel:download_media": { "href": "veniam mollit id dolore" }, "urn:eim:linkrel:policies": { "href": "in minim" }, "urn:eim:linkrel:holds": { "href": "est velit" } } }



Curl
curl -X POST 'https://na-1-dev.api.opentext.com/cms/instances/case/:type' -H 'Content-Type: application/json' -d '{"root_node_instance":{"name":"non dolor Duis exercitation","description":"dolor volu","tags":["velit voluptate","laborum aute eiusmod proident"],"ancestor_ids":["urn:uuid:11d78d2b-3e4f-d21f-2e15-bac72fd9a332","urn:uuid:34e22d98-7214-a657-7b70-7f9d663a4e7d"],"policies":["urn:uuid:29400f1f-c6e5-d3d9-f77b-55419172218d","urn:uuid:11f53185-42b8-5c49-d72f-801096ef5ca6"],"child_node_instances":[{"name":"cillum est","display_name":"sit culpa elit","description":"Lorem ","min_occurs":-28747462,"max_occurs":"pariatur et","object_type":"in","child_nodes":[{"value":"\u003cCircular reference to #/components/schemas/CaseNode detected\u003e"},{"value":"\u003cCircular reference to #/components/schemas/CaseNode detected\u003e"}],"default_instance":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"roles":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"permits":[{"identity":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"identity_type":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"permissions":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"identity":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"identity_type":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"permissions":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}],"acl_templates":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"acl_template_id":"65933e93-aced-cc8f-4ffe-2b97766f1f12","permissions":{"identity":"proident","identity_type":"cupidatat","permissions":["aliqua minim","quis incididunt culpa"]},"permission_templates":[{"name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"permits":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"description":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"_links":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"permits":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"description":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"_links":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}],"acl_template_name":"aliquip occaecat velit "},{"name":"officia sunt ex veniam minim","display_name":"pariatur ut ea officia","description":"esse Duis","min_occurs":98002907,"max_occurs":"aliquip nostrud anim et occaecat","object_type":"nisi incidi","child_nodes":[{"value":"\u003cCircular reference to #/components/schemas/CaseNode detected\u003e"},{"value":"\u003cCircular reference to #/components/schemas/CaseNode detected\u003e"}],"default_instance":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"roles":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"permits":[{"identity":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"identity_type":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"permissions":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"identity":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"identity_type":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"permissions":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}],"acl_templates":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"acl_template_id":"5994f5ae-daad-9f4a-c09f-5616911c84cc","permissions":{"identity":"quis magna adipisicing in","identity_type":"et reprehenderit","permissions":["labore laboris cillum","eiusmod quis"]},"permission_templates":[{"name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"permits":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"description":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"_links":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"permits":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"description":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"_links":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}],"acl_template_name":"ea adipisicing exercitation"}],"permission":{"identity":"dolor","identity_type":"magna voluptate et","permissions":["incididunt cillum do","quis magna sunt"]},"case_model_id":"urn:uuid:57c6930f-aaea-6a50-2c87-f33f244ef539","case_node_id":"e1fb1451-904f-5b54-42f8-6928dbd220bc","case_instance_id":"urn:uuid:5f2a4143-d157-cbfa-d180-4cd23902320e","_links":{"self":{"href":"enim ip"},"edit":{"href":"fugiat cupidatat qui"},"delete":{"href":"enim minim adipisicing"}}}}'

ENDPOINTS