POST pos/pushpinpaddevices

Authorized only.

Request Information

URI Parameters

None.

Body Parameters

ApiPushRequestOfPinPadDeviceApiModel
NameDescriptionTypeAdditional information
Inserted

Collection of PinPadDeviceApiModel

None.

Updated

Collection of PinPadDeviceApiModel

None.

Request Formats

application/json, text/json

Sample:
{
  "Inserted": [
    {
      "CompanyId": 1,
      "DeviceType": 2,
      "DeviceName": "sample string 3",
      "DeviceIpAddress": "sample string 4",
      "DevicePortNumber": 5,
      "DeviceUId": "sample string 6",
      "DeviceProperties": "sample string 7",
      "ProviderId": 1,
      "InternalMobileId": 8,
      "Id": 1,
      "MobileId": 1,
      "IsInserted": true,
      "IsUpdated": true,
      "IsDeleted": true
    },
    {
      "CompanyId": 1,
      "DeviceType": 2,
      "DeviceName": "sample string 3",
      "DeviceIpAddress": "sample string 4",
      "DevicePortNumber": 5,
      "DeviceUId": "sample string 6",
      "DeviceProperties": "sample string 7",
      "ProviderId": 1,
      "InternalMobileId": 8,
      "Id": 1,
      "MobileId": 1,
      "IsInserted": true,
      "IsUpdated": true,
      "IsDeleted": true
    }
  ],
  "Updated": [
    {
      "CompanyId": 1,
      "DeviceType": 2,
      "DeviceName": "sample string 3",
      "DeviceIpAddress": "sample string 4",
      "DevicePortNumber": 5,
      "DeviceUId": "sample string 6",
      "DeviceProperties": "sample string 7",
      "ProviderId": 1,
      "InternalMobileId": 8,
      "Id": 1,
      "MobileId": 1,
      "IsInserted": true,
      "IsUpdated": true,
      "IsDeleted": true
    },
    {
      "CompanyId": 1,
      "DeviceType": 2,
      "DeviceName": "sample string 3",
      "DeviceIpAddress": "sample string 4",
      "DevicePortNumber": 5,
      "DeviceUId": "sample string 6",
      "DeviceProperties": "sample string 7",
      "ProviderId": 1,
      "InternalMobileId": 8,
      "Id": 1,
      "MobileId": 1,
      "IsInserted": true,
      "IsUpdated": true,
      "IsDeleted": true
    }
  ]
}

application/xml, text/xml

Sample:
<ApiPushRequestOfPinPadDeviceApiModelg0ihRoC4 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.Order">
    <d2p1:PinPadDeviceApiModel>
      <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">8</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>
      <CompanyId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.POS">1</CompanyId>
      <DeviceIpAddress xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.POS">sample string 4</DeviceIpAddress>
      <DeviceName xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.POS">sample string 3</DeviceName>
      <DevicePortNumber xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.POS">5</DevicePortNumber>
      <DeviceProperties xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.POS">sample string 7</DeviceProperties>
      <DeviceType xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.POS">2</DeviceType>
      <DeviceUId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.POS">sample string 6</DeviceUId>
      <ProviderId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.POS">1</ProviderId>
    </d2p1:PinPadDeviceApiModel>
    <d2p1:PinPadDeviceApiModel>
      <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">8</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>
      <CompanyId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.POS">1</CompanyId>
      <DeviceIpAddress xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.POS">sample string 4</DeviceIpAddress>
      <DeviceName xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.POS">sample string 3</DeviceName>
      <DevicePortNumber xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.POS">5</DevicePortNumber>
      <DeviceProperties xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.POS">sample string 7</DeviceProperties>
      <DeviceType xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.POS">2</DeviceType>
      <DeviceUId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.POS">sample string 6</DeviceUId>
      <ProviderId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.POS">1</ProviderId>
    </d2p1:PinPadDeviceApiModel>
  </Inserted>
  <Updated xmlns:d2p1="http://schemas.datacontract.org/2004/07/IConnect.Data.Mapping.Mobile.Order">
    <d2p1:PinPadDeviceApiModel>
      <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">8</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>
      <CompanyId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.POS">1</CompanyId>
      <DeviceIpAddress xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.POS">sample string 4</DeviceIpAddress>
      <DeviceName xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.POS">sample string 3</DeviceName>
      <DevicePortNumber xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.POS">5</DevicePortNumber>
      <DeviceProperties xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.POS">sample string 7</DeviceProperties>
      <DeviceType xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.POS">2</DeviceType>
      <DeviceUId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.POS">sample string 6</DeviceUId>
      <ProviderId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.POS">1</ProviderId>
    </d2p1:PinPadDeviceApiModel>
    <d2p1:PinPadDeviceApiModel>
      <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">8</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>
      <CompanyId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.POS">1</CompanyId>
      <DeviceIpAddress xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.POS">sample string 4</DeviceIpAddress>
      <DeviceName xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.POS">sample string 3</DeviceName>
      <DevicePortNumber xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.POS">5</DevicePortNumber>
      <DeviceProperties xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.POS">sample string 7</DeviceProperties>
      <DeviceType xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.POS">2</DeviceType>
      <DeviceUId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.POS">sample string 6</DeviceUId>
      <ProviderId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.POS">1</ProviderId>
    </d2p1:PinPadDeviceApiModel>
  </Updated>
</ApiPushRequestOfPinPadDeviceApiModelg0ihRoC4>

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.