POST V2/savecode/{COMcode}/debtor

Request Information

URI Parameters

NameDescriptionTypeAdditional information
COMcode

string

Required

Body Parameters

M5DebtorDataModel
NameDescriptionTypeAdditional information
DEBautoNo

integer

None.

DEBcode

string

None.

DEBgroup

string

None.

DEBtype

integer

None.

DEBcodeISO

string

None.

DEBglobalID

string

None.

DEBnameT

string

None.

DEBnameE

string

None.

DEBcontactT

string

None.

DEBcontactE

string

None.

DEBadd1AT

string

None.

DEBadd2AT

string

None.

DEBadd3AT

string

None.

DEBadd1AE

string

None.

DEBadd2AE

string

None.

DEBadd3AE

string

None.

DEBtel

string

None.

DEBtaxnos

string

None.

DEBzone

string

None.

DEBgrade

string

None.

DEBlimit

decimal number

None.

DEBtaxType

integer

None.

DEBtaxclass

decimal number

None.

DEBpriceBook

string

None.

DEBcreditTerm

integer

None.

DEBpaytype

integer

None.

DEBpayday

integer

None.

DEBpayOn1

integer

None.

DEBpayOn2

integer

None.

DEBpayOn3

integer

None.

DEBpayOn4

integer

None.

DEBpayOn5

integer

None.

DEBpayN1

integer

None.

DEBpayN2

integer

None.

DEBbgrtype

integer

None.

DEBbgrday

integer

None.

DEBbgrOn1

integer

None.

DEBbgrOn2

integer

None.

DEBbgrOn3

integer

None.

DEBbgrOn4

integer

None.

DEBbgrOn5

integer

None.

DEBdate

date

None.

DEBlock

integer

None.

DEBhide

integer

None.

DEBworkflow

integer

None.

DEBfax

string

None.

DEBemail

string

None.

DEBtarget

decimal number

None.

DEBmemo

string

None.

DEBac

string

None.

DEBoName

string

None.

DEBprice

string

None.

DEBrefWE

string

None.

DEBbillAD

integer

None.

DEBinEX

integer

None.

DEBbranch

string

None.

DEBbusinessType

string

None.

DEBbusinessDesc

string

None.

DEBactive

integer

None.

DEBstatus

integer

None.

DEBexpireDate

date

None.

DEBsalesP

string

None.

DEBccy

integer

None.

DEBeditDT

date

None.

DEBeditMF

string

None.

DEBconnect

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "DEBautoNo": 1,
  "DEBcode": "sample string 2",
  "DEBgroup": "sample string 3",
  "DEBtype": 4,
  "DEBcodeISO": "sample string 5",
  "DEBglobalID": "sample string 6",
  "DEBnameT": "sample string 7",
  "DEBnameE": "sample string 8",
  "DEBcontactT": "sample string 9",
  "DEBcontactE": "sample string 10",
  "DEBadd1AT": "sample string 11",
  "DEBadd2AT": "sample string 12",
  "DEBadd3AT": "sample string 13",
  "DEBadd1AE": "sample string 14",
  "DEBadd2AE": "sample string 15",
  "DEBadd3AE": "sample string 16",
  "DEBtel": "sample string 17",
  "DEBtaxnos": "sample string 18",
  "DEBzone": "sample string 19",
  "DEBgrade": "sample string 20",
  "DEBlimit": 21.1,
  "DEBtaxType": 22,
  "DEBtaxclass": 23.1,
  "DEBpriceBook": "sample string 24",
  "DEBcreditTerm": 25,
  "DEBpaytype": 26,
  "DEBpayday": 27,
  "DEBpayOn1": 28,
  "DEBpayOn2": 29,
  "DEBpayOn3": 30,
  "DEBpayOn4": 31,
  "DEBpayOn5": 32,
  "DEBpayN1": 33,
  "DEBpayN2": 34,
  "DEBbgrtype": 35,
  "DEBbgrday": 36,
  "DEBbgrOn1": 37,
  "DEBbgrOn2": 38,
  "DEBbgrOn3": 39,
  "DEBbgrOn4": 40,
  "DEBbgrOn5": 41,
  "DEBdate": "2025-07-18T05:19:04.9981354+07:00",
  "DEBlock": 43,
  "DEBhide": 44,
  "DEBworkflow": 45,
  "DEBfax": "sample string 46",
  "DEBemail": "sample string 47",
  "DEBtarget": 48.1,
  "DEBmemo": "sample string 49",
  "DEBac": "sample string 50",
  "DEBoName": "sample string 51",
  "DEBprice": "sample string 52",
  "DEBrefWE": "sample string 53",
  "DEBbillAD": 54,
  "DEBinEX": 55,
  "DEBbranch": "sample string 56",
  "DEBbusinessType": "sample string 57",
  "DEBbusinessDesc": "sample string 58",
  "DEBactive": 59,
  "DEBstatus": 60,
  "DEBexpireDate": "2025-07-18T05:19:04.9981354+07:00",
  "DEBsalesP": "sample string 62",
  "DEBccy": 63,
  "DEBeditDT": "2025-07-18T05:19:04.9981354+07:00",
  "DEBeditMF": "sample string 65",
  "DEBconnect": 66
}

application/xml, text/xml

Sample:
<M5DebtorDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/M5L_WebAPI.Models">
  <DEBac>sample string 50</DEBac>
  <DEBactive>59</DEBactive>
  <DEBadd1AE>sample string 14</DEBadd1AE>
  <DEBadd1AT>sample string 11</DEBadd1AT>
  <DEBadd2AE>sample string 15</DEBadd2AE>
  <DEBadd2AT>sample string 12</DEBadd2AT>
  <DEBadd3AE>sample string 16</DEBadd3AE>
  <DEBadd3AT>sample string 13</DEBadd3AT>
  <DEBautoNo>1</DEBautoNo>
  <DEBbgrOn1>37</DEBbgrOn1>
  <DEBbgrOn2>38</DEBbgrOn2>
  <DEBbgrOn3>39</DEBbgrOn3>
  <DEBbgrOn4>40</DEBbgrOn4>
  <DEBbgrOn5>41</DEBbgrOn5>
  <DEBbgrday>36</DEBbgrday>
  <DEBbgrtype>35</DEBbgrtype>
  <DEBbillAD>54</DEBbillAD>
  <DEBbranch>sample string 56</DEBbranch>
  <DEBbusinessDesc>sample string 58</DEBbusinessDesc>
  <DEBbusinessType>sample string 57</DEBbusinessType>
  <DEBccy>63</DEBccy>
  <DEBcode>sample string 2</DEBcode>
  <DEBcodeISO>sample string 5</DEBcodeISO>
  <DEBconnect>66</DEBconnect>
  <DEBcontactE>sample string 10</DEBcontactE>
  <DEBcontactT>sample string 9</DEBcontactT>
  <DEBcreditTerm>25</DEBcreditTerm>
  <DEBdate>2025-07-18T05:19:04.9981354+07:00</DEBdate>
  <DEBeditDT>2025-07-18T05:19:04.9981354+07:00</DEBeditDT>
  <DEBeditMF>sample string 65</DEBeditMF>
  <DEBemail>sample string 47</DEBemail>
  <DEBexpireDate>2025-07-18T05:19:04.9981354+07:00</DEBexpireDate>
  <DEBfax>sample string 46</DEBfax>
  <DEBglobalID>sample string 6</DEBglobalID>
  <DEBgrade>sample string 20</DEBgrade>
  <DEBgroup>sample string 3</DEBgroup>
  <DEBhide>44</DEBhide>
  <DEBinEX>55</DEBinEX>
  <DEBlimit>21.1</DEBlimit>
  <DEBlock>43</DEBlock>
  <DEBmemo>sample string 49</DEBmemo>
  <DEBnameE>sample string 8</DEBnameE>
  <DEBnameT>sample string 7</DEBnameT>
  <DEBoName>sample string 51</DEBoName>
  <DEBpayN1>33</DEBpayN1>
  <DEBpayN2>34</DEBpayN2>
  <DEBpayOn1>28</DEBpayOn1>
  <DEBpayOn2>29</DEBpayOn2>
  <DEBpayOn3>30</DEBpayOn3>
  <DEBpayOn4>31</DEBpayOn4>
  <DEBpayOn5>32</DEBpayOn5>
  <DEBpayday>27</DEBpayday>
  <DEBpaytype>26</DEBpaytype>
  <DEBprice>sample string 52</DEBprice>
  <DEBpriceBook>sample string 24</DEBpriceBook>
  <DEBrefWE>sample string 53</DEBrefWE>
  <DEBsalesP>sample string 62</DEBsalesP>
  <DEBstatus>60</DEBstatus>
  <DEBtarget>48.1</DEBtarget>
  <DEBtaxType>22</DEBtaxType>
  <DEBtaxclass>23.1</DEBtaxclass>
  <DEBtaxnos>sample string 18</DEBtaxnos>
  <DEBtel>sample string 17</DEBtel>
  <DEBtype>4</DEBtype>
  <DEBworkflow>45</DEBworkflow>
  <DEBzone>sample string 19</DEBzone>
</M5DebtorDataModel>

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.