POST api/FortiGate/GuestCredentials

Request Information

URI Parameters

None.

Body Parameters

FortiGateGuestCredentialCreateRequest
NameDescriptionTypeAdditional information
LocationId

integer

None.

GuestName

string

None.

GuestEmail

string

None.

Request Formats

application/json, text/json

Sample:
{
  "LocationId": 1,
  "GuestName": "sample string 2",
  "GuestEmail": "sample string 3"
}

application/xml, text/xml

Sample:
<FortiGateGuestCredentialCreateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bluedock.Booking.Rest.Models.GuestRegistration">
  <GuestEmail>sample string 3</GuestEmail>
  <GuestName>sample string 2</GuestName>
  <LocationId>1</LocationId>
</FortiGateGuestCredentialCreateRequest>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.