POST booking/customers

Authorized only.

Request Information

URI Parameters

None.

Body Parameters

ApiPushRequestOfBookingCustomerMapApiModel
NameDescriptionTypeAdditional information
Inserted

Collection of BookingCustomerMapApiModel

None.

Updated

Collection of BookingCustomerMapApiModel

None.

Request Formats

application/json, text/json

Sample:
{
  "Inserted": [
    {
      "BookingId": 1,
      "BookingMobileId": 1,
      "CustomerId": 2,
      "CustomerMobileId": 1,
      "OrderId": 1,
      "OrderMobileId": 1,
      "OrderItemId": 1,
      "OrderItemMobileId": 1,
      "CustomerNoteId": 1,
      "CustomerNoteMobileId": 1,
      "InternalMobileId": 3,
      "Id": 1,
      "MobileId": 1,
      "IsInserted": true,
      "IsUpdated": true,
      "IsDeleted": true
    },
    {
      "BookingId": 1,
      "BookingMobileId": 1,
      "CustomerId": 2,
      "CustomerMobileId": 1,
      "OrderId": 1,
      "OrderMobileId": 1,
      "OrderItemId": 1,
      "OrderItemMobileId": 1,
      "CustomerNoteId": 1,
      "CustomerNoteMobileId": 1,
      "InternalMobileId": 3,
      "Id": 1,
      "MobileId": 1,
      "IsInserted": true,
      "IsUpdated": true,
      "IsDeleted": true
    }
  ],
  "Updated": [
    {
      "BookingId": 1,
      "BookingMobileId": 1,
      "CustomerId": 2,
      "CustomerMobileId": 1,
      "OrderId": 1,
      "OrderMobileId": 1,
      "OrderItemId": 1,
      "OrderItemMobileId": 1,
      "CustomerNoteId": 1,
      "CustomerNoteMobileId": 1,
      "InternalMobileId": 3,
      "Id": 1,
      "MobileId": 1,
      "IsInserted": true,
      "IsUpdated": true,
      "IsDeleted": true
    },
    {
      "BookingId": 1,
      "BookingMobileId": 1,
      "CustomerId": 2,
      "CustomerMobileId": 1,
      "OrderId": 1,
      "OrderMobileId": 1,
      "OrderItemId": 1,
      "OrderItemMobileId": 1,
      "CustomerNoteId": 1,
      "CustomerNoteMobileId": 1,
      "InternalMobileId": 3,
      "Id": 1,
      "MobileId": 1,
      "IsInserted": true,
      "IsUpdated": true,
      "IsDeleted": true
    }
  ]
}

application/xml, text/xml

Sample:
<ApiPushRequestOfBookingCustomerMapApiModelZtC3zNrU 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:BookingCustomerMapApiModel>
      <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">3</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>
      <CustomerId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">2</CustomerId>
      <CustomerMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">1</CustomerMobileId>
      <CustomerNoteId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">1</CustomerNoteId>
      <CustomerNoteMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">1</CustomerNoteMobileId>
      <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>
      <OrderItemMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">1</OrderItemMobileId>
      <OrderMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">1</OrderMobileId>
    </d2p1:BookingCustomerMapApiModel>
    <d2p1:BookingCustomerMapApiModel>
      <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">3</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>
      <CustomerId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">2</CustomerId>
      <CustomerMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">1</CustomerMobileId>
      <CustomerNoteId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">1</CustomerNoteId>
      <CustomerNoteMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">1</CustomerNoteMobileId>
      <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>
      <OrderItemMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">1</OrderItemMobileId>
      <OrderMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">1</OrderMobileId>
    </d2p1:BookingCustomerMapApiModel>
  </Inserted>
  <Updated xmlns:d2p1="http://schemas.datacontract.org/2004/07/IConnect.Data.Mapping.Mobile.Booking">
    <d2p1:BookingCustomerMapApiModel>
      <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">3</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>
      <CustomerId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">2</CustomerId>
      <CustomerMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">1</CustomerMobileId>
      <CustomerNoteId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">1</CustomerNoteId>
      <CustomerNoteMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">1</CustomerNoteMobileId>
      <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>
      <OrderItemMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">1</OrderItemMobileId>
      <OrderMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">1</OrderMobileId>
    </d2p1:BookingCustomerMapApiModel>
    <d2p1:BookingCustomerMapApiModel>
      <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">3</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>
      <CustomerId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">2</CustomerId>
      <CustomerMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">1</CustomerMobileId>
      <CustomerNoteId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">1</CustomerNoteId>
      <CustomerNoteMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">1</CustomerNoteMobileId>
      <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>
      <OrderItemMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">1</OrderItemMobileId>
      <OrderMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">1</OrderMobileId>
    </d2p1:BookingCustomerMapApiModel>
  </Updated>
</ApiPushRequestOfBookingCustomerMapApiModelZtC3zNrU>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.