Create a new contract owner sub brand

post/contract-owner-sub-brands
SecuritybearerAuth
Request
Request Body schema: multipart/form-data

New contract owner sub brand

object (ContractOwnerSubBrand)
logo
multipartFile <binary>

Logo file content in image formats (png,jpg,etc)

Responses
200

OK

201

Created

400

Bad Request

401

Unauthorized

403

Forbidden

Response samples
application/json
{
  • "id": 1,
  • "createdAt": "2023-10-05 16:40:04",
  • "updatedAt": "2023-10-05 16:40:04",
  • "accountNumberFormat": "SI0000",
  • "attachInvoiceToEmail": "0x01",
  • "bacsReference": "Bacs Reference",
  • "bankAccountName": "Bank Account Name",
  • "bankAccountNumber": "1234567890",
  • "summaryCustomerAccountNumberLabel": "Summary customer account number label",
  • "bankSortCode": "123456",
  • "swiftCode": "DEUTDEFFXXX",
  • "billingPeriodEndDateLabel": "Billing Period (Ending)",
  • "companyRegistrationNumber": "CompanyReg123",
  • "companyRegistrationNumberLabel": "Company Number",
  • "vatRegistrationNumber": "Vat registration Number123",
  • "customerServiceEmail": "customer@email.com",
  • "customerServiceTelephoneNumber": "123-456-7890",
  • "customerServiceWebSite": "https://www.customerservice.com",
  • "defaultSubBrand": true,
  • "emailBillingFromAddress": "billing@example.com",
  • "iban": "IBAN1234567890",
  • "invoiceCustomerAccountNumberLabel": "Account Label",
  • "invoiceDateLabel": "Invoice Date Label",
  • "invoiceEmailSubject": "Invoice Email Subject",
  • "invoiceNumberFormat": "InvoiceFormat123",
  • "invoiceNumberLabel": "Invoice Number Label",
  • "invoicePresentationName": "Invoice Presentation Name",
  • "invoiceTaxLabel": "Invoice Tax Label",
  • "name": "bcn",
  • "ofcomRid": "OfcomRID123",
  • "productReferenceLabel": "Product Reference Label",
  • "summaryInvoiceNumberLabel": "Summary invoice number label",
  • "taxExemptLabel": "Tax exempt label",
  • "address": {
    • "id": 1,
    • "businessName": "string",
    • "address1": "string",
    • "address2": "string",
    • "address3": "string",
    • "town": "string",
    • "county": "string",
    • "postcode": "string",
    • "country": "GB"
    },
  • "contractOwnerId": 1,
  • "emailTemplateId": 1,
  • "prePopulatedTripwirePlanId": 1,
  • "invoiceNotesLabel": "Invoice notes label"
}