POST api/JobGeneral/SendData

Request Information

URI Parameters

None.

Body Parameters

Rootobject
NameDescriptionTypeAdditional information
job_id

Object

None.

tasks

Collection of Task

None.

Request Formats

application/json, text/json

Sample:
{
  "job_id": {},
  "tasks": [
    {
      "documents": [
        {
          "master_schedule_id": "sample string 1",
          "drive_id": "sample string 2",
          "folder_id": "sample string 3",
          "drive_item_id": "sample string 4",
          "label": "sample string 5"
        },
        {
          "master_schedule_id": "sample string 1",
          "drive_id": "sample string 2",
          "folder_id": "sample string 3",
          "drive_item_id": "sample string 4",
          "label": "sample string 5"
        }
      ],
      "task_title": "sample string 1",
      "start_date": "2025-04-04T12:54:13.3307223+10:00",
      "completed_date": "2025-04-04T12:54:13.3307223+10:00",
      "element_id": "sample string 4",
      "process_run_id": 5
    },
    {
      "documents": [
        {
          "master_schedule_id": "sample string 1",
          "drive_id": "sample string 2",
          "folder_id": "sample string 3",
          "drive_item_id": "sample string 4",
          "label": "sample string 5"
        },
        {
          "master_schedule_id": "sample string 1",
          "drive_id": "sample string 2",
          "folder_id": "sample string 3",
          "drive_item_id": "sample string 4",
          "label": "sample string 5"
        }
      ],
      "task_title": "sample string 1",
      "start_date": "2025-04-04T12:54:13.3307223+10:00",
      "completed_date": "2025-04-04T12:54:13.3307223+10:00",
      "element_id": "sample string 4",
      "process_run_id": 5
    }
  ]
}

text/html

Sample:
{"job_id":{},"tasks":[{"documents":[{"master_schedule_id":"sample string 1","drive_id":"sample string 2","folder_id":"sample string 3","drive_item_id":"sample string 4","label":"sample string 5"},{"master_schedule_id":"sample string 1","drive_id":"sample string 2","folder_id":"sample string 3","drive_item_id":"sample string 4","label":"sample string 5"}],"task_title":"sample string 1","start_date":"2025-04-04T12:54:13.3307223+10:00","completed_date":"2025-04-04T12:54:13.3307223+10:00","element_id":"sample string 4","process_run_id":5},{"documents":[{"master_schedule_id":"sample string 1","drive_id":"sample string 2","folder_id":"sample string 3","drive_item_id":"sample string 4","label":"sample string 5"},{"master_schedule_id":"sample string 1","drive_id":"sample string 2","folder_id":"sample string 3","drive_item_id":"sample string 4","label":"sample string 5"}],"task_title":"sample string 1","start_date":"2025-04-04T12:54:13.3307223+10:00","completed_date":"2025-04-04T12:54:13.3307223+10:00","element_id":"sample string 4","process_run_id":5}]}

application/xml, text/xml

Sample:
<JobGeneralController.Rootobject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IhubWS.Controllers">
  <job_id />
  <tasks>
    <JobGeneralController.Task>
      <completed_date>2025-04-04T12:54:13.3307223+10:00</completed_date>
      <documents>
        <JobGeneralController.Document>
          <drive_id>sample string 2</drive_id>
          <drive_item_id>sample string 4</drive_item_id>
          <folder_id>sample string 3</folder_id>
          <label>sample string 5</label>
          <master_schedule_id>sample string 1</master_schedule_id>
        </JobGeneralController.Document>
        <JobGeneralController.Document>
          <drive_id>sample string 2</drive_id>
          <drive_item_id>sample string 4</drive_item_id>
          <folder_id>sample string 3</folder_id>
          <label>sample string 5</label>
          <master_schedule_id>sample string 1</master_schedule_id>
        </JobGeneralController.Document>
      </documents>
      <element_id>sample string 4</element_id>
      <process_run_id>5</process_run_id>
      <start_date>2025-04-04T12:54:13.3307223+10:00</start_date>
      <task_title>sample string 1</task_title>
    </JobGeneralController.Task>
    <JobGeneralController.Task>
      <completed_date>2025-04-04T12:54:13.3307223+10:00</completed_date>
      <documents>
        <JobGeneralController.Document>
          <drive_id>sample string 2</drive_id>
          <drive_item_id>sample string 4</drive_item_id>
          <folder_id>sample string 3</folder_id>
          <label>sample string 5</label>
          <master_schedule_id>sample string 1</master_schedule_id>
        </JobGeneralController.Document>
        <JobGeneralController.Document>
          <drive_id>sample string 2</drive_id>
          <drive_item_id>sample string 4</drive_item_id>
          <folder_id>sample string 3</folder_id>
          <label>sample string 5</label>
          <master_schedule_id>sample string 1</master_schedule_id>
        </JobGeneralController.Document>
      </documents>
      <element_id>sample string 4</element_id>
      <process_run_id>5</process_run_id>
      <start_date>2025-04-04T12:54:13.3307223+10:00</start_date>
      <task_title>sample string 1</task_title>
    </JobGeneralController.Task>
  </tasks>
</JobGeneralController.Rootobject>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

StatusCodeResult
NameDescriptionTypeAdditional information
StatusCode

HttpStatusCode

None.

Request

HttpRequestMessage

None.

Response Formats

application/json, text/json, text/html

Sample:

Sample not available.