POST api/AffilateEarning/WithdrawReqest?LocalCurrency={LocalCurrency}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
LocalCurrency

string

Required

Body Parameters

AffilateEarning
NameDescriptionTypeAdditional information
RecordNo

integer

None.

AffilateFK

integer

None.

Affilate

Affilate

None.

BankDetailFK

integer

None.

BankDetail

BankDetails

None.

Narration

string

None.

Credit

decimal number

None.

Debit

decimal number

None.

Currency

string

None.

CurrencyValue

decimal number

None.

CreatedOn

date

None.

UpdatedOn

date

None.

ProcessedBy

integer

None.

IsDeleted

boolean

None.

IsConfirmed

boolean

None.

PaymentStatusFK

integer

None.

PaymentStatus

PaymentStatus

None.

Request Formats

application/json, text/json

Sample:
{
  "RecordNo": 1,
  "AffilateFK": 2,
  "Affilate": {
    "RecordNo": 1,
    "AspNetUserFK": 2,
    "AffilateLink": "sample string 3",
    "RegistationDate": 4,
    "Commision": 5.0,
    "CreatedOn": "2024-12-21T23:15:09.5633408+00:00",
    "UpdatedOn": "2024-12-21T23:15:09.5633408+00:00",
    "IsDeleted": true
  },
  "BankDetailFK": 1,
  "BankDetail": {
    "RecordNo": 1,
    "AccountNumber": "sample string 2",
    "Bank": "sample string 3",
    "HolderName": "sample string 4",
    "AccountTypeFK": 5,
    "AspNetUsersFK": 6,
    "CreatedOn": "2024-12-21T23:15:09.5633408+00:00",
    "UpdatedOn": "2024-12-21T23:15:09.5633408+00:00",
    "IsDeleted": true
  },
  "Narration": "sample string 3",
  "Credit": 4.0,
  "Debit": 5.0,
  "Currency": "sample string 6",
  "CurrencyValue": 7.0,
  "CreatedOn": "2024-12-21T23:15:09.5633408+00:00",
  "UpdatedOn": "2024-12-21T23:15:09.5633408+00:00",
  "ProcessedBy": 1,
  "IsDeleted": true,
  "IsConfirmed": true,
  "PaymentStatusFK": 1,
  "PaymentStatus": {
    "RecordNo": 1,
    "PaymentStatusName": "sample string 2",
    "CreatedOn": "2024-12-21T23:15:09.5633408+00:00",
    "UpdatedOn": "2024-12-21T23:15:09.5633408+00:00",
    "IsDeleted": true,
    "IsIncrementedAmt": true,
    "SortOrder": 1
  }
}

application/xml, text/xml

Sample:
<AffilateEarning xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TrishAcademy.Models">
  <Affilate>
    <AffilateLink>sample string 3</AffilateLink>
    <AspNetUserFK>2</AspNetUserFK>
    <Commision>5</Commision>
    <CreatedOn>2024-12-21T23:15:09.5633408+00:00</CreatedOn>
    <IsDeleted>true</IsDeleted>
    <RecordNo>1</RecordNo>
    <RegistationDate>4</RegistationDate>
    <UpdatedOn>2024-12-21T23:15:09.5633408+00:00</UpdatedOn>
  </Affilate>
  <AffilateFK>2</AffilateFK>
  <BankDetail>
    <AccountNumber>sample string 2</AccountNumber>
    <AccountTypeFK>5</AccountTypeFK>
    <AspNetUsersFK>6</AspNetUsersFK>
    <Bank>sample string 3</Bank>
    <CreatedOn>2024-12-21T23:15:09.5633408+00:00</CreatedOn>
    <HolderName>sample string 4</HolderName>
    <IsDeleted>true</IsDeleted>
    <RecordNo>1</RecordNo>
    <UpdatedOn>2024-12-21T23:15:09.5633408+00:00</UpdatedOn>
  </BankDetail>
  <BankDetailFK>1</BankDetailFK>
  <CreatedOn>2024-12-21T23:15:09.5633408+00:00</CreatedOn>
  <Credit>4</Credit>
  <Currency>sample string 6</Currency>
  <CurrencyValue>7</CurrencyValue>
  <Debit>5</Debit>
  <IsConfirmed>true</IsConfirmed>
  <IsDeleted>true</IsDeleted>
  <Narration>sample string 3</Narration>
  <PaymentStatus>
    <CreatedOn>2024-12-21T23:15:09.5633408+00:00</CreatedOn>
    <IsDeleted>true</IsDeleted>
    <IsIncrementedAmt>true</IsIncrementedAmt>
    <PaymentStatusName>sample string 2</PaymentStatusName>
    <RecordNo>1</RecordNo>
    <SortOrder>1</SortOrder>
    <UpdatedOn>2024-12-21T23:15:09.5633408+00:00</UpdatedOn>
  </PaymentStatus>
  <PaymentStatusFK>1</PaymentStatusFK>
  <ProcessedBy>1</ProcessedBy>
  <RecordNo>1</RecordNo>
  <UpdatedOn>2024-12-21T23:15:09.5633408+00:00</UpdatedOn>
</AffilateEarning>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.