GET 17.0/database/products/defaultmodel

Description

Get a Products model with default values

URI Parameters

None.

None.

None.

Name Description Type Additional information
ID

integer

None.

Description

string

String length: inclusive between 0 and 50

Price

decimal number

None.

TaxRateID

integer

None.

ShowVATOnStatements

byte

None.

CostCentreID

integer

None.

CreditCompanyAccount

byte

None.

Invoiced

byte

None.

TransferTo

byte

None.

ChargeLandlordPrice

decimal number

None.

ChargeLandlordProductID

integer

None.

OverseasTaxDeducted

byte

None.

ExternalAccountCode

string

String length: inclusive between 0 and 20

InActive

byte

None.

application/json, text/json

Sample:
{
  "id": 1,
  "description": "sample string 2",
  "price": 3.0,
  "taxRateID": 4,
  "showVATOnStatements": 64,
  "costCentreID": 6,
  "creditCompanyAccount": 64,
  "invoiced": 64,
  "transferTo": 64,
  "chargeLandlordPrice": 10.0,
  "chargeLandlordProductID": 11,
  "overseasTaxDeducted": 64,
  "externalAccountCode": "sample string 13",
  "inActive": 64
}

application/xml, text/xml

Sample:
<Products xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ID>1</ID>
  <Description>sample string 2</Description>
  <Price>3</Price>
  <TaxRateID>4</TaxRateID>
  <ShowVATOnStatements>64</ShowVATOnStatements>
  <CostCentreID>6</CostCentreID>
  <CreditCompanyAccount>64</CreditCompanyAccount>
  <Invoiced>64</Invoiced>
  <TransferTo>64</TransferTo>
  <ChargeLandlordPrice>10</ChargeLandlordPrice>
  <ChargeLandlordProductID>11</ChargeLandlordProductID>
  <OverseasTaxDeducted>64</OverseasTaxDeducted>
  <ExternalAccountCode>sample string 13</ExternalAccountCode>
  <InActive>64</InActive>
</Products>