public static void Main()
var options = new RestClientOptions("https://epicprodapp.samator.com")
Timeout = new TimeSpan(0, 5, 0),
var client = new RestClient(options);
var request = new RestRequest("/kineticpilot/api/v1/Erp.BO.CustomerSvc/Update", Method.Post);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Basic YW50b246YW50b25hZ3VzYWd1cw==");
@" ""CustomerFSPriceList"": [],
@" ""MXCustomerFiscalText"": [],
@" ""CustDfltDocType"": [],
@" ""CustLabExpRate"": [],
@" ""CustomCrdPool"": [],
@" ""Country"": ""Indonesia"",
@" ""ResaleID"": ""0000000000000000"",
@" ""SalesRepCode"": """",
@" ""TerritoryID"": ""SGI019"",
@" ""ShipViaCode"": ""XXT"",
@" ""PrintStatements"": true,
@" ""PrintLabels"": true,
@" ""DiscountPercent"": 0,
@" ""EstDate"": ""2024-09-18T00:00:00"",
@" ""OneInvPerPS"": true,
@" ""CreditIncludeOrders"": true,
@" ""CreditReviewDate"": null,
@" ""CreditHoldDate"": null,
@" ""CreditHoldSource"": ""MANUAL"",
@" ""CreditClearUserID"": """",
@" ""CreditClearDate"": null,
@" ""CreditClearTime"": """",
@" ""CurrencyCode"": ""IDR"",
@" ""BorderCrossing"": """",
@" ""BTFormatStr"": """",
@" ""TaxRegionCode"": ""C03"",
@" ""EMailAddress"": """",
@" ""ShippingQualifier"": """",
@" ""AllocPriorityCode"": """",
@" ""ReservePriorityCode"": """",
@" ""WebCustomer"": false,
@" ""CustomerType"": ""SUS"",
@" ""TerritoryLock"": true,
@" ""PendingTerritoryID"": """",
@" ""ConsolidateSO"": true,
@" ""BillFrequency"": ""W"",
@" ""CreditIncludePI"": false,
@" ""GlobalCust"": false,
@" ""TaxAuthorityCode"": """",
@" ""ExternalDeliveryNote"": false,
@" ""GlobalCredIncOrd"": true,
@" ""GlobalCredIncPI"": false,
@" ""GlobalCurrencyCode"": """",
@" ""GlobalCreditHold"": """",
@" ""GlobalLock"": false,
@" ""CheckDuplicatePO"": false,
@" ""GlobalCreditLimit"": 0,
@" ""DocGlobalCreditLimit"": 0,
@" ""DocGlobalPILimit"": 0,
@" ""RfqAttachAllow"": false,
@" ""DiscountQualifier"": ""ADD"",
@" ""AllowAltBillTo"": false,
@" ""DemandDeliveryDays"": 0,
@" ""DemandDateType"": ""S"",
@" ""DemandAddLeadTime"": 0,
@" ""DemandAddAction"": ""B"",
@" ""DemandChangeLeadTime"": 0,
@" ""DemandChangeAction"": ""B"",
@" ""DemandCancelLeadTime"": 0,
@" ""DemandCancelAction"": ""B"",
@" ""DemandNewLineLeadTime"": 0,
@" ""DemandNewLineAction"": ""B"",
@" ""DemandQtyChangeLeadTime"": 0,
@" ""DemandQtyChangeAction"": ""B"",
@" ""DemandChangeDateLeadTime"": 0,
@" ""DemandChangeDateAction"": ""B"",
@" ""TradingPartnerName"": """",
@" ""ResDelivery"": false,
@" ""SatDelivery"": false,
@" ""CODFreight"": false,
@" ""NotifyFlag"": false,
@" ""NotifyEMail"": """",
@" ""DeclaredIns"": false,
@" ""PeriodicityCode"": 0,
@" ""ServSignature"": false,
@" ""ServHomeDel"": false,
@" ""DeliveryType"": """",
@" ""ServDeliveryDate"": null,
@" ""ServInstruct"": """",
@" ""ServRelease"": false,
@" ""ServAuthNum"": """",
@" ""DemandUnitPriceDiff"": false,
@" ""DemandUnitPriceDiffAction"": ""B"",
@" ""ExcFromVal"": false,
@" ""AddressVal"": false,
@" ""RebateVendorNum"": 0,
@" ""CreditCardOrder"": false,
@" ""DemandCheckForPart"": false,
@" ""DemandCheckForPartAction"": ""B"",
@" ""IndividualPackIDs"": false,
@" ""IntrntlShip"": false,
@" ""CertOfOrigin"": false,
@" ""CommercialInvoice"": false,
@" ""ShipExprtDeclartn"": false,
@" ""LetterOfInstr"": false,
@" ""AddlHdlgFlag"": false,
@" ""UPSQuantumView"": false,
@" ""UPSQVShipFromName"": """",
@" ""UPSQVEmailType"": """",
@" ""ETCAddrChg"": false,
@" ""ValidSoldTo"": true,
@" ""ValidShipTo"": true,
@" ""OverrideRlsClass"": false,
@" ""AcrossNatAcc"": false,
@" ""NAParentCreditIsUsed"": false,
@" ""NACreditIsShare"": false,
@" ""NACreditPreferenceList"": ""O"",
@" ""NAParentCreditPrc"": 0,
@" ""NACreditSharedPrc"": 0,
@" ""ThirdPLCust"": false,
@" ""ManagedVendID"": """",
@" ""ManagedVendNum"": 0,
@" ""NARlsClassCode"": """",
@" ""DirectDebiting"": false,
@" ""ReminderCode"": """",
@" ""GlbNAParentCreditIsUsed"": false,
@" ""GlbNACreditIsShare"": false,
@" ""GlbNAParentCreditPrc"": 0,
@" ""GlbNACreditSharedPrc"": 0,
@" ""AllowShipTo3"": false,
@" ""CustPartOpts"": ""M"",
@" ""DemandCheckForRev"": false,
@" ""OrderHoldForReview"": false,
@" ""DemandCheckForRevAction"": ""B"",
@" ""ShipToTerrList"": """",
@" ""AcctRefNumber"": """",
@" ""TaxRegReason"": """",
@" ""InvPerPackLine"": false,
@" ""DemandCloseRejSkd"": false,
@" ""OurBankCode"": """",
@" ""DemandCloseNoMatch"": false,
@" ""DmdCheckPartialShip"": false,
@" ""DmdCheckShipAction"": ""B"",
@" ""DemandCheckCUMM"": false,
@" ""DemandCheckCUMMAction"": ""B"",
@" ""DemandPricing"": ""Internal"",
@" ""PriceTolerance"": 0,
@" ""PreferredBank"": """",
@" ""CheckDateCapPromise"": false,
@" ""CheckConfirmCapPromise"": false,
@" ""CheckUpdateCapPromise"": false,
@" ""DemandCapPromiseDate"": """",
@" ""DemandCapPromiseAction"": """",
@" ""DemandCapPromiseUpdate"": """",
@" ""PeriodicBilling"": false,
@" ""DueDateCriteria"": ""S"",
@" ""DemandSplitSched"": false,
@" ""OTSmartString"": false,
@" ""DeferredRev"": false,
@" ""DemandCheckConfig"": false,
@" ""DemandCheckCfgAction"": """",
@" ""AllowAsAltRemitTo"": false,
@" ""WIApplication"": """",
@" ""WIShippingCosts"": false,
@" ""LOQBookPCFinishing"": false,
@" ""LOQBookPCPaper"": false,
@" ""LOQBookPCPress"": false,
@" ""LOQBookPCPlates"": false,
@" ""Variations"": false,
@" ""DefaultLOQstyle"": """",
@" ""DefaultOrderAcknowledgement"": """",
@" ""DefaultPackSlip"": """",
@" ""DefaultOversPricing"": """",
@" ""LOQPrepressStyle"": """",
@" ""LOQBookCaFinishing"": false,
@" ""LOQBookCapaper"": false,
@" ""LOQBookCaPress"": false,
@" ""LOQBookCatPlates"": false,
@" ""LOQVariations"": false,
@" ""DefaultInvoicestyle"": """",
@" ""BusinessCust"": ""1"",
@" ""SysRowID"": ""00000000-0000-0000-0000-000000000000"",
@" ""CustPricingSchema"": """",
@" ""AGAFIPResponsibilityCode"": """",
@" ""AGBillToProvinceCode"": """",
@" ""AGGrossIncomeTaxID"": """",
@" ""AGIDDocTypeCode"": """",
@" ""AGIDDocumentNumber"": """",
@" ""AGProvinceCode"": """",
@" ""AGUseGoodDefaultMark"": false,
@" ""Collections"": false,
@" ""CollectionsDate"": null,
@" ""DateCollectionPosted"": null,
@" ""MXMunicipio"": """",
@" ""PEIdentityDocType"": ""6"",
@" ""PEDocumentID"": """",
@" ""PEGoodsContributor"": false,
@" ""PEWithholdAgent"": false,
@" ""PECollectionAgent"": false,
@" ""PENotFound"": false,
@" ""PENoAddress"": false,
@" ""EntityUseCode"": """",
@" ""InvcOrderCmpDflt"": false,
@" ""RegistrationCode"": """",
@" ""DemandCheckForRunOutPart"": false,
@" ""DemandCheckForRunOutPartAction"": ""B"",
@" ""EInvCompanyIDAttr"": """",
@" ""INCSTNumber"": """",
@" ""INPANNumber"": """",
@" ""COOneTimeID"": """",
@" ""COIsOneTimeCust"": false,
@" ""PEGuaranteeName"": """",
@" ""PEGuaranteeAddress1"": """",
@" ""PEGuaranteeAddress2"": """",
@" ""PEGuaranteeAddress3"": """",
@" ""PEGuaranteeCity"": """",
@" ""PEGuaranteeState"": """",
@" ""PEGuaranteeZip"": """",
@" ""PEGuaranteeCountry"": """",
@" ""PEGuaranteePhoneNum"": """",
@" ""PEGuaranteeTaxID"": """",
@" ""OurSupplierCode"": """",
@" ""MYIndustryCode"": """",
@" ""SyncToExternalCRM"": false,
@" ""ExternalCRMCustomerID"": """",
@" ""ExternalCRMCustomerType"": """",
@" ""ExternalCRMLastSync"": null,
@" ""ExternalCRMSyncRequired"": false,
@" ""NumberOfEmployees"": 0,
@" ""TickerLocation"": """",
@" ""TickerSymbol"": """",
@" ""TWGUIRegNum"": """",
@" ""MXAccountNumber"": """",
@" ""ConsolidateLinesPerPart"": true,
@" ""TWTaxPayerType"": 0,
@" ""TWDeductGUIFormatCode"": """",
@" ""PEAddressID"": """",
@" ""PEPerceptionRegime"": """",
@" ""TaxEntityType"": """",
@" ""INGSTComplianceRate"": 0,
@" ""INTaxRegistrationID"": """",
@" ""MXPurchaseType"": """",
@" ""MXGeneralPublic"": false,
@" ""AgingCreditHold"": false,
@" ""AgingCreditHoldDate"": null,
@" ""AgingCreditHoldSource"": """",
@" ""AgingCreditClearUserID"": """",
@" ""AgingCreditClearDate"": null,
@" ""AgingCreditCode"": ""A000"",
@" ""ImporterOfRecord"": false,
@" ""EInvEndpointIDAttr"": """",
@" ""UseBlindShipping"": false,
@" ""ELIEinvoice"": false,
@" ""ELIDefReportID"": ""ARFormEinv"",
@" ""ELIDefStyleNum"": 0,
@" ""ELIDefToMail"": """",
@" ""ELIDefCCMail"": """",
@" ""ELIDefMailTempID"": """",
@" ""ELISendMail"": false,
@" ""COFiscalResp1"": """",
@" ""COFiscalResp2"": """",
@" ""COFiscalResp3"": """",
@" ""CentralCollection"": false,
@" ""NettingVendorNum"": 0,
@" ""AGIsElectronicCreditInvEligible"": false,
@" ""TaxValidationStatus"": 0,
@" ""TaxValidationDate"": null,
@" ""HMRCTaxValidationLog"": """",
@" ""ExternalSchemeID"": """",
@" ""ELIOperatorCode"": """",
@" ""ELISendingOption"": 0,
@" ""ELIOperatorID"": """",
@" ""EInvExternalID"": """",
@" ""MXTaxRegime"": """",
@" ""ExclusionMonth"": null,
@" ""FSMRegionCode"": """",
@" ""ELIRcptDefStyleNum"": 0,
@" ""CovenantDiscPercent"": 0,
@" ""DistrictName"": """",
@" ""BuildingNumber"": """",
@" ""BTDistrictName"": """",
@" ""BTStreetName"": """",
@" ""BTBuildingNumber"": """",
@" ""MXBTReference"": """",
@" ""ACATCommCare"": false,
@" ""ACATRespCareType"": """",
@" ""ACATRespCareTypeDesc"": """",
@" ""AdvancedLaborRate"": false,
@" ""ApplyHoldToOrders"": false,
@" ""AttrCodeList"": """",
@" ""BaseCurrCode"": """",
@" ""BillDayDesc"": ""All Days"",
@" ""BillFreqDescription"": """",
@" ""BusinessCatList"": """",
@" ""ChargeCodeDesc"": """",
@" ""COASegReferences"": ""CustID"",
@" ""COOperTypeDesc"": """",
@" ""CustTypeDescription"": """",
@" ""DiscQualDescription"": ""Add"",
@" ""DspBTFormatStr"": """",
@" ""DspFormatStr"": """",
@" ""DspRlsClass"": """",
@" ""ECCPaymentCodes"": """",
@" ""ECCPaymentDesc"": """",
@" ""ECCPaymentList"": """",
@" ""ECCPaymentXDesc"": """",
@" ""ECCShipViaList"": """",
@" ""EnableGlobalCust"": true,
@" ""EnableGlobalLock"": false,
@" ""FxdGlbOrdCredit"": 0,
@" ""FxdGlbPICredit"": 0,
@" ""FxdOrderCredit"": 0,
@" ""GlbNAChildCrdAvail"": 0,
@" ""GlbNAOwnCreditAvail"": 0,
@" ""GlbNAOwnCreditUsedDsp"": 0,
@" ""GlbNAParentCrdAvail"": 0,
@" ""GlbNAParentsCreditUsedDsp"": 0,
@" ""GlbNAPoolCrdAvail"": 0,
@" ""GlbNAPoolCreditUsed"": 0,
@" ""GlbNASharedCreditUsedDsp"": 0,
@" ""IntegrationFlag"": false,
@" ""IntRunChangeCountry"": false,
@" ""LLLBAnnualHomeCap"": 0,
@" ""LLLBAnnualPartPenCap"": 0,
@" ""LLLBAnnualResiCap"": 0,
@" ""LLLBAnnualSelfFndCap"": 0,
@" ""LLLBAsAtDate"": null,
@" ""LLLBAssetAssess"": false,
@" ""LLLBLifeTimeCap"": 0,
@" ""LLLBMeansTestAmt"": 0,
@" ""LLLBMeansTestFeeAmt"": 0,
@" ""LLLBPrevEntryDate"": null,
@" ""NAChildCrdAvail"": 0,
@" ""NACreditCust"": false,
@" ""NACreditUpdated"": false,
@" ""NAOwnCreditAvail"": 0,
@" ""NAOwnCreditUsedDsp"": 0,
@" ""NAParentCrdAvail"": 0,
@" ""NAParentsCreditUsedDsp"": 0,
@" ""NAPoolCrdAvail"": 0,
@" ""NAPoolCreditUsed"": 0,
@" ""NASharedCreditUsedDsp"": 0,
@" ""NATotalCreditAvail"": 0,
@" ""NATotalCreditUsed"": 0,
@" ""NettingVendorID"": """",
@" ""ParentCustID"": """",
@" ""PeriodicityDesc"": """",
@" ""PeriodicityList"": """",
@" ""ReminderGroupDesc"": """",
@" ""SendShipment"": false,
@" ""ServiceTaxID"": """",
@" ""ShippingQualifierDesc"": """",
@" ""TotGlbInvoiceCredit"": 0,
@" ""TotGlbOpenCredit"": 0,
@" ""TotGlbOrderCredit"": 0,
@" ""TotGlbPICredit"": 0,
@" ""TotInvoiceCredit"": 0,
@" ""TotLCCumInvoices"": 0,
@" ""TotLCInvoiceBal"": 0,
@" ""TotLCOpenOrders"": 0,
@" ""TotOpenInvoices"": 0,
@" ""TotOpenInvoicesLC"": 0,
@" ""TotOpenOrderLC"": 0,
@" ""TotOrderCredit"": 0,
@" ""ACATOtherCare"": false,
@" ""LanguageDescription"": """",
@" ""ELIRcptDefReportID"": ""ReceiptEinv"",
@" ""AGAFIPResponsibilityDescription"": """",
@" ""AGBillToProvinceDescription"": """",
@" ""AGIDDocTypeCUITMark"": false,
@" ""AGIDDocTypeDescription"": """",
@" ""AgingCreditDescription"": ""No Aging Days"",
@" ""AGProvinceDescription"": """",
@" ""BTCountryISOCode"": """",
@" ""BTCountryEUMember"": false,
@" ""CompanySendToFSA"": false,
@" ""CountryISOCode"": """",
@" ""CountryFormatStr"": """",
@" ""CountryEUMember"": false,
@" ""CurrencyCurrName"": ""Rupiah"",
@" ""CurrencyCurrencyID"": """",
@" ""CurrencyCurrSymbol"": ""Rp"",
@" ""CurrencyCurrDesc"": ""Indonesian Rupiah"",
@" ""CurrencyDocumentDesc"": """",
@" ""CustGrupGroupDesc"": """",
@" ""DeliveryTypeDescription"": """",
@" ""FOBDescription"": """",
@" ""GlobalCurrencyCurrSymbol"": """",
@" ""GlobalCurrencyCurrDesc"": """",
@" ""GlobalCurrencyDocumentDesc"": """",
@" ""GlobalCurrencyCurrencyID"": """",
@" ""GlobalCurrencyCurrName"": """",
@" ""MarkUpDescription"": """",
@" ""MXPurchaseTypeCodeDesc"": """",
@" ""PayMethodSummarizePerCustomer"": false,
@" ""PayMethodName"": """",
@" ""PreferredBankBankName"": """",
@" ""PreferredBankDescription"": """",
@" ""RASchedCdRADesc"": """",
@" ""ReservePriDescription"": """",
@" ""SalesRepName"": """",
@" ""ShipViaWebDesc"": """",
@" ""ShipViaDescription"": ""Transport Planning"",
@" ""TATaxAuthorityDescription"": """",
@" ""TaxRegionDescription"": ""PPN Keluaran"",
@" ""TermsDescription"": """",
@" ""TerritoryTerritoryDesc"": ""DEPO BAWEN"",
@" ""XbSystELIEinvoice"": false,
@" ""CustomerAttch"": [],
@" ""CustomerDiscPriceLst"": [],
@" ""CustomerDocsSH"": [],
@" ""CustomerPriceLst"": [],
@" ""CustRestriction"": [],
@" ""PECustWhldHist"": [],
@" ""ShipToDiscPriceLst"": [],
@" ""ShipToLabExpRate"": [],
@" ""ShipToPriceLst"": [],
@" ""ShipToRestriction"": [],
request.AddStringBody(body, DataFormat.Json);