Skip to content

Create or Update Batch CallTrackingCallerType

Request

Create or Update multiple CallTrackingCallerType at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.

Security
apiKeyAuth and bearerAuth
Headers
vbasoftware-databasestringrequired

Target database

Bodyapplication/jsonrequired
Array [
caller_Typestring, [ 1 .. 32 ] charactersrequired

Name for the 'Caller Type'.

default_Typebooleanrequired

Sets the associated 'Caller Type' as the default. New calls will automatically have this 'Caller Type' listed. Note: This field is marked as NOT NULL in the database and therefore required by the API.

descriptionstring or null, <= 64 characters

Description of the 'Caller Type'.

entry_Datestring, (date-time)

Date record was first added to the system

entry_Userstring or null, <= 20 characters

User that first added the record to the system

update_Datestring, (date-time)

Date the record was last updated in the system

update_Userstring or null, <= 20 characters

User that last updated the record in the system

]
curl -i -X PUT \
  https://vbapi.vbasoftware.com/vbasoftware/caller-types-batch \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'vbasoftware-database: string' \
  -H 'x-api-key: YOUR_API_KEY_HERE' \
  -d '[
    {
      "caller_Type": "string",
      "default_Type": true,
      "description": "string",
      "entry_Date": "2019-08-24T14:15:22Z",
      "entry_User": "string",
      "update_Date": "2019-08-24T14:15:22Z",
      "update_User": "string"
    }
  ]'

Responses

Success

Bodyapplication/json
dataArray of objects or null
errorobject
debugobject
Response
{ "data": [ … ], "error": { … }, "debug": { … } }