GET api/GOTransferRule/GetTransferRuleById?goTransitTransferRuleId={goTransitTransferRuleId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
goTransitTransferRuleId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of 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.

Response 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
  },
  {
    "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:
<ArrayOfGOTransferRuleController.GOTransferRuleRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomerAPI.Controllers">
  <GOTransferRuleController.GOTransferRuleRequest>
    <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>
  <GOTransferRuleController.GOTransferRuleRequest>
    <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>
</ArrayOfGOTransferRuleController.GOTransferRuleRequest>