POST api/Ride/AcceptOffer

Request Information

URI Parameters

None.

Body Parameters

LiteRideOfferResponse
NameDescriptionTypeAdditional information
Id

integer

None.

RideId

integer

Required

UserId

string

None.

UserFullName

string

None.

UserFirstName

string

None.

UserLastName

string

None.

UserAddress

string

None.

UserAddressLat

decimal number

None.

UserAddressLng

decimal number

None.

UserPhoneNumber

string

None.

UserProfileImageThumbnail

Collection of byte

None.

Seats

byte

Required

Notes

string

None.

Status

byte

None.

AlternativeAddressLine1

string

None.

AlternativeAddressLine2

string

None.

AlternativeAddressCity

string

None.

AlternativeAddressPostCode

string

None.

AlternativeAddressLat

decimal number

None.

AlternativeAddressLng

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "RideId": 2,
  "UserId": "sample string 3",
  "UserFullName": "sample string 4",
  "UserFirstName": "sample string 5",
  "UserLastName": "sample string 6",
  "UserAddress": "sample string 7",
  "UserAddressLat": 1.0,
  "UserAddressLng": 1.0,
  "UserPhoneNumber": "sample string 8",
  "UserProfileImageThumbnail": "QEA=",
  "Seats": 64,
  "Notes": "sample string 10",
  "Status": 64,
  "AlternativeAddressLine1": "sample string 12",
  "AlternativeAddressLine2": "sample string 13",
  "AlternativeAddressCity": "sample string 14",
  "AlternativeAddressPostCode": "sample string 15",
  "AlternativeAddressLat": 1.0,
  "AlternativeAddressLng": 1.0
}

application/xml, text/xml

Sample:
<LiteRideOfferResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HubApi.Models.Hub.Api">
  <AlternativeAddressCity>sample string 14</AlternativeAddressCity>
  <AlternativeAddressLat>1</AlternativeAddressLat>
  <AlternativeAddressLine1>sample string 12</AlternativeAddressLine1>
  <AlternativeAddressLine2>sample string 13</AlternativeAddressLine2>
  <AlternativeAddressLng>1</AlternativeAddressLng>
  <AlternativeAddressPostCode>sample string 15</AlternativeAddressPostCode>
  <Id>1</Id>
  <Notes>sample string 10</Notes>
  <RideId>2</RideId>
  <Seats>64</Seats>
  <Status>64</Status>
  <UserAddress>sample string 7</UserAddress>
  <UserAddressLat>1</UserAddressLat>
  <UserAddressLng>1</UserAddressLng>
  <UserFirstName>sample string 5</UserFirstName>
  <UserFullName>sample string 4</UserFullName>
  <UserId>sample string 3</UserId>
  <UserLastName>sample string 6</UserLastName>
  <UserPhoneNumber>sample string 8</UserPhoneNumber>
  <UserProfileImageThumbnail>QEA=</UserProfileImageThumbnail>
</LiteRideOfferResponse>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.