POST api/ValetAdmin/SelectedValetLocation/Update

Request Information

URI Parameters

None.

Body Parameters

UpdateManaginLocationBindingModel
NameDescriptionTypeAdditional information
ManagingLocationId

globally unique identifier

None.

RefreshToken

string

Required

PhoneNumber

string

Required

String length: inclusive between 0 and 10

Request Formats

application/json, text/json

Sample:
{
  "ManagingLocationId": "3351481031004c75b2ecac574661ff1a",
  "RefreshToken": "sample string 2",
  "PhoneNumber": "sample string 3"
}

application/xml, text/xml

Sample:
<UpdateManaginLocationBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParkJet.Models.BindingModels">
  <PhoneNumber>sample string 3</PhoneNumber>
  <RefreshToken>sample string 2</RefreshToken>
  <ManagingLocationId>33514810-3100-4c75-b2ec-ac574661ff1a</ManagingLocationId>
</UpdateManaginLocationBindingModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'UpdateManaginLocationBindingModel'.

Response Information

Resource Description

ServiceResponse
NameDescriptionTypeAdditional information
Success

boolean

None.

MessageId

integer

None.

Message

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "MessageId": 899,
  "Message": "\r\n",
  "Data": {}
}

application/xml, text/xml

Sample:
<ServiceResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParkJet.Services.Response">
  <MessageLog xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string></d2p1:string>
    <d2p1:string></d2p1:string>
  </MessageLog>
</ServiceResponse>