POST api/SpreaderTracker/AddMaintenanceAttachment

Request Information

URI Parameters

None.

Body Parameters

SpreaderAttachmentDto
NameDescriptionTypeAdditional information
AttachmentId

globally unique identifier

None.

MaintenanceId

globally unique identifier

None.

FileId

string

None.

FileName

string

None.

FileType

string

None.

FileSize

integer

None.

StoragePath

string

None.

AttachmentDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "AttachmentId": "441509e4-3d6a-4765-95c3-8c53545a24eb",
  "MaintenanceId": "843d3606-2699-4384-87e3-daf742ee5e09",
  "FileId": "sample string 3",
  "FileName": "sample string 4",
  "FileType": "sample string 5",
  "FileSize": 1,
  "StoragePath": "sample string 6",
  "AttachmentDate": "2026-11-21T14:53:32.7474136+00:00"
}

application/xml, text/xml

Sample:
<SpreaderAttachmentDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GoHarrellsAPI.Models">
  <AttachmentDate>2026-11-21T14:53:32.7474136+00:00</AttachmentDate>
  <AttachmentId>441509e4-3d6a-4765-95c3-8c53545a24eb</AttachmentId>
  <FileId>sample string 3</FileId>
  <FileName>sample string 4</FileName>
  <FileSize>1</FileSize>
  <FileType>sample string 5</FileType>
  <MaintenanceId>843d3606-2699-4384-87e3-daf742ee5e09</MaintenanceId>
  <StoragePath>sample string 6</StoragePath>
</SpreaderAttachmentDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

globally unique identifier

Response Formats

application/json, text/json

Sample:
"611e62b1-84c4-4122-93a7-cca2382e75c5"

application/xml, text/xml

Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">611e62b1-84c4-4122-93a7-cca2382e75c5</guid>