POST api/FrontierWeb/Booking/SwapStops

Request Information

URI Parameters

None.

Body Parameters

SwapStopsRequest
NameDescriptionTypeAdditional information
OldIndex

integer

None.

NewIndex

integer

None.

BookingEquipmentWithDetails

Object

None.

UserName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "OldIndex": 1,
  "NewIndex": 2,
  "BookingEquipmentWithDetails": {},
  "UserName": "sample string 4"
}

text/html

Sample:
{"OldIndex":1,"NewIndex":2,"BookingEquipmentWithDetails":{},"UserName":"sample string 4"}

Response Information

Resource Description

GenericTransactionResponse
NameDescriptionTypeAdditional information
ReturnedObject

Object

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:
{
  "ReturnedObject": {},
  "IsSuccessful": true,
  "ReturnedMessages": null
}

text/html

Sample:
{"ReturnedObject":{},"IsSuccessful":true,"ReturnedMessages":null}