POST api/Entities/AddBankAccount

Request Information

URI Parameters

None.

Body Parameters

NewEntityBankAccount
NameDescriptionTypeAdditional information
EntityCode

string

None.

NewAccount

AccountDetailsItem

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected for property 'CurrentAccountDetails' with type 'ConsoleAPI.Internal.Models.Entities.AccountDetailsItem'. Path 'NewAccount'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected for property 'CurrentAccountDetails' with type 'ConsoleAPI.Internal.Models.Entities.AccountDetailsItem'. Path 'NewAccount'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'ConsoleAPI.Internal.Models.Entities.AccountDetailsItem' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'ConsoleAPI.Internal.Models.Entities.AccountDetailsItem' contains cycles and cannot be serialized if reference tracking is disabled.

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

Response Information

Resource Description

EntityValidationResultOfAccountDetailsItem
NameDescriptionTypeAdditional information
Item

AccountDetailsItem

None.

Success

boolean

None.

ChangesFound

boolean

None.

Pending

boolean

None.

Errors

Collection of ItemValidation

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected for property 'CurrentAccountDetails' with type 'ConsoleAPI.Internal.Models.Entities.AccountDetailsItem'. Path 'Item'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected for property 'CurrentAccountDetails' with type 'ConsoleAPI.Internal.Models.Entities.AccountDetailsItem'. Path 'Item'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'ConsoleAPI.Internal.Models.Entities.AccountDetailsItem' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'ConsoleAPI.Internal.Models.Entities.AccountDetailsItem' contains cycles and cannot be serialized if reference tracking is disabled.