Back to PipelinerLeadOpptyKPIs.get
Returns leadopptykpi with given id
Input
type: object
properties:
parameters:
type: object
properties:
id:
type: string
format: uuid
description: ID of leadopptykpi to retrieve
required:
- id
title: Parameters
Output
type: object
properties:
success:
type: boolean
example: true
description: True when response succeeded, false on error.
data:
required:
- is_delete_protected
- id
- unit
- kpi
- lead_oppty_id
- unit_id
properties:
is_delete_protected:
type: boolean
example: false
description: >-
Tells if the entity instance is protected against delete (Entities
that need to be present in the system at any time). Delete action
still may fail if entity is deletable, due some other additional
validations.
readOnly: true
id:
type: string
format: uuid
example: 01234567-abcd-dcba-ffff-000000000000
description: Unique identifier of entity.
readOnly: true
is_deleted:
type: boolean
example: false
description: Specifies if the entity is considered deleted.
readOnly: true
modified:
type: string
format: date-time
example: '2019-01-01T00:00:00.000Z'
description: Last modification time.
readOnly: true
created:
type: string
format: date-time
example: '2019-01-01T00:00:00.000Z'
description: Creation time.
readOnly: true
client:
type: string
format: uri
description: >-
Relation to Client. By default it is returned as URI to related
resource. Using parameter 'expand', it will return full entity. See:
'Client' object for properties.
lead:
type: string
format: uri
description: >-
Relation to Lead. By default it is returned as URI to related
resource. Using parameter 'expand', it will return full entity. See:
'Lead' object for properties.
oppty:
type: string
format: uri
description: >-
Relation to Opportunity. By default it is returned as URI to related
resource. Using parameter 'expand', it will return full entity. See:
'Opportunity' object for properties.
owner:
type: string
format: uri
description: >-
Relation to Client. By default it is returned as URI to related
resource. Using parameter 'expand', it will return full entity. See:
'Client' object for properties.
unit:
type: string
format: uri
description: >-
Relation to SalesUnit. By default it is returned as URI to related
resource. Using parameter 'expand', it will return full entity. See:
'SalesUnit' object for properties.
application_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.
client_id:
type: string
format: uuid
example: 01234567-abcd-dcba-ffff-000000000000
description: Relation to single entity instance.
kpi:
type: integer
description: >-
Integer enum value: 1 - CreateLeads, 2 - CreateOppty, 4 - QualifyLead,
5 - WinOppty, 6 - LoseLead, 7 - LoseOppty, 8 - LastMove
example: 1
enum:
- 1
- 2
- 4
- 5
- 6
- 7
- 8
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
owner_id:
type: string
format: uuid
example: 01234567-abcd-dcba-ffff-000000000000
description: Relation to single entity instance.
unit_id:
type: string
format: uuid
example: 01234567-abcd-dcba-ffff-000000000000
description: Relation to single entity instance.
revision:
type: integer
format: int32
example: 1
description: Revision when entity was lastly changed.
type: object