POST api/AccountDebtorController/ImportAccountFromStagingByExternalReferenceNumber?externalReferenceNumber={externalReferenceNumber}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
externalReferenceNumber

string

Required

Body Parameters

ExtranetDebtorSettingsVM
NameDescriptionTypeAdditional information
SubSystemId

integer

None.

FullPaymentFrequencyId

integer

None.

FullPaymentArrangementTypeId

integer

None.

CentrelinkPaymentFrequencyId

integer

None.

CentrelinkArrangementTypeId

integer

None.

ManualArrangementTypeId

integer

None.

DirectDebitArrangementTypeId

integer

None.

MailAddressTypeId

integer

None.

MobilePhoneContactTypeId

integer

None.

WorkPhoneContactTypeId

integer

None.

DefaultAddressTypeId

integer

None.

DefaultEmailContactTypeId

integer

None.

DefaultPhoneContactTypeId

integer

None.

ResidentialAddressTypeIds

string

None.

PostalAddressTypeIds

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SubSystemId": 1,
  "FullPaymentFrequencyId": 1,
  "FullPaymentArrangementTypeId": 1,
  "CentrelinkPaymentFrequencyId": 1,
  "CentrelinkArrangementTypeId": 1,
  "ManualArrangementTypeId": 1,
  "DirectDebitArrangementTypeId": 1,
  "MailAddressTypeId": 1,
  "MobilePhoneContactTypeId": 1,
  "WorkPhoneContactTypeId": 1,
  "DefaultAddressTypeId": 1,
  "DefaultEmailContactTypeId": 1,
  "DefaultPhoneContactTypeId": 1,
  "ResidentialAddressTypeIds": "sample string 1",
  "PostalAddressTypeIds": "sample string 2"
}

application/xml, text/xml

Sample:
<ExtranetDebtorSettingsVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Debtrak.BusinessObjects.ViewModels.ExtranetDebtorSettings">
  <CentrelinkArrangementTypeId>1</CentrelinkArrangementTypeId>
  <CentrelinkPaymentFrequencyId>1</CentrelinkPaymentFrequencyId>
  <DefaultAddressTypeId>1</DefaultAddressTypeId>
  <DefaultEmailContactTypeId>1</DefaultEmailContactTypeId>
  <DefaultPhoneContactTypeId>1</DefaultPhoneContactTypeId>
  <DirectDebitArrangementTypeId>1</DirectDebitArrangementTypeId>
  <FullPaymentArrangementTypeId>1</FullPaymentArrangementTypeId>
  <FullPaymentFrequencyId>1</FullPaymentFrequencyId>
  <MailAddressTypeId>1</MailAddressTypeId>
  <ManualArrangementTypeId>1</ManualArrangementTypeId>
  <MobilePhoneContactTypeId>1</MobilePhoneContactTypeId>
  <PostalAddressTypeIds>sample string 2</PostalAddressTypeIds>
  <ResidentialAddressTypeIds>sample string 1</ResidentialAddressTypeIds>
  <SubSystemId>1</SubSystemId>
  <WorkPhoneContactTypeId>1</WorkPhoneContactTypeId>
</ExtranetDebtorSettingsVM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ActionResultVM
NameDescriptionTypeAdditional information
Response

IResponse

None.

Response Formats

application/json, text/json

Sample:
{
  "Response": null
}

application/xml, text/xml

Sample:
<ActionResultVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Debtrak.BusinessObjects.ViewModels">
  <Response i:nil="true" />
</ActionResultVM>