POST api/FrontierWeb/Booking/SaveBooking

Request Information

URI Parameters

None.

Body Parameters

GenericSaveRequest
NameDescriptionTypeAdditional information
ObjectToSave

Object

None.

ObjectTypeName

string

None.

ReturnSavedObject

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ObjectToSave": {},
  "ObjectTypeName": "sample string 2",
  "ReturnSavedObject": true
}

text/html

Sample:
{"ObjectToSave":{},"ObjectTypeName":"sample string 2","ReturnSavedObject":true}

Response Information

Resource Description

GenericSaveResponse
NameDescriptionTypeAdditional information
SaveAction

GenericSaveAction

None.

SavedObject

Object

None.

ObjectKeyString

string

None.

IsSuccessful

Indicates if the transaction was successful or not.

boolean

None.

ReturnedMessages

Contains a list of Informational, Warning, and/or Error messages regarding the outcome of the transaction.

Collection of ReturnedMessage

None.

Response Formats

application/json, text/json

Sample:
{
  "SaveAction": null,
  "SavedObject": {},
  "ObjectKeyString": "sample string 2",
  "IsSuccessful": true,
  "ReturnedMessages": null
}

text/html

Sample:
{"SaveAction":null,"SavedObject":{},"ObjectKeyString":"sample string 2","IsSuccessful":true,"ReturnedMessages":null}