CustomerUpdate

Service used for updating customers and their accounts.

ActionEvent

Triggers a action event.

Examples

Sample usage in C# with generated client:
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 data
    Object

    ActionEvent

    ActionEvent
    • 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.
      Enum

      ActionBaseType

      ActionBaseType.
      • Undefined

        Undefined.
      • CollectionAccount

        CollectionAccount.
      • PaymentPlan

        PaymentPlan.
      • Legal

        Legal.
      • Offer

        Offer.
      • Bankruptcy

        Bankruptcy.
      • Deceased

        Deceased.
      • DebtRelief

        DebtRelief.
      • CompanyReorganisation

        CompanyReorganisation.
      • Debtor

        Debtor.
      • LedgerAccount

        LedgerAccount.
      • LedgerAccountGroup

        LedgerAccountGroup.
      • Ticket

        Ticket.
      • CollectionAccountGroup

        CollectionAccountGroup.
    • EventType

      Value corresponding to event type code in action events.
      Enum

      ActionEventType

      ActionEventType.
      • STARTUP

        STARTUP.
      • TIMEOUT

        TIMEOUT.
      • USER_ALTERNATIVE

        USER_ALTERNATIVE.
      • TIMER

        TIMER.
      • DECISION

        DECISION.
      • UNKNOWN

        UNKNOWN.
      • PAYMENT

        PAYMENT.
      • PAYMENT_AUTHORITY

        PAYMENT_AUTHORITY.
      • CUSTOM

        CUSTOM.
      • VERIFICATION

        VERIFICATION.
      • MESSAGE_SENT

        MESSAGE_SENT.
      • AMOUNTADJUSTMENT

        AMOUNTADJUSTMENT.
      • NEWINVOICEADDED

        NEWINVOICEADDED.
      • NEWDEBTORADDED

        NEWDEBTORADDED.
      • FULLPAYMENT

        FULLPAYMENT.
      • CLOSURE

        CLOSURE.
      • NEWACCOUNTADDED

        NEWACCOUNTADDED.
      • MESSAGE_CONFIRMED

        MESSAGE_CONFIRMED.
      • MESSAGE_CONFIRM_FAILED

        MESSAGE_CONFIRM_FAILED.
      • PROCESSINGERROR

        PROCESSINGERROR.
      • OBJECTION

        OBJECTION.
      • CREDIT_ANSWER

        CREDIT_ANSWER.
      • ACTIONGROUPING_IGNORED

        ACTIONGROUPING_IGNORED.
      • DEBTOR_NEW_ADDRESS

        DEBTOR_NEW_ADDRESS.
      • DEBTOR_ADDRESS_NOTVALID

        DEBTOR_ADDRESS_NOTVALID.
      • DEBTOR_UPDATE

        DEBTOR_UPDATE.
      • PP_FIRST_PAYMENT_ADVICE

        PP_FIRST_PAYMENT_ADVICE.
      • PP_PAYMENT_ADVICE

        PP_PAYMENT_ADVICE.
      • PP_LAST_PAYMENT_ADVICE

        PP_LAST_PAYMENT_ADVICE.
      • PP_MISSED_PAYMENT

        PP_MISSED_PAYMENT.
      • PP_BROKEN_AGREEMENT

        PP_BROKEN_AGREEMENT.
      • PP_REMINDER

        PP_REMINDER.
      • PP_PAYMENT

        PP_PAYMENT.
      • PP_PARTPAYMENT

        PP_PARTPAYMENT.
      • PP_EXTERNAL_PAYMENT

        PP_EXTERNAL_PAYMENT.
      • PP_EXTERNAL_ADJUSTMENT

        PP_EXTERNAL_ADJUSTMENT.
      • PP_FIRSTPAYMENT

        PP_FIRSTPAYMENT.
      • PP_COMPLETED

        PP_COMPLETED.
      • PP_LATE_PAYMENT_ADVICE

        PP_LATE_PAYMENT_ADVICE.
      • PP_REMINDER_AND_ADVICE

        PP_REMINDER_AND_ADVICE.
      • PP_STOPPED

        PP_STOPPED.
      • PP_REPLACED

        PP_REPLACED.
      • PP_ACTIVATED

        PP_ACTIVATED.
      • LEGAL_VERDICT

        LEGAL_VERDICT.
      • LEGAL_RENEWAL

        LEGAL_RENEWAL.
      • LEGAL_CASEINFO

        LEGAL_CASEINFO.
      • LEGAL_REPORT

        LEGAL_REPORT.
      • LEGAL_LEX

        LEGAL_LEX.
      • LEGAL_BECOMINGFINAL

        LEGAL_BECOMINGFINAL.
      • LEGAL_FINALPAYMENT

        LEGAL_FINALPAYMENT.
      • LEGAL_NEWLEGALDOCUMENT

        LEGAL_NEWLEGALDOCUMENT.
      • LEGAL_FI_SUMMONS_ERROR

        LEGAL_FI_SUMMONS_ERROR.
      • CUSTOMER_UPDATE

        CUSTOMER_UPDATE.
      • CUSTOMER_ADDRESS_NOTVALID

        CUSTOMER_ADDRESS_NOTVALID.
      • BANKRUPTCY_ADDED

        BANKRUPTCY_ADDED.
      • DECEASED_ADDED

        DECEASED_ADDED.
      • DEBTRELIEF_ADDED

        DEBTRELIEF_ADDED.
      • DEBTRELIEF_UPDATED

        DEBTRELIEF_UPDATED.
      • COMPANYREORGANISATION_ADDED

        COMPANYREORGANISATION_ADDED.
      • TRANSACTION_IMPORTED

        TRANSACTION_IMPORTED.
      • PRINTLETTER_CONDITION_FALSE

        PRINTLETTER_CONDITION_FALSE.
      • INTEREST_INVOICING_INFO_CREATED

        INTEREST_INVOICING_INFO_CREATED.
      • INTEREST_INVOICING_INFO_DELETED

        INTEREST_INVOICING_INFO_DELETED.
      • DUE_DATE_CHANGED

        DUE_DATE_CHANGED.
      • AUTOTRANSFER_EVENT

        AUTOTRANSFER_EVENT.
      • OFFER_PAID_IN_FULL

        OFFER_PAID_IN_FULL.
      • USER_QUESTION_ANSWER

        USER_QUESTION_ANSWER.
      • CUSTOMERACCOUNT_FIRST_SETTLEMENT

        CUSTOMERACCOUNT_FIRST_SETTLEMENT.
      • CUSTOMERACCOUNT_SETTLEMENT

        CUSTOMERACCOUNT_SETTLEMENT.
      • CUSTOMERACCOUNT_LAST_SETTLEMENT

        CUSTOMERACCOUNT_LAST_SETTLEMENT.
      • CUSTOMERACCOUNT_MISSED_PAYMENT_MINIMUM_TO_PAY

        CUSTOMERACCOUNT_MISSED_PAYMENT_MINIMUM_TO_PAY.
      • CUSTOMERACCOUNT_BROKEN_SETTLEMENT

        CUSTOMERACCOUNT_BROKEN_SETTLEMENT.
      • CUSTOMERACCOUNT_REMINDER

        CUSTOMERACCOUNT_REMINDER.
      • CUSTOMERACCOUNT_PAYMENT

        CUSTOMERACCOUNT_PAYMENT.
      • CUSTOMERACCOUNT_PARTPAYMENT

        CUSTOMERACCOUNT_PARTPAYMENT.
      • CUSTOMERACCOUNT_PAYMENTFREE_SETTLEMENT

        CUSTOMERACCOUNT_PAYMENTFREE_SETTLEMENT.
      • CUSTOMERACCOUNT_DEBTCOLLECTION

        CUSTOMERACCOUNT_DEBTCOLLECTION.
      • CUSTOMERACCOUNT_MISSED_PAYMENT_MINIMUM_TO_PAY_INCLUDING_CAMPAIGN

        CUSTOMERACCOUNT_MISSED_PAYMENT_MINIMUM_TO_PAY_INCLUDING_CAMPAIGN.
      • CUSTOMERACCOUNT_STATEMENTOFACCOUNT

        ccCUSTOMERACCOUNT_STATEMENTOFACCOUNT.
      • CUSTOMERACCOUNT_CREDITSTOPCAUSE_ADDED

        CUSTOMERACCOUNT_CREDITSTOPCAUSE_ADDED.
      • CUSTOMERACCOUNT_CREDITSTOPCAUSE_REMOVED

        CUSTOMERACCOUNT_CREDITSTOPCAUSE_REMOVED.
      • CUSTOMERACCOUNT_CAMPAIGNEVENT

        CUSTOMERACCOUNT_CAMPAIGNEVENT.
      • CUSTOMERACCOUNT_CAMPAIGN_CREATED_RETROACTIVELY

        CUSTOMERACCOUNT_CAMPAIGN_CREATED_RETROACTIVELY.
      • CUSTOMERACCOUNT_CAMPAIGN_ACTIVATED

        CUSTOMERACCOUNT_CAMPAIGN_ACTIVATED.
      • CUSTOMERACCOUNT_LOAN_LETTER_FLOATING

        CUSTOMERACCOUNT_LOAN_LETTER_FLOATING.
      • CUSTOMERACCOUNT_LOAN_LETTER_NEWFIXEDINTERESTTERM

        CUSTOMERACCOUNT_LOAN_LETTER_NEWFIXEDINTERESTTERM.
      • CUSTOMERACCOUNT_LOAN_LETTER_INFIXEDINTERESTTERM

        CUSTOMERACCOUNT_LOAN_LETTER_INFIXEDINTERESTTERM.
      • CUSTOMERACCOUNT_LOAN_LETTER_REMINDER

        CUSTOMERACCOUNT_LOAN_LETTER_REMINDER.
      • CUSTOMERACCOUNT_LOAN_TERMINATION

        CUSTOMERACCOUNT_LOAN_TERMINATION.
      • CUSTOMERACCOUNT_LOAN_PRETERMINATION

        CUSTOMERACCOUNT_LOAN_PRETERMINATION.
      • CUSTOMERACCOUNT_LOAN_REVERSETERMINATION

        CUSTOMERACCOUNT_LOAN_REVERSETERMINATION.
      • CUSTOMERACCOUNT_VIRT_INSTALMENT_INVOICING

        CUSTOMERACCOUNT_VIRT_INSTALMENT_INVOICING.
      • CUSTOMERACCOUNT_VIRT_REMINDER

        CUSTOMERACCOUNT_VIRT_REMINDER.
      • CUSTOMERACCOUNT_VIRT_TERMINATION

        CUSTOMERACCOUNT_VIRT_TERMINATION.
      • CUSTOMERACCOUNT_INCREASED_AMOUNT_TO_PAY

        CUSTOMERACCOUNT_INCREASED_AMOUNT_TO_PAY.
      • CUSTOMERACCOUNT_CREDITDEBTINSURANCE_ADDED

        CUSTOMERACCOUNT_CREDITDEBTINSURANCE_ADDED.
      • CUSTOMERACCOUNT_CREDITDEBTINSURANCE_UPDATED

        CUSTOMERACCOUNT_CREDITDEBTINSURANCE_UPDATED.
      • CUSTOMERACCOUNT_CREDITDEBTINSURANCE_DELETED

        CUSTOMERACCOUNT_CREDITDEBTINSURANCE_DELETED.
      • CUSTOMERACCOUNT_CREDITDEBTINSURANCE_STATUSCHANGED

        CUSTOMERACCOUNT_CREDITDEBTINSURANCE_STATUSCHANGED.
      • CUSTOMERACCOUNT_USED_RIGHT_TO_WITHDRAW

        CUSTOMERACCOUNT_USED_RIGHT_TO_WITHDRAW.
      • CUSTOMERACCOUNT_ACCOUNT_TRANSFER

        CUSTOMERACCOUNT_ACCOUNT_TRANSFER.
      • LEDGER_RETURN

        LEDGER_RETURN.
      • LEDGERACCOUNT_EVENT

        LEDGERACCOUNT_EVENT.
      • COLLECTIONACCOUNTGROUP_CASE_ADDED

        COLLECTIONACCOUNTGROUP_CASE_ADDED.
      • COLLECTIONACCOUNTGROUP_CASE_REMOVED

        COLLECTIONACCOUNTGROUP_CASE_REMOVED.
      • COLLECTIONACCOUNT_AUTO_CASE_REVOKE

        COLLECTIONACCOUNT_AUTO_CASE_REVOKE.
      • AUTHSIGN_APPROVED

        AUTHSIGN_APPROVED.
      • AUTHSIGN_TIMEOUT

        AUTHSIGN_TIMEOUT.
      • AUTHSIGN_REJECTED

        AUTHSIGN_REJECTED.
      • NEWDOCUMENT

        NEWDOCUMENT.
      • LEDGERACCOUNT_MERGE

        LEDGERACCOUNT_MERGE.
      • LEDGERACCOUNT_REWRITE

        LEDGERACCOUNT_REWRITE.
      • BAILIFF_CANCELLATION

        Information on cancellation reported by the bailiff.
      • BAILIFF_LIMITATION_CREDITOR

        Information on the creditor’s liability to interrupt limitation.
      • BAILIFF_FINAL_REMITTANCE

        Information on final remittance by the bailiff.
      • BAILIFF_OBSTACLE_LACKOFFUNDS

        Obstacle: debtor lacks funds.
      • BAILIFF_OBSTACLE_LACKOFFUNDS_UNKNOWN

        Obstacle: debtor lacks funds and is unknown.
      • BAILIFF_OBSTACLE_OTHER

        Obstacle: other.
      • BAILIFF_OBSTACLE_LIMITEDENFORCEMENT

        Obstacle: limited enforcement.
      • BAILIFF_OBSTACLE_LIMITEDENFORCEMENT_UNKNOWN

        Obstacle: limited enforcement and unknown.
      • BAILIFF_DEBTOR_STATUS_UPDATE

        Debtor: status update.
      • BAILIFF_BALANCE

        Debtor: balance inquiry..
      • OBJECT_UPDATE

        OBJECT_UPDATE.
    • ProcessImmediately

      Process action event immediately.

      bool

Output

Returns result code 0 if event is triggered.
Object

ActionEventResponse

PostActionEvent response.
  • ActionEventResult

    Result of ActionEvent.
    Object

    GeneralResult

    A general result containing a result with result code and result text.
    • Result

      The result of the request.
      Object

      ResultType

      Common result type.
      • ResultCode Mandatory

        The result code 0 means 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

Deletes the overpayment.
Deletes the overpayment with the cause "Payment registered in wrong system", as if it was done manually in the system.

Examples

Sample usage in C# with generated client:
 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 data
    Object

    DeleteCustomerOverpayment

    DeleteCustomerOverpayment
    • OverpaymentGuid

      Unique identifier of overpayment.

      string

Output

Result code 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.
Object

DeleteCustomerOverpaymentResponse

Delete customer overpayment response
  • DeleteCustomerOverpaymentResult

    DeleteCustomerOverpaymentResult
    Object

    ResultType

    Common result type.
    • ResultCode Mandatory

      The result code 0 means 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

Deletes the overpaid amount.
Deletes overpayments overpayments enough to cover the passed in amount.

Examples

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: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 data
    Object

    DeleteOverpaidAmount

    DeleteOverpaidAmount.
    • DeleteOverpaidAmountRequest

      Unique identifier of overpayment.
      Object

      DeleteOverpaidAmountRequest

      Request to update customer details.
      • Amount Mandatory

        The amount to delete from the overpayment balance

        decimal

      • CustomerLookup Mandatory

        Lookup customer information.
        Object

        CustomerLookup

        A lookup for customer.
        • CustomerIdentification Mandatory

          Type of customer identification to look up.
          Enum

          CustomerIdentificationType

          Customer identification type.
          • Custom

            Custom identification.
          • CustomerSESSNOrCompanyNo

            Identify by Swedish SSN or company number.
          • CustomerNOSSNOrCompanyNo

            Identify by Norwegian SSN or company number.
          • CustomerReferenceNumber

            Identify by customer reference number.
          • CustomerGuid

            Customer identification.
        • CustomerIdentificationValue Mandatory

          Customer identification to look up, depending on type it has different formats.

          string

        • JuridicalType

          Type of customer, e.g. physical.
          Enum

          CustomerJuridicalType

          Juridical type of the customer.
          • Physical

            Physical person, meaning a natural person.
          • Company

            A company or other organisation.
          • PersonalFirm

            A company that shares the juridical entity with a physical person.
      • CustomerOwnerReferenceFilter

        Customer owner reference filter.

        string

Output

Result code 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.
Object

DeleteOverpaidAmountResponse

DeleteOverpaidAmount response.
  • DeleteOverpaidAmountResult

    Results of DeleteOverpaidAmount.
    Object

    ResultType

    Common result type.
    • ResultCode Mandatory

      The result code 0 means 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

Make a ping request to see that the service is up and running.
This operation enables to check if service is available. The service will return a result code 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

Sample usage in C# with generated client:
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 data
    Object

    Ping

    Ping

Output

Returns with result code 0 if ping was successful, otherwise read result text for error information.
Object

GeneralResultResponse

GeneralResult response
  • GeneralResult

    Result of GeneralResult
    Object

    GeneralResult

    A general result containing a result with result code and result text.
    • Result

      The result of the request.
      Object

      ResultType

      Common result type.
      • ResultCode Mandatory

        The result code 0 means 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

Updates customer details like contact information and addresses.

Examples

Sample usage in C# with generated client:
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 data
    Object

    UpdateCustomerDetails

    UpdateCustomerDetails.
    • UpdateCustomerDetailsRequest

      Information about the customer to set and how to lookup that customer.
      Object

      UpdateCustomerDetailsRequest

      Request to update customer details.
      • Addresses

        Customer addresses.
        Array
        Object

        Address

        Holds 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.
        Object

        CustomerLookup

        A lookup for customer.
        • CustomerIdentification Mandatory

          Type of customer identification to look up.
          Enum

          CustomerIdentificationType

          Customer identification type.
          • Custom

            Custom identification.
          • CustomerSESSNOrCompanyNo

            Identify by Swedish SSN or company number.
          • CustomerNOSSNOrCompanyNo

            Identify by Norwegian SSN or company number.
          • CustomerReferenceNumber

            Identify by customer reference number.
          • CustomerGuid

            Customer identification.
        • CustomerIdentificationValue Mandatory

          Customer identification to look up, depending on type it has different formats.

          string

        • JuridicalType

          Type of customer, e.g. physical.
          Enum

          CustomerJuridicalType

          Juridical type of the customer.
          • Physical

            Physical person, meaning a natural person.
          • Company

            A company or other organisation.
          • PersonalFirm

            A 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

Will return with result code 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.
Object

UpdateCustomerDetailsResponse

UpdateCustomerDetails response.
  • UpdateCustomerDetailsResult

    Result of UpdateCustomerDetails.
    Object

    GeneralResult

    A general result containing a result with result code and result text.
    • Result

      The result of the request.
      Object

      ResultType

      Common result type.
      • ResultCode Mandatory

        The result code 0 means 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

Updates due date of specified invoice by number.

Examples

Sample usage in C# with generated client:
 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 data
    Object

    UpdateInvoiceDueDate

    UpdateInvoiceDueDate.
    • CustomerOwnerReferenceFilter

      Optional filter invoice by owner reference.

      string

    • UpdateInvoiceDueDateRequest

      Information about the invoice and its new duew date.
      Object

      UpdateInvoiceDueDateRequest

      Request to update due date of invoice.
      • InvoiceNumber Mandatory

        Invoice number.

        string

      • NewInvouceDueDate

        New due date for invoice.

        DateTime

Output

Will return with result code 0 if everything went ok. Otherwise result text will contain error message.
Error codes:
  • 1 : Failed to update invoice due date.
Object

UpdateInvoiceDueDateResponse

UpdateInvoiceDueDate response.
  • UpdateInvoiceDueDateResult

    Result of UpdateInvoiceDueDate.
    Object

    GeneralResult

    A general result containing a result with result code and result text.
    • Result

      The result of the request.
      Object

      ResultType

      Common result type.
      • ResultCode Mandatory

        The result code 0 means 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