Link Alias to Object
  • 16 Oct 2020
  • 1 Minute To Read
  • Contributors
  • Print
  • Share
  • Dark
    Light

Link Alias to Object

  • Print
  • Share
  • Dark
    Light

Link Alias to object (Process or Satate Diagram)

Method for linking objects to Aliases.

URL

https://api.corezoid.com/api/2/json/{API_LOGIN}/{GMT_UNIXTIME}/{SIGNATURE}

Request Body

{
    "ops": [
        {
            "type": "link",
            "obj": "alias",
            "obj_id": {{ALIAS_ID}},
            "obj_to_id": {{OBJ_ID}},
            "obj_to_type": {{OBJ_TYPE}},
            "link": "true",
            "project_id": 0,
            "company_id": {{COMPANY_ID}}
        }
    ]
}
Parameter Type Required Description Possible value
ops JSON Object + The list of operations to proceed via Corezoid API. A parameter keeping JSON objects with operations * The number is user-limited by RPS limit.
type string + A request type create
obj string + An object of request invite
obj_id number + An ID of Alias An ID of existing Alias
obj_to_id number + An ID of object (Process or State Diagram) that linking/unlinking to Alias An ID of existing Process or State Diagram
obj_to_type string + A type of linked to Alias object conv
link boolean + A flag of linking or unlinking true, false
project_id number - Currently deprecated feature, please use 0 0
company_id string + An ID of a Company An ID of an existing Company

Response Body

{
    "request_proc": "ok",
    "ops": [
        {
            "id": "",
            "proc": "ok",
            "obj": "alias",
            "obj_id": 73
        }
    ]
}
Parameter Type Description Possible value
request_proc string The overall processing status of all transactions from the request ok, error
ops array The list of request results
id string A request id empty
proc string The processing status of a specific operation ok, error
obj string An object of request alias
obj_id number An ID of Alias
Was This Article Helpful?