Update After Call Type


This request changes after call types attributes.

Resource

PATCH /aftercalltypes/<OID>

Where OID is the oid of the after call type

Parameters

None

Payload

Fields

Name Patch Operations

commonName

replace

lines

add, remove

Response

None

Context

Authorization

Administrator

Errors

Example

Request
PATCH https://xelion.nl/api/v1/master/aftercalltypes/1627410
Payload

change after call type direct member

{
  "operations": [
      {
      "op": "replace",
      "path": "/commonName",
      "value": "test 2"
      }
    ]
}

add a new line to the after call type, add a new entry with virtual id 1 with the line oid as value

{
  "operations": [
      {
      "op": "add",
      "path": "/lines/1",
      "value": "86415154"
      }
    ]
}

remove line from an after call type, <OID> is the oid of the relation object

{
  "operations": [
      {
      "op": "remove",
      "path": "/lines/2049444"
      }
    ]
}