CreateRecurringOrderTemplatesAvtaleGiro

Inputs (Array[] RecurringOrderTemplateAvtaleGiro) inherits from EntityBase

Name

Type

Description

Mandatory

Comment

Available from version

Name

Type

Description

Mandatory

Comment

Available from version

AccountId

Guid

Id of Account for the order

True





CashAmount

decimal

Amount in NOK for the order (maximum two decimal places are allowed).

True





TransferReceiverId

Guid

The TransferReceiver(Admission) for the order

True

Only allows TransferReceiverType of AvtaleGiro



PaymentPeriod

int

Determines the recurrance of the order.

0=One time

1=Month

2=Qurter

3=Half year

4=Year

True





BusinessDate

DateTime

A date that sends to the bank when the due date is when the bank is suppose to charge money from the TransferReceiver.

True if 0 is used as PaymentPeriod





SendDate

DateTime

Date for when first time to trigger the Order Template. After it trigger it will add additional months to next SendDate depending which PaymentPeriod is selected. 

Date when creating a TransferOrder that will be sending a notification to the bank with the BusinessDate as due date when to charge the money from the TransferReceiver.

False

If the value is empty, the Order Template will trigger one day before BusinessDate (include additional bank days)



Comment

String

Comment on the order

False





InstrumentId

Guid

When the Order Template is Triggered, it will create a TradeOrder that will be linked to the TransferOrder.

False

Only allowed to have one of the:

  • InstrumentId

  • AllocationProfileId

if it has more than one of them, it will return error.

If it has none of those values, no trade orders will be created and the TransferOrder will put the cash on the Account without any reservation.



AllocationProfileId

Guid

When the Order Template is Triggered, it will create a TradeOrder(s) that is based on the AllocationProfile that will be linked to the TransferOrder.

False





Day

int

Day in month the businessdate for the order will be changed to.

True if 1-4 is used as PaymentPeriod





Month

int

Month for when the ordertemplate starts

True if 1-4 is used as PaymentPeriod





Response rows

Name

Type

Description

Available from version

Name

Type

Description

Available from version

Entities

Array

All RecurringOrderTemplatesAvtaleGiro in the request is returned along with each RecurringOrderTemplatesAvtaleGiro BrickId, and array of Errors per RecurringOrderTemplatesAvtaleGiro



Code examples

Postman
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <CreateRecurringOrderTemplatesAvtaleGiro xmlns="http://tempuri.org/"> <req> <Credentials> <UserName>{{UserName}}</UserName> <Password>{{Password}}</Password> </Credentials> <identify>{{Identify}}</identify> <Entities> <RecurringOrderTemplateAvtaleGiro> <AccountId>72558537-3556-4827-a341-8280c01f14b7</AccountId> <TransferReceiverId>8c7622df-a5d8-4895-8318-06a05fee1383</TransferReceiverId> <CashAmount>147</CashAmount> <!-- 0=One time, 1=Month, 2=Qurter, 3=Half year, 4=Year --> <PaymentPeriod>0</PaymentPeriod> <BusinessDate>2024-04-23T00:00:00</BusinessDate> <InstrumentId>1e8cfdfa-099d-4da6-aac2-209d6be137c5</InstrumentId> <Comment>Comment</Comment> </RecurringOrderTemplateAvtaleGiro> </Entities> </req> </CreateRecurringOrderTemplatesAvtaleGiro> </soap:Body> </soap:Envelope>



Terms of License
Change Policy
© 2009 - 2024 Huddlestock Technologies AB All rights reserved