Get Job IDs
Get multiple Job ID.
Function
getJobIds()
Parameters
- username:
String
- Account login name.
- password:
String
- Account password.
- start date:
String
- The start date of the date range,
- In
yyyy-MM-dd
format
- end date:
String
- The end date of the date range
- In
yyyy-MM-dd
format
Return
int[]
:- Job ID array.
null
if no job exist in the Date Range.
Exception
- Exception
Documentation
- Get Job ID array in the Date Range.
Examples
public void getJobIds() throws java.lang.Exception {
Puresend p = new Puresend();
PuresendPortType port = p.getPuresendHttpsSoap12Endpoint();
String username = "XXX";
String password = "XXX";
intp[] jobIds = port.getJobIds(username, password, "2018-01-01", "2018-08-27");
}
<?php
include 'puresend.php';
$p = new Puresend();
$getJobIdsData = new getJobIds();
$getJobIdsData->username = 'XXX';
$getJobIdsData->password = 'XXX';
$getJobIdsData->startDate = "2018-01-01";
$getJobIdsData->endDate = "2018-08-27";
$response = $p->getJobIds($getJobIdsData);
var_dump($response);
?>