POST api/guest/update

Request Information

URI Parameters

None.

Body Parameters

Guest
NameDescriptionTypeAdditional information
GuestId

integer

None.

Code

string

None.

Title

string

None.

LastName

string

None.

FirstName

string

None.

Phone

string

None.

Email

string

None.

Gender

string

None.

Country

string

None.

State

string

None.

City

string

None.

EventName

string

None.

EventId

integer

None.

Active

boolean

None.

Deleted

boolean

None.

CreatedBy

string

String length: inclusive between 0 and 50

UpdatedBy

string

String length: inclusive between 0 and 50

CreatedOn

date

None.

UpdatedOn

date

None.

Request Formats

application/json, text/json

Sample:
{
  "GuestId": 1,
  "Code": "sample string 2",
  "Title": "sample string 3",
  "LastName": "sample string 4",
  "FirstName": "sample string 5",
  "Phone": "sample string 6",
  "Email": "sample string 7",
  "Gender": "sample string 8",
  "Country": "sample string 9",
  "State": "sample string 10",
  "City": "sample string 11",
  "EventName": "sample string 12",
  "EventId": 13,
  "Active": true,
  "Deleted": true,
  "CreatedBy": "sample string 16",
  "UpdatedBy": "sample string 17",
  "CreatedOn": "2022-09-26T11:51:07.0162585-05:00",
  "UpdatedOn": "2022-09-26T11:51:07.0162585-05:00"
}

text/xml

Sample:
<Guest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FullGospel.Common.Membership">
  <Active>true</Active>
  <City>sample string 11</City>
  <Code>sample string 2</Code>
  <Country>sample string 9</Country>
  <CreatedBy>sample string 16</CreatedBy>
  <CreatedOn>2022-09-26T11:51:07.0162585-05:00</CreatedOn>
  <Deleted>true</Deleted>
  <Email>sample string 7</Email>
  <EventId>13</EventId>
  <EventName>sample string 12</EventName>
  <FirstName>sample string 5</FirstName>
  <Gender>sample string 8</Gender>
  <GuestId>1</GuestId>
  <LastName>sample string 4</LastName>
  <Phone>sample string 6</Phone>
  <State>sample string 10</State>
  <Title>sample string 3</Title>
  <UpdatedBy>sample string 17</UpdatedBy>
  <UpdatedOn>2022-09-26T11:51:07.0162585-05:00</UpdatedOn>
</Guest>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/xml

Sample:

Sample not available.