POST api/Mobile/MobileSync

Create entry in the MobileSyncTable

Request Information

URI Parameters

None.

Body Parameters

Collection of IBMS_Cloud_API.Controllers.MobileSyncController+MobileSync
NameDescriptionTypeAdditional information
HandsetID

integer

None.

EmployeeID

integer

None.

SyncDateTime

date

None.

ProcessStatusID

integer

None.

DataTypeID

integer

None.

XMLData

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "HandsetID": 1,
    "EmployeeID": 2,
    "SyncDateTime": "2025-04-28T15:13:37.346463+01:00",
    "ProcessStatusID": 4,
    "DataTypeID": 5,
    "XMLData": "sample string 6"
  },
  {
    "HandsetID": 1,
    "EmployeeID": 2,
    "SyncDateTime": "2025-04-28T15:13:37.346463+01:00",
    "ProcessStatusID": 4,
    "DataTypeID": 5,
    "XMLData": "sample string 6"
  }
]

text/html

Sample:
[{"HandsetID":1,"EmployeeID":2,"SyncDateTime":"2025-04-28T15:13:37.346463+01:00","ProcessStatusID":4,"DataTypeID":5,"XMLData":"sample string 6"},{"HandsetID":1,"EmployeeID":2,"SyncDateTime":"2025-04-28T15:13:37.346463+01:00","ProcessStatusID":4,"DataTypeID":5,"XMLData":"sample string 6"}]

application/xml, text/xml

Sample:
<ArrayOfMobileSyncController.MobileSync xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IBMS_Cloud_API.Controllers">
  <MobileSyncController.MobileSync>
    <DataTypeID>5</DataTypeID>
    <EmployeeID>2</EmployeeID>
    <HandsetID>1</HandsetID>
    <ProcessStatusID>4</ProcessStatusID>
    <SyncDateTime>2025-04-28T15:13:37.346463+01:00</SyncDateTime>
    <XMLData>sample string 6</XMLData>
  </MobileSyncController.MobileSync>
  <MobileSyncController.MobileSync>
    <DataTypeID>5</DataTypeID>
    <EmployeeID>2</EmployeeID>
    <HandsetID>1</HandsetID>
    <ProcessStatusID>4</ProcessStatusID>
    <SyncDateTime>2025-04-28T15:13:37.346463+01:00</SyncDateTime>
    <XMLData>sample string 6</XMLData>
  </MobileSyncController.MobileSync>
</ArrayOfMobileSyncController.MobileSync>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of IBMS_Cloud_API.Controllers.MobileSyncController+MobileSync
NameDescriptionTypeAdditional information
HandsetID

integer

None.

EmployeeID

integer

None.

SyncDateTime

date

None.

ProcessStatusID

integer

None.

DataTypeID

integer

None.

XMLData

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "HandsetID": 1,
    "EmployeeID": 2,
    "SyncDateTime": "2025-04-28T15:13:37.362166+01:00",
    "ProcessStatusID": 4,
    "DataTypeID": 5,
    "XMLData": "sample string 6"
  },
  {
    "HandsetID": 1,
    "EmployeeID": 2,
    "SyncDateTime": "2025-04-28T15:13:37.362166+01:00",
    "ProcessStatusID": 4,
    "DataTypeID": 5,
    "XMLData": "sample string 6"
  }
]

text/html

Sample:
[{"HandsetID":1,"EmployeeID":2,"SyncDateTime":"2025-04-28T15:13:37.362166+01:00","ProcessStatusID":4,"DataTypeID":5,"XMLData":"sample string 6"},{"HandsetID":1,"EmployeeID":2,"SyncDateTime":"2025-04-28T15:13:37.362166+01:00","ProcessStatusID":4,"DataTypeID":5,"XMLData":"sample string 6"}]

application/xml, text/xml

Sample:
<ArrayOfMobileSyncController.MobileSync xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IBMS_Cloud_API.Controllers">
  <MobileSyncController.MobileSync>
    <DataTypeID>5</DataTypeID>
    <EmployeeID>2</EmployeeID>
    <HandsetID>1</HandsetID>
    <ProcessStatusID>4</ProcessStatusID>
    <SyncDateTime>2025-04-28T15:13:37.362166+01:00</SyncDateTime>
    <XMLData>sample string 6</XMLData>
  </MobileSyncController.MobileSync>
  <MobileSyncController.MobileSync>
    <DataTypeID>5</DataTypeID>
    <EmployeeID>2</EmployeeID>
    <HandsetID>1</HandsetID>
    <ProcessStatusID>4</ProcessStatusID>
    <SyncDateTime>2025-04-28T15:13:37.362166+01:00</SyncDateTime>
    <XMLData>sample string 6</XMLData>
  </MobileSyncController.MobileSync>
</ArrayOfMobileSyncController.MobileSync>