POST api/StockiestIndentStore/OfflinePayment

Request Information

URI Parameters

None.

Body Parameters

OfflinePaymentModels
NameDescriptionTypeAdditional information
OP_Id

integer

None.

OP_OrderId_FK

integer

None.

OP_OrderType

string

None.

OP_OrderNumber

string

None.

OP_OrderDate

date

None.

OP_ModeOfPayment

string

Required

OP_UTR_No

string

None.

OP_Verfied

string

None.

OP_VerfiedDate

date

None.

OP_VerficationNote

string

None.

OP_Cancelled

string

None.

OP_CancellationDate

date

None.

OP_CancellationNote

string

None.

OP_UserId_FK

integer

None.

OP_TS

date

None.

OP_Inactive

string

None.

OP_TS_LastEdited

date

None.

OP_TS_Edited_Uid_FK

integer

None.

CustomerPurchaseOrderSpeedSearch

CustomerPurchaseOrderSpeedSearchModels

None.

StockistPurchaseOrderSpeedSearch

StockistPurchaseOrderSpeedSearchModels

None.

BulkSalesOrderSpeedSearch

BulkSalesOrderSpeedSearchModels

None.

Request Formats

application/json, text/json

Sample:
{
  "OP_Id": 1,
  "OP_OrderId_FK": 2,
  "OP_OrderType": "sample string 3",
  "OP_OrderNumber": "sample string 4",
  "OP_OrderDate": "2024-03-28T19:05:58.45778+05:30",
  "OP_ModeOfPayment": "sample string 6",
  "OP_UTR_No": "sample string 7",
  "OP_Verfied": "sample string 8",
  "OP_VerfiedDate": "2024-03-28T19:05:58.45778+05:30",
  "OP_VerficationNote": "sample string 9",
  "OP_Cancelled": "sample string 10",
  "OP_CancellationDate": "2024-03-28T19:05:58.45778+05:30",
  "OP_CancellationNote": "sample string 11",
  "OP_UserId_FK": 12,
  "OP_TS": "2024-03-28T19:05:58.45778+05:30",
  "OP_Inactive": "sample string 14",
  "OP_TS_LastEdited": "2024-03-28T19:05:58.45778+05:30",
  "OP_TS_Edited_Uid_FK": 16,
  "CustomerPurchaseOrderSpeedSearch": {
    "COR_Id": 1,
    "COR_OrderNo": "sample string 2",
    "COR_Date": "2024-03-28T19:05:58.45778+05:30",
    "COR_CustomerName": "sample string 4",
    "TotalAmount": 5.0,
    "TotalCollectedAmount": 6.0,
    "CIV_Invoice_No": "sample string 7",
    "IsCreditPayment": "sample string 8"
  },
  "StockistPurchaseOrderSpeedSearch": {
    "POR_Id": 1,
    "POR_OrderNo": "sample string 2",
    "POR_Date": "2024-03-28T19:05:58.45778+05:30",
    "SK_Name": "sample string 4",
    "TotalAmount": 5.0,
    "TotalCollectedAmount": 6.0,
    "SIV_Invoice_No": "sample string 7",
    "IsCreditPayment": "sample string 8"
  },
  "BulkSalesOrderSpeedSearch": {
    "BS_Id": 1,
    "BS_OrderNo": "sample string 2",
    "BS_DateTime": "2024-03-28T19:05:58.45778+05:30",
    "BS_Name": "sample string 4",
    "TotalAmount": 5.0,
    "TotalCollectedAmount": 6.0,
    "BS_InvoiceNo": "sample string 7",
    "IsCreditPayment": "sample string 8"
  }
}

application/xml, text/xml

Sample:
<OfflinePaymentModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models">
  <BulkSalesOrderSpeedSearch xmlns:d2p1="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models.SpeedSearch">
    <d2p1:BS_DateTime>2024-03-28T19:05:58.45778+05:30</d2p1:BS_DateTime>
    <d2p1:BS_Id>1</d2p1:BS_Id>
    <d2p1:BS_InvoiceNo>sample string 7</d2p1:BS_InvoiceNo>
    <d2p1:BS_Name>sample string 4</d2p1:BS_Name>
    <d2p1:BS_OrderNo>sample string 2</d2p1:BS_OrderNo>
    <d2p1:IsCreditPayment>sample string 8</d2p1:IsCreditPayment>
    <d2p1:TotalAmount>5</d2p1:TotalAmount>
    <d2p1:TotalCollectedAmount>6</d2p1:TotalCollectedAmount>
  </BulkSalesOrderSpeedSearch>
  <CustomerPurchaseOrderSpeedSearch xmlns:d2p1="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models.SpeedSearch">
    <d2p1:CIV_Invoice_No>sample string 7</d2p1:CIV_Invoice_No>
    <d2p1:COR_CustomerName>sample string 4</d2p1:COR_CustomerName>
    <d2p1:COR_Date>2024-03-28T19:05:58.45778+05:30</d2p1:COR_Date>
    <d2p1:COR_Id>1</d2p1:COR_Id>
    <d2p1:COR_OrderNo>sample string 2</d2p1:COR_OrderNo>
    <d2p1:IsCreditPayment>sample string 8</d2p1:IsCreditPayment>
    <d2p1:TotalAmount>5</d2p1:TotalAmount>
    <d2p1:TotalCollectedAmount>6</d2p1:TotalCollectedAmount>
  </CustomerPurchaseOrderSpeedSearch>
  <OP_CancellationDate>2024-03-28T19:05:58.45778+05:30</OP_CancellationDate>
  <OP_CancellationNote>sample string 11</OP_CancellationNote>
  <OP_Cancelled>sample string 10</OP_Cancelled>
  <OP_Id>1</OP_Id>
  <OP_Inactive>sample string 14</OP_Inactive>
  <OP_ModeOfPayment>sample string 6</OP_ModeOfPayment>
  <OP_OrderDate>2024-03-28T19:05:58.45778+05:30</OP_OrderDate>
  <OP_OrderId_FK>2</OP_OrderId_FK>
  <OP_OrderNumber>sample string 4</OP_OrderNumber>
  <OP_OrderType>sample string 3</OP_OrderType>
  <OP_TS>2024-03-28T19:05:58.45778+05:30</OP_TS>
  <OP_TS_Edited_Uid_FK>16</OP_TS_Edited_Uid_FK>
  <OP_TS_LastEdited>2024-03-28T19:05:58.45778+05:30</OP_TS_LastEdited>
  <OP_UTR_No>sample string 7</OP_UTR_No>
  <OP_UserId_FK>12</OP_UserId_FK>
  <OP_VerficationNote>sample string 9</OP_VerficationNote>
  <OP_Verfied>sample string 8</OP_Verfied>
  <OP_VerfiedDate>2024-03-28T19:05:58.45778+05:30</OP_VerfiedDate>
  <StockistPurchaseOrderSpeedSearch xmlns:d2p1="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models.SpeedSearch">
    <d2p1:IsCreditPayment>sample string 8</d2p1:IsCreditPayment>
    <d2p1:POR_Date>2024-03-28T19:05:58.45778+05:30</d2p1:POR_Date>
    <d2p1:POR_Id>1</d2p1:POR_Id>
    <d2p1:POR_OrderNo>sample string 2</d2p1:POR_OrderNo>
    <d2p1:SIV_Invoice_No>sample string 7</d2p1:SIV_Invoice_No>
    <d2p1:SK_Name>sample string 4</d2p1:SK_Name>
    <d2p1:TotalAmount>5</d2p1:TotalAmount>
    <d2p1:TotalCollectedAmount>6</d2p1:TotalCollectedAmount>
  </StockistPurchaseOrderSpeedSearch>
</OfflinePaymentModels>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.