ActionEvent
Examples
CustomerUpdateClient client = new CustomerUpdateClient();
GeneralResult result = client.ActionEvent(
"UNKNOWN",
"undefined",
1,
2,
"someArgument1",
"someArgument2",
true
);
Sample soap request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:uuid:e657a351-ae8c-42c5-b083-ebe5dcda5c0b">
<soapenv:Header/>
<soapenv:Body>
<urn:ActionEvent>
<urn:Argument1>someArgument1.</urn:Argument1>
<urn:Argument2>someArgument2.</urn:Argument2>
<urn:BaseExtraLinkId>2.</urn:BaseExtraLinkId>
<urn:BaseId>1</urn:BaseId>
<urn:BaseType>undefined</urn:BaseType>
<urn:EventType>UNKNOWN</urn:EventType>
<urn:ProcessImmediately>true</urn:ProcessImmediately>
</urn:ActionEvent>
</soapenv:Body>
</soapenv:Envelope>Input
-
request Mandatory
Request dataObjectActionEventActionEvent-
Argument1
Value corresponding to event argument in action package handling.string -
Argument2
Value corresponding to event argument in action package handling.string -
BaseExtraLinkId
Value corresponding to action event BaseExtraLinkID.int -
BaseId
Value corresponding to action event baseID.int -
BaseType
Value corresponding to action event base type.EnumActionBaseTypeActionBaseType.-
UndefinedUndefined. -
CollectionAccountCollectionAccount. -
PaymentPlanPaymentPlan. -
LegalLegal. -
OfferOffer. -
BankruptcyBankruptcy. -
DeceasedDeceased. -
DebtReliefDebtRelief. -
CompanyReorganisationCompanyReorganisation. -
DebtorDebtor. -
LedgerAccountLedgerAccount. -
LedgerAccountGroupLedgerAccountGroup. -
TicketTicket. -
CollectionAccountGroupCollectionAccountGroup.
-
-
EventType
Value corresponding to event type code in action events.EnumActionEventTypeActionEventType.-
STARTUPSTARTUP. -
TIMEOUTTIMEOUT. -
USER_ALTERNATIVEUSER_ALTERNATIVE. -
TIMERTIMER. -
DECISIONDECISION. -
UNKNOWNUNKNOWN. -
PAYMENTPAYMENT. -
PAYMENT_AUTHORITYPAYMENT_AUTHORITY. -
CUSTOMCUSTOM. -
VERIFICATIONVERIFICATION. -
MESSAGE_SENTMESSAGE_SENT. -
AMOUNTADJUSTMENTAMOUNTADJUSTMENT. -
NEWINVOICEADDEDNEWINVOICEADDED. -
NEWDEBTORADDEDNEWDEBTORADDED. -
FULLPAYMENTFULLPAYMENT. -
CLOSURECLOSURE. -
NEWACCOUNTADDEDNEWACCOUNTADDED. -
MESSAGE_CONFIRMEDMESSAGE_CONFIRMED. -
MESSAGE_CONFIRM_FAILEDMESSAGE_CONFIRM_FAILED. -
PROCESSINGERRORPROCESSINGERROR. -
OBJECTIONOBJECTION. -
CREDIT_ANSWERCREDIT_ANSWER. -
ACTIONGROUPING_IGNOREDACTIONGROUPING_IGNORED. -
DEBTOR_NEW_ADDRESSDEBTOR_NEW_ADDRESS. -
DEBTOR_ADDRESS_NOTVALIDDEBTOR_ADDRESS_NOTVALID. -
DEBTOR_UPDATEDEBTOR_UPDATE. -
PP_FIRST_PAYMENT_ADVICEPP_FIRST_PAYMENT_ADVICE. -
PP_PAYMENT_ADVICEPP_PAYMENT_ADVICE. -
PP_LAST_PAYMENT_ADVICEPP_LAST_PAYMENT_ADVICE. -
PP_MISSED_PAYMENTPP_MISSED_PAYMENT. -
PP_BROKEN_AGREEMENTPP_BROKEN_AGREEMENT. -
PP_REMINDERPP_REMINDER. -
PP_PAYMENTPP_PAYMENT. -
PP_PARTPAYMENTPP_PARTPAYMENT. -
PP_EXTERNAL_PAYMENTPP_EXTERNAL_PAYMENT. -
PP_EXTERNAL_ADJUSTMENTPP_EXTERNAL_ADJUSTMENT. -
PP_FIRSTPAYMENTPP_FIRSTPAYMENT. -
PP_COMPLETEDPP_COMPLETED. -
PP_LATE_PAYMENT_ADVICEPP_LATE_PAYMENT_ADVICE. -
PP_REMINDER_AND_ADVICEPP_REMINDER_AND_ADVICE. -
PP_STOPPEDPP_STOPPED. -
PP_REPLACEDPP_REPLACED. -
PP_ACTIVATEDPP_ACTIVATED. -
LEGAL_VERDICTLEGAL_VERDICT. -
LEGAL_RENEWALLEGAL_RENEWAL. -
LEGAL_CASEINFOLEGAL_CASEINFO. -
LEGAL_REPORTLEGAL_REPORT. -
LEGAL_LEXLEGAL_LEX. -
LEGAL_BECOMINGFINALLEGAL_BECOMINGFINAL. -
LEGAL_FINALPAYMENTLEGAL_FINALPAYMENT. -
LEGAL_NEWLEGALDOCUMENTLEGAL_NEWLEGALDOCUMENT. -
LEGAL_FI_SUMMONS_ERRORLEGAL_FI_SUMMONS_ERROR. -
CUSTOMER_UPDATECUSTOMER_UPDATE. -
CUSTOMER_ADDRESS_NOTVALIDCUSTOMER_ADDRESS_NOTVALID. -
BANKRUPTCY_ADDEDBANKRUPTCY_ADDED. -
DECEASED_ADDEDDECEASED_ADDED. -
DEBTRELIEF_ADDEDDEBTRELIEF_ADDED. -
DEBTRELIEF_UPDATEDDEBTRELIEF_UPDATED. -
COMPANYREORGANISATION_ADDEDCOMPANYREORGANISATION_ADDED. -
TRANSACTION_IMPORTEDTRANSACTION_IMPORTED. -
PRINTLETTER_CONDITION_FALSEPRINTLETTER_CONDITION_FALSE. -
INTEREST_INVOICING_INFO_CREATEDINTEREST_INVOICING_INFO_CREATED. -
INTEREST_INVOICING_INFO_DELETEDINTEREST_INVOICING_INFO_DELETED. -
DUE_DATE_CHANGEDDUE_DATE_CHANGED. -
AUTOTRANSFER_EVENTAUTOTRANSFER_EVENT. -
OFFER_PAID_IN_FULLOFFER_PAID_IN_FULL. -
USER_QUESTION_ANSWERUSER_QUESTION_ANSWER. -
CUSTOMERACCOUNT_FIRST_SETTLEMENTCUSTOMERACCOUNT_FIRST_SETTLEMENT. -
CUSTOMERACCOUNT_SETTLEMENTCUSTOMERACCOUNT_SETTLEMENT. -
CUSTOMERACCOUNT_LAST_SETTLEMENTCUSTOMERACCOUNT_LAST_SETTLEMENT. -
CUSTOMERACCOUNT_MISSED_PAYMENT_MINIMUM_TO_PAYCUSTOMERACCOUNT_MISSED_PAYMENT_MINIMUM_TO_PAY. -
CUSTOMERACCOUNT_BROKEN_SETTLEMENTCUSTOMERACCOUNT_BROKEN_SETTLEMENT. -
CUSTOMERACCOUNT_REMINDERCUSTOMERACCOUNT_REMINDER. -
CUSTOMERACCOUNT_PAYMENTCUSTOMERACCOUNT_PAYMENT. -
CUSTOMERACCOUNT_PARTPAYMENTCUSTOMERACCOUNT_PARTPAYMENT. -
CUSTOMERACCOUNT_PAYMENTFREE_SETTLEMENTCUSTOMERACCOUNT_PAYMENTFREE_SETTLEMENT. -
CUSTOMERACCOUNT_DEBTCOLLECTIONCUSTOMERACCOUNT_DEBTCOLLECTION. -
CUSTOMERACCOUNT_MISSED_PAYMENT_MINIMUM_TO_PAY_INCLUDING_CAMPAIGNCUSTOMERACCOUNT_MISSED_PAYMENT_MINIMUM_TO_PAY_INCLUDING_CAMPAIGN. -
CUSTOMERACCOUNT_STATEMENTOFACCOUNTccCUSTOMERACCOUNT_STATEMENTOFACCOUNT. -
CUSTOMERACCOUNT_CREDITSTOPCAUSE_ADDEDCUSTOMERACCOUNT_CREDITSTOPCAUSE_ADDED. -
CUSTOMERACCOUNT_CREDITSTOPCAUSE_REMOVEDCUSTOMERACCOUNT_CREDITSTOPCAUSE_REMOVED. -
CUSTOMERACCOUNT_CAMPAIGNEVENTCUSTOMERACCOUNT_CAMPAIGNEVENT. -
CUSTOMERACCOUNT_CAMPAIGN_CREATED_RETROACTIVELYCUSTOMERACCOUNT_CAMPAIGN_CREATED_RETROACTIVELY. -
CUSTOMERACCOUNT_CAMPAIGN_ACTIVATEDCUSTOMERACCOUNT_CAMPAIGN_ACTIVATED. -
CUSTOMERACCOUNT_LOAN_LETTER_FLOATINGCUSTOMERACCOUNT_LOAN_LETTER_FLOATING. -
CUSTOMERACCOUNT_LOAN_LETTER_NEWFIXEDINTERESTTERMCUSTOMERACCOUNT_LOAN_LETTER_NEWFIXEDINTERESTTERM. -
CUSTOMERACCOUNT_LOAN_LETTER_INFIXEDINTERESTTERMCUSTOMERACCOUNT_LOAN_LETTER_INFIXEDINTERESTTERM. -
CUSTOMERACCOUNT_LOAN_LETTER_REMINDERCUSTOMERACCOUNT_LOAN_LETTER_REMINDER. -
CUSTOMERACCOUNT_LOAN_TERMINATIONCUSTOMERACCOUNT_LOAN_TERMINATION. -
CUSTOMERACCOUNT_LOAN_PRETERMINATIONCUSTOMERACCOUNT_LOAN_PRETERMINATION. -
CUSTOMERACCOUNT_LOAN_REVERSETERMINATIONCUSTOMERACCOUNT_LOAN_REVERSETERMINATION. -
CUSTOMERACCOUNT_VIRT_INSTALMENT_INVOICINGCUSTOMERACCOUNT_VIRT_INSTALMENT_INVOICING. -
CUSTOMERACCOUNT_VIRT_REMINDERCUSTOMERACCOUNT_VIRT_REMINDER. -
CUSTOMERACCOUNT_VIRT_TERMINATIONCUSTOMERACCOUNT_VIRT_TERMINATION. -
CUSTOMERACCOUNT_INCREASED_AMOUNT_TO_PAYCUSTOMERACCOUNT_INCREASED_AMOUNT_TO_PAY. -
CUSTOMERACCOUNT_CREDITDEBTINSURANCE_ADDEDCUSTOMERACCOUNT_CREDITDEBTINSURANCE_ADDED. -
CUSTOMERACCOUNT_CREDITDEBTINSURANCE_UPDATEDCUSTOMERACCOUNT_CREDITDEBTINSURANCE_UPDATED. -
CUSTOMERACCOUNT_CREDITDEBTINSURANCE_DELETEDCUSTOMERACCOUNT_CREDITDEBTINSURANCE_DELETED. -
CUSTOMERACCOUNT_CREDITDEBTINSURANCE_STATUSCHANGEDCUSTOMERACCOUNT_CREDITDEBTINSURANCE_STATUSCHANGED. -
CUSTOMERACCOUNT_USED_RIGHT_TO_WITHDRAWCUSTOMERACCOUNT_USED_RIGHT_TO_WITHDRAW. -
CUSTOMERACCOUNT_ACCOUNT_TRANSFERCUSTOMERACCOUNT_ACCOUNT_TRANSFER. -
LEDGER_RETURNLEDGER_RETURN. -
LEDGERACCOUNT_EVENTLEDGERACCOUNT_EVENT. -
COLLECTIONACCOUNTGROUP_CASE_ADDEDCOLLECTIONACCOUNTGROUP_CASE_ADDED. -
COLLECTIONACCOUNTGROUP_CASE_REMOVEDCOLLECTIONACCOUNTGROUP_CASE_REMOVED. -
COLLECTIONACCOUNT_AUTO_CASE_REVOKECOLLECTIONACCOUNT_AUTO_CASE_REVOKE. -
AUTHSIGN_APPROVEDAUTHSIGN_APPROVED. -
AUTHSIGN_TIMEOUTAUTHSIGN_TIMEOUT. -
AUTHSIGN_REJECTEDAUTHSIGN_REJECTED. -
NEWDOCUMENTNEWDOCUMENT. -
LEDGERACCOUNT_MERGELEDGERACCOUNT_MERGE. -
LEDGERACCOUNT_REWRITELEDGERACCOUNT_REWRITE. -
BAILIFF_CANCELLATIONInformation on cancellation reported by the bailiff. -
BAILIFF_LIMITATION_CREDITORInformation on the creditor’s liability to interrupt limitation. -
BAILIFF_FINAL_REMITTANCEInformation on final remittance by the bailiff. -
BAILIFF_OBSTACLE_LACKOFFUNDSObstacle: debtor lacks funds. -
BAILIFF_OBSTACLE_LACKOFFUNDS_UNKNOWNObstacle: debtor lacks funds and is unknown. -
BAILIFF_OBSTACLE_OTHERObstacle: other. -
BAILIFF_OBSTACLE_LIMITEDENFORCEMENTObstacle: limited enforcement. -
BAILIFF_OBSTACLE_LIMITEDENFORCEMENT_UNKNOWNObstacle: limited enforcement and unknown. -
BAILIFF_DEBTOR_STATUS_UPDATEDebtor: status update. -
BAILIFF_BALANCEDebtor: balance inquiry.. -
OBJECT_UPDATEOBJECT_UPDATE.
-
-
ProcessImmediately
Process action event immediately.bool
-
Output
0 if event is triggered.
ActionEventResponse
-
ActionEventResult
Result of ActionEvent.ObjectGeneralResultA general result containing a result with result code and result text.-
Result
The result of the request.ObjectResultTypeCommon result type.-
ResultCode Mandatory
The result code0means ok, anything else usually indicates a warning or an error. Look at accompanying result text for more details on result.int -
ResultText Mandatory
Text information of the result. Usually contains a warning or error message when result code is indicating other than success.string
-
-
DeleteCustomerOverpayment
Examples
CustomerUpdateClient client = new CustomerUpdateClient();
ResultType result = client.DeleteCustomerOverpayment("EEEE5203-0E30-4A30-9774-18D025B00715");
Sample soap request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:uuid:e657a351-ae8c-42c5-b083-ebe5dcda5c0b" xmlns:apt="http://schemas.datacontract.org/2004/07/Aptic.WebIntegrationPlatform.Soap.DataContracts">
<soapenv:Header/>
<soapenv:Body>
<urn:DeleteCustomerOverpayment>
<apt:OverpaymentGuid>EEEE5203-0E30-4A30-9774-18D025B00715</apt:OverpaymentGuid>
</urn:DeleteCustomerOverpayment>
</soapenv:Body>
</soapenv:Envelope>Input
-
request Mandatory
Request dataObjectDeleteCustomerOverpaymentDeleteCustomerOverpayment-
OverpaymentGuid
Unique identifier of overpayment.string
-
Output
0 if everything went ok.
Error code 60700 if it was unable to find overpayment with provided unique identifier.
Error code 60900 if access to overpayment denied because bank account party is not accessible to the user.
Otherwise - generic error code 1.
DeleteCustomerOverpaymentResponse
-
DeleteCustomerOverpaymentResult
DeleteCustomerOverpaymentResultObjectResultTypeCommon result type.-
ResultCode Mandatory
The result code0means ok, anything else usually indicates a warning or an error. Look at accompanying result text for more details on result.int -
ResultText Mandatory
Text information of the result. Usually contains a warning or error message when result code is indicating other than success.string
-
DeleteOverpaidAmount
Examples
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:uuid:e657a351-ae8c-42c5-b083-ebe5dcda5c0b" xmlns:apt="http://schemas.datacontract.org/2004/07/Aptic.WebIntegrationPlatform.Soap.DataContracts">
<soapenv:Header/>
<soapenv:Body>
<urn:DeleteOverpaidAmount>
<urn:DeleteOverpaidAmountRequest>
<urn:Amount>50</urn:Amount>
<urn:CustomerLookup>
<urn:CustomerIdentification>CustomerReferenceNumber</urn:CustomerIdentification>
<urn:CustomerIdentificationValue>2121</urn:CustomerIdentificationValue>
</urn:CustomerLookup>
<urn:CustomerOwnerReferenceFilter>5015</urn:CustomerOwnerReferenceFilter>
</urn:DeleteOverpaidAmountRequest>
</urn:DeleteOverpaidAmount>
</soapenv:Body>
</soapenv:Envelope>Input
-
request Mandatory
Request dataObjectDeleteOverpaidAmountDeleteOverpaidAmount.-
DeleteOverpaidAmountRequest
Unique identifier of overpayment.ObjectDeleteOverpaidAmountRequestRequest to update customer details.-
Amount Mandatory
The amount to delete from the overpayment balancedecimal -
CustomerLookup Mandatory
Lookup customer information.ObjectCustomerLookupA lookup for customer.-
CustomerIdentification Mandatory
Type of customer identification to look up.EnumCustomerIdentificationTypeCustomer identification type.-
CustomCustom identification. -
CustomerSESSNOrCompanyNoIdentify by Swedish SSN or company number. -
CustomerNOSSNOrCompanyNoIdentify by Norwegian SSN or company number. -
CustomerReferenceNumberIdentify by customer reference number. -
CustomerGuidCustomer identification.
-
-
CustomerIdentificationValue Mandatory
Customer identification to look up, depending on type it has different formats.string -
JuridicalType
Type of customer, e.g. physical.EnumCustomerJuridicalTypeJuridical type of the customer.-
PhysicalPhysical person, meaning a natural person. -
CompanyA company or other organisation. -
PersonalFirmA company that shares the juridical entity with a physical person.
-
-
-
CustomerOwnerReferenceFilter
Customer owner reference filter.string
-
-
Output
0 if everything went ok.
Error code 60700 if it was unable to find overpayment with provided unique identifier.
Error code 60900 if access to overpayment denied because bank account party is not accessible to the user.
Otherwise - generic error code 1.
DeleteOverpaidAmountResponse
-
DeleteOverpaidAmountResult
Results of DeleteOverpaidAmount.ObjectResultTypeCommon result type.-
ResultCode Mandatory
The result code0means ok, anything else usually indicates a warning or an error. Look at accompanying result text for more details on result.int -
ResultText Mandatory
Text information of the result. Usually contains a warning or error message when result code is indicating other than success.string
-
Ping
0 if everything went ok. If something went wrong
it will return a result code other than 0 and the result text will contain
information about error. However if service is unreachable, e.g. not started, the
service will not respond at all.Examples
CustomerUpdateClient client = new CustomerUpdateClient();
try
{
GeneralResult result = client.Ping();
if (result.Result.ResultCode != 0)
{
throw new Exception(result.Result.ResultText ?? "Unknown error");
}
}
catch(Exception e)
{
throw new Exception("Failed to ping customer update service.", e);
}
Sample soap request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:uuid:e657a351-ae8c-42c5-b083-ebe5dcda5c0b">
<soapenv:Header/>
<soapenv:Body>
<urn:Ping/>
</soapenv:Body>
</soapenv:Envelope>Input
-
request Mandatory
Request dataObjectPingPing
Output
0 if ping was successful, otherwise read result text for error information.
GeneralResultResponse
-
GeneralResult
Result of GeneralResultObjectGeneralResultA general result containing a result with result code and result text.-
Result
The result of the request.ObjectResultTypeCommon result type.-
ResultCode Mandatory
The result code0means ok, anything else usually indicates a warning or an error. Look at accompanying result text for more details on result.int -
ResultText Mandatory
Text information of the result. Usually contains a warning or error message when result code is indicating other than success.string
-
-
UpdateCustomerDetails
Examples
CustomerUpdateClient client = new CustomerUpdateClient();
client.UpdateCustomerDetails(new UpdateCustomerDetailsRequest
{
CustomerLookup = new CustomerLookup
{
CustomerIdentification = CustomerIdentificationType.CustomerSESSNOrCompanyNo,
CustomerIdentificationValue = "580711-2643",
JuridicalType = CustomerJuridicalType.Physical
},
Addresses = new[]
{
new Address
{
TypeCode = "LEGAL",
FullName = "Kai Levin",
Street = "Hästudden 123",
City = "Tierp",
ZipCode = "815 40",
CountryCode = "SE"
}
},
CellularPhone = "+46123456789",
Email = "customer@example.com"
});
Sample soap request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:uuid:e657a351-ae8c-42c5-b083-ebe5dcda5c0b" xmlns:apt="http://schemas.datacontract.org/2004/07/Aptic.WebIntegrationPlatform.Soap.DataContracts">
<soapenv:Header/>
<soapenv:Body>
<urn:UpdateCustomerDetails>
<urn:UpdateCustomerDetailsRequest>
<urn:Addresses>
<apt:Address>
<apt:City>Tierp</apt:City>
<apt:CountryCode>SE</apt:CountryCode>
<apt:FullName>Kai Levin</apt:FullName>
<apt:Street>Hästudden 123</apt:Street>
<apt:TypeCode>LEGAL</apt:TypeCode>
</apt:Address>
</urn:Addresses>
<urn:CellularPhone>+46123456789</urn:CellularPhone>
<urn:CustomerLookup>
<urn:CustomerIdentification>CustomerSESSNOrCompanyNo</urn:CustomerIdentification>
<urn:CustomerIdentificationValue>580711-2643</urn:CustomerIdentificationValue>
<urn:JuridicalType>Physical</urn:JuridicalType>
</urn:CustomerLookup>
<urn:Email>customer@example.com</urn:Email>
</urn:UpdateCustomerDetailsRequest>
</urn:UpdateCustomerDetails>
</soapenv:Body>
</soapenv:Envelope>Input
-
request Mandatory
Request dataObjectUpdateCustomerDetailsUpdateCustomerDetails.-
UpdateCustomerDetailsRequest
Information about the customer to set and how to lookup that customer.ObjectUpdateCustomerDetailsRequestRequest to update customer details.-
Addresses
Customer addresses.ArrayObjectAddressHolds address information.-
CareOf
Care of address.string -
City
City.string -
CountryCode
Country code, i.e. EN, SE etc.string -
DefaultAddress
Whether this is the default address.bool -
FullAddress
Combined address with all fields into single string.string -
FullName
The full name of the receiving party, i.e name of person or company.string -
HouseNo
House number.string -
HouseNoExtension
House number extension.string -
StateCode
State code if applicable.string -
Street
Street address.string -
TypeCode Mandatory
The type code of the address, i.e. what the address is used for, e.g. LEGAL, AVI, INVOICE, SITE, DELIVERY, TRUSTACCNT. Should be used one of predefined values using correct letter case.string -
UpdateExisting
Whether this should update existing or create new address.bool -
ValidFrom
The date when the address becomes active. If the element is missing, then do not change the current actual value.DateTime -
ValidTo
The date after which the address becomes inactive. If the element is missing, then do not change the current actual value.DateTime -
ZipCode
Zip code, i.e. postal code.string
-
-
CellularPhone
Customer's cellular phone number, i.e. mobile number.string -
CustomerLookup Mandatory
Lookup customer information.ObjectCustomerLookupA lookup for customer.-
CustomerIdentification Mandatory
Type of customer identification to look up.EnumCustomerIdentificationTypeCustomer identification type.-
CustomCustom identification. -
CustomerSESSNOrCompanyNoIdentify by Swedish SSN or company number. -
CustomerNOSSNOrCompanyNoIdentify by Norwegian SSN or company number. -
CustomerReferenceNumberIdentify by customer reference number. -
CustomerGuidCustomer identification.
-
-
CustomerIdentificationValue Mandatory
Customer identification to look up, depending on type it has different formats.string -
JuridicalType
Type of customer, e.g. physical.EnumCustomerJuridicalTypeJuridical type of the customer.-
PhysicalPhysical person, meaning a natural person. -
CompanyA company or other organisation. -
PersonalFirmA company that shares the juridical entity with a physical person.
-
-
-
Email
Customer's e-mail address.string -
HomePhone
Customer's home phone number.string -
InvoiceChannel
Customer's invoice channel, e.g. LETTER, EMAIL, SMS, E-INVOICE. Should be used one of predefined values using correct letter case.string -
LanguageCode
Language code to use for customer, e.g. sv, en etc.string -
PreferredChannel
Customer's preferred commuication channel, e.g. LETTER, EMAIL. Should be used one of predefined values using correct letter case.string -
Telefax
Customer telefax number.string -
WorkPhone
Customer's work phone number.string
-
-
Output
0 if everything went ok. Otherwise result text will contain error message.
Error codes:
- 1 : Collision: more than one customer suits search criteria.
- 1 : Failed to update customer details.
UpdateCustomerDetailsResponse
-
UpdateCustomerDetailsResult
Result of UpdateCustomerDetails.ObjectGeneralResultA general result containing a result with result code and result text.-
Result
The result of the request.ObjectResultTypeCommon result type.-
ResultCode Mandatory
The result code0means ok, anything else usually indicates a warning or an error. Look at accompanying result text for more details on result.int -
ResultText Mandatory
Text information of the result. Usually contains a warning or error message when result code is indicating other than success.string
-
-
UpdateInvoiceDueDate
Examples
CustomerUpdateClient client = new CustomerUpdateClient();
client.UpdateInvoiceDueDate(new UpdateInvoiceDueDateRequest
{
InvoiceNumber = "2222222222222545702",
NewInvouceDueDate = new DateTime(2019, 03, 30, 8, 0, 0)
},"1000");
Sample soap request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:uuid:e657a351-ae8c-42c5-b083-ebe5dcda5c0b" xmlns:apt="http://schemas.datacontract.org/2004/07/Aptic.WebIntegrationPlatform.Soap.DataContracts">
<soapenv:Header/>
<soapenv:Body>
<urn:UpdateInvoiceDueDate>
<urn:UpdateInvoiceDueDateRequest>
<apt:InvoiceNumber>2222222222222545702</apt:InvoiceNumber>
<apt:NewInvouceDueDate>2019-01-30</apt:NewInvouceDueDate>
</urn:UpdateInvoiceDueDateRequest>
<urn:CustomerOwnerReferenceFilter>1000</urn:CustomerOwnerReferenceFilter>
</urn:UpdateInvoiceDueDate>
</soapenv:Body>
</soapenv:Envelope>Input
-
request Mandatory
Request dataObjectUpdateInvoiceDueDateUpdateInvoiceDueDate.-
CustomerOwnerReferenceFilter
Optional filter invoice by owner reference.string -
UpdateInvoiceDueDateRequest
Information about the invoice and its new duew date.ObjectUpdateInvoiceDueDateRequestRequest to update due date of invoice.-
InvoiceNumber Mandatory
Invoice number.string -
NewInvouceDueDate
New due date for invoice.DateTime
-
-
Output
0 if everything went ok. Otherwise result text will contain error message.
Error codes:
- 1 : Failed to update invoice due date.
UpdateInvoiceDueDateResponse
-
UpdateInvoiceDueDateResult
Result of UpdateInvoiceDueDate.ObjectGeneralResultA general result containing a result with result code and result text.-
Result
The result of the request.ObjectResultTypeCommon result type.-
ResultCode Mandatory
The result code0means ok, anything else usually indicates a warning or an error. Look at accompanying result text for more details on result.int -
ResultText Mandatory
Text information of the result. Usually contains a warning or error message when result code is indicating other than success.string
-
-