Back to PipelinerCalls.batch_create_or_update
Create or update an batch of Calls
Input
type: object
properties:
parameters:
type: object
properties:
validation-level:
type: integer
format: int32
description: >-
Specify validation level of Calls on change. Use them as bit mask: 0 -
validate each field on entity,
2 - validate only changed fields, 4 - validate only system fields, 8 -
allows to override readonly fields,
16 - allows to set entity on deleted relationship.
rollback-method:
type: integer
format: int32
description: >-
Specify rollback method for Calls. 0 - rollback all, 1 - rollback only
failed records.
title: Parameters
data:
type: array
items:
properties:
oppty_product_relation:
type: object
description: >-
Relation to OpptyProductRelation, see:
'updateOpptyProductRelationInput' object for properties.
properties:
id:
type: string
format: uri
account_id:
type: string
format: uuid
example: 01234567-abcd-dcba-ffff-000000000000
description: Relation to single entity instance.
caller_id:
type: string
format: uuid
example: 01234567-abcd-dcba-ffff-000000000000
description: Relation to single entity instance.
client_id:
type: string
format: uuid
example: 01234567-abcd-dcba-ffff-000000000000
description: Relation to single entity instance.
contact_id:
type: string
format: uuid
example: 01234567-abcd-dcba-ffff-000000000000
description: Relation to single entity instance.
lead_oppty_id:
type: string
format: uuid
example: 01234567-abcd-dcba-ffff-000000000000
description: |-
Relation to single abstract entity instance.
E.g. Relation to Lead/Oppty
oppty_product_relation_id:
type: string
format: uuid
example: 01234567-abcd-dcba-ffff-000000000000
description: Relation to single entity instance.
phone_number:
type: string
example: string
description: Phone number.
product_id:
type: string
format: uuid
example: 01234567-abcd-dcba-ffff-000000000000
description: Relation to single entity instance.
twilio_call_log_id:
type: string
format: uuid
example: 01234567-abcd-dcba-ffff-000000000000
description: >-
Generic field wrapping sqlalchemy column, configurable by
constructor.
Good for one-of fields / generated fields.
id:
description: ID of object to update.
type: string
format: uuid
type: object
title: Data
Output
type: object
properties:
success:
type: boolean
example: true
description: True when response succeeded, false on error.
data:
type: array
items:
oneOf:
- type: string
description: And ID of created / updated entity.
format: uuid
- properties:
http_status:
description: HTTP status code
type: integer
example: 400
code:
description: Internal API error code
type: integer
example: 117
name:
description: Name of the API error
type: string
example: ERROR_PARAMETER_INVALID
message:
description: Description of the API error
type: string
success:
description: Always false on error.
type: boolean
example: false
required:
- success
- http_status