POST jxc_api/Vendor/Update

Request Information

URI Parameters

None.

Body Parameters

VendorEditModel
NameDescriptionTypeAdditional information
SysId

integer

None.

AsId

integer

None.

VendId

integer

None.

VendTypeId

integer

None.

VendTypeName

string

None.

VendNo

string

None.

VendName

string

None.

PayableDate

date

None.

Payable

decimal number

None.

Payed

decimal number

None.

InitAmount

decimal number

None.

LastAmount

decimal number

None.

TaxNo

string

None.

TaxRate

decimal number

None.

Bank

string

None.

AcNo

string

None.

STAFF

string

None.

Adlevel0

integer

None.

Adlevel1

integer

None.

Adlevel2

integer

None.

Adlevel3

integer

None.

Address

string

None.

Note

string

None.

Status

integer

None.

CreatedBy

integer

None.

CreatedDate

date

None.

ModifiedBy

integer

None.

ModifiedDate

date

None.

LinkMan

string

None.

LinkManTel

string

None.

IM

string

None.

BillusedDate

date

None.

Purchaser

integer

None.

PurchaserName

string

None.

SettlePeriodId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "SysId": 1,
  "AsId": 2,
  "VendId": 3,
  "VendTypeId": 4,
  "VendTypeName": "sample string 5",
  "VendNo": "sample string 6",
  "VendName": "sample string 7",
  "PayableDate": "2024-11-25 01:40:45",
  "Payable": 9.0,
  "Payed": 10.0,
  "InitAmount": 11.0,
  "LastAmount": 12.0,
  "TaxNo": "sample string 13",
  "TaxRate": 14.0,
  "Bank": "sample string 15",
  "AcNo": "sample string 16",
  "STAFF": "sample string 17",
  "Adlevel0": 18,
  "Adlevel1": 19,
  "Adlevel2": 20,
  "Adlevel3": 21,
  "Address": "sample string 22",
  "Note": "sample string 23",
  "Status": 24,
  "CreatedBy": 25,
  "CreatedDate": "2024-11-25 01:40:45",
  "ModifiedBy": 27,
  "ModifiedDate": "2024-11-25 01:40:45",
  "LinkMan": "sample string 29",
  "LinkManTel": "sample string 30",
  "IM": "sample string 31",
  "BillusedDate": "2024-11-25 01:40:45",
  "Purchaser": 33,
  "PurchaserName": "sample string 34",
  "SettlePeriodId": 35
}

application/xml, text/xml

Sample:
<VendorEditModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.BaseData.Models">
  <AcNo>sample string 16</AcNo>
  <Address>sample string 22</Address>
  <Adlevel0>18</Adlevel0>
  <Adlevel1>19</Adlevel1>
  <Adlevel2>20</Adlevel2>
  <Adlevel3>21</Adlevel3>
  <AsId>2</AsId>
  <Bank>sample string 15</Bank>
  <BillusedDate>2024-11-25T01:40:45.0256381+08:00</BillusedDate>
  <CreatedBy>25</CreatedBy>
  <CreatedDate>2024-11-25T01:40:45.0256381+08:00</CreatedDate>
  <IM>sample string 31</IM>
  <InitAmount>11</InitAmount>
  <LastAmount>12</LastAmount>
  <LinkMan>sample string 29</LinkMan>
  <LinkManTel>sample string 30</LinkManTel>
  <ModifiedBy>27</ModifiedBy>
  <ModifiedDate>2024-11-25T01:40:45.0256381+08:00</ModifiedDate>
  <Note>sample string 23</Note>
  <Payable>9</Payable>
  <PayableDate>2024-11-25T01:40:45.0256381+08:00</PayableDate>
  <Payed>10</Payed>
  <Purchaser>33</Purchaser>
  <PurchaserName>sample string 34</PurchaserName>
  <STAFF>sample string 17</STAFF>
  <SettlePeriodId>35</SettlePeriodId>
  <Status>24</Status>
  <SysId>1</SysId>
  <TaxNo>sample string 13</TaxNo>
  <TaxRate>14</TaxRate>
  <VendId>3</VendId>
  <VendName>sample string 7</VendName>
  <VendNo>sample string 6</VendNo>
  <VendTypeId>4</VendTypeId>
  <VendTypeName>sample string 5</VendTypeName>
</VendorEditModel>

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>