POST api/v1/JobAttachment

Submit an Attachment for a Job.

Request Information

Parameters

NameDescriptionAdditional information
jobAttachment

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "JobId": 1,
  "FileName": "sample string 2",
  "MimeType": "sample string 3",
  "FileByteArray": "QEBA"
}

application/xml, text/xml

Sample:
<JobAttachment xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <JobId>1</JobId>
  <FileName>sample string 2</FileName>
  <MimeType>sample string 3</MimeType>
  <FileByteArray>QEBA</FileByteArray>
</JobAttachment>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'JobAttachment'.

Response Information

Response body formats

application/json, text/json

Sample:
"sample string"

application/xml, text/xml

Sample:
<string>sample string</string>