POST common/device/operations

Authorized only.

Request Information

URI Parameters

None.

Body Parameters

ApiPushRequestOfDeviceOperationApiModel
NameDescriptionTypeAdditional information
Inserted

Collection of DeviceOperationApiModel

None.

Updated

Collection of DeviceOperationApiModel

None.

Request Formats

application/json, text/json

Sample:
{
  "Inserted": [
    {
      "EmployeeId": 1,
      "CompanyId": 1,
      "DeviceId": 2,
      "DeviceUniqueId": "sample string 3",
      "OperationType": 4,
      "OperationData": "sample string 5",
      "CreatedBy": "sample string 6",
      "CreationDate": "2024-11-21T02:33:55.0981341-05:00",
      "IsCompleted": true,
      "InternalMobileId": 9,
      "Id": 1,
      "MobileId": 1,
      "IsInserted": true,
      "IsUpdated": true,
      "IsDeleted": true
    },
    {
      "EmployeeId": 1,
      "CompanyId": 1,
      "DeviceId": 2,
      "DeviceUniqueId": "sample string 3",
      "OperationType": 4,
      "OperationData": "sample string 5",
      "CreatedBy": "sample string 6",
      "CreationDate": "2024-11-21T02:33:55.0981341-05:00",
      "IsCompleted": true,
      "InternalMobileId": 9,
      "Id": 1,
      "MobileId": 1,
      "IsInserted": true,
      "IsUpdated": true,
      "IsDeleted": true
    }
  ],
  "Updated": [
    {
      "EmployeeId": 1,
      "CompanyId": 1,
      "DeviceId": 2,
      "DeviceUniqueId": "sample string 3",
      "OperationType": 4,
      "OperationData": "sample string 5",
      "CreatedBy": "sample string 6",
      "CreationDate": "2024-11-21T02:33:55.0981341-05:00",
      "IsCompleted": true,
      "InternalMobileId": 9,
      "Id": 1,
      "MobileId": 1,
      "IsInserted": true,
      "IsUpdated": true,
      "IsDeleted": true
    },
    {
      "EmployeeId": 1,
      "CompanyId": 1,
      "DeviceId": 2,
      "DeviceUniqueId": "sample string 3",
      "OperationType": 4,
      "OperationData": "sample string 5",
      "CreatedBy": "sample string 6",
      "CreationDate": "2024-11-21T02:33:55.0981341-05:00",
      "IsCompleted": true,
      "InternalMobileId": 9,
      "Id": 1,
      "MobileId": 1,
      "IsInserted": true,
      "IsUpdated": true,
      "IsDeleted": true
    }
  ]
}

application/xml, text/xml

Sample:
<ApiPushRequestOfDeviceOperationApiModeloHl3u_PPV 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.Common">
    <d2p1:DeviceOperationApiModel>
      <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">9</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.DeviceManagement">1</CompanyId>
      <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.DeviceManagement">sample string 6</CreatedBy>
      <CreationDate xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.DeviceManagement">2024-11-21T02:33:55.0981341-05:00</CreationDate>
      <DeviceId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.DeviceManagement">2</DeviceId>
      <DeviceUniqueId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.DeviceManagement">sample string 3</DeviceUniqueId>
      <EmployeeId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.DeviceManagement">1</EmployeeId>
      <IsCompleted xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.DeviceManagement">true</IsCompleted>
      <OperationData xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.DeviceManagement">sample string 5</OperationData>
      <OperationType xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.DeviceManagement">4</OperationType>
    </d2p1:DeviceOperationApiModel>
    <d2p1:DeviceOperationApiModel>
      <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">9</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.DeviceManagement">1</CompanyId>
      <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.DeviceManagement">sample string 6</CreatedBy>
      <CreationDate xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.DeviceManagement">2024-11-21T02:33:55.0981341-05:00</CreationDate>
      <DeviceId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.DeviceManagement">2</DeviceId>
      <DeviceUniqueId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.DeviceManagement">sample string 3</DeviceUniqueId>
      <EmployeeId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.DeviceManagement">1</EmployeeId>
      <IsCompleted xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.DeviceManagement">true</IsCompleted>
      <OperationData xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.DeviceManagement">sample string 5</OperationData>
      <OperationType xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.DeviceManagement">4</OperationType>
    </d2p1:DeviceOperationApiModel>
  </Inserted>
  <Updated xmlns:d2p1="http://schemas.datacontract.org/2004/07/IConnect.Data.Mapping.Mobile.Common">
    <d2p1:DeviceOperationApiModel>
      <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">9</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.DeviceManagement">1</CompanyId>
      <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.DeviceManagement">sample string 6</CreatedBy>
      <CreationDate xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.DeviceManagement">2024-11-21T02:33:55.0981341-05:00</CreationDate>
      <DeviceId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.DeviceManagement">2</DeviceId>
      <DeviceUniqueId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.DeviceManagement">sample string 3</DeviceUniqueId>
      <EmployeeId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.DeviceManagement">1</EmployeeId>
      <IsCompleted xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.DeviceManagement">true</IsCompleted>
      <OperationData xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.DeviceManagement">sample string 5</OperationData>
      <OperationType xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.DeviceManagement">4</OperationType>
    </d2p1:DeviceOperationApiModel>
    <d2p1:DeviceOperationApiModel>
      <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">9</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.DeviceManagement">1</CompanyId>
      <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.DeviceManagement">sample string 6</CreatedBy>
      <CreationDate xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.DeviceManagement">2024-11-21T02:33:55.0981341-05:00</CreationDate>
      <DeviceId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.DeviceManagement">2</DeviceId>
      <DeviceUniqueId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.DeviceManagement">sample string 3</DeviceUniqueId>
      <EmployeeId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.DeviceManagement">1</EmployeeId>
      <IsCompleted xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.DeviceManagement">true</IsCompleted>
      <OperationData xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.DeviceManagement">sample string 5</OperationData>
      <OperationType xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.DeviceManagement">4</OperationType>
    </d2p1:DeviceOperationApiModel>
  </Updated>
</ApiPushRequestOfDeviceOperationApiModeloHl3u_PPV>

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.