1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-11 13:42:49 +01:00
invoiceninja/openapi/components/schemas/vendor_contact.yaml

74 lines
2.1 KiB
YAML
Raw Normal View History

2023-03-19 00:39:21 +01:00
VendorContact:
properties:
id:
description: 'The hashed id of the vendor contact'
type: string
example: Opnel5aKBz
2023-10-02 01:17:15 +02:00
readOnly: true
2023-03-19 00:39:21 +01:00
user_id:
description: 'The hashed id of the user id'
type: string
example: Opnel5aKBz
company_id:
description: 'The hashed id of the company'
type: string
example: Opnel5aKBz
vendor_id:
description: 'The hashed id of the vendor'
type: string
example: Opnel5aKBz
first_name:
description: 'The first name of the contact'
type: string
example: Harry
last_name:
description: 'The last name of the contact'
type: string
example: Windsor
phone:
description: 'The contacts phone number'
type: string
example: 555-123-1234
custom_value1:
description: 'A custom value'
type: string
example: '2022-10-10'
custom_value2:
description: 'A custom value'
type: string
example: $1000
custom_value3:
description: 'A custom value'
type: string
example: ''
custom_value4:
description: 'A custom value'
type: string
example: ''
email:
description: 'The contact email address'
type: string
example: harry@windsor.com
is_primary:
description: 'Boolean flag determining if the contact is the primary contact for the vendor'
type: boolean
example: true
created_at:
description: Timestamp
type: number
format: integer
example: '134341234234'
2023-10-02 01:17:15 +02:00
readOnly: true
2023-03-19 00:39:21 +01:00
updated_at:
description: Timestamp
type: number
format: integer
example: '134341234234'
2023-10-02 01:17:15 +02:00
readOnly: true
2023-03-19 00:39:21 +01:00
deleted_at:
description: Timestamp
type: number
format: integer
example: '134341234234'
2023-10-02 01:17:15 +02:00
readOnly: true
2023-03-19 00:39:21 +01:00
type: object