POST jxc_api/Customer/Add

Request Information

URI Parameters

None.

Body Parameters

CustomerEditModel
NameDescriptionTypeAdditional information
SysId

integer

None.

AsId

integer

None.

CusttypeId

integer

None.

CusttypeName

string

None.

CustId

integer

None.

CustNo

string

None.

CustName

string

None.

Recvr

string

None.

RecvMobile

string

None.

RecvAddress

string

None.

CustGrade

integer

None.

CustGradeName

string

None.

ReceivableDate

date

None.

Receivable

decimal number

None.

Received

decimal number

None.

InitAmount

decimal number

None.

LastAmount

decimal number

None.

OFAmount

decimal number

None.

OFStatus

BillStatus

None.

TaxNo

string

None.

Bank

string

None.

AcNo

string

None.

Sales

integer

None.

SalesName

string

None.

AdLevel0

integer

None.

AdLevel1

integer

None.

AdLevel2

integer

None.

AdLevel3

integer

None.

Address

string

None.

Note

string

None.

Status

integer

None.

SettlePeriodId

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.

Credit

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "SysId": 1,
  "AsId": 2,
  "CusttypeId": 3,
  "CusttypeName": "sample string 4",
  "CustId": 5,
  "CustNo": "sample string 6",
  "CustName": "sample string 7",
  "Recvr": "sample string 8",
  "RecvMobile": "sample string 9",
  "RecvAddress": "sample string 10",
  "CustGrade": 11,
  "CustGradeName": "",
  "ReceivableDate": "2024-11-25 01:58:51",
  "Receivable": 14.0,
  "Received": 15.0,
  "InitAmount": 16.0,
  "LastAmount": 17.0,
  "OFAmount": 18.0,
  "OFStatus": 1010,
  "TaxNo": "sample string 19",
  "Bank": "sample string 20",
  "AcNo": "sample string 21",
  "Sales": 22,
  "SalesName": "sample string 23",
  "AdLevel0": 24,
  "AdLevel1": 25,
  "AdLevel2": 26,
  "AdLevel3": 27,
  "Address": "sample string 28",
  "Note": "sample string 29",
  "Status": 30,
  "SettlePeriodId": 31,
  "CreatedBy": 32,
  "CreatedDate": "2024-11-25 01:58:51",
  "ModifiedBy": 34,
  "ModifiedDate": "2024-11-25 01:58:51",
  "LinkMan": "sample string 36",
  "LinkManTel": "sample string 37",
  "IM": "sample string 38",
  "BillusedDate": "2024-11-25 01:58:51",
  "Credit": 40.0
}

application/xml, text/xml

Sample:
<CustomerEditModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.BaseData.Models">
  <AcNo>sample string 21</AcNo>
  <AdLevel0>24</AdLevel0>
  <AdLevel1>25</AdLevel1>
  <AdLevel2>26</AdLevel2>
  <AdLevel3>27</AdLevel3>
  <Address>sample string 28</Address>
  <AsId>2</AsId>
  <Bank>sample string 20</Bank>
  <BillusedDate>2024-11-25T01:58:51.2896382+08:00</BillusedDate>
  <CreatedBy>32</CreatedBy>
  <CreatedDate>2024-11-25T01:58:51.2896382+08:00</CreatedDate>
  <Credit>40</Credit>
  <CustGrade>11</CustGrade>
  <CustGradeName></CustGradeName>
  <CustId>5</CustId>
  <CustName>sample string 7</CustName>
  <CustNo>sample string 6</CustNo>
  <CusttypeId>3</CusttypeId>
  <CusttypeName>sample string 4</CusttypeName>
  <IM>sample string 38</IM>
  <InitAmount>16</InitAmount>
  <LastAmount>17</LastAmount>
  <LinkMan>sample string 36</LinkMan>
  <LinkManTel>sample string 37</LinkManTel>
  <ModifiedBy>34</ModifiedBy>
  <ModifiedDate>2024-11-25T01:58:51.2896382+08:00</ModifiedDate>
  <Note>sample string 29</Note>
  <OFAmount>18</OFAmount>
  <OFStatus>None</OFStatus>
  <Receivable>14</Receivable>
  <ReceivableDate>2024-11-25T01:58:51.2896382+08:00</ReceivableDate>
  <Received>15</Received>
  <RecvAddress>sample string 10</RecvAddress>
  <RecvMobile>sample string 9</RecvMobile>
  <Recvr>sample string 8</Recvr>
  <Sales>22</Sales>
  <SalesName>sample string 23</SalesName>
  <SettlePeriodId>31</SettlePeriodId>
  <Status>30</Status>
  <SysId>1</SysId>
  <TaxNo>sample string 19</TaxNo>
</CustomerEditModel>

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>