POST api/SpreaderTracker/AddUpdateSpreader

Request Information

URI Parameters

None.

Body Parameters

SpreaderDto
NameDescriptionTypeAdditional information
SpreaderId

globally unique identifier

None.

AssetNumber

string

None.

SerialNumber

string

None.

Make

string

None.

Model

string

None.

Year

integer

None.

Status

string

None.

Location

string

None.

Region

string

None.

StatesTraveled

string

None.

SalesRepAssignment

string

None.

HarrellsAssetAssignment

string

None.

PurchaseDate

date

None.

PurchasePrice

decimal number

None.

CurrentValue

decimal number

None.

ExpectedLife

integer

None.

ReplacementCost

decimal number

None.

DriveType

string

None.

MountType

string

None.

Notes

string

None.

MaintenanceLogs

Collection of SpreaderMaintenanceDto

None.

Request Formats

application/json, text/json

Sample:
{
  "SpreaderId": "1ad14abb-30fe-48ee-b6d8-1cd0c0579ac9",
  "AssetNumber": "sample string 2",
  "SerialNumber": "sample string 3",
  "Make": "sample string 4",
  "Model": "sample string 5",
  "Year": 1,
  "Status": "sample string 6",
  "Location": "sample string 7",
  "Region": "sample string 8",
  "StatesTraveled": "sample string 9",
  "SalesRepAssignment": "sample string 10",
  "HarrellsAssetAssignment": "sample string 11",
  "PurchaseDate": "2026-11-21T14:48:45.4955201+00:00",
  "PurchasePrice": 1.0,
  "CurrentValue": 1.0,
  "ExpectedLife": 1,
  "ReplacementCost": 1.0,
  "DriveType": "sample string 12",
  "MountType": "sample string 13",
  "Notes": "sample string 14",
  "MaintenanceLogs": [
    {
      "MaintenanceId": "0737ad9a-a7e8-4bef-8030-236b3a794725",
      "SpreaderId": "aa154687-0208-4e41-a9ab-c0e445dee72d",
      "MaintenanceDate": "2026-11-21T14:48:45.4955201+00:00",
      "MaintenanceType": "sample string 4",
      "WorkOrder": "sample string 5",
      "RepairCompany": "sample string 6",
      "PartsCost": 1.0,
      "LaborCost": 1.0,
      "RepairCost": 1.0,
      "PartsReplaced": "sample string 7",
      "Description": "sample string 8",
      "Attachments": [
        {
          "AttachmentId": "3375e6c2-5a19-4975-b4df-0bf84322a68d",
          "MaintenanceId": "6151e264-ad54-4973-b16a-6ce38b7b7aba",
          "FileId": "sample string 3",
          "FileName": "sample string 4",
          "FileType": "sample string 5",
          "FileSize": 1,
          "StoragePath": "sample string 6",
          "AttachmentDate": "2026-11-21T14:48:45.4955201+00:00"
        },
        {
          "AttachmentId": "3375e6c2-5a19-4975-b4df-0bf84322a68d",
          "MaintenanceId": "6151e264-ad54-4973-b16a-6ce38b7b7aba",
          "FileId": "sample string 3",
          "FileName": "sample string 4",
          "FileType": "sample string 5",
          "FileSize": 1,
          "StoragePath": "sample string 6",
          "AttachmentDate": "2026-11-21T14:48:45.4955201+00:00"
        }
      ]
    },
    {
      "MaintenanceId": "0737ad9a-a7e8-4bef-8030-236b3a794725",
      "SpreaderId": "aa154687-0208-4e41-a9ab-c0e445dee72d",
      "MaintenanceDate": "2026-11-21T14:48:45.4955201+00:00",
      "MaintenanceType": "sample string 4",
      "WorkOrder": "sample string 5",
      "RepairCompany": "sample string 6",
      "PartsCost": 1.0,
      "LaborCost": 1.0,
      "RepairCost": 1.0,
      "PartsReplaced": "sample string 7",
      "Description": "sample string 8",
      "Attachments": [
        {
          "AttachmentId": "3375e6c2-5a19-4975-b4df-0bf84322a68d",
          "MaintenanceId": "6151e264-ad54-4973-b16a-6ce38b7b7aba",
          "FileId": "sample string 3",
          "FileName": "sample string 4",
          "FileType": "sample string 5",
          "FileSize": 1,
          "StoragePath": "sample string 6",
          "AttachmentDate": "2026-11-21T14:48:45.4955201+00:00"
        },
        {
          "AttachmentId": "3375e6c2-5a19-4975-b4df-0bf84322a68d",
          "MaintenanceId": "6151e264-ad54-4973-b16a-6ce38b7b7aba",
          "FileId": "sample string 3",
          "FileName": "sample string 4",
          "FileType": "sample string 5",
          "FileSize": 1,
          "StoragePath": "sample string 6",
          "AttachmentDate": "2026-11-21T14:48:45.4955201+00:00"
        }
      ]
    }
  ]
}

application/xml, text/xml

Sample:
<SpreaderDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GoHarrellsAPI.Models">
  <AssetNumber>sample string 2</AssetNumber>
  <CurrentValue>1</CurrentValue>
  <DriveType>sample string 12</DriveType>
  <ExpectedLife>1</ExpectedLife>
  <HarrellsAssetAssignment>sample string 11</HarrellsAssetAssignment>
  <Location>sample string 7</Location>
  <MaintenanceLogs>
    <SpreaderMaintenanceDto>
      <Attachments>
        <SpreaderAttachmentDto>
          <AttachmentDate>2026-11-21T14:48:45.4955201+00:00</AttachmentDate>
          <AttachmentId>3375e6c2-5a19-4975-b4df-0bf84322a68d</AttachmentId>
          <FileId>sample string 3</FileId>
          <FileName>sample string 4</FileName>
          <FileSize>1</FileSize>
          <FileType>sample string 5</FileType>
          <MaintenanceId>6151e264-ad54-4973-b16a-6ce38b7b7aba</MaintenanceId>
          <StoragePath>sample string 6</StoragePath>
        </SpreaderAttachmentDto>
        <SpreaderAttachmentDto>
          <AttachmentDate>2026-11-21T14:48:45.4955201+00:00</AttachmentDate>
          <AttachmentId>3375e6c2-5a19-4975-b4df-0bf84322a68d</AttachmentId>
          <FileId>sample string 3</FileId>
          <FileName>sample string 4</FileName>
          <FileSize>1</FileSize>
          <FileType>sample string 5</FileType>
          <MaintenanceId>6151e264-ad54-4973-b16a-6ce38b7b7aba</MaintenanceId>
          <StoragePath>sample string 6</StoragePath>
        </SpreaderAttachmentDto>
      </Attachments>
      <Description>sample string 8</Description>
      <LaborCost>1</LaborCost>
      <MaintenanceDate>2026-11-21T14:48:45.4955201+00:00</MaintenanceDate>
      <MaintenanceId>0737ad9a-a7e8-4bef-8030-236b3a794725</MaintenanceId>
      <MaintenanceType>sample string 4</MaintenanceType>
      <PartsCost>1</PartsCost>
      <PartsReplaced>sample string 7</PartsReplaced>
      <RepairCompany>sample string 6</RepairCompany>
      <RepairCost>1</RepairCost>
      <SpreaderId>aa154687-0208-4e41-a9ab-c0e445dee72d</SpreaderId>
      <WorkOrder>sample string 5</WorkOrder>
    </SpreaderMaintenanceDto>
    <SpreaderMaintenanceDto>
      <Attachments>
        <SpreaderAttachmentDto>
          <AttachmentDate>2026-11-21T14:48:45.4955201+00:00</AttachmentDate>
          <AttachmentId>3375e6c2-5a19-4975-b4df-0bf84322a68d</AttachmentId>
          <FileId>sample string 3</FileId>
          <FileName>sample string 4</FileName>
          <FileSize>1</FileSize>
          <FileType>sample string 5</FileType>
          <MaintenanceId>6151e264-ad54-4973-b16a-6ce38b7b7aba</MaintenanceId>
          <StoragePath>sample string 6</StoragePath>
        </SpreaderAttachmentDto>
        <SpreaderAttachmentDto>
          <AttachmentDate>2026-11-21T14:48:45.4955201+00:00</AttachmentDate>
          <AttachmentId>3375e6c2-5a19-4975-b4df-0bf84322a68d</AttachmentId>
          <FileId>sample string 3</FileId>
          <FileName>sample string 4</FileName>
          <FileSize>1</FileSize>
          <FileType>sample string 5</FileType>
          <MaintenanceId>6151e264-ad54-4973-b16a-6ce38b7b7aba</MaintenanceId>
          <StoragePath>sample string 6</StoragePath>
        </SpreaderAttachmentDto>
      </Attachments>
      <Description>sample string 8</Description>
      <LaborCost>1</LaborCost>
      <MaintenanceDate>2026-11-21T14:48:45.4955201+00:00</MaintenanceDate>
      <MaintenanceId>0737ad9a-a7e8-4bef-8030-236b3a794725</MaintenanceId>
      <MaintenanceType>sample string 4</MaintenanceType>
      <PartsCost>1</PartsCost>
      <PartsReplaced>sample string 7</PartsReplaced>
      <RepairCompany>sample string 6</RepairCompany>
      <RepairCost>1</RepairCost>
      <SpreaderId>aa154687-0208-4e41-a9ab-c0e445dee72d</SpreaderId>
      <WorkOrder>sample string 5</WorkOrder>
    </SpreaderMaintenanceDto>
  </MaintenanceLogs>
  <Make>sample string 4</Make>
  <Model>sample string 5</Model>
  <MountType>sample string 13</MountType>
  <Notes>sample string 14</Notes>
  <PurchaseDate>2026-11-21T14:48:45.4955201+00:00</PurchaseDate>
  <PurchasePrice>1</PurchasePrice>
  <Region>sample string 8</Region>
  <ReplacementCost>1</ReplacementCost>
  <SalesRepAssignment>sample string 10</SalesRepAssignment>
  <SerialNumber>sample string 3</SerialNumber>
  <SpreaderId>1ad14abb-30fe-48ee-b6d8-1cd0c0579ac9</SpreaderId>
  <StatesTraveled>sample string 9</StatesTraveled>
  <Status>sample string 6</Status>
  <Year>1</Year>
</SpreaderDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

globally unique identifier

Response Formats

application/json, text/json

Sample:
"e843dd4a-860d-4ebc-8913-fc289604e2d5"

application/xml, text/xml

Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">e843dd4a-860d-4ebc-8913-fc289604e2d5</guid>