POST api/GOTransferRule/AddTransferRule

Request Information

URI Parameters

None.

Body Parameters

GOTransferRuleRequest
NameDescriptionTypeAdditional information
GOTransitTransferRuleID

integer

None.

iGOTransitTransferHeaderID

integer

None.

iClassID

integer

None.

tiDirection

integer

None.

dtTransferTimeStart

time interval

None.

dtTransferTimeEnd

time interval

None.

iBoardingTime

integer

None.

iCardType

integer

None.

vchValidDays

string

None.

dDiscountFee

decimal number

None.

dAdminFee

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "GOTransitTransferRuleID": 1,
  "iGOTransitTransferHeaderID": 2,
  "iClassID": 3,
  "tiDirection": 4,
  "dtTransferTimeStart": "00:00:00.1234567",
  "dtTransferTimeEnd": "00:00:00.1234567",
  "iBoardingTime": 7,
  "iCardType": 8,
  "vchValidDays": "sample string 9",
  "dDiscountFee": 10.0,
  "dAdminFee": 11.0
}

application/xml, text/xml

Sample:
<GOTransferRuleController.GOTransferRuleRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomerAPI.Controllers">
  <GOTransitTransferRuleID>1</GOTransitTransferRuleID>
  <dAdminFee>11</dAdminFee>
  <dDiscountFee>10</dDiscountFee>
  <dtTransferTimeEnd>PT0.1234567S</dtTransferTimeEnd>
  <dtTransferTimeStart>PT0.1234567S</dtTransferTimeStart>
  <iBoardingTime>7</iBoardingTime>
  <iCardType>8</iCardType>
  <iClassID>3</iClassID>
  <iGOTransitTransferHeaderID>2</iGOTransitTransferHeaderID>
  <tiDirection>4</tiDirection>
  <vchValidDays>sample string 9</vchValidDays>
</GOTransferRuleController.GOTransferRuleRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>