POST stockPoints/saveStockPoint

Request Information

URI Parameters

None.

Body Parameters

StockPointPost
NameDescriptionTypeAdditional information
AuditUserId

integer

None.

StockPointId

integer

None.

TenantId

integer

None.

CustId

integer

None.

StockPointDesc

string

None.

IsActive

boolean

None.

IsTech

boolean

None.

UserId

integer

None.

AddressId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "AuditUserId": 1,
  "StockPointId": 2,
  "TenantId": 3,
  "CustId": 4,
  "StockPointDesc": "sample string 5",
  "IsActive": true,
  "IsTech": true,
  "UserId": 1,
  "AddressId": 1
}

text/html

Sample:
{"AuditUserId":1,"StockPointId":2,"TenantId":3,"CustId":4,"StockPointDesc":"sample string 5","IsActive":true,"IsTech":true,"UserId":1,"AddressId":1}

application/xml, text/xml

Sample:
<StockPointPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.Xyro.Models.StockPoints">
  <AddressId>1</AddressId>
  <CustId>4</CustId>
  <IsActive>true</IsActive>
  <IsTech>true</IsTech>
  <StockPointDesc>sample string 5</StockPointDesc>
  <StockPointId>2</StockPointId>
  <TenantId>3</TenantId>
  <UserId>1</UserId>
  <AuditUserId>1</AuditUserId>
</StockPointPost>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.