POST api/ValetAdmin/Valet/EditValetUser

Request Information

URI Parameters

None.

Body Parameters

EditValetUserBindingModel
NameDescriptionTypeAdditional information
FirstName

string

Required

LastName

string

Required

DeliveryLocationId

globally unique identifier

None.

HasFreeExitRight

boolean

Required

ProfilePicture

UserImage

None.

PostedProfilePictureFile

Collection of byte

None.

Id

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "a3f70c61224446b39029c8b5aaa489f2"
}

application/xml, text/xml

Sample:
<EditValetUserBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParkJet.Models.BindingModels">
  <Id>a3f70c61-2244-46b3-9029-c8b5aaa489f2</Id>
  <DeliveryLocationId>a4507483-3962-4200-9067-4133be4941da</DeliveryLocationId>
  <FirstName>sample string 1</FirstName>
  <HasFreeExitRight>true</HasFreeExitRight>
  <LastName>sample string 2</LastName>
  <PostedProfilePictureFile>QEA=</PostedProfilePictureFile>
  <ProfilePicture xmlns:d2p1="http://schemas.datacontract.org/2004/07/ParkJet.Models" i:nil="true" />
</EditValetUserBindingModel>

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 'EditValetUserBindingModel'.

multipart/form-data

Sample:

Failed to generate the sample for media type 'multipart/form-data'. Cannot use formatter 'MultiPartMediaTypeFormatter`1' to write type 'EditValetUserBindingModel'.

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>