POST api/Finance/CanUsePaymentTypes/Get

Request Information

URI Parameters

None.

Body Parameters

GetPaymentTypesParm
NameDescriptionTypeAdditional information
tickettypes

Collection of globally unique identifier

None.

dwlx

string

None.

dwid

string

None.

guidernum

string

None.

busitype

string

Required

sellstaionid

string

None.

merchantid

integer

None.

shopidordepotid

string

None.

tradefrom

string

None.

Request Formats

application/json, text/json

Sample:
{
  "tickettypes": [
    "d8174ef0-efff-41dd-aeba-5d6fc1544075",
    "2f211194-54fc-4b6b-8f00-aa25b8bb5e32"
  ],
  "dwlx": "sample string 1",
  "dwid": "sample string 2",
  "guidernum": "sample string 3",
  "busitype": "sample string 4",
  "sellstaionid": "sample string 5",
  "merchantid": 6,
  "shopidordepotid": "sample string 7",
  "tradefrom": "sample string 8"
}

application/xml, text/xml

Sample:
<GetPaymentTypesParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm">
  <busitype>sample string 4</busitype>
  <dwid>sample string 2</dwid>
  <dwlx>sample string 1</dwlx>
  <guidernum>sample string 3</guidernum>
  <merchantid>6</merchantid>
  <sellstaionid>sample string 5</sellstaionid>
  <shopidordepotid>sample string 7</shopidordepotid>
  <tickettypes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:guid>d8174ef0-efff-41dd-aeba-5d6fc1544075</d2p1:guid>
    <d2p1:guid>2f211194-54fc-4b6b-8f00-aa25b8bb5e32</d2p1:guid>
  </tickettypes>
  <tradefrom>sample string 8</tradefrom>
</GetPaymentTypesParm>

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

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

Response Information

Resource Description

CommonOperationResultWithTagOfT_DIC_FKFSDataTable
NameDescriptionTypeAdditional information
errcode

integer

None.

errmsg

string

None.

tag

Collection of Object

None.

Response Formats

application/json, text/json

Sample:
{
  "errcode": 1,
  "errmsg": "sample string 2",
  "tag": null
}

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.