POST api/Installers/Sync

Request Information

URI Parameters

None.

Body Parameters

Collection of InstallerModel
NameDescriptionTypeAdditional information
id

string

None.

InstallerId

integer

None.

ProjectId

string

None.

Name

string

None.

CreatedBy

string

None.

CreatedOn

date

None.

UpdatedBy

string

None.

UpdatedOn

date

None.

_removed

boolean

None.

_lastChange

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "id": "sample string 1",
    "InstallerId": 2,
    "ProjectId": "sample string 3",
    "Name": "sample string 4",
    "CreatedBy": "sample string 5",
    "CreatedOn": "2025-10-27T18:29:11.3193757+00:00",
    "UpdatedBy": "sample string 7",
    "UpdatedOn": "2025-10-27T18:29:11.3193757+00:00",
    "_removed": true,
    "_lastChange": 1
  },
  {
    "id": "sample string 1",
    "InstallerId": 2,
    "ProjectId": "sample string 3",
    "Name": "sample string 4",
    "CreatedBy": "sample string 5",
    "CreatedOn": "2025-10-27T18:29:11.3193757+00:00",
    "UpdatedBy": "sample string 7",
    "UpdatedOn": "2025-10-27T18:29:11.3193757+00:00",
    "_removed": true,
    "_lastChange": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfInstallerModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HuntMillerElectric.Models.Projects">
  <InstallerModel>
    <CreatedBy>sample string 5</CreatedBy>
    <CreatedOn>2025-10-27T18:29:11.3193757+00:00</CreatedOn>
    <InstallerId>2</InstallerId>
    <Name>sample string 4</Name>
    <ProjectId>sample string 3</ProjectId>
    <UpdatedBy>sample string 7</UpdatedBy>
    <UpdatedOn>2025-10-27T18:29:11.3193757+00:00</UpdatedOn>
    <_lastChange>1</_lastChange>
    <_removed>true</_removed>
    <id>sample string 1</id>
  </InstallerModel>
  <InstallerModel>
    <CreatedBy>sample string 5</CreatedBy>
    <CreatedOn>2025-10-27T18:29:11.3193757+00:00</CreatedOn>
    <InstallerId>2</InstallerId>
    <Name>sample string 4</Name>
    <ProjectId>sample string 3</ProjectId>
    <UpdatedBy>sample string 7</UpdatedBy>
    <UpdatedOn>2025-10-27T18:29:11.3193757+00:00</UpdatedOn>
    <_lastChange>1</_lastChange>
    <_removed>true</_removed>
    <id>sample string 1</id>
  </InstallerModel>
</ArrayOfInstallerModel>

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 'List`1'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.