POST api/OutBoundJobs

Add job to out bound job list.

Request Information

URI Parameters

None.

Body Parameters

Job data to be added

OutBoundJob
NameDescriptionTypeAdditional information
JobID

Job unique identifier

string

None.

JobName

Name of the job

string

None.

JobBinary

Binary containing sqlite db for the job

Collection of byte

None.

MD5

Validation hash of the job's sqlite db

string

None.

UserID

User unique identifier for job owner

string

None.

Request Formats

application/json, text/json

Sample:
{
  "JobID": "sample string 1",
  "JobName": "sample string 2",
  "JobBinary": "QEA=",
  "MD5": "sample string 3",
  "UserID": "sample string 5"
}

application/xml, text/xml

Sample:
<OutBoundJob xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TGTWebServices.Models">
  <JobBinary>QEA=</JobBinary>
  <JobID>sample string 1</JobID>
  <JobName>sample string 2</JobName>
  <MD5>sample string 3</MD5>
  <UserID>sample string 5</UserID>
</OutBoundJob>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

201 (created)

OutBoundJob
NameDescriptionTypeAdditional information
JobID

Job unique identifier

string

None.

JobName

Name of the job

string

None.

JobBinary

Binary containing sqlite db for the job

Collection of byte

None.

MD5

Validation hash of the job's sqlite db

string

None.

UserID

User unique identifier for job owner

string

None.

Response Formats

application/json, text/json

Sample:
{
  "JobID": "sample string 1",
  "JobName": "sample string 2",
  "JobBinary": "QEA=",
  "MD5": "sample string 3",
  "UserID": "sample string 5"
}

application/xml, text/xml

Sample:
<OutBoundJob xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TGTWebServices.Models">
  <JobBinary>QEA=</JobBinary>
  <JobID>sample string 1</JobID>
  <JobName>sample string 2</JobName>
  <MD5>sample string 3</MD5>
  <UserID>sample string 5</UserID>
</OutBoundJob>