POST 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-27T14:30:55.8277705+00:00",
  "createdBy": "5bc74914-b454-40d6-8c6c-0d84b9ad55b0",
  "updatedOn": "2020-09-27T14:30:55.8277705+00:00",
  "updatedBy": "00c8b5f9-f90c-4d09-9bbc-37efe99f3140",
  "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-27T14:30:55.8277705+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>5bc74914-b454-40d6-8c6c-0d84b9ad55b0</createdBy>
  <createdOn>2020-09-27T14:30:55.8277705+00:00</createdOn>
  <deletedOn>2020-09-27T14:30:55.8277705+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>00c8b5f9-f90c-4d09-9bbc-37efe99f3140</updatedBy>
  <updatedOn>2020-09-27T14:30:55.8277705+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'.