POST savecode/{COMcode}/debtor

Request Information

URI Parameters

NameDescriptionTypeAdditional information
COMcode

string

Required

Body Parameters

DebtorDataModel
NameDescriptionTypeAdditional information
DEB_NO

integer

None.

DEB_code

string

None.

DEB_tax

integer

None.

DEB_group

string

None.

DEB_type

integer

None.

DEB_codeETax

string

None.

DEB_GlobalID

string

None.

DEB_nameT

string

None.

DEB_nameE

string

None.

DEB_contactT

string

None.

DEB_contactE

string

None.

DEB_add1T

string

None.

DEB_add2T

string

None.

DEB_add3T

string

None.

DEB_add1E

string

None.

DEB_add2E

string

None.

DEB_add3E

string

None.

DEB_tel

string

None.

DEB_taxnum

string

None.

DEB_zone

string

None.

DEB_grade

string

None.

DEB_limit

decimal number

None.

DEB_Vatrate

decimal number

None.

DEB_Termday

integer

None.

DEB_paytype

integer

None.

DEB_payday

integer

None.

DEB_payOn1

integer

None.

DEB_payOn2

integer

None.

DEB_payOn3

integer

None.

DEB_payOn4

integer

None.

DEB_payOn5

integer

None.

DEB_payN1

integer

None.

DEB_payN2

integer

None.

DEB_bgrtype

integer

None.

DEB_bgrday

integer

None.

DEB_bgrOn1

integer

None.

DEB_bgrOn2

integer

None.

DEB_bgrOn3

integer

None.

DEB_bgrOn4

integer

None.

DEB_bgrOn5

integer

None.

DEB_date

date

None.

DEB_lock

integer

None.

DEB_hide

integer

None.

DEB_flow

integer

None.

DEB_fax

string

None.

DEB_email

string

None.

DEB_target

decimal number

None.

DEB_memo

string

None.

DEB_acc

string

None.

DEB_Other

string

None.

DEB_billday

integer

None.

DEB_directCN

integer

None.

DEB_branch

string

None.

DEB_Psales

string

None.

DEB_ccy

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "DEB_NO": 1,
  "DEB_code": "sample string 2",
  "DEB_tax": 3,
  "DEB_group": "sample string 4",
  "DEB_type": 5,
  "DEB_codeETax": "sample string 6",
  "DEB_GlobalID": "sample string 7",
  "DEB_nameT": "sample string 8",
  "DEB_nameE": "sample string 9",
  "DEB_contactT": "sample string 10",
  "DEB_contactE": "sample string 11",
  "DEB_add1T": "sample string 12",
  "DEB_add2T": "sample string 13",
  "DEB_add3T": "sample string 14",
  "DEB_add1E": "sample string 15",
  "DEB_add2E": "sample string 16",
  "DEB_add3E": "sample string 17",
  "DEB_tel": "sample string 18",
  "DEB_taxnum": "sample string 19",
  "DEB_zone": "sample string 20",
  "DEB_grade": "sample string 21",
  "DEB_limit": 22.0,
  "DEB_Vatrate": 23.0,
  "DEB_Termday": 24,
  "DEB_paytype": 25,
  "DEB_payday": 26,
  "DEB_payOn1": 27,
  "DEB_payOn2": 28,
  "DEB_payOn3": 29,
  "DEB_payOn4": 30,
  "DEB_payOn5": 31,
  "DEB_payN1": 32,
  "DEB_payN2": 33,
  "DEB_bgrtype": 34,
  "DEB_bgrday": 35,
  "DEB_bgrOn1": 36,
  "DEB_bgrOn2": 37,
  "DEB_bgrOn3": 38,
  "DEB_bgrOn4": 39,
  "DEB_bgrOn5": 40,
  "DEB_date": "2025-07-18T05:10:24.9808912+07:00",
  "DEB_lock": 42,
  "DEB_hide": 43,
  "DEB_flow": 44,
  "DEB_fax": "sample string 45",
  "DEB_email": "sample string 46",
  "DEB_target": 47.0,
  "DEB_memo": "sample string 48",
  "DEB_acc": "sample string 49",
  "DEB_Other": "sample string 50",
  "DEB_billday": 51,
  "DEB_directCN": 52,
  "DEB_branch": "sample string 53",
  "DEB_Psales": "sample string 54",
  "DEB_ccy": 55
}

application/xml, text/xml

Sample:
<DebtorDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/M5L_WebAPI.Models">
  <DEB_GlobalID>sample string 7</DEB_GlobalID>
  <DEB_NO>1</DEB_NO>
  <DEB_Other>sample string 50</DEB_Other>
  <DEB_Psales>sample string 54</DEB_Psales>
  <DEB_Termday>24</DEB_Termday>
  <DEB_Vatrate>23</DEB_Vatrate>
  <DEB_acc>sample string 49</DEB_acc>
  <DEB_add1E>sample string 15</DEB_add1E>
  <DEB_add1T>sample string 12</DEB_add1T>
  <DEB_add2E>sample string 16</DEB_add2E>
  <DEB_add2T>sample string 13</DEB_add2T>
  <DEB_add3E>sample string 17</DEB_add3E>
  <DEB_add3T>sample string 14</DEB_add3T>
  <DEB_bgrOn1>36</DEB_bgrOn1>
  <DEB_bgrOn2>37</DEB_bgrOn2>
  <DEB_bgrOn3>38</DEB_bgrOn3>
  <DEB_bgrOn4>39</DEB_bgrOn4>
  <DEB_bgrOn5>40</DEB_bgrOn5>
  <DEB_bgrday>35</DEB_bgrday>
  <DEB_bgrtype>34</DEB_bgrtype>
  <DEB_billday>51</DEB_billday>
  <DEB_branch>sample string 53</DEB_branch>
  <DEB_ccy>55</DEB_ccy>
  <DEB_code>sample string 2</DEB_code>
  <DEB_codeETax>sample string 6</DEB_codeETax>
  <DEB_contactE>sample string 11</DEB_contactE>
  <DEB_contactT>sample string 10</DEB_contactT>
  <DEB_date>2025-07-18T05:10:24.9808912+07:00</DEB_date>
  <DEB_directCN>52</DEB_directCN>
  <DEB_email>sample string 46</DEB_email>
  <DEB_fax>sample string 45</DEB_fax>
  <DEB_flow>44</DEB_flow>
  <DEB_grade>sample string 21</DEB_grade>
  <DEB_group>sample string 4</DEB_group>
  <DEB_hide>43</DEB_hide>
  <DEB_limit>22</DEB_limit>
  <DEB_lock>42</DEB_lock>
  <DEB_memo>sample string 48</DEB_memo>
  <DEB_nameE>sample string 9</DEB_nameE>
  <DEB_nameT>sample string 8</DEB_nameT>
  <DEB_payN1>32</DEB_payN1>
  <DEB_payN2>33</DEB_payN2>
  <DEB_payOn1>27</DEB_payOn1>
  <DEB_payOn2>28</DEB_payOn2>
  <DEB_payOn3>29</DEB_payOn3>
  <DEB_payOn4>30</DEB_payOn4>
  <DEB_payOn5>31</DEB_payOn5>
  <DEB_payday>26</DEB_payday>
  <DEB_paytype>25</DEB_paytype>
  <DEB_target>47</DEB_target>
  <DEB_tax>3</DEB_tax>
  <DEB_taxnum>sample string 19</DEB_taxnum>
  <DEB_tel>sample string 18</DEB_tel>
  <DEB_type>5</DEB_type>
  <DEB_zone>sample string 20</DEB_zone>
</DebtorDataModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.