POST api/SpreaderTracker/AddUpdateSpreader
Request Information
URI Parameters
None.
Body Parameters
SpreaderDto| Name | Description | Type | Additional 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": "c3b239e5-a47d-4e5e-9d98-7a6701ad75d7",
"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:53:10.7212444+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": "376bc13a-3a62-4fb6-bbe3-7d5c9ef8feca",
"SpreaderId": "77fb5bdc-6a25-493d-9e43-2af82b04840f",
"MaintenanceDate": "2026-11-21T14:53:10.7212444+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": "449373db-706d-4339-8bc1-50e4527d8c25",
"MaintenanceId": "cc56eb4c-b0fa-4d26-922a-d9d1c995cd29",
"FileId": "sample string 3",
"FileName": "sample string 4",
"FileType": "sample string 5",
"FileSize": 1,
"StoragePath": "sample string 6",
"AttachmentDate": "2026-11-21T14:53:10.7212444+00:00"
},
{
"AttachmentId": "449373db-706d-4339-8bc1-50e4527d8c25",
"MaintenanceId": "cc56eb4c-b0fa-4d26-922a-d9d1c995cd29",
"FileId": "sample string 3",
"FileName": "sample string 4",
"FileType": "sample string 5",
"FileSize": 1,
"StoragePath": "sample string 6",
"AttachmentDate": "2026-11-21T14:53:10.7212444+00:00"
}
]
},
{
"MaintenanceId": "376bc13a-3a62-4fb6-bbe3-7d5c9ef8feca",
"SpreaderId": "77fb5bdc-6a25-493d-9e43-2af82b04840f",
"MaintenanceDate": "2026-11-21T14:53:10.7212444+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": "449373db-706d-4339-8bc1-50e4527d8c25",
"MaintenanceId": "cc56eb4c-b0fa-4d26-922a-d9d1c995cd29",
"FileId": "sample string 3",
"FileName": "sample string 4",
"FileType": "sample string 5",
"FileSize": 1,
"StoragePath": "sample string 6",
"AttachmentDate": "2026-11-21T14:53:10.7212444+00:00"
},
{
"AttachmentId": "449373db-706d-4339-8bc1-50e4527d8c25",
"MaintenanceId": "cc56eb4c-b0fa-4d26-922a-d9d1c995cd29",
"FileId": "sample string 3",
"FileName": "sample string 4",
"FileType": "sample string 5",
"FileSize": 1,
"StoragePath": "sample string 6",
"AttachmentDate": "2026-11-21T14:53:10.7212444+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:53:10.7212444+00:00</AttachmentDate>
<AttachmentId>449373db-706d-4339-8bc1-50e4527d8c25</AttachmentId>
<FileId>sample string 3</FileId>
<FileName>sample string 4</FileName>
<FileSize>1</FileSize>
<FileType>sample string 5</FileType>
<MaintenanceId>cc56eb4c-b0fa-4d26-922a-d9d1c995cd29</MaintenanceId>
<StoragePath>sample string 6</StoragePath>
</SpreaderAttachmentDto>
<SpreaderAttachmentDto>
<AttachmentDate>2026-11-21T14:53:10.7212444+00:00</AttachmentDate>
<AttachmentId>449373db-706d-4339-8bc1-50e4527d8c25</AttachmentId>
<FileId>sample string 3</FileId>
<FileName>sample string 4</FileName>
<FileSize>1</FileSize>
<FileType>sample string 5</FileType>
<MaintenanceId>cc56eb4c-b0fa-4d26-922a-d9d1c995cd29</MaintenanceId>
<StoragePath>sample string 6</StoragePath>
</SpreaderAttachmentDto>
</Attachments>
<Description>sample string 8</Description>
<LaborCost>1</LaborCost>
<MaintenanceDate>2026-11-21T14:53:10.7212444+00:00</MaintenanceDate>
<MaintenanceId>376bc13a-3a62-4fb6-bbe3-7d5c9ef8feca</MaintenanceId>
<MaintenanceType>sample string 4</MaintenanceType>
<PartsCost>1</PartsCost>
<PartsReplaced>sample string 7</PartsReplaced>
<RepairCompany>sample string 6</RepairCompany>
<RepairCost>1</RepairCost>
<SpreaderId>77fb5bdc-6a25-493d-9e43-2af82b04840f</SpreaderId>
<WorkOrder>sample string 5</WorkOrder>
</SpreaderMaintenanceDto>
<SpreaderMaintenanceDto>
<Attachments>
<SpreaderAttachmentDto>
<AttachmentDate>2026-11-21T14:53:10.7212444+00:00</AttachmentDate>
<AttachmentId>449373db-706d-4339-8bc1-50e4527d8c25</AttachmentId>
<FileId>sample string 3</FileId>
<FileName>sample string 4</FileName>
<FileSize>1</FileSize>
<FileType>sample string 5</FileType>
<MaintenanceId>cc56eb4c-b0fa-4d26-922a-d9d1c995cd29</MaintenanceId>
<StoragePath>sample string 6</StoragePath>
</SpreaderAttachmentDto>
<SpreaderAttachmentDto>
<AttachmentDate>2026-11-21T14:53:10.7212444+00:00</AttachmentDate>
<AttachmentId>449373db-706d-4339-8bc1-50e4527d8c25</AttachmentId>
<FileId>sample string 3</FileId>
<FileName>sample string 4</FileName>
<FileSize>1</FileSize>
<FileType>sample string 5</FileType>
<MaintenanceId>cc56eb4c-b0fa-4d26-922a-d9d1c995cd29</MaintenanceId>
<StoragePath>sample string 6</StoragePath>
</SpreaderAttachmentDto>
</Attachments>
<Description>sample string 8</Description>
<LaborCost>1</LaborCost>
<MaintenanceDate>2026-11-21T14:53:10.7212444+00:00</MaintenanceDate>
<MaintenanceId>376bc13a-3a62-4fb6-bbe3-7d5c9ef8feca</MaintenanceId>
<MaintenanceType>sample string 4</MaintenanceType>
<PartsCost>1</PartsCost>
<PartsReplaced>sample string 7</PartsReplaced>
<RepairCompany>sample string 6</RepairCompany>
<RepairCost>1</RepairCost>
<SpreaderId>77fb5bdc-6a25-493d-9e43-2af82b04840f</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:53:10.7212444+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>c3b239e5-a47d-4e5e-9d98-7a6701ad75d7</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 identifierResponse Formats
application/json, text/json
Sample:
"f00f8bbf-fa5c-4b8f-8e4f-cc0c4b11f6ff"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">f00f8bbf-fa5c-4b8f-8e4f-cc0c4b11f6ff</guid>