POST api/Entities/AddNewFILimit

Request Information

URI Parameters

None.

Body Parameters

BankPerTransactionLimitModel
NameDescriptionTypeAdditional information
EntityCode

string

None.

NewLimit

BankPerTransactionLimit

None.

Request Formats

application/json, text/json

Sample:
{
  "EntityCode": "sample string 1",
  "NewLimit": {
    "Id": "4507a023-d439-43b9-a45f-5b8e14f1f1c6",
    "FinancialInstitutionID": "f7f0c448-1740-4040-8078-7a731719fe95",
    "FICode": "sample string 2",
    "BankName": "sample string 3",
    "Limit": 4.0,
    "CreatedDateTime": "2026-04-07T20:06:49.7890746+10:00",
    "ModifiedDateTime": "2026-04-07T20:06:49.7890746+10:00"
  }
}

application/xml, text/xml

Sample:
<BankPerTransactionLimitModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POLiConsoleAPI.External.Models.Entities">
  <EntityCode>sample string 1</EntityCode>
  <NewLimit xmlns:d2p1="http://schemas.datacontract.org/2004/07/ConsoleAPI.Internal.Models.Entities">
    <d2p1:BankName>sample string 3</d2p1:BankName>
    <d2p1:CreatedDateTime>2026-04-07T20:06:49.7890746+10:00</d2p1:CreatedDateTime>
    <d2p1:FICode>sample string 2</d2p1:FICode>
    <d2p1:FinancialInstitutionID>f7f0c448-1740-4040-8078-7a731719fe95</d2p1:FinancialInstitutionID>
    <d2p1:Id>4507a023-d439-43b9-a45f-5b8e14f1f1c6</d2p1:Id>
    <d2p1:Limit>4</d2p1:Limit>
    <d2p1:ModifiedDateTime>2026-04-07T20:06:49.7890746+10:00</d2p1:ModifiedDateTime>
  </NewLimit>
</BankPerTransactionLimitModel>

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

Response Information

Resource Description

EntityValidationResult
NameDescriptionTypeAdditional information
Success

boolean

None.

ChangesFound

boolean

None.

Pending

boolean

None.

Errors

Collection of ItemValidation

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "ChangesFound": true,
  "Pending": true,
  "Errors": [
    {
      "FieldName": "sample string 1",
      "Message": "sample string 2"
    },
    {
      "FieldName": "sample string 1",
      "Message": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<EntityValidationResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ConsoleAPI.Internal.Models.Entities">
  <ChangesFound>true</ChangesFound>
  <Errors>
    <ItemValidation>
      <FieldName>sample string 1</FieldName>
      <Message>sample string 2</Message>
    </ItemValidation>
    <ItemValidation>
      <FieldName>sample string 1</FieldName>
      <Message>sample string 2</Message>
    </ItemValidation>
  </Errors>
  <Pending>true</Pending>
  <Success>true</Success>
</EntityValidationResult>