POST api/MRide/SpSaveLocation

Request Information

URI Parameters

None.

Body Parameters

SaveLocation
NameDescriptionTypeAdditional information
UserID

integer

None.

UserTypeID

integer

None.

Latitude

string

None.

Longitude

string

None.

LocationName

string

None.

LocationPurpose

string

None.

Detail

string

None.

Apartment

string

None.

DeliveryOption

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserID": 1,
  "UserTypeID": 2,
  "Latitude": "sample string 3",
  "Longitude": "sample string 4",
  "LocationName": "sample string 5",
  "LocationPurpose": "sample string 6",
  "Detail": "sample string 7",
  "Apartment": "sample string 8",
  "DeliveryOption": "sample string 9"
}

application/xml, text/xml

Sample:
<SaveLocation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRide_API">
  <Apartment>sample string 8</Apartment>
  <DeliveryOption>sample string 9</DeliveryOption>
  <Detail>sample string 7</Detail>
  <Latitude>sample string 3</Latitude>
  <LocationName>sample string 5</LocationName>
  <LocationPurpose>sample string 6</LocationPurpose>
  <Longitude>sample string 4</Longitude>
  <UserID>1</UserID>
  <UserTypeID>2</UserTypeID>
</SaveLocation>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IAsyncResult
NameDescriptionTypeAdditional information
IsCompleted

boolean

None.

AsyncWaitHandle

WaitHandle

None.

AsyncState

Object

None.

CompletedSynchronously

boolean

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.