POST api/Payment/return

Request Information

URI Parameters

None.

Body Parameters

PayCallBack
NameDescriptionTypeAdditional information
CrnId

string

None.

status

string

None.

Products

Collection of ProductModel

None.

id

string

None.

Total

string

None.

SubTotal

string

None.

BranchID

integer

None.

LoginId

string

None.

PaymentType

string

None.

IsVoucher

string

None.

UsedVoucher

string

None.

Amount

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CrnId": "sample string 1",
  "status": "sample string 2",
  "Products": [
    {
      "ID": 1,
      "Name": "sample string 2",
      "DiseaseName": "sample string 3",
      "ImagePath": "sample string 4",
      "DocumentPath": "sample string 5",
      "Cost": 6.1,
      "Charges": 7.1,
      "MOQ": 8,
      "ProdQty": 9,
      "TotalAmt": 10.1,
      "DepoStock": 11.1,
      "GST": 12.1,
      "GSTAmount": 13.1
    },
    {
      "ID": 1,
      "Name": "sample string 2",
      "DiseaseName": "sample string 3",
      "ImagePath": "sample string 4",
      "DocumentPath": "sample string 5",
      "Cost": 6.1,
      "Charges": 7.1,
      "MOQ": 8,
      "ProdQty": 9,
      "TotalAmt": 10.1,
      "DepoStock": 11.1,
      "GST": 12.1,
      "GSTAmount": 13.1
    }
  ],
  "id": "sample string 3",
  "Total": "sample string 4",
  "SubTotal": "sample string 5",
  "BranchID": 6,
  "LoginId": "sample string 7",
  "PaymentType": "sample string 8",
  "IsVoucher": "sample string 9",
  "UsedVoucher": "sample string 10",
  "Amount": "sample string 11"
}

application/xml, text/xml

Sample:
<PayCallBack xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AssociateAPI.Models">
  <Amount>sample string 11</Amount>
  <BranchID>6</BranchID>
  <CrnId>sample string 1</CrnId>
  <IsVoucher>sample string 9</IsVoucher>
  <LoginId>sample string 7</LoginId>
  <PaymentType>sample string 8</PaymentType>
  <Products>
    <ProductModel>
      <Charges>7.1</Charges>
      <Cost>6.1</Cost>
      <DepoStock>11.1</DepoStock>
      <DiseaseName>sample string 3</DiseaseName>
      <DocumentPath>sample string 5</DocumentPath>
      <GST>12.1</GST>
      <GSTAmount>13.1</GSTAmount>
      <ID>1</ID>
      <ImagePath>sample string 4</ImagePath>
      <MOQ>8</MOQ>
      <Name>sample string 2</Name>
      <ProdQty>9</ProdQty>
      <TotalAmt>10.1</TotalAmt>
    </ProductModel>
    <ProductModel>
      <Charges>7.1</Charges>
      <Cost>6.1</Cost>
      <DepoStock>11.1</DepoStock>
      <DiseaseName>sample string 3</DiseaseName>
      <DocumentPath>sample string 5</DocumentPath>
      <GST>12.1</GST>
      <GSTAmount>13.1</GSTAmount>
      <ID>1</ID>
      <ImagePath>sample string 4</ImagePath>
      <MOQ>8</MOQ>
      <Name>sample string 2</Name>
      <ProdQty>9</ProdQty>
      <TotalAmt>10.1</TotalAmt>
    </ProductModel>
  </Products>
  <SubTotal>sample string 5</SubTotal>
  <Total>sample string 4</Total>
  <UsedVoucher>sample string 10</UsedVoucher>
  <id>sample string 3</id>
  <status>sample string 2</status>
</PayCallBack>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.