Skip to content

Commit 06ec42b

Browse files
authored
[ILX-60230] Update the know limitation (#52)
* Updated Job Run API description * Update the know limitation
1 parent ab89470 commit 06ec42b

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

source/includes/acts/post_api.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1516,17 +1516,21 @@ IRestResponse response = client.Execute(request);
15161516

15171517
This section outlines how to trigger a job run for Batch Job, Data Import Job, or Data Export Job using the designated API endpoint. The endpoint sets run_now_ind = Yes for a job for a specified tenant and returns a response indicating whether the job record was successfully updated.
15181518

1519+
<aside class="notice">
1520+
<b>Known Limitation:</b> The Job Run endpoint requires the tenant name to be included in both the subdomain and the URL path. This is a known limitation and will be fixed in a future release.
1521+
</aside>
1522+
15191523
**Job Run POST Endpoint**
15201524

1521-
`POST` /actsapi/v1/job/run
1525+
`POST` /actsapi/v1/job/[tenant]/run
15221526

15231527
> Example Request & JSON Input Body
15241528
15251529
```javascript
15261530
var request = require("request");
15271531

15281532
var options = { method: 'POST',
1529-
url: 'https://[tenant].actsapi.intelex.com/actsapi/v1/job/run',
1533+
url: 'https://[tenant].actsapi.intelex.com/actsapi/v1/job/[tenant]/run',
15301534
headers: { 'content-type': 'application/json' },
15311535
body:
15321536
{
@@ -1543,7 +1547,7 @@ request(options, function (error, response, body) {
15431547
```
15441548

15451549
```csharp
1546-
var client = new RestClient("https://[tenant].actsapi.intelex.com/actsapi/v1/job/run");
1550+
var client = new RestClient("https://[tenant].actsapi.intelex.com/actsapi/v1/job/[tenant]/run");
15471551
var request = new RestRequest(Method.POST);
15481552
request.AddHeader("content-type", "application/json");
15491553
request.AddParameter("application/json", "{\"jobType\":\"BATCH_JOB\",\"jobIds\":[25]}", ParameterType.RequestBody);

0 commit comments

Comments
 (0)