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": "97bf940a-7267-4817-8314-616914fd793d",
"SpreaderId": "dd2b611d-eab2-4193-88bd-58d2824e057e",
"MaintenanceDate": "2026-11-21T14:52:50.483129+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": "e3de1cf4-2119-4c1b-b1cc-945922b93eab",
"MaintenanceId": "8e4a5c6a-2d06-49df-8280-5a3b4c8c5c1b",
"FileId": "sample string 3",
"FileName": "sample string 4",
"FileType": "sample string 5",
"FileSize": 1,
"StoragePath": "sample string 6",
"AttachmentDate": "2026-11-21T14:52:50.483129+00:00"
},
{
"AttachmentId": "e3de1cf4-2119-4c1b-b1cc-945922b93eab",
"MaintenanceId": "8e4a5c6a-2d06-49df-8280-5a3b4c8c5c1b",
"FileId": "sample string 3",
"FileName": "sample string 4",
"FileType": "sample string 5",
"FileSize": 1,
"StoragePath": "sample string 6",
"AttachmentDate": "2026-11-21T14:52:50.483129+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:52:50.483129+00:00</AttachmentDate>
<AttachmentId>e3de1cf4-2119-4c1b-b1cc-945922b93eab</AttachmentId>
<FileId>sample string 3</FileId>
<FileName>sample string 4</FileName>
<FileSize>1</FileSize>
<FileType>sample string 5</FileType>
<MaintenanceId>8e4a5c6a-2d06-49df-8280-5a3b4c8c5c1b</MaintenanceId>
<StoragePath>sample string 6</StoragePath>
</SpreaderAttachmentDto>
<SpreaderAttachmentDto>
<AttachmentDate>2026-11-21T14:52:50.483129+00:00</AttachmentDate>
<AttachmentId>e3de1cf4-2119-4c1b-b1cc-945922b93eab</AttachmentId>
<FileId>sample string 3</FileId>
<FileName>sample string 4</FileName>
<FileSize>1</FileSize>
<FileType>sample string 5</FileType>
<MaintenanceId>8e4a5c6a-2d06-49df-8280-5a3b4c8c5c1b</MaintenanceId>
<StoragePath>sample string 6</StoragePath>
</SpreaderAttachmentDto>
</Attachments>
<Description>sample string 8</Description>
<LaborCost>1</LaborCost>
<MaintenanceDate>2026-11-21T14:52:50.483129+00:00</MaintenanceDate>
<MaintenanceId>97bf940a-7267-4817-8314-616914fd793d</MaintenanceId>
<MaintenanceType>sample string 4</MaintenanceType>
<PartsCost>1</PartsCost>
<PartsReplaced>sample string 7</PartsReplaced>
<RepairCompany>sample string 6</RepairCompany>
<RepairCost>1</RepairCost>
<SpreaderId>dd2b611d-eab2-4193-88bd-58d2824e057e</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:
"59b0a3f9-f458-4fef-afd7-0f73d18ba95d"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">59b0a3f9-f458-4fef-afd7-0f73d18ba95d</guid>