POST api/UserTransactions/SendMailWithAttachment?isPortal={isPortal}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
isPortal

boolean

Default value is False

Body Parameters

UserTransactionsRequest
NameDescriptionTypeAdditional information
cardIds

Collection of globally unique identifier

None.

startDate

date

None.

endDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "cardIds": [
    "a472c903-4a59-46be-bcb0-7a23220c09b7",
    "e091a7e2-515e-476a-874a-c13249809f2d"
  ],
  "startDate": "2024-10-01T10:45:15.0327408+00:00",
  "endDate": "2024-10-01T10:45:15.0327408+00:00"
}

application/xml, text/xml

Sample:
<UserTransactionsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bankiom.DataLayer.Common">
  <cardIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:guid>a472c903-4a59-46be-bcb0-7a23220c09b7</d2p1:guid>
    <d2p1:guid>e091a7e2-515e-476a-874a-c13249809f2d</d2p1:guid>
  </cardIds>
  <endDate>2024-10-01T10:45:15.0327408+00:00</endDate>
  <startDate>2024-10-01T10:45:15.0327408+00:00</startDate>
</UserTransactionsRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'UserTransactionsRequest'.

Response Information

Resource Description

ResponseViewModel
NameDescriptionTypeAdditional information
Status

boolean

None.

StatusCode

integer

None.

Message

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": true,
  "StatusCode": 2,
  "Message": "sample string 3",
  "Data": {}
}

application/xml, text/xml

Sample:
<ResponseViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bankiom.DataLayer.Common">
  <Data />
  <Message>sample string 3</Message>
  <Status>true</Status>
  <StatusCode>2</StatusCode>
</ResponseViewModel>