POST jxc_api/Warehouse/Update

Request Information

URI Parameters

None.

Body Parameters

WarehouseEditModel
NameDescriptionTypeAdditional information
AsId

integer

None.

Id

integer

None.

No

string

None.

Name

string

None.

CategoryName

string

None.

CategoryId

integer

None.

Address

string

None.

Note

string

None.

Status

integer

None.

CreatedBy

integer

None.

CreatedDate

date

None.

ModifiedBy

integer

None.

ModifiedDate

date

None.

WhKeeper

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "AsId": 1,
  "Id": 2,
  "No": "sample string 3",
  "Name": "sample string 4",
  "CategoryName": "sample string 5",
  "CategoryId": 6,
  "Address": "sample string 7",
  "Note": "sample string 8",
  "Status": 9,
  "CreatedBy": 10,
  "CreatedDate": "2024-11-25 01:34:57",
  "ModifiedBy": 12,
  "ModifiedDate": "2024-11-25 01:34:57",
  "WhKeeper": 14
}

application/xml, text/xml

Sample:
<WarehouseEditModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.BaseData.Models">
  <Address>sample string 7</Address>
  <AsId>1</AsId>
  <CategoryId>6</CategoryId>
  <CategoryName>sample string 5</CategoryName>
  <CreatedBy>10</CreatedBy>
  <CreatedDate>2024-11-25T01:34:57.215259+08:00</CreatedDate>
  <Id>2</Id>
  <ModifiedBy>12</ModifiedBy>
  <ModifiedDate>2024-11-25T01:34:57.215259+08:00</ModifiedDate>
  <Name>sample string 4</Name>
  <No>sample string 3</No>
  <Note>sample string 8</Note>
  <Status>9</Status>
  <WhKeeper>14</WhKeeper>
</WarehouseEditModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

MessageModel
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

Data

Object

None.

StatusCode

StatusCode

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Message": "sample string 2",
  "Data": {},
  "StatusCode": 100
}

application/xml, text/xml

Sample:
<MessageModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model">
  <_x003C_Data_x003E_k__BackingField />
  <_x003C_Message_x003E_k__BackingField>sample string 2</_x003C_Message_x003E_k__BackingField>
  <_x003C_StatusCode_x003E_k__BackingField>CONTINUE</_x003C_StatusCode_x003E_k__BackingField>
  <_x003C_Success_x003E_k__BackingField>true</_x003C_Success_x003E_k__BackingField>
</MessageModel>