POST company/Invoice/Settings/NumberFormat/Preview

Request Information

URI Parameters

None.

Body Parameters

InvoiceNumberFormatConfigDto
NameDescriptionTypeAdditional information
InvoiceNumberFormatConfigId

integer

None.

CompanyId

integer

None.

TokenOrderCsv

string

None.

EnabledMask

integer

None.

PrefixText

string

None.

CustomerFormat

byte

None.

YearFormat

byte

None.

NumberPadWidth

byte

None.

Separator

string

None.

ResetMode

byte

None.

FyStartMonth

byte

None.

CreatedOn

date

None.

CreatedByUserId

integer

None.

ModifiedOn

date

None.

ModifiedByUserId

integer

None.

Preview

string

None.

Request Formats

application/json, text/json

Sample:
{
  "InvoiceNumberFormatConfigId": 1,
  "CompanyId": 2,
  "TokenOrderCsv": "sample string 3",
  "EnabledMask": 4,
  "PrefixText": "sample string 5",
  "CustomerFormat": 64,
  "YearFormat": 64,
  "NumberPadWidth": 64,
  "Separator": "sample string 9",
  "ResetMode": 64,
  "FyStartMonth": 64,
  "CreatedOn": "2026-06-01T14:44:43.7694022-04:00",
  "CreatedByUserId": 13,
  "ModifiedOn": "2026-06-01T14:44:43.7694022-04:00",
  "ModifiedByUserId": 1,
  "Preview": "sample string 14"
}

application/xml, text/xml

Sample:
<InvoiceNumberFormatConfigDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Li.CQATS.Audit.Library.Invoices">
  <CompanyId>2</CompanyId>
  <CreatedByUserId>13</CreatedByUserId>
  <CreatedOn>2026-06-01T14:44:43.7694022-04:00</CreatedOn>
  <CustomerFormat>64</CustomerFormat>
  <EnabledMask>4</EnabledMask>
  <FyStartMonth>64</FyStartMonth>
  <InvoiceNumberFormatConfigId>1</InvoiceNumberFormatConfigId>
  <ModifiedByUserId>1</ModifiedByUserId>
  <ModifiedOn>2026-06-01T14:44:43.7694022-04:00</ModifiedOn>
  <NumberPadWidth>64</NumberPadWidth>
  <PrefixText>sample string 5</PrefixText>
  <Preview>sample string 14</Preview>
  <ResetMode>64</ResetMode>
  <Separator>sample string 9</Separator>
  <TokenOrderCsv>sample string 3</TokenOrderCsv>
  <YearFormat>64</YearFormat>
</InvoiceNumberFormatConfigDto>

multipart/form-data

Sample:
<InvoiceNumberFormatConfigDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Li.CQATS.Audit.Library.Invoices"><CompanyId>2</CompanyId><CreatedByUserId>13</CreatedByUserId><CreatedOn>2026-06-01T14:44:43.7694022-04:00</CreatedOn><CustomerFormat>64</CustomerFormat><EnabledMask>4</EnabledMask><FyStartMonth>64</FyStartMonth><InvoiceNumberFormatConfigId>1</InvoiceNumberFormatConfigId><ModifiedByUserId>1</ModifiedByUserId><ModifiedOn>2026-06-01T14:44:43.7694022-04:00</ModifiedOn><NumberPadWidth>64</NumberPadWidth><PrefixText>sample string 5</PrefixText><Preview>sample string 14</Preview><ResetMode>64</ResetMode><Separator>sample string 9</Separator><TokenOrderCsv>sample string 3</TokenOrderCsv><YearFormat>64</YearFormat></InvoiceNumberFormatConfigDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, multipart/form-data

Sample:

Sample not available.