PUT api/AccountCode

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
entity
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "accountCodeId": 1,
  "createdOn": "2020-09-23T21:46:16.8569188+00:00",
  "createdBy": "7154469b-dc39-41d0-b89c-d8c1e1030b20",
  "updatedOn": "2020-09-23T21:46:16.8569188+00:00",
  "updatedBy": "a423d65c-af75-41a8-9f29-0391de514b67",
  "companyId": 4,
  "code": "sample string 5",
  "description": "sample string 6",
  "isDiscount": true,
  "isTax": true,
  "taxRate": 1.0,
  "fixedAmount": 1.0,
  "isItemLevel": true,
  "isPercentable": true,
  "deletedOn": "2020-09-23T21:46:16.8569188+00:00",
  "message": "sample string 11"
}

application/xml, text/xml

Sample:
<AccountCodeModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IncodeCompanyService.Utility.PresenterModel">
  <accountCodeId>1</accountCodeId>
  <code>sample string 5</code>
  <companyId>4</companyId>
  <createdBy>7154469b-dc39-41d0-b89c-d8c1e1030b20</createdBy>
  <createdOn>2020-09-23T21:46:16.8569188+00:00</createdOn>
  <deletedOn>2020-09-23T21:46:16.8569188+00:00</deletedOn>
  <description>sample string 6</description>
  <fixedAmount>1</fixedAmount>
  <isDiscount>true</isDiscount>
  <isItemLevel>true</isItemLevel>
  <isPercentable>true</isPercentable>
  <isTax>true</isTax>
  <message>sample string 11</message>
  <taxRate>1</taxRate>
  <updatedBy>a423d65c-af75-41a8-9f29-0391de514b67</updatedBy>
  <updatedOn>2020-09-23T21:46:16.8569188+00:00</updatedOn>
</AccountCodeModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AccountCodeModel'.