POST api/ValetAdmin/Valet/Activity/Assign

Request Information

URI Parameters

None.

Body Parameters

IdSessionIdBindingModelOfGuid
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

SessionId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "544dd3af14634f9cb56ab65be594fbe3",
  "SessionId": "f3e100d6a66c46d48fab2f5a9b6a305e"
}

application/xml, text/xml

Sample:
<IdSessionIdBindingModelOfguid xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParkJet.Models.BindingModels">
  <SessionId>f3e100d6-a66c-46d4-8fab-2f5a9b6a305e</SessionId>
  <Id>544dd3af-1463-4f9c-b56a-b65be594fbe3</Id>
</IdSessionIdBindingModelOfguid>

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 'IdSessionIdBindingModel`1'.

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>