POST api/FposSwitchConfig

Request Information

URI Parameters

None.

Body Parameters

FposSwitchConfigReq
NameDescriptionTypeAdditional information
data

Collection of FposSwitchConfigData

None.

Request Formats

application/json, text/json

示例:
{
  "data": [
    {
      "type": 1,
      "status": 2,
      "channelList": [
        {
          "channelCode": "sample string 1"
        },
        {
          "channelCode": "sample string 1"
        }
      ]
    },
    {
      "type": 1,
      "status": 2,
      "channelList": [
        {
          "channelCode": "sample string 1"
        },
        {
          "channelCode": "sample string 1"
        }
      ]
    }
  ]
}

application/xml, text/xml

示例:
<FposSwitchConfigReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/F360Service.Models">
  <data>
    <FposSwitchConfigData>
      <channelList>
        <FposSwitchConfigDataChannelList>
          <channelCode>sample string 1</channelCode>
          <channelId>sample string 2</channelId>
        </FposSwitchConfigDataChannelList>
        <FposSwitchConfigDataChannelList>
          <channelCode>sample string 1</channelCode>
          <channelId>sample string 2</channelId>
        </FposSwitchConfigDataChannelList>
      </channelList>
      <status>2</status>
      <type>1</type>
    </FposSwitchConfigData>
    <FposSwitchConfigData>
      <channelList>
        <FposSwitchConfigDataChannelList>
          <channelCode>sample string 1</channelCode>
          <channelId>sample string 2</channelId>
        </FposSwitchConfigDataChannelList>
        <FposSwitchConfigDataChannelList>
          <channelCode>sample string 1</channelCode>
          <channelId>sample string 2</channelId>
        </FposSwitchConfigDataChannelList>
      </channelList>
      <status>2</status>
      <type>1</type>
    </FposSwitchConfigData>
  </data>
</FposSwitchConfigReq>

application/x-www-form-urlencoded

示例:

Sample not available.

Response Information

Resource Description

FResponse
NameDescriptionTypeAdditional information
Flag

string

None.

Message

string

None.

Response Formats

application/json, text/json

示例:
{
  "flag": "sample string 1",
  "message": "sample string 2"
}

application/xml, text/xml

示例:
<FResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/F360Service.Models">
  <Flag>sample string 1</Flag>
  <Message>sample string 2</Message>
</FResponse>