POST api/SupplyChainService/CreatePayment?payType={payType}&orderAmount={orderAmount}&orderId={orderId}&type={type}&configSign={configSign}&memberId={memberId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
payType

integer

Required

orderAmount

integer

Required

orderId

string

Required

type

CashType

Default value is Transaction

configSign

integer

Default value is 0

memberId

string

Default value is

Body Parameters

PaymentRecordDTO
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Amount

decimal number

None.

SellerTenatName

string

Max length: 128

Seller

string

Max length: 128

SellerUserId

string

Max length: 128

BuyerTenatName

string

Max length: 128

Buyer

string

Max length: 128

BuyerUserId

string

Max length: 128

AccountStatementId

globally unique identifier

None.

AccountStatementNumber

string

None.

PayNumber

string

Max length: 128

IsConfirm

boolean

None.

PayableNumber

string

Max length: 128

Orders

Collection of PaymentOfOrderDTO

None.

IsDeleted

boolean

None.

CreatedBy

string

None.

CreatedDate

date

None.

ModifiedBy

string

None.

ModifiedDate

date

None.

TopDomainName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "7f08eed0-66d1-4b18-8d4a-bcba9208b71a",
  "Amount": 2.0,
  "SellerTenatName": "sample string 3",
  "Seller": "sample string 4",
  "SellerUserId": "sample string 5",
  "BuyerTenatName": "sample string 6",
  "Buyer": "sample string 7",
  "BuyerUserId": "sample string 8",
  "AccountStatementId": "ecf8bf28-2a96-440d-ba6d-8a53ce975bde",
  "AccountStatementNumber": "sample string 9",
  "PayNumber": "sample string 10",
  "IsConfirm": true,
  "PayableNumber": "sample string 12",
  "Orders": [
    {
      "$id": "2",
      "Id": "7d396833-e56b-4d76-9655-8cb9df2d567b",
      "PaymentRecordId": "e5a71706-5788-48df-8aaa-1c9ca029043a",
      "Amount": 3.0,
      "OrderNumber": "sample string 4",
      "PONumber": "sample string 5",
      "SONumber": "sample string 6",
      "IsDeleted": true,
      "CreatedBy": "sample string 8",
      "CreatedDate": "2021-10-24T15:14:14.0279742+00:00",
      "ModifiedBy": "sample string 10",
      "ModifiedDate": "2021-10-24T15:14:14.0279742+00:00",
      "TopDomainName": "sample string 12"
    },
    {
      "$ref": "2"
    }
  ],
  "IsDeleted": true,
  "CreatedBy": "sample string 14",
  "CreatedDate": "2021-10-24T15:14:14.0279742+00:00",
  "ModifiedBy": "sample string 16",
  "ModifiedDate": "2021-10-24T15:14:14.0279742+00:00",
  "TopDomainName": "sample string 18"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.