POST API/V1/Mobile/SyncReadCustomization

Request Information

URI Parameters

None.

Body Parameters

iMDsoft.API.Controllers.Mobile.Data.SyncObjectReadRequestBundleCustomization
NameDescriptionTypeAdditional information
LogicalUnitIds

Collection of integer

None.

LanguageId

integer

None.

LocalizationPrefix

string

None.

Items

Collection of iMDsoft.API.Controllers.Mobile.Data.SyncObjectReadRequestItemCustomization

None.

ClientConfig

iMDsoft.API.Controllers.Mobile.Data.SyncObjectReadRequestClientConfiguration

None.

Request Formats

application/json, text/json

Sample:
{
  "logicalUnitIds": [
    1,
    2
  ],
  "languageId": 1,
  "localizationPrefix": "sample string 1",
  "items": [
    {
      "resourceType": "User",
      "clientGuid": "a2ff26ab-f543-4adb-9c10-ef27aa22a4eb"
    },
    {
      "resourceType": "User",
      "clientGuid": "a2ff26ab-f543-4adb-9c10-ef27aa22a4eb"
    }
  ],
  "clientConfig": {
    "deviceMappingName": "sample string 1",
    "trendSequences": [
      "sample string 1",
      "sample string 2"
    ],
    "syncAdministeredDosesStatusFilter": "sample string 2",
    "syncLabResultsFromNumberOfDays": 1,
    "signalTrendSearchResultCount": 1
  }
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SyncObjectReadRequestBundleCustomization'.

Response Information

Resource Description

iMDsoft.API.Controllers.Mobile.Data.SyncObjectReadResponseBundleCustomization
NameDescriptionTypeAdditional information
Items

Collection of iMDsoft.API.Controllers.Mobile.Data.SyncObjectReadResponseItemCustomization

None.

Response Formats

application/json, text/json

Sample:
{
  "items": [
    {
      "request": {
        "resourceType": "User",
        "clientGuid": "c32e2742-ce4a-47a0-bf23-c47c77b935e6"
      },
      "dbGuid": "5df30237-5424-44c6-aa48-ea8cfb435da9",
      "responseItems": [
        {},
        {}
      ]
    },
    {
      "request": {
        "resourceType": "User",
        "clientGuid": "c32e2742-ce4a-47a0-bf23-c47c77b935e6"
      },
      "dbGuid": "5df30237-5424-44c6-aa48-ea8cfb435da9",
      "responseItems": [
        {},
        {}
      ]
    }
  ]
}