PUT api/rating/GlAccount/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

BindGlAccountViewModel
NameDescriptionTypeAdditional information
WarehouseId

integer

Required

GlAccount

string

Required

Name

string

None.

BranchId

integer

None.

Type

string

None.

ExternalId

string

None.

DepartmentExternalId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "WarehouseId": 1,
  "GlAccount": "sample string 2",
  "Name": "sample string 3",
  "BranchId": 1,
  "Type": "sample string 4",
  "ExternalId": "sample string 5",
  "DepartmentExternalId": "sample string 6"
}

application/xml, text/xml

Sample:
<BindGlAccountViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eMpowerCore.ViewModels.Charges">
  <BranchId>1</BranchId>
  <DepartmentExternalId>sample string 6</DepartmentExternalId>
  <ExternalId>sample string 5</ExternalId>
  <GlAccount>sample string 2</GlAccount>
  <Name>sample string 3</Name>
  <Type>sample string 4</Type>
  <WarehouseId>1</WarehouseId>
</BindGlAccountViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.