POST api/SpreaderTracker/AddUpdateMaintenance
Request Information
URI Parameters
None.
Body Parameters
SpreaderMaintenanceDto| Name | Description | Type | Additional information |
|---|---|---|---|
| MaintenanceId | globally unique identifier |
None. |
|
| SpreaderId | globally unique identifier |
None. |
|
| MaintenanceDate | date |
None. |
|
| MaintenanceType | string |
None. |
|
| WorkOrder | string |
None. |
|
| RepairCompany | string |
None. |
|
| PartsCost | decimal number |
None. |
|
| LaborCost | decimal number |
None. |
|
| RepairCost | decimal number |
None. |
|
| PartsReplaced | string |
None. |
|
| Description | string |
None. |
|
| Attachments | Collection of SpreaderAttachmentDto |
None. |
Request Formats
application/json, text/json
Sample:
{
"MaintenanceId": "a3c96293-024a-4621-a6f8-a521610bedc9",
"SpreaderId": "96ec4e60-3367-496d-8d01-f86617d0129d",
"MaintenanceDate": "2026-11-21T14:53:10.502417+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": "6ed79201-1bfe-4278-84d3-bc7a45db98cf",
"MaintenanceId": "236bef1f-0c11-442d-a113-eb3c4c3f81fb",
"FileId": "sample string 3",
"FileName": "sample string 4",
"FileType": "sample string 5",
"FileSize": 1,
"StoragePath": "sample string 6",
"AttachmentDate": "2026-11-21T14:53:10.5336653+00:00"
},
{
"AttachmentId": "6ed79201-1bfe-4278-84d3-bc7a45db98cf",
"MaintenanceId": "236bef1f-0c11-442d-a113-eb3c4c3f81fb",
"FileId": "sample string 3",
"FileName": "sample string 4",
"FileType": "sample string 5",
"FileSize": 1,
"StoragePath": "sample string 6",
"AttachmentDate": "2026-11-21T14:53:10.5336653+00:00"
}
]
}
application/xml, text/xml
Sample:
<SpreaderMaintenanceDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GoHarrellsAPI.Models">
<Attachments>
<SpreaderAttachmentDto>
<AttachmentDate>2026-11-21T14:53:10.5336653+00:00</AttachmentDate>
<AttachmentId>6ed79201-1bfe-4278-84d3-bc7a45db98cf</AttachmentId>
<FileId>sample string 3</FileId>
<FileName>sample string 4</FileName>
<FileSize>1</FileSize>
<FileType>sample string 5</FileType>
<MaintenanceId>236bef1f-0c11-442d-a113-eb3c4c3f81fb</MaintenanceId>
<StoragePath>sample string 6</StoragePath>
</SpreaderAttachmentDto>
<SpreaderAttachmentDto>
<AttachmentDate>2026-11-21T14:53:10.5336653+00:00</AttachmentDate>
<AttachmentId>6ed79201-1bfe-4278-84d3-bc7a45db98cf</AttachmentId>
<FileId>sample string 3</FileId>
<FileName>sample string 4</FileName>
<FileSize>1</FileSize>
<FileType>sample string 5</FileType>
<MaintenanceId>236bef1f-0c11-442d-a113-eb3c4c3f81fb</MaintenanceId>
<StoragePath>sample string 6</StoragePath>
</SpreaderAttachmentDto>
</Attachments>
<Description>sample string 8</Description>
<LaborCost>1</LaborCost>
<MaintenanceDate>2026-11-21T14:53:10.502417+00:00</MaintenanceDate>
<MaintenanceId>a3c96293-024a-4621-a6f8-a521610bedc9</MaintenanceId>
<MaintenanceType>sample string 4</MaintenanceType>
<PartsCost>1</PartsCost>
<PartsReplaced>sample string 7</PartsReplaced>
<RepairCompany>sample string 6</RepairCompany>
<RepairCost>1</RepairCost>
<SpreaderId>96ec4e60-3367-496d-8d01-f86617d0129d</SpreaderId>
<WorkOrder>sample string 5</WorkOrder>
</SpreaderMaintenanceDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
globally unique identifierResponse Formats
application/json, text/json
Sample:
"c07fd6e6-bfe2-46cc-90b5-910e2ce00e0b"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">c07fd6e6-bfe2-46cc-90b5-910e2ce00e0b</guid>