PUT api/accountingcoa/{accountNumber}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
accountNumber

integer

Required

Body Parameters

AccountingCOA
NameDescriptionTypeAdditional information
AccountNumber

integer

None.

Description

string

None.

Type

string

None.

LotName

string

None.

ControlledBy

string

None.

IsControlled

boolean

None.

Category

string

None.

PrintCheckNumbers

boolean

None.

SubCategory

string

None.

ImportedAccountNumber

string

None.

Category2

string

None.

Category3

string

None.

Imported

boolean

None.

SubCategory2

string

None.

SubCategory3

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AccountNumber": 1,
  "Description": "sample string 2",
  "Type": "sample string 3",
  "LotName": "sample string 4",
  "ControlledBy": "sample string 5",
  "IsControlled": true,
  "Category": "sample string 7",
  "PrintCheckNumbers": true,
  "SubCategory": "sample string 9",
  "ImportedAccountNumber": "sample string 10",
  "Category2": "sample string 11",
  "Category3": "sample string 12",
  "Imported": true,
  "SubCategory2": "sample string 14",
  "SubCategory3": "sample string 15"
}

application/xml, text/xml

Sample:
<AccountingCOA xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Automatrix.DMS.Business.Entities.Entities">
  <AccountNumber>1</AccountNumber>
  <Category>sample string 7</Category>
  <Category2>sample string 11</Category2>
  <Category3>sample string 12</Category3>
  <ControlledBy>sample string 5</ControlledBy>
  <Description>sample string 2</Description>
  <Imported>true</Imported>
  <ImportedAccountNumber>sample string 10</ImportedAccountNumber>
  <IsControlled>true</IsControlled>
  <LotName>sample string 4</LotName>
  <PrintCheckNumbers>true</PrintCheckNumbers>
  <SubCategory>sample string 9</SubCategory>
  <SubCategory2>sample string 14</SubCategory2>
  <SubCategory3>sample string 15</SubCategory3>
  <Type>sample string 3</Type>
</AccountingCOA>

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 'AccountingCOA'

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.