POST api/Jobs/PostJobDocument?userId={userId}&password={password}&version={version}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

integer

Required

password

string

Required

version

string

Required

Body Parameters

Job_File
NameDescriptionTypeAdditional information
ID

integer

None.

GUID

string

None.

JobID

integer

None.

DocumentID

integer

None.

DocumentTitle

string

None.

DocumentPath

string

None.

CreatedDate

date

None.

Active

boolean

None.

NewJobDocument

boolean

None.

DocumentType

string

None.

CreatedOnDevice

boolean

None.

EngineerID

integer

None.

DocumentFieldResults

Collection of Document_Field_Result

None.

Job_Appointment_EngineerID

integer

None.

Photo

Job_Photo

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "GUID": "sample string 2",
  "JobID": 3,
  "DocumentID": 4,
  "DocumentTitle": "sample string 5",
  "DocumentPath": "sample string 6",
  "CreatedDate": "2026-09-01T18:55:33.668909+01:00",
  "Active": true,
  "NewJobDocument": true,
  "DocumentType": "sample string 10",
  "CreatedOnDevice": true,
  "EngineerID": 12,
  "DocumentFieldResults": [
    {
      "ID": 1,
      "GUID": "dcc7deb0-5503-4f1a-9a7a-0c3c74edb841",
      "DocumentID": 3,
      "FieldID": 4,
      "ResultValue": "sample string 5",
      "Job_FilesGUID": "fec228d3-9e26-4ef1-a5c6-46ab2774015e",
      "JobPhotoGUID": "42e1fe55-8577-4091-b7d9-0e1a13c9c7d7",
      "NewDocumentFieldResult": true,
      "SequenceGUID": "8663d50a-3da8-4527-880a-9cddfa2021a3",
      "Job_Appointment_EngineerID": 9
    },
    {
      "ID": 1,
      "GUID": "dcc7deb0-5503-4f1a-9a7a-0c3c74edb841",
      "DocumentID": 3,
      "FieldID": 4,
      "ResultValue": "sample string 5",
      "Job_FilesGUID": "fec228d3-9e26-4ef1-a5c6-46ab2774015e",
      "JobPhotoGUID": "42e1fe55-8577-4091-b7d9-0e1a13c9c7d7",
      "NewDocumentFieldResult": true,
      "SequenceGUID": "8663d50a-3da8-4527-880a-9cddfa2021a3",
      "Job_Appointment_EngineerID": 9
    }
  ],
  "Job_Appointment_EngineerID": 13,
  "Photo": {
    "ID": 1,
    "GUID": "414090a4-54f5-4771-b019-81fbc5f2bcf2",
    "Base64": "sample string 3",
    "Job_FilesGUID": "ec7eed51-18c6-4ec3-a40a-0e38b21a5d13",
    "Job_Appointment_EngineerID": 5,
    "Comments": "sample string 6",
    "DocumentTitle": "sample string 7",
    "DocumentID": 8,
    "NewJobPhoto": true,
    "JobID": 10,
    "CreatedDate": "2026-09-01T18:55:33.6709175+01:00",
    "CreatedByID": 12,
    "DocumentPath": "sample string 13",
    "Latitude": 14.0,
    "Longitude": 15.0
  }
}

application/xml, text/xml

Sample:
<Job_File xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Models">
  <Active>true</Active>
  <CreatedDate>2026-09-01T18:55:33.668909+01:00</CreatedDate>
  <CreatedOnDevice>true</CreatedOnDevice>
  <DocumentFieldResults>
    <Document_Field_Result>
      <DocumentID>3</DocumentID>
      <FieldID>4</FieldID>
      <GUID>dcc7deb0-5503-4f1a-9a7a-0c3c74edb841</GUID>
      <ID>1</ID>
      <JobPhotoGUID>42e1fe55-8577-4091-b7d9-0e1a13c9c7d7</JobPhotoGUID>
      <Job_Appointment_EngineerID>9</Job_Appointment_EngineerID>
      <Job_FilesGUID>fec228d3-9e26-4ef1-a5c6-46ab2774015e</Job_FilesGUID>
      <NewDocumentFieldResult>true</NewDocumentFieldResult>
      <ResultValue>sample string 5</ResultValue>
      <SequenceGUID>8663d50a-3da8-4527-880a-9cddfa2021a3</SequenceGUID>
    </Document_Field_Result>
    <Document_Field_Result>
      <DocumentID>3</DocumentID>
      <FieldID>4</FieldID>
      <GUID>dcc7deb0-5503-4f1a-9a7a-0c3c74edb841</GUID>
      <ID>1</ID>
      <JobPhotoGUID>42e1fe55-8577-4091-b7d9-0e1a13c9c7d7</JobPhotoGUID>
      <Job_Appointment_EngineerID>9</Job_Appointment_EngineerID>
      <Job_FilesGUID>fec228d3-9e26-4ef1-a5c6-46ab2774015e</Job_FilesGUID>
      <NewDocumentFieldResult>true</NewDocumentFieldResult>
      <ResultValue>sample string 5</ResultValue>
      <SequenceGUID>8663d50a-3da8-4527-880a-9cddfa2021a3</SequenceGUID>
    </Document_Field_Result>
  </DocumentFieldResults>
  <DocumentID>4</DocumentID>
  <DocumentPath>sample string 6</DocumentPath>
  <DocumentTitle>sample string 5</DocumentTitle>
  <DocumentType>sample string 10</DocumentType>
  <EngineerID>12</EngineerID>
  <GUID>sample string 2</GUID>
  <ID>1</ID>
  <JobID>3</JobID>
  <Job_Appointment_EngineerID>13</Job_Appointment_EngineerID>
  <NewJobDocument>true</NewJobDocument>
  <Photo>
    <Base64>sample string 3</Base64>
    <Comments>sample string 6</Comments>
    <CreatedByID>12</CreatedByID>
    <CreatedDate>2026-09-01T18:55:33.6709175+01:00</CreatedDate>
    <DocumentID>8</DocumentID>
    <DocumentPath>sample string 13</DocumentPath>
    <DocumentTitle>sample string 7</DocumentTitle>
    <GUID>414090a4-54f5-4771-b019-81fbc5f2bcf2</GUID>
    <ID>1</ID>
    <JobID>10</JobID>
    <Job_Appointment_EngineerID>5</Job_Appointment_EngineerID>
    <Job_FilesGUID>ec7eed51-18c6-4ec3-a40a-0e38b21a5d13</Job_FilesGUID>
    <Latitude>14</Latitude>
    <Longitude>15</Longitude>
    <NewJobPhoto>true</NewJobPhoto>
  </Photo>
</Job_File>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.