POST api/Taxi/SetTaxiDriverTaxiService

Request Information

URI Parameters

None.

Body Parameters

TaxiService
NameDescriptionTypeAdditional information
iTaxiServiceID

integer

None.

dtRideDateTime

date

None.

vchStartPointAddr

string

None.

vchDestinationAddr

string

None.

vchPassengerName

string

None.

vchMobilityNumber

string

None.

tiMobilityDevice

integer

None.

tiCompanion

integer

None.

vchPassengerPhone

string

None.

vchPassengerEmail

string

None.

vchNote

string

None.

vchConfirmationNumber

string

None.

nvchTransitUserID

string

None.

tiStatus

integer

None.

iTaxiCompanyID

integer

None.

iTaxiDriverID

integer

None.

TaxiDriverName

string

None.

StatusValue

string

None.

dtCreationDateTime

date

None.

tiEmailSent

integer

None.

tiPaymentMethod

integer

None.

dFare

decimal number

None.

PassengerAmount

decimal number

None.

OperationDesc

string

None.

biCardID

integer

None.

tiCardType

integer

None.

TransitAmount

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "iTaxiServiceID": 1,
  "dtRideDateTime": "2024-11-16T23:11:16.7764904+00:00",
  "vchStartPointAddr": "sample string 3",
  "vchDestinationAddr": "sample string 4",
  "vchPassengerName": "sample string 5",
  "vchMobilityNumber": "sample string 6",
  "tiMobilityDevice": 7,
  "tiCompanion": 8,
  "vchPassengerPhone": "sample string 9",
  "vchPassengerEmail": "sample string 10",
  "vchNote": "sample string 11",
  "vchConfirmationNumber": "sample string 12",
  "nvchTransitUserID": "sample string 13",
  "tiStatus": 14,
  "iTaxiCompanyID": 15,
  "iTaxiDriverID": 16,
  "TaxiDriverName": "sample string 17",
  "StatusValue": "sample string 18",
  "dtCreationDateTime": "2024-11-16T23:11:16.7764904+00:00",
  "tiEmailSent": 20,
  "tiPaymentMethod": 21,
  "dFare": 22.0,
  "PassengerAmount": 23.0,
  "OperationDesc": "sample string 24",
  "biCardID": 25,
  "tiCardType": 26,
  "TransitAmount": 27.0
}

application/xml, text/xml

Sample:
<TaxiController.TaxiService xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomerAPI.Controllers">
  <OperationDesc>sample string 24</OperationDesc>
  <PassengerAmount>23</PassengerAmount>
  <StatusValue>sample string 18</StatusValue>
  <TaxiDriverName>sample string 17</TaxiDriverName>
  <TransitAmount>27</TransitAmount>
  <biCardID>25</biCardID>
  <dFare>22</dFare>
  <dtCreationDateTime>2024-11-16T23:11:16.7764904+00:00</dtCreationDateTime>
  <dtRideDateTime>2024-11-16T23:11:16.7764904+00:00</dtRideDateTime>
  <iTaxiCompanyID>15</iTaxiCompanyID>
  <iTaxiDriverID>16</iTaxiDriverID>
  <iTaxiServiceID>1</iTaxiServiceID>
  <nvchTransitUserID>sample string 13</nvchTransitUserID>
  <tiCardType>26</tiCardType>
  <tiCompanion>8</tiCompanion>
  <tiEmailSent>20</tiEmailSent>
  <tiMobilityDevice>7</tiMobilityDevice>
  <tiPaymentMethod>21</tiPaymentMethod>
  <tiStatus>14</tiStatus>
  <vchConfirmationNumber>sample string 12</vchConfirmationNumber>
  <vchDestinationAddr>sample string 4</vchDestinationAddr>
  <vchMobilityNumber>sample string 6</vchMobilityNumber>
  <vchNote>sample string 11</vchNote>
  <vchPassengerEmail>sample string 10</vchPassengerEmail>
  <vchPassengerName>sample string 5</vchPassengerName>
  <vchPassengerPhone>sample string 9</vchPassengerPhone>
  <vchStartPointAddr>sample string 3</vchStartPointAddr>
</TaxiController.TaxiService>

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>