POST Order/GetPaymentList

Request Information

URI Parameters

None.

Body Parameters

PaymentRequestModel
NameDescriptionTypeAdditional information
PaymentId

integer

None.

OrderId

integer

None.

OrderCode

string

None.

PaymentCode

string

None.

PaymentTypeId

integer

None.

Total

decimal number

None.

CustomerTitle

string

None.

CustomerCode

string

None.

FullName

string

None.

Phone

string

None.

Email

string

None.

PaymentNote

string

None.

AddressInfo

AddressModel

None.

CardInfo

CardModel

None.

BankInfo

BankModel

None.

TerminalNumber

string

None.

TransferTypeId

integer

None.

IsTransfer

boolean

None.

PaymentResultId

integer

None.

LocationId

integer

None.

OrderStartDate

string

None.

ApiInfo

ApiModel

None.

Request Formats

application/json, text/json

Sample:
{
  "PaymentId": 1,
  "OrderId": 2,
  "OrderCode": "sample string 3",
  "PaymentCode": "sample string 4",
  "PaymentTypeId": 5,
  "Total": 6.0,
  "CustomerTitle": "sample string 7",
  "CustomerCode": "sample string 8",
  "FullName": "sample string 9",
  "Phone": "sample string 10",
  "Email": "sample string 11",
  "PaymentNote": "sample string 12",
  "AddressInfo": {
    "FullAddress": "sample string 1",
    "AddressCity": "sample string 2",
    "AddressState": "sample string 3",
    "AddressZip": "sample string 4",
    "AddressCountry": "sample string 5"
  },
  "CardInfo": {
    "CardNumber": "sample string 1",
    "CardCvv2": "sample string 2",
    "CardExpirationMonth": "sample string 3",
    "CardExpirationYear": "sample string 4"
  },
  "BankInfo": {
    "AccountNumber": "sample string 1",
    "RoutingNumber": "sample string 2",
    "BankName": "sample string 3",
    "AccountType": "sample string 4",
    "BankHolderType": "sample string 5"
  },
  "TerminalNumber": "sample string 13",
  "TransferTypeId": 14,
  "IsTransfer": true,
  "PaymentResultId": 16,
  "LocationId": 17,
  "OrderStartDate": "sample string 18",
  "ApiInfo": {
    "ApiId": 1,
    "ApiName": "sample string 2",
    "ApiTypeId": 3,
    "ApiUrl": "sample string 4",
    "ClientId": "sample string 5",
    "UserCode": "sample string 6",
    "ApiKey": "sample string 7",
    "ClientSecret": "sample string 8",
    "IsActive": 9,
    "ApiType": "sample string 10"
  }
}

application/xml, text/xml

Sample:
<PaymentRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KitchenERP.Model">
  <AddressInfo xmlns:d2p1="http://schemas.datacontract.org/2004/07/KitchenERP.Model.Address">
    <d2p1:AddressCity>sample string 2</d2p1:AddressCity>
    <d2p1:AddressCountry>sample string 5</d2p1:AddressCountry>
    <d2p1:AddressState>sample string 3</d2p1:AddressState>
    <d2p1:AddressZip>sample string 4</d2p1:AddressZip>
    <d2p1:FullAddress>sample string 1</d2p1:FullAddress>
  </AddressInfo>
  <ApiInfo>
    <ApiId>1</ApiId>
    <ApiKey>sample string 7</ApiKey>
    <ApiName>sample string 2</ApiName>
    <ApiType>sample string 10</ApiType>
    <ApiTypeId>3</ApiTypeId>
    <ApiUrl>sample string 4</ApiUrl>
    <ClientId>sample string 5</ClientId>
    <ClientSecret>sample string 8</ClientSecret>
    <IsActive>9</IsActive>
    <UserCode>sample string 6</UserCode>
  </ApiInfo>
  <BankInfo>
    <AccountNumber>sample string 1</AccountNumber>
    <AccountType>sample string 4</AccountType>
    <BankHolderType>sample string 5</BankHolderType>
    <BankName>sample string 3</BankName>
    <RoutingNumber>sample string 2</RoutingNumber>
  </BankInfo>
  <CardInfo>
    <CardCvv2>sample string 2</CardCvv2>
    <CardExpirationMonth>sample string 3</CardExpirationMonth>
    <CardExpirationYear>sample string 4</CardExpirationYear>
    <CardNumber>sample string 1</CardNumber>
  </CardInfo>
  <CustomerCode>sample string 8</CustomerCode>
  <CustomerTitle>sample string 7</CustomerTitle>
  <Email>sample string 11</Email>
  <FullName>sample string 9</FullName>
  <IsTransfer>true</IsTransfer>
  <LocationId>17</LocationId>
  <OrderCode>sample string 3</OrderCode>
  <OrderId>2</OrderId>
  <OrderStartDate>sample string 18</OrderStartDate>
  <PaymentCode>sample string 4</PaymentCode>
  <PaymentId>1</PaymentId>
  <PaymentNote>sample string 12</PaymentNote>
  <PaymentResultId>16</PaymentResultId>
  <PaymentTypeId>5</PaymentTypeId>
  <Phone>sample string 10</Phone>
  <TerminalNumber>sample string 13</TerminalNumber>
  <Total>6</Total>
  <TransferTypeId>14</TransferTypeId>
</PaymentRequestModel>

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

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />