POST stockPoints/saveStockGLAcc

Request Information

URI Parameters

None.

Body Parameters

StockGLAcc
NameDescriptionTypeAdditional information
AccId

integer

None.

TenantId

integer

None.

GLAcc

string

None.

Override

boolean

None.

IsActive

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "AccId": 1,
  "TenantId": 2,
  "GLAcc": "sample string 3",
  "Override": true,
  "IsActive": true
}

text/html

Sample:
{"AccId":1,"TenantId":2,"GLAcc":"sample string 3","Override":true,"IsActive":true}

application/xml, text/xml

Sample:
<StockGLAcc xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Stock">
  <AccId>1</AccId>
  <GLAcc>sample string 3</GLAcc>
  <IsActive>true</IsActive>
  <Override>true</Override>
  <TenantId>2</TenantId>
</StockGLAcc>

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 'StockGLAcc'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.