POST api/PaymentAccounts/CRUD

Add/Update/Delete PaymentAccounts

Request Information

URI Parameters

None.

Body Parameters

String Array of PaymentAccounts Names And Information(Mandatory)

Collection of PaymentAccountsInfo
NameDescriptionTypeAdditional information
PaymentAccountId

integer

None.

PaymentMethod

string

None.

PaymentLink

string

None.

Description

string

None.

Gateway

string

None.

PaymentAccountName

string

None.

IsActive

boolean

None.

IsDeleted

boolean

None.

Deleted

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "PaymentAccountId": 1,
    "PaymentMethod": "sample string 1",
    "PaymentLink": "sample string 2",
    "Description": "sample string 3",
    "Gateway": "sample string 4",
    "PaymentAccountName": "sample string 5",
    "IsActive": true,
    "IsDeleted": true,
    "Deleted": 1
  },
  {
    "PaymentAccountId": 1,
    "PaymentMethod": "sample string 1",
    "PaymentLink": "sample string 2",
    "Description": "sample string 3",
    "Gateway": "sample string 4",
    "PaymentAccountName": "sample string 5",
    "IsActive": true,
    "IsDeleted": true,
    "Deleted": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfPaymentAccountsInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/">
  <PaymentAccountsInfo>
    <Deleted>1</Deleted>
    <Description>sample string 3</Description>
    <Gateway>sample string 4</Gateway>
    <IsActive>true</IsActive>
    <IsDeleted>true</IsDeleted>
    <PaymentAccountId>1</PaymentAccountId>
    <PaymentAccountName>sample string 5</PaymentAccountName>
    <PaymentLink>sample string 2</PaymentLink>
    <PaymentMethod>sample string 1</PaymentMethod>
  </PaymentAccountsInfo>
  <PaymentAccountsInfo>
    <Deleted>1</Deleted>
    <Description>sample string 3</Description>
    <Gateway>sample string 4</Gateway>
    <IsActive>true</IsActive>
    <IsDeleted>true</IsDeleted>
    <PaymentAccountId>1</PaymentAccountId>
    <PaymentAccountName>sample string 5</PaymentAccountName>
    <PaymentLink>sample string 2</PaymentLink>
    <PaymentMethod>sample string 1</PaymentMethod>
  </PaymentAccountsInfo>
</ArrayOfPaymentAccountsInfo>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>