POST api/bkgrndjobs/add

Request Information

URI Parameters

None.

Body Parameters

BackGroundJobsDTO
NameDescriptionTypeAdditional information
Id

integer

None.

JobType

string

None.

RequestedBy

integer

None.

EmailId

string

None.

Cloud

string

None.

SubscriptionId

integer

None.

SubscriptionName

string

None.

RequestedDate

date

None.

JobStartDate

date

None.

JobEndDate

date

None.

Status

string

None.

Comments

string

None.

ApprovedBy

integer

None.

ApprovedDate

date

None.

CustomerId

integer

None.

TimeTaken

string

None.

LastUpdatedOn

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "JobType": "sample string 2",
  "RequestedBy": 3,
  "EmailId": "sample string 4",
  "Cloud": "sample string 5",
  "SubscriptionId": 6,
  "SubscriptionName": "sample string 7",
  "RequestedDate": "2025-09-05T08:40:48.4704875+00:00",
  "JobStartDate": "2025-09-05T08:40:48.4704875+00:00",
  "JobEndDate": "2025-09-05T08:40:48.4704875+00:00",
  "Status": "sample string 8",
  "Comments": "sample string 9",
  "ApprovedBy": 1,
  "ApprovedDate": "2025-09-05T08:40:48.4704875+00:00",
  "CustomerId": 1,
  "TimeTaken": "sample string 10",
  "LastUpdatedOn": "2025-09-05T08:40:48.4704875+00:00"
}

application/xml, text/xml

Sample:
<BackGroundJobsDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CA.BLayer.Common.Model">
  <ApprovedBy>1</ApprovedBy>
  <ApprovedDate>2025-09-05T08:40:48.4704875+00:00</ApprovedDate>
  <Cloud>sample string 5</Cloud>
  <Comments>sample string 9</Comments>
  <CustomerId>1</CustomerId>
  <EmailId>sample string 4</EmailId>
  <Id>1</Id>
  <JobEndDate>2025-09-05T08:40:48.4704875+00:00</JobEndDate>
  <JobStartDate>2025-09-05T08:40:48.4704875+00:00</JobStartDate>
  <JobType>sample string 2</JobType>
  <LastUpdatedOn>2025-09-05T08:40:48.4704875+00:00</LastUpdatedOn>
  <RequestedBy>3</RequestedBy>
  <RequestedDate>2025-09-05T08:40:48.4704875+00:00</RequestedDate>
  <Status>sample string 8</Status>
  <SubscriptionId>6</SubscriptionId>
  <SubscriptionName>sample string 7</SubscriptionName>
  <TimeTaken>sample string 10</TimeTaken>
</BackGroundJobsDTO>

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.