DeleteReservations

DeleteReservations

Inputs (Array[]) inherits from EntityBase

Name

Type

Description

Mandatory

Available from version

Name

Type

Description

Mandatory

Available from version

BrickIds

Guid[]

 

 

 

Response(APIDeleteResponse) rows

Name

Type

Description

Available from version

Name

Type

Description

Available from version

Message

String

"OK" if objects where deleted, errormessage if something went wrong

 


Code examples

public static void DeleteReservation() { var binding = new BasicHttpBinding(); binding.MaxReceivedMessageSize = Int32.MaxValue; var config = GetConfig("2.27"); var target = new bfsapi.bfsapiSoapClient(binding, new EndpointAddress("http://localhost:20010/bfsapi.asmx")); var req = new DeleteReservationRequest(); req.Credentials = new bfsapi.Credentials { UserName = "username", Password = "password" }; req.identify = "identify"; var orderRef = Guid.NewGuid(); req.BrickIds = new[] {Guid.NewGuid()}; var resp = target.DeleteReservations(req); }