Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Use /entity routing instead of /user

...

 
Endpoint ID:5003
Method:
Status
colourGreen
titleGET
URL:

/userentity/dp-keyid/{dpentity-keyid}/transactions/{transaction-group-id}/sum?type={transaction-type-id}&from={from-date}&to={to-date}

/userentity/ext-key/{ext-key}/{ext-type}/transactions/{transaction-group-id}/sum?type={transaction-type-id}&from={from-date}&to={to-date}


 dpentity-keydialogportal™ master key id

Rubiq entity ID that uniquely identifies the account to sum transactions for

 


ext-key

External key that uniquely identifies the account to sum transactions for


 ext-type

Type of external key


 


Span
stylewhite-space: pre
transaction-group-id


Numeric value identifying the transaction group to include in the sum. This ID is documented in the contract between dialogportal™ and the application


 transaction-type-idOptional numeric value identifying the transaction types to include in the sum. This ID is documented in the contract between dialogportal™ and the application

 from-dateOptional date value limiting the search to only include transactions after this date in the sum. The date must be in UTC and formatted as "yyyymmddZ", for example "20140321Z" (21 March 2014).

 to-dateOptional date value limiting the search to only include transactions before this date in the sum. The date must be in UTC and formatted as "yyyymmddZ", for example "20140321Z" (21 March 2014).
Request body:None


Span
stylewhite-space:pre

Response body:


Decimal sum of the selected transaction values.

Status codes:200

Transaction sum value calculated with success


404

Account, transaction group or transaction type was not found

The following sub codes may be returned:

404.1User not found
404.2External user could not be found
404.4Transaction group not found
404.5Transaction type not found


...