PUT api/VATRate?systemName={systemName}&username={username}&password={password}

Updates an existing VAT rate

Request Information

URI Parameters

NameDescriptionTypeAdditional information
systemName

string

Required

username

string

Required

password

string

Required

Body Parameters

APIVATRate
NameDescriptionTypeAdditional information
Id

Unique identifier

integer

None.

Code

Textual identifier

string

None.

Rate

VAT rate

decimal number

None.

Description

Description

string

None.

Default

Denotes default VAT rate

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "code": "sample string 2",
  "rate": 1.1,
  "description": "sample string 3",
  "default": true
}

application/xml, text/xml

Sample:
<APIVATRate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rochester.Models">
  <Code>sample string 2</Code>
  <Default>true</Default>
  <Description>sample string 3</Description>
  <Id>1</Id>
  <Rate>1.1</Rate>
</APIVATRate>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.