POST api/Nymcard/CreateBalanceLimit

Request Information

URI Parameters

None.

Body Parameters

BalanceLimitInput
NameDescriptionTypeAdditional information
type

string

None.

description

string

None.

min_amount

decimal number

None.

max_amount

decimal number

None.

currency

string

None.

id

string

None.

active

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "type": "sample string 1",
  "description": "sample string 2",
  "min_amount": 3.1,
  "max_amount": 4.1,
  "currency": "sample string 5",
  "id": "sample string 6",
  "active": true
}

application/xml, text/xml

Sample:
<BalanceLimitInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bankiom.Integrations.NYMCARD">
  <active>true</active>
  <currency>sample string 5</currency>
  <description>sample string 2</description>
  <id>sample string 6</id>
  <max_amount>4.1</max_amount>
  <min_amount>3.1</min_amount>
  <type>sample string 1</type>
</BalanceLimitInput>

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 'BalanceLimitInput'.

Response Information

Resource Description

BalanceLimit
NameDescriptionTypeAdditional information
id

string

None.

description

string

None.

active

boolean

None.

type

string

None.

min_amount

decimal number

None.

max_amount

decimal number

None.

currency

string

None.

program_level

boolean

None.

created

date

None.

modified

date

None.

Response Formats

application/json, text/json

Sample:
{
  "id": "sample string 1",
  "description": "sample string 2",
  "active": true,
  "type": "sample string 4",
  "min_amount": 5.1,
  "max_amount": 6.1,
  "currency": "sample string 7",
  "program_level": true,
  "created": "2024-07-13T04:51:41.6421322+00:00",
  "modified": "2024-07-13T04:51:41.6421322+00:00"
}

application/xml, text/xml

Sample:
<BalanceLimit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bankiom.Integrations.NYMCARD">
  <active>true</active>
  <created>2024-07-13T04:51:41.6421322+00:00</created>
  <currency>sample string 7</currency>
  <description>sample string 2</description>
  <id>sample string 1</id>
  <max_amount>6.1</max_amount>
  <min_amount>5.1</min_amount>
  <modified>2024-07-13T04:51:41.6421322+00:00</modified>
  <program_level>true</program_level>
  <type>sample string 4</type>
</BalanceLimit>