POST booking/headers

Authorized only.

Request Information

URI Parameters

None.

Body Parameters

ApiPushRequestOfBookingHeaderApiModel
NameDescriptionTypeAdditional information
Inserted

Collection of BookingHeaderApiModel

None.

Updated

Collection of BookingHeaderApiModel

None.

Request Formats

application/json, text/json

Sample:
{
  "Inserted": [
    {
      "Data": "sample string 1",
      "InternalMobileId": 2,
      "Id": 1,
      "MobileId": 1,
      "IsInserted": true,
      "IsUpdated": true,
      "IsDeleted": true
    },
    {
      "Data": "sample string 1",
      "InternalMobileId": 2,
      "Id": 1,
      "MobileId": 1,
      "IsInserted": true,
      "IsUpdated": true,
      "IsDeleted": true
    }
  ],
  "Updated": [
    {
      "Data": "sample string 1",
      "InternalMobileId": 2,
      "Id": 1,
      "MobileId": 1,
      "IsInserted": true,
      "IsUpdated": true,
      "IsDeleted": true
    },
    {
      "Data": "sample string 1",
      "InternalMobileId": 2,
      "Id": 1,
      "MobileId": 1,
      "IsInserted": true,
      "IsUpdated": true,
      "IsDeleted": true
    }
  ]
}

application/xml, text/xml

Sample:
<ApiPushRequestOfBookingHeaderApiModelZtC3zNrU 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:BookingHeaderApiModel>
      <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">2</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>
      <Data xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">sample string 1</Data>
    </d2p1:BookingHeaderApiModel>
    <d2p1:BookingHeaderApiModel>
      <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">2</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>
      <Data xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">sample string 1</Data>
    </d2p1:BookingHeaderApiModel>
  </Inserted>
  <Updated xmlns:d2p1="http://schemas.datacontract.org/2004/07/IConnect.Data.Mapping.Mobile.Booking">
    <d2p1:BookingHeaderApiModel>
      <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">2</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>
      <Data xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">sample string 1</Data>
    </d2p1:BookingHeaderApiModel>
    <d2p1:BookingHeaderApiModel>
      <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">2</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>
      <Data xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Booking">sample string 1</Data>
    </d2p1:BookingHeaderApiModel>
  </Updated>
</ApiPushRequestOfBookingHeaderApiModelZtC3zNrU>

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.