POST api/sync/jobformfile

Request Information

URI Parameters

None.

Body Parameters

Collection of JobFormFileDTO
NameDescriptionTypeAdditional information
ServerFileID

integer

None.

JobFormFileID

integer

None.

JobFormID

integer

None.

OneDriveFileID

string

None.

OneDriveURL

string

None.

Image

string

None.

Filename

string

None.

Description

string

None.

Question

string

None.

MimeType

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "ServerFileID": 1,
    "JobFormFileID": 2,
    "JobFormID": 3,
    "OneDriveFileID": "sample string 4",
    "OneDriveURL": "sample string 5",
    "Image": "sample string 6",
    "Filename": "sample string 7",
    "Description": "sample string 8",
    "Question": "sample string 9",
    "MimeType": "sample string 10"
  },
  {
    "ServerFileID": 1,
    "JobFormFileID": 2,
    "JobFormID": 3,
    "OneDriveFileID": "sample string 4",
    "OneDriveURL": "sample string 5",
    "Image": "sample string 6",
    "Filename": "sample string 7",
    "Description": "sample string 8",
    "Question": "sample string 9",
    "MimeType": "sample string 10"
  }
]

application/xml, text/xml

Sample:
<ArrayOfJobFormFileDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EngineerSystem.Framework.DTO">
  <JobFormFileDTO>
    <Description>sample string 8</Description>
    <Filename>sample string 7</Filename>
    <Image>sample string 6</Image>
    <JobFormFileID>2</JobFormFileID>
    <JobFormID>3</JobFormID>
    <MimeType>sample string 10</MimeType>
    <OneDriveFileID>sample string 4</OneDriveFileID>
    <OneDriveURL>sample string 5</OneDriveURL>
    <Question>sample string 9</Question>
    <ServerFileID>1</ServerFileID>
  </JobFormFileDTO>
  <JobFormFileDTO>
    <Description>sample string 8</Description>
    <Filename>sample string 7</Filename>
    <Image>sample string 6</Image>
    <JobFormFileID>2</JobFormFileID>
    <JobFormID>3</JobFormID>
    <MimeType>sample string 10</MimeType>
    <OneDriveFileID>sample string 4</OneDriveFileID>
    <OneDriveURL>sample string 5</OneDriveURL>
    <Question>sample string 9</Question>
    <ServerFileID>1</ServerFileID>
  </JobFormFileDTO>
</ArrayOfJobFormFileDTO>

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 'List`1'.

Response Information

Resource Description

Collection of GenericResponse
NameDescriptionTypeAdditional information
ServerID

integer

None.

LocalID

integer

None.

LocalType

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ServerID": 1,
    "LocalID": 2,
    "LocalType": 3,
    "Message": "sample string 4"
  },
  {
    "ServerID": 1,
    "LocalID": 2,
    "LocalType": 3,
    "Message": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfGenericResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SRAPI.Services">
  <GenericResponse>
    <LocalID>2</LocalID>
    <LocalType>3</LocalType>
    <Message>sample string 4</Message>
    <ServerID>1</ServerID>
  </GenericResponse>
  <GenericResponse>
    <LocalID>2</LocalID>
    <LocalType>3</LocalType>
    <Message>sample string 4</Message>
    <ServerID>1</ServerID>
  </GenericResponse>
</ArrayOfGenericResponse>