POST api/CableTrayPartials/Sync

Request Information

URI Parameters

None.

Body Parameters

Collection of CableTrayPartialModel
NameDescriptionTypeAdditional information
CableTrayPartialId

integer

None.

id

string

None.

CableTrayId

string

None.

Length

integer

None.

InstallDate

date

None.

Installer

string

None.

Foreman

string

None.

CoverInstalled

integer

None.

DividerInstalled

integer

None.

ConstraintNotes

string

None.

Size

decimal number

None.

ConstraintDate

date

None.

ConstraintClearedDate

date

None.

InstallNotes

string

None.

Inspector

string

None.

InspectionDate

date

None.

DeletedOn

date

None.

DeletedBy

string

None.

UpdatedBy

string

None.

UpdatedOn

date

None.

ProjectId

string

None.

_removed

boolean

None.

_lastChange

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "CableTrayPartialId": 1,
    "id": "sample string 2",
    "CableTrayId": "sample string 3",
    "Length": 4,
    "InstallDate": "2025-10-27T18:32:27.3361994Z",
    "Installer": "sample string 5",
    "Foreman": "sample string 6",
    "CoverInstalled": 1,
    "DividerInstalled": 1,
    "ConstraintNotes": "sample string 7",
    "Size": 1.0,
    "ConstraintDate": "2025-10-27T18:32:27.3361994+00:00",
    "ConstraintClearedDate": "2025-10-27T18:32:27.3361994+00:00",
    "InstallNotes": "sample string 8",
    "Inspector": "sample string 9",
    "InspectionDate": "2025-10-27T18:32:27.3361994Z",
    "DeletedOn": "2025-10-27T18:32:27.3361994+00:00",
    "DeletedBy": "sample string 10",
    "UpdatedBy": "sample string 11",
    "UpdatedOn": "2025-10-27T18:32:27.3361994+00:00",
    "ProjectId": "sample string 12",
    "_removed": true,
    "_lastChange": 1
  },
  {
    "CableTrayPartialId": 1,
    "id": "sample string 2",
    "CableTrayId": "sample string 3",
    "Length": 4,
    "InstallDate": "2025-10-27T18:32:27.3361994Z",
    "Installer": "sample string 5",
    "Foreman": "sample string 6",
    "CoverInstalled": 1,
    "DividerInstalled": 1,
    "ConstraintNotes": "sample string 7",
    "Size": 1.0,
    "ConstraintDate": "2025-10-27T18:32:27.3361994+00:00",
    "ConstraintClearedDate": "2025-10-27T18:32:27.3361994+00:00",
    "InstallNotes": "sample string 8",
    "Inspector": "sample string 9",
    "InspectionDate": "2025-10-27T18:32:27.3361994Z",
    "DeletedOn": "2025-10-27T18:32:27.3361994+00:00",
    "DeletedBy": "sample string 10",
    "UpdatedBy": "sample string 11",
    "UpdatedOn": "2025-10-27T18:32:27.3361994+00:00",
    "ProjectId": "sample string 12",
    "_removed": true,
    "_lastChange": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfCableTrayPartialModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HuntMillerElectric.Models.Projects">
  <CableTrayPartialModel>
    <CableTrayId>sample string 3</CableTrayId>
    <CableTrayPartialId>1</CableTrayPartialId>
    <ConstraintClearedDate>2025-10-27T18:32:27.3361994+00:00</ConstraintClearedDate>
    <ConstraintDate>2025-10-27T18:32:27.3361994+00:00</ConstraintDate>
    <ConstraintNotes>sample string 7</ConstraintNotes>
    <CoverInstalled>1</CoverInstalled>
    <DeletedBy>sample string 10</DeletedBy>
    <DeletedOn>2025-10-27T18:32:27.3361994+00:00</DeletedOn>
    <DividerInstalled>1</DividerInstalled>
    <Foreman>sample string 6</Foreman>
    <InspectionDate>2025-10-27T18:32:27.3361994Z</InspectionDate>
    <Inspector>sample string 9</Inspector>
    <InstallDate>2025-10-27T18:32:27.3361994Z</InstallDate>
    <InstallNotes>sample string 8</InstallNotes>
    <Installer>sample string 5</Installer>
    <Length>4</Length>
    <ProjectId>sample string 12</ProjectId>
    <Size>1</Size>
    <UpdatedBy>sample string 11</UpdatedBy>
    <UpdatedOn>2025-10-27T18:32:27.3361994+00:00</UpdatedOn>
    <_lastChange>1</_lastChange>
    <_removed>true</_removed>
    <id>sample string 2</id>
  </CableTrayPartialModel>
  <CableTrayPartialModel>
    <CableTrayId>sample string 3</CableTrayId>
    <CableTrayPartialId>1</CableTrayPartialId>
    <ConstraintClearedDate>2025-10-27T18:32:27.3361994+00:00</ConstraintClearedDate>
    <ConstraintDate>2025-10-27T18:32:27.3361994+00:00</ConstraintDate>
    <ConstraintNotes>sample string 7</ConstraintNotes>
    <CoverInstalled>1</CoverInstalled>
    <DeletedBy>sample string 10</DeletedBy>
    <DeletedOn>2025-10-27T18:32:27.3361994+00:00</DeletedOn>
    <DividerInstalled>1</DividerInstalled>
    <Foreman>sample string 6</Foreman>
    <InspectionDate>2025-10-27T18:32:27.3361994Z</InspectionDate>
    <Inspector>sample string 9</Inspector>
    <InstallDate>2025-10-27T18:32:27.3361994Z</InstallDate>
    <InstallNotes>sample string 8</InstallNotes>
    <Installer>sample string 5</Installer>
    <Length>4</Length>
    <ProjectId>sample string 12</ProjectId>
    <Size>1</Size>
    <UpdatedBy>sample string 11</UpdatedBy>
    <UpdatedOn>2025-10-27T18:32:27.3361994+00:00</UpdatedOn>
    <_lastChange>1</_lastChange>
    <_removed>true</_removed>
    <id>sample string 2</id>
  </CableTrayPartialModel>
</ArrayOfCableTrayPartialModel>

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.