POST
https://rcapp9.rmscloud.cn/api/Receipt/GetListOfCreditCardBasicWithFee
{"PaymentAmt":1400,"PropertyId":154,"ReceiptType":4}
InitEventHandler ---GUID //unneccessary
GET
https://rcapp9.rmscloud.cn/
return t.HelperMethods.HttpGet("api/UtilitiesService/InitEventHandler?placeholder=" + Math.random(), i)
placeholder=0.4322698747970135
RESPONSE:87cd195f-049a-4914-8919-f25672fa64e0
var rtn = $.get(
"api/UtilitiesService/InitEventHandler",
{ placeholder: Math.random() },
function (data) { console.log(data) },
"json"
)
name:GetListOfCreditCardBasicWithFee
url:https://rcapp9.rmscloud.cn/api/Receipt/GetListOfCreditCardBasicWithFee
method:POST
parameter:{PaymentAmt: 500, PropertyId: 154, ReceiptType: 4}
response:[
{
"CardId": 10,
"CreditCard": "Alicredit",
"Fee": 0.00,
"MerchantFeePercentage": 0.0000,
"MerchantFeeNoGreaterThan": 0.0000,
"GatewayTransFee": 0.0000,
"CardSaleType": 0,
"Total": 500.00
},
{
"CardId": 47,
"CreditCard": "Alicredit Online",
"Fee": 0.00,
"MerchantFeePercentage": 0.0000,
"MerchantFeeNoGreaterThan": 0.0000,
"GatewayTransFee": 0.0000,
"CardSaleType": 0,
"Total": 500.00
}...
]
var jobj = {
"PaymentAmt": 500,
"PropertyId": 154,
"ReceiptType": 4
}
var response = $.ajax({
url: 'api/Receipt/GetListOfCreditCardBasicWithFee',
data: JSON.stringify(jobj), //!
dataType: 'json',
contentType: 'application/json; charset=utf-8',//!
type: 'POST'
})
var jobj= {
"ReceiptType":4, //Guest sort by ASR-poits cash cheque credit-card
"Source":3000,
"DateOfReceiptOverride":"30 Oct 2022", //变量
"CreditCardNumber":"",
"CreditCardExpiry":"",
"NameOnCreditCard":" ",
"CreditCardId":12, //fnGetListOfCreditCardBasicWithFee
"CreditCardCCVNo":"",
"lstOfAccountsToPay":
[{
"AccountType":1, //wndMenu
"ReceiptAmount":1400, //wndMenu
"SecondCurrency":0,
"AccountNo":11370370, //fnGetReservationData
"ManualChargeAllocationTransIds":[],
"InvoiceNo":0, //bool?
"ExchangeRateOverridden":0
}],
"Tip":0,
"Comment":"",
"JournalId":"",
"DateBanked":"19 Oct 2022", //same data?
"Drawer":"",
"Tendered":0,
"ChequeNo":"",
"Bank":"",
"CreditCardTransactionFeeType":0,
"Branch":"",
"PostCode":"",
"State":"",
"StreetNo":null,
"Authorization":"",
"PropertyId":154, //fnGetPropertyId();
"EFTPOSStationNo":"",
"EftposTerminalId":0,
"TokenId":0,
"DemoOrInternal":false,
"ExcludeOnlinePayment":false,
"IgnoreARAllocationCheck":false,
"SecurityDeposit":false,
"CurrencyCode":"¥",
"Addr1":"",
"Addr2":"",
"ClientResidence":0,
"ExchangeRateId":0,
"GatewayProvider":13,
"ClientId":9409800, //fnGetReservationData
"CreditCardFee":0,
"UsingEFTPOSTerminal":false,
"Token":"",
"ResId":1545409, //fnGetReservationData
"CompId":0,
"AgentId":0,
"PayByLinkOption":0,
"PayByLinkFrom":"",
"PayByLinkTo":"",
"PayByLinkEntityId":"",
"PayByLinkEntityType":"",
"PayByLinkLetterId":0
}
let objB= {'EventId':'cdec4f77-29d3-4b74-82f8-76c7fefa7cb5'}
ProcessReceiptOnAccountScreen
POST
https://rcapp9.rmscloud.cn/api/Receipt/ProcessReceiptOnAccountScreen
两个参数
{'EventId':'87cd195f-049a-4914-8919-f25672fa64e0'}
jobj
var response = $.ajax({
url: 'api/Receipt/ProcessReceiptOnAccountScreen',
params: {'EventId':'87cd195f-049a-4914-8919-f25672fa64e0'}, //unneccessary
data: JSON.stringify(jobj), //!
dataType: 'json',
contentType: 'application/json; charset=utf-8',//!
type: 'POST'
})
无返回
name: EventStatusAsync
method: Get
url:https://rcapp9.rmscloud.cn/api/UtilitiesService/EventStatusAsync
parement:EventId=87cd195f-049a-4914-8919-f25672fa64e0
return:{
"Receipts":[{
"AutoReceiptId":4114158,
"ReceiptId":33885,
"ReceiptType":4,
"TransactionReference":""
}],
"Transactions":[{
"AccId":19751927,
"AccType":1,
"LinkPointerType":0,
"TransId":106159123,
"LinkPointer":33885,
"ResId":6313138,
"Amount":1400.00,
"TransType":2,
"SubType":0,
"Description":"Credit Card Receipt #33885, Wechatcredit",
"TariffTransId":0,
"GLCodeId":0,
"Source":3000,
"TrustStatus":0,
"TaxId":0,
"ClientId":12655975,
"TransDate":"2022-10-01T00:00:00",
"ArrDate":"1900-01-01T00:00:00",
"DepDate":"1900-01-01T00:00:00",
"GSTType":0,
"FullGSTComponent_GST":0.0,
"Trust":false,
"PeriodId":0,
"ExpiryDate":"1900-01-01T00:00:00"
},
{"AccId":19751927,
"AccType":1,
"LinkPointerType":0,
"TransId":106159124,
"LinkPointer":106159123,
"ResId":6313138,
"Amount":0.0,
"TransType":2,
"SubType":1,
"Description":"Suspense: Credit Card Receipt #33885, Wechatcredit",
"TariffTransId":0,
"GLCodeId":1,
"Source":3000,
"TrustStatus":0,
"TaxId":0,
"ClientId":12655975,
"TransDate":"2022-10-01T00:00:00",
"ArrDate":"1900-01-01T00:00:00",
"DepDate":"1900-01-01T00:00:00",
"GSTType":0,
"FullGSTComponent_GST":0.0,
"Trust":false,
"PeriodId":0,
"ExpiryDate":"1900-01-01T00:00:00"
}],
"Allocations":[{
"Id":39396490,
"AccountNo":19751927,
"DateAllocated":"2022-10-01T00:00:00",
"ReceiptTransId":106159123,
"SuspenseTransId":0,
"DestTransId":106159124,
"Amount":1400.00,
"ResId":6313138,
"TrustStatus":0}],
"ReceiptTrans":[{
"AutoReceiptId":4114158,
"TransId":106159123
}],
"ConfirmResResponse":{
"Reservations":null,
"HoseasonsResponse":null,
"NoShowFeeResponse":null}}
name:ClearEventHandler
method:Get
url:https://rcapp9.rmscloud.cn/api/UtilitiesService/ClearEventHandler
parement:EventId=87cd195f-049a-4914-8919-f25672fa64e0
return:none
var rtn = $.get(
"api/UtilitiesService/ClearEventHandler",
{EventId:'a1b45c62-6b2a-4db6-af1c-3367c878086a'},
function (data) { console.log(data) },
"json"
)
name:ConverToSGD
url:https://rcapp9.rmscloud.cn/api/Accounting/ConvertToSGD?cAmount=550&nPropertyId=154
method:GET
parameter:cAmount=550&nPropertyId=154
response:112.88750
name:checkIncome
url:https://kos.keytop.cn/kos_visitorauth/service/api/spaceAuth/checkIncome
method:POST
parameter:{"lpn":"粤BE55S7","lotId":"512018954"}
return:{key: "SUCCESS", param: null, code: 2000, message: "SUCCESS", data: 1668273667000}
var jobj= {
"lpn":"粤BE55S7",
"lotId":"512018954" //常亮
}
//URL错,需要手动设置请求头
var response = $.ajax({
url: 'https://kos.keytop.cn/kos_visitorauth/service/api/spaceAuth/checkIncome',
data: JSON.stringify(jobj), //!
dataType: 'json',
contentType: 'application/json; charset=utf-8',//!
type: 'POST'
})
a.open('POST','https://kos.keytop.cn/kos_visitorauth/service/api/spaceAuth/checkIncome',false);
a.setRequestHeader('content-Type','application/json; charset=utf-8');
a.send(JSON.stringify(jobj));
name:checkOccupy
url:https://kos.keytop.cn/kos_visitorauth/service/api/spaceAuth/checkOccupy
method:POST
parameter:{"lpn":"粤BE55S7","startTime":"2022-11-13 01:21:00","endTime":"2022-11-13 23:59:59"}
return:{"key":"SUCCESS","param":null,"code":2000,"message":"SUCCESS","data":{"occupyFlag":"0","startTime":null,"endTime":null}}
name:authAdd
url:https://kos.keytop.cn/kos_visitorauth/service/api/spaceAuth/authAdd
method:POST
parameter:{"multi":1,"startTime":"2022-11-13 01:21:00","endTime":"2022-11-13 23:59:59","remark":"0615 11/13-13","lpn":"粤BE55S7","overseasLP":false}
return:{"key":"SUCCESS","param":null,"code":2000,"message":"SUCCESS","data":{"orderId":"VA90f1a3d8826c48d192952037c4a44f"}}
name:ProcessTaxInvoice
url:https://app9.rmscloud.cn/api/TaxInvoice/ProcessTaxInvoice
method:POST
param:{
"GroupedInvoice":false,
"PropertyId":254,
"lstOfAccountsToProcess":[
{
"AccNo":23552669,
"AccType":1,
"TransIds":[]
}
],
"DueDateOverride":"1990-01-01T00:00:00"
}
let objLocal = JSON.parse(window.sessionStorage.getItem('RMS-INOUTMOVEMENTS'));
let xmlhttp = new XMLHttpRequest();
xmlhttp.open("POST","https://app9.rmscloud.cn/api/TaxInvoice/ProcessTaxInvoice",true);
xmlhttp.onreadystatechange=function()
{
if (xmlhttp.readyState==4 && xmlhttp.status==200)
{
console.log(xmlhttp.responseText);
{
"TaxInvoices": [
{
"AccountNo": 23475412,
"AccountType": 1,
"TaxInvoiceNo": 27720,
"InvoiceTotal": -3.0000
}
]
}
}
}
let objParam={
"GroupedInvoice":false,
"PropertyId":objLocal.data.PropertyId,
"lstOfAccountsToProcess":[
{
"AccNo":23552669, //to do
"AccType":1, //to do
"TransIds":[]
}
],
"DueDateOverride":"1990-01-01T00:00:00"
}
xmlhttp.setRequestHeader('content-Type','application/json; charset=utf-8');
xmlhttp.send(JSON.stringify(objParam));
name:PropertyId
url:https://app9.rmscloud.cn/api/Manager/Property/PropertyId
method:GET
let xmlhttp = new XMLHttpRequest();
xmlhttp.open("GET","https://app9.rmscloud.cn/api/Manager/Property/PropertyId",true);
xmlhttp.onreadystatechange=function()
{
if (xmlhttp.readyState==4 && xmlhttp.status==200)
{
console.log(xmlhttp.responseText);
}
}
xmlhttp.send();
name:TaxInvoice
url:https://app9.rmscloud.cn/api/Report/Token/Accounting/TaxInvoice
method:POST
param:{
"ReportId":40231,
"ScheduleId":0,
"TaxInvoiceNos":"26647", //
"IsReprint":false,
"AltTaxInvoice":"TI10305CHINA",
"PropertyId":254, //
"SortById":0,
"IsTaxInvoiceProforma":false,
"AccountId":23556167, //
"AccountTypeIDs":"1,2,4,5,6,12",
"CurrencySymbol":"¥",
"SharedDataPath":"/shareddata/14910/RMSWIN/",
"EmailTo":"",
"IsThermalPrint":false,
"ResId":8445769, //
"FromEmail":"",
"ProformaUseDateRange":false,
"ProformaStartDate":"2024-08-05", //
"ProformaEndDate":"2024-08-05", //
"IsEmailOverride":false,
"ReportType":1,
"LetterHistoryIds":"",
"IsRestrictedUser":false,
"InvoiceDueDateEnabled":false,
"InvoiceDueDate":"2024-08-05", //
"DirectDebitDateEnabled":false,
"DirectDebitDate":"2024-08-05", //
"RePrint_Nos":"",
"UseGovInvoiceAudit":false,
"NinePlusVersionNo":"",
"CountryRunningFrom":44,
"CurrencyView":0
}
let objLocal = JSON.parse(window.sessionStorage.getItem('RMS-INOUTMOVEMENTS'));
let xmlhttp = new XMLHttpRequest();
xmlhttp.open("POST","https://app9.rmscloud.cn/api/Report/Token/Accounting/TaxInvoice",true);
xmlhttp.onreadystatechange=function()
{
if (xmlhttp.readyState==4 && xmlhttp.status==200)
{
console.log(xmlhttp.responseText);
}
}
//continue
let objParam= {
"ReportId":40231,
"ScheduleId":0,
"TaxInvoiceNos":"26647", //JSON.parse(xmlhttp.response).TaxInvoices[0].TaxInvoiceNo
"IsReprint":false,
"AltTaxInvoice":"TI10305CHINA",
"PropertyId":254, //
"SortById":0,
"IsTaxInvoiceProforma":false,
"AccountId":23556167, //JSON.parse(xmlhttp.response).TaxInvoices[0].AccountNo
"AccountTypeIDs":"1,2,4,5,6,12",
"CurrencySymbol":"¥",
"SharedDataPath":"/shareddata/14910/RMSWIN/",
"EmailTo":"",
"IsThermalPrint":false,
"ResId":8445769, //
"FromEmail":"",
"ProformaUseDateRange":false,
"ProformaStartDate":"2024-08-05", //
"ProformaEndDate":"2024-08-05", //
"IsEmailOverride":false,
"ReportType":1,
"LetterHistoryIds":"",
"IsRestrictedUser":false,
"InvoiceDueDateEnabled":false,
"InvoiceDueDate":"2024-08-05", //
"DirectDebitDateEnabled":false,
"DirectDebitDate":"2024-08-05", //
"RePrint_Nos":"",
"UseGovInvoiceAudit":false,
"NinePlusVersionNo":"",
"CountryRunningFrom":44,
"CurrencyView":0
}
xmlhttp.setRequestHeader('content-Type','application/json; charset=utf-8');
xmlhttp.send(JSON.stringify(objParam));
name:ReportPathPost
method:POST
url:https://app9.rmscloud.cn/api/ReportService/ReportPathPost?ReportId=40231&ReportName=Tax+Invoice&ReportType=1&ScheduleId=0
param:
[
"27750",
false,
"TI10305CHINA",
254,
0,
false,
23655127,
"1,2,4,5,6,12",
"¥",
"/shareddata/14910/RMSWIN/",
null,
"false",
8500171,
"",
false,
"2024-08-19T00:00:00",
"2024-08-19T00:00:00",
false,
1,
"",
false,
false,
"2024-08-19T00:00:00",
false,
"2024-08-19T00:00:00",
false,
"",
"11.24.73.107", //JSON.parse(window.sessionStorage.getItem('InitData')).data.VersionNo
44,
0,
false,
"",
"",
"0001-01-01T00:00:00"
]
let xmlhttp = new XMLHttpRequest();
xmlhttp.open("POST","https://app9.rmscloud.cn/api/ReportService/ReportPathPost?ReportId=40231&ReportName=Tax+Invoice&ReportType=1&ScheduleId=0",true);
xmlhttp.onreadystatechange=function()
{
if (xmlhttp.readyState==4 && xmlhttp.status==200)
{
console.log(xmlhttp.responseText);
}
}
let aryParam = [
JSON.parse(xmlhttp.response).TaxInvoices[0].TaxInvoiceNo,
false,
"TI10305CHINA",
objParameter.nPropertyId,
0,
false,
23655127,
"1,2,4,5,6,12",
"¥",
"/shareddata/14910/RMSWIN/",
null,
"false",
objParameter.nResId,
"",
false,
dateYYYYMMDD+"T00:00:00",
dateYYYYMMDD+"T00:00:00",
false,
1,
"",
false,
false,
dateYYYYMMDD+"T00:00:00",
false,
dateYYYYMMDD+"T00:00:00",
false,
"",
JSON.parse(window.sessionStorage.getItem('InitData')).data.VersionNo, //JSON.parse(window.sessionStorage.getItem('InitData')).data.VersionNo
44,
0,
false,
"",
"",
"0001-01-01T00:00:00"
]
xmlhttp.setRequestHeader('content-Type','application/json; charset=utf-8');
xmlhttp.send(JSON.stringify(aryParam));
name:EarlyDepartureQuestionScreenData
url:https://app9.rmscloud.cn/api/ReservationService/EarlyDepartureQuestionScreenData?sArea=1503+SSBS
method:POST
param:[8515612]
name:SaveRequirement
url:https://app9.rmscloud.cn/api/ReservationService/SaveRequirement?Account_Id=23762365
method:POST
param:{
"ReqId":0,
"Requirement":"Guaranteed - Complimentary Breakfasts (see quantity)",
"SundryId":0,
"Qty":1,
"Amt":0,
"AmtPerAdult":0,
"AmtPerChild":0,
"AmtPerInfant":0,
"UseSundryAmt":false,
"MasterList":false,
"OriginatingReqId":13, //
"ResId":8559911, //
"UserId":11484, //
"TransferredToAccount":false,
"HousekeepingRequirement":false,
"RequiredDaily":true,
"FromDate":"2024-09-05T19:24:00", //
"ToDate":"2024-09-05T19:24:00", //
"ChargeRequiredDaily":false,
"ChargeRequiredDailyOption":0,
"MonitorRequirement":false,
"Completed":false,
"UserWhoMarkedCompleted":0,
"ClientId":0,
"PropertyId":254, //
"AreaId":0,
"InActive":false,
"ShowInRMSOnline":false,
"aNote":null,
"Sundry":null,
"CategoryLists":null,
"CreatedBy":"tom.wei1", //
"UserWhoCompleted":null,
"RMSOnlineOrder":0,
"PropertyName":"Somerset Suzhou Bay Suzhou", //
"Code":null,
"RMSOnlineExcludeFromDeposit":false,
"OriginatingRequirement":"Guaranteed - Complimentary Breakfasts (see quantity)",
"CategoryClass":1,
"GrpId":0,
"Grouping":null,
"CompId":0,
"AgentId":0,
"DefaultFromDays":0,
"DefaultFromDaysMethod":0,
"SameDayRequirement":false,
"AssignedToUserId":11484, //
"AssignedToUser":"tom.wei1", //
"CurrencyView":0,
"SecondCurrency_Amt":0,
"SecondCurrency_AmtPerAdult":0,
"SecondCurrency_AmtPerChild":0,
"SecondCurrency_AmtPerInfant":0,
"GuestFacingRequirement":false,
"LongDesc":null,
"CountryRunningFrom":44,
"UnitPrice":0,
"RateTypeGroupId":0
}
let nQuantity= prompt('需要添加早餐份数:',0);
let xmlhttp = new XMLHttpRequest();
let elmDepartureDateContainer= document.getElementById('GridRow-Depart').children[0];
let elmArrivalDateContainer= document.getElementById('GridRow-Arrive').children[0];
let dateArrival, dateDeparture;
if(elmArrivalDateContainer.tagName!== 'LABEL')
dateArrival=elmArrivalDateContainer.children[0].value;
else
dateArrival=elmArrivalDateContainer.innerText;
if(elmDepartureDateContainer.tagName!== 'LABEL')
dateDeparture=elmDepartureDateContainer.children[0].value;
else
dateDeparture=elmDepartureDateContainer.innerText;
dateArrival = new Date(dateArrival.split('-')[0].split(',')[1])
dateDeparture = new Date(dateDeparture.split('-')[0].split(',')[1])
xmlhttp.open("POST","https://app9.rmscloud.cn/api/ReservationService/SaveRequirement?Account_Id="+document.getElementById('GridRow-Account_Id').children[0].value,true);
xmlhttp.onreadystatechange=function()
{
if (xmlhttp.readyState==4 && xmlhttp.status==200)
{
console.log(xmlhttp.responseText);
alert('早餐已添加');
}
}
let objParam={
"ReqId":0,
"Requirement":"Guaranteed - Complimentary Breakfasts (see quantity)",
"SundryId":0,
"Qty":1,
"Amt":0,
"AmtPerAdult":0,
"AmtPerChild":0,
"AmtPerInfant":0,
"UseSundryAmt":false,
"MasterList":false,
"OriginatingReqId":13, //找不到,暂做常量
"ResId":document.getElementById('GridRow-Res_Id').children[0].value, //
"UserId":JSON.parse(sessionStorage.getItem('InitData')).data.UserId, //
"TransferredToAccount":false,
"HousekeepingRequirement":false,
"RequiredDaily":true,
"FromDate":dateArrival.getFullYear()+'-'+(dateArrival.getMonth()+1) + '-'+(dateArrival.getDate() + 1)+"T00:00:00", //
"ToDate":dateDeparture.getFullYear()+'-'+(dateArrival.getMonth()+1) + '-'+dateDeparture.getDate()+"T00:00:01", //
"ChargeRequiredDaily":false,
"ChargeRequiredDailyOption":0,
"MonitorRequirement":false,
"Completed":false,
"UserWhoMarkedCompleted":0,
"ClientId":0,
"PropertyId":JSON.parse(window.localStorage.getItem('RM_Property')).data.split('_')[0], //
"AreaId":0,
"InActive":false,
"ShowInRMSOnline":false,
"aNote":null,
"Sundry":null,
"CategoryLists":null,
"CreatedBy":JSON.parse(sessionStorage.getItem('InitData')).data.UserName, //
"UserWhoCompleted":null,
"RMSOnlineOrder":0,
"PropertyName":JSON.parse(sessionStorage.getItem('InitData')).data.AccDates[0].PropertyName, //
"Code":null,
"RMSOnlineExcludeFromDeposit":false,
"OriginatingRequirement":"Guaranteed - Complimentary Breakfasts (see quantity)",
"CategoryClass":1,
"GrpId":0,
"Grouping":null,
"CompId":0,
"AgentId":0,
"DefaultFromDays":0,
"DefaultFromDaysMethod":0,
"SameDayRequirement":false,
"AssignedToUserId":JSON.parse(sessionStorage.getItem('InitData')).data.UserId, //
"AssignedToUser":JSON.parse(sessionStorage.getItem('InitData')).data.UserName, //
"CurrencyView":0,
"SecondCurrency_Amt":0,
"SecondCurrency_AmtPerAdult":0,
"SecondCurrency_AmtPerChild":0,
"SecondCurrency_AmtPerInfant":0,
"GuestFacingRequirement":false,
"LongDesc":null,
"CountryRunningFrom":44,
"UnitPrice":0,
"RateTypeGroupId":0
}
xmlhttp.setRequestHeader('content-Type','application/json; charset=utf-8');
xmlhttp.send(JSON.stringify(objParam));
name:
url:
method:POST
param:
let xmlhttp = new XMLHttpRequest();
xmlhttp.open("POST","https://app9.rmscloud.cn/api/ReportService/ReportPathPost?ReportId=40231&ReportName=Tax+Invoice&ReportType=1&ScheduleId=0",true);
xmlhttp.onreadystatechange=function()
{
if (xmlhttp.readyState==4 && xmlhttp.status==200)
{
console.log(xmlhttp.responseText);
}
}
let objParam={
}
xmlhttp.setRequestHeader('content-Type','application/json; charset=utf-8');
xmlhttp.send(JSON.stringify(objParam));
{
"ReceiptType":4,
"Source":3000,
"DateOfReceiptOverride":"22 Jun 2022",
"CreditCardNumber":"",
"CreditCardExpiry":"",
"NameOnCreditCard":"Mr Ke Li",
"CreditCardId":12,
"CreditCardCCVNo":"",
"lstOfAccountsToPay":[ {
"AccountType": 1,
"ReceiptAmount": 100,
"SecondCurrency": 0,
"AccountNo": 11370370,
"ManualChargeAllocationTransIds": [],
"InvoiceNo": 0,
"ExchangeRateOverridden": 0
}
],
"Tip":0,
"Comment":"",
"JournalId":"",
"DateBanked":"22 Jun 2022",
"Drawer":"",
"Tendered":0,
"ChequeNo":"",
"Bank":"",
"CreditCardTransactionFeeType":0,
"Branch":"",
"PostCode":"",
"State":"",
"StreetNo":null,
"Authorization":"",
"PropertyId":154,
"EFTPOSStationNo":"",
"EftposTerminalId":0,
"TokenId":0,
"DemoOrInternal":false,
"ExcludeOnlinePayment":false,
"IgnoreARAllocationCheck":false,
"SecurityDeposit":false,
"CurrencyCode":"¥",
"Addr1":"",
"Addr2":"",
"ClientResidence":44,
"ExchangeRateId":0,
"GatewayProvider":13,
"ClientId":9409800,
"CreditCardFee":0,
"UsingEFTPOSTerminal":false,
"Token":"",
"ResId":1545409,
"CompId":0,
"AgentId":0,
"PayByLinkOption":0,
"PayByLinkFrom":"",
"PayByLinkTo":"",
"PayByLinkEntityId":"",
"PayByLinkEntityType":"",
"PayByLinkLetterId":0
}
console