POST bookings/addons
Authorized only.
Request Information
URI Parameters
None.
Body Parameters
ApiPushRequestOfBookingAddonApiModelName | Description | Type | Additional information |
---|---|---|---|
Inserted | Collection of BookingAddonApiModel |
None. |
|
Updated | Collection of BookingAddonApiModel |
None. |
Request Formats
application/json, text/json
Sample:
{ "Inserted": [ { "BookingId": 1, "BookingMobileId": 1, "ProductId": 2, "OrderId": 1, "OrderMId": 1, "OrderItemId": 1, "OrderItemMId": 1, "Price": 1.0, "CreatedDate": "2024-11-21T02:40:27.6970179-05:00", "ModifiedDate": "2024-11-21T02:40:27.6970179-05:00", "ModifiedBy": "sample string 4", "ProviderId": 1, "InternalMobileId": 5, "Id": 1, "MobileId": 1, "IsInserted": true, "IsUpdated": true, "IsDeleted": true }, { "BookingId": 1, "BookingMobileId": 1, "ProductId": 2, "OrderId": 1, "OrderMId": 1, "OrderItemId": 1, "OrderItemMId": 1, "Price": 1.0, "CreatedDate": "2024-11-21T02:40:27.6970179-05:00", "ModifiedDate": "2024-11-21T02:40:27.6970179-05:00", "ModifiedBy": "sample string 4", "ProviderId": 1, "InternalMobileId": 5, "Id": 1, "MobileId": 1, "IsInserted": true, "IsUpdated": true, "IsDeleted": true } ], "Updated": [ { "BookingId": 1, "BookingMobileId": 1, "ProductId": 2, "OrderId": 1, "OrderMId": 1, "OrderItemId": 1, "OrderItemMId": 1, "Price": 1.0, "CreatedDate": "2024-11-21T02:40:27.6970179-05:00", "ModifiedDate": "2024-11-21T02:40:27.6970179-05:00", "ModifiedBy": "sample string 4", "ProviderId": 1, "InternalMobileId": 5, "Id": 1, "MobileId": 1, "IsInserted": true, "IsUpdated": true, "IsDeleted": true }, { "BookingId": 1, "BookingMobileId": 1, "ProductId": 2, "OrderId": 1, "OrderMId": 1, "OrderItemId": 1, "OrderItemMId": 1, "Price": 1.0, "CreatedDate": "2024-11-21T02:40:27.6970179-05:00", "ModifiedDate": "2024-11-21T02:40:27.6970179-05:00", "ModifiedBy": "sample string 4", "ProviderId": 1, "InternalMobileId": 5, "Id": 1, "MobileId": 1, "IsInserted": true, "IsUpdated": true, "IsDeleted": true } ] }
application/xml, text/xml
Sample:
<ApiPushRequestOfBookingAddonApiModelZtC3zNrU xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Api"> <Inserted xmlns:d2p1="http://schemas.datacontract.org/2004/07/IConnect.Data.Mapping.Mobile.Booking"> <d2p1:BookingAddonApiModel> <Id xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">1</Id> <InternalMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">5</InternalMobileId> <IsDeleted xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsDeleted> <IsInserted xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsInserted> <IsUpdated xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsUpdated> <MobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">1</MobileId> <BookingId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">1</BookingId> <BookingMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">1</BookingMobileId> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">2024-11-21T02:40:27.6970179-05:00</CreatedDate> <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">sample string 4</ModifiedBy> <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">2024-11-21T02:40:27.6970179-05:00</ModifiedDate> <OrderId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">1</OrderId> <OrderItemId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">1</OrderItemId> <OrderItemMId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">1</OrderItemMId> <OrderMId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">1</OrderMId> <Price xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">1</Price> <ProductId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">2</ProductId> <ProviderId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">1</ProviderId> </d2p1:BookingAddonApiModel> <d2p1:BookingAddonApiModel> <Id xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">1</Id> <InternalMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">5</InternalMobileId> <IsDeleted xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsDeleted> <IsInserted xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsInserted> <IsUpdated xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsUpdated> <MobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">1</MobileId> <BookingId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">1</BookingId> <BookingMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">1</BookingMobileId> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">2024-11-21T02:40:27.6970179-05:00</CreatedDate> <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">sample string 4</ModifiedBy> <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">2024-11-21T02:40:27.6970179-05:00</ModifiedDate> <OrderId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">1</OrderId> <OrderItemId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">1</OrderItemId> <OrderItemMId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">1</OrderItemMId> <OrderMId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">1</OrderMId> <Price xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">1</Price> <ProductId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">2</ProductId> <ProviderId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">1</ProviderId> </d2p1:BookingAddonApiModel> </Inserted> <Updated xmlns:d2p1="http://schemas.datacontract.org/2004/07/IConnect.Data.Mapping.Mobile.Booking"> <d2p1:BookingAddonApiModel> <Id xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">1</Id> <InternalMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">5</InternalMobileId> <IsDeleted xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsDeleted> <IsInserted xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsInserted> <IsUpdated xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsUpdated> <MobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">1</MobileId> <BookingId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">1</BookingId> <BookingMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">1</BookingMobileId> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">2024-11-21T02:40:27.6970179-05:00</CreatedDate> <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">sample string 4</ModifiedBy> <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">2024-11-21T02:40:27.6970179-05:00</ModifiedDate> <OrderId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">1</OrderId> <OrderItemId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">1</OrderItemId> <OrderItemMId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">1</OrderItemMId> <OrderMId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">1</OrderMId> <Price xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">1</Price> <ProductId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">2</ProductId> <ProviderId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">1</ProviderId> </d2p1:BookingAddonApiModel> <d2p1:BookingAddonApiModel> <Id xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">1</Id> <InternalMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">5</InternalMobileId> <IsDeleted xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsDeleted> <IsInserted xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsInserted> <IsUpdated xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsUpdated> <MobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">1</MobileId> <BookingId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">1</BookingId> <BookingMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">1</BookingMobileId> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">2024-11-21T02:40:27.6970179-05:00</CreatedDate> <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">sample string 4</ModifiedBy> <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">2024-11-21T02:40:27.6970179-05:00</ModifiedDate> <OrderId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">1</OrderId> <OrderItemId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">1</OrderItemId> <OrderItemMId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">1</OrderItemMId> <OrderMId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">1</OrderMId> <Price xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">1</Price> <ProductId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">2</ProductId> <ProviderId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">1</ProviderId> </d2p1:BookingAddonApiModel> </Updated> </ApiPushRequestOfBookingAddonApiModelZtC3zNrU>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |