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": "f4d36a7e-1f38-43e6-ba2b-1bfd43179899",
"SpreaderId": "2e929c1e-173b-478d-93fd-8dc05d040363",
"MaintenanceDate": "2026-11-21T14:48:45.2140511+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": "645a22bf-3e91-4391-b47c-520c6a63affd",
"MaintenanceId": "43bc8636-40f1-4688-9679-70f78053ca1c",
"FileId": "sample string 3",
"FileName": "sample string 4",
"FileType": "sample string 5",
"FileSize": 1,
"StoragePath": "sample string 6",
"AttachmentDate": "2026-11-21T14:48:45.2140511+00:00"
},
{
"AttachmentId": "645a22bf-3e91-4391-b47c-520c6a63affd",
"MaintenanceId": "43bc8636-40f1-4688-9679-70f78053ca1c",
"FileId": "sample string 3",
"FileName": "sample string 4",
"FileType": "sample string 5",
"FileSize": 1,
"StoragePath": "sample string 6",
"AttachmentDate": "2026-11-21T14:48:45.2140511+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:48:45.2140511+00:00</AttachmentDate>
<AttachmentId>645a22bf-3e91-4391-b47c-520c6a63affd</AttachmentId>
<FileId>sample string 3</FileId>
<FileName>sample string 4</FileName>
<FileSize>1</FileSize>
<FileType>sample string 5</FileType>
<MaintenanceId>43bc8636-40f1-4688-9679-70f78053ca1c</MaintenanceId>
<StoragePath>sample string 6</StoragePath>
</SpreaderAttachmentDto>
<SpreaderAttachmentDto>
<AttachmentDate>2026-11-21T14:48:45.2140511+00:00</AttachmentDate>
<AttachmentId>645a22bf-3e91-4391-b47c-520c6a63affd</AttachmentId>
<FileId>sample string 3</FileId>
<FileName>sample string 4</FileName>
<FileSize>1</FileSize>
<FileType>sample string 5</FileType>
<MaintenanceId>43bc8636-40f1-4688-9679-70f78053ca1c</MaintenanceId>
<StoragePath>sample string 6</StoragePath>
</SpreaderAttachmentDto>
</Attachments>
<Description>sample string 8</Description>
<LaborCost>1</LaborCost>
<MaintenanceDate>2026-11-21T14:48:45.2140511+00:00</MaintenanceDate>
<MaintenanceId>f4d36a7e-1f38-43e6-ba2b-1bfd43179899</MaintenanceId>
<MaintenanceType>sample string 4</MaintenanceType>
<PartsCost>1</PartsCost>
<PartsReplaced>sample string 7</PartsReplaced>
<RepairCompany>sample string 6</RepairCompany>
<RepairCost>1</RepairCost>
<SpreaderId>2e929c1e-173b-478d-93fd-8dc05d040363</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:
"12b7dc19-53b1-4a8e-b394-44261a53b1c1"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">12b7dc19-53b1-4a8e-b394-44261a53b1c1</guid>