Data Factory

Create or update

The Create or Update Data Factory operation creates a new data factory, or updates the content of an existing data factory.

Request

The Create or Update Data Factory request may be constructed as follows (HTTPS is recommended):.

HTTP Verb Request URI HTTP Version
PUT https://management.azure.com/subscriptions/{SubscriptionID}/resourcegroups/{ResourceGroupName}/providers/Microsoft.DataFactory/datafactories/{DataFactoryName}?api-version={api-version} HTTP/1.1

URI Parameters

URI Parameter Required Description
SubscriptionID Yes your Azure subscription ID.
ResourceGroupName Yes Unique name for the resource group that hosts your Azure data factory Service.
DataFactoryName Yes Name of data factory you want to create.
Api-Version Yes Specifies the version of the protocol used to make this request.

Request Headers

The following table describes the request headers.

Request Header Required Description
x-ms-client-request-id Yes The operation ID for this request.

Request Body

The format of the request body is as follows:

{  
    "name": <name>,  
    "location": <location>,  
    "tags": <tags>,  
    "properties": <properties>  
}  
  

The following table describes the elements of the request body.

Element Name Required Description
name Yes Specifies the name of data factory.
location Yes Specifies the supported Azure location of data factory.
tags No A list of key-value pairs that describe the resource.
properties No Properties of the data factory.

Response

The response includes an HTTP status code, a set of response headers, and a response body.

Status Code

  • 200 (OK) - if the request completed successfully.

  • 202 (Accepted) - if the request was accepted.

  • 400 (Bad Request) - if the request body failed validation.

  • 404 (NotFound) - if the subscription or resource group does not exist.

  • 412 (Precondition Failed) - if the condition specified by If-Match header failed.

  • 501 (Not Implemented) - if validate is not implemented.

Response Headers

The response for this operation includes the following headers. The response may also include additional standard HTTP headers. All standard headers conform to the HTTP/1.1 protocol specification.

Response Header Description
x-ms-request-id A unique identifier for the current operation, which is generated by the Data Factory service.
x-ms-ratelimit-remaining-subscription-writes The remaining limit for current subscription.
x-ms-correlation-request-id Specifies the tracing correlation ID for the request; the resource provider must log this ID so that end-to-end requests can be correlated across Azure.
x-ms-routing-request-id Location+DateTime+correlation-request-ID
Date A UTC date/time value generated by the service that indicates the time at which the response was initiated.
Location URI of the object you want to create or get.

Response Body

{
	"name": "<Name>",
	"id": "<ID>",
	"type": "Microsoft.DataFactory/datafactories",
	"location": "<location>",
	"tags": "<tag>",
	"properties": {
		"dataFactoryId": "<DataFactoryID>",
		"provisioningState": "<provisioningstate>",
		"error": "<Error>",
		"errorMessage": "<ErrorMessage>"
	}
} 
  

The following table describes the elements of the response body.

Element Name Description
name Specifies the name of the data factory.
id Specifies the identifying URL of the Data Factory.
location Specifies the supported Azure location of data factory.
tags A list of key-value pairs that describe the resource.
datafactoryID Auto-generated ID for this Data Factory.
provisioningstate Specifies the current provisioning state of the Data Factory. When a Data Factory is successfully created, the value of the element is Succeeded.
error Specifies whether an error occurred during deployment.
errormessage Message related to the error.

Sample Request and Response

For the following example URI:

PUT: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/adf/providers/Microsoft.DataFactory/datafactories/test?api-version=2015-10-01  

Request header:

  
Headers:  
x-ms-client-request-id        : 029a8839-027e-43c5-8854-af4388dcd232  
  

Request body:

Body:  
{  
  "name": "RestDataFactory",  
  "location": "West US",  
  "tags": {}  
}  
  

The following response is returned:

  
Status Code:  
Created  
  
Headers:  
Pragma                        : no-cache  
x-ms-request-id               : 00000000-1111-1111-1111-000000000000  
x-ms-ratelimit-remaining-subscription-writes: 11999  
x-ms-correlation-request-id   : 00000000-1111-2222-1111-000000000000  
x-ms-routing-request-id       : WESTUS:20141203T212810Z: 00000000-1111-2222-1111-000000000000  
Strict-Transport-Security     : max-age=31536000; includeSubDomains  
Cache-Control                 : no-cache  
Date                          : Wed, 03 Dec 2014 21:28:09 GMT  
Location                      : https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/adf/providers/Microsoft.DataFactory/datafactories/test?api-version=2015-10-01  
Server                        : Microsoft-IIS/8.5  
X-Powered-By                  : ASP.NET  
client-tracking-id            : 10  
The response includes the following XML body.  
{  
  "name": "test",  
  "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/adf/providers/Microsoft.DataFactory/datafactories/test",  
  "type": "Microsoft.DataFactory/datafactories",  
  "location": "westus",  
  "tags": {},  
  "properties": {  
    "dataFactoryId": "39d4e663-cfcb-4ee9-ad19-92cf87de9197",
    "provisioningState": "Succeeded",  
    "error": null,  
    "errorMessage": null  
  }  
}  
  

Delete

Deletes the specific data factory.

Request

The Delete Data Factory request may be constructed as follows (HTTPS is recommended):

HTTP Verb Request URI HTTP Version
DELETE https://management.azure.com/subscriptions/{SubscriptionID}/resourcegroups/{ResourceGroupName}/providers/Microsoft.DataFactory/datafactories/{DataFactoryName}?api-version={api-version} HTTP/1.1

URI Parameters

URI Parameter Required Description
SubscriptionID Yes Your Azure subscription ID.
ResourceGroupName Yes A unique name for the resource group that hosts your Azure data factory.
DataFactoryName Yes Name of the data factory you want to delete.
Api-Version Yes Specifies the version of the protocol used to make this request..

Request Headers

The following table describes the request headers:

Request Header Required Description
x-ms-client-request-id Yes The operation id for this request.

Request Body

None.

Response

The response includes an HTTP status code, a set of response headers, and a response body.

Status Code

  • 200 (OK) - if request was completed successfully.

  • 400 (Bad Request) - if request body fails validation.

  • 404 (NotFound) - if subscription or resource group does not exist.

  • 412 (Precondition Failed) - if condition specified by If-Match header failed.

  • 501 (Not Implemented) - if validate is not implemented

Response Headers

The response for this operation includes the following headers. The response may also include additional standard HTTP headers. All standard headers conform to the HTTP/1.1 protocol specification.

Response Header Description
x-ms-request-id A unique identifier for the current operation, service generated.
x-ms-ratelimit-remaining-subscription-writes The remaining limit for current subscription.
x-ms-correlation-request-id Specifies the tracing correlation Id for the request; the resource provider must log this so that end-to-end requests can be correlated across Azure.
x-ms-routing-request-id Location+DateTime+correlation-request-ID
Date A UTC date/time value generated by the service that indicates the time at which the response was initiated.

Response Body

None.

Sample Request and Response

Example URI:

DELETE: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/adf/providers/Microsoft.DataFactory/datafactories/test?api-version=2015-10-01  

The request is sent with the following headers:

x-ms-client-request-id        : 00000000-1111-1111-1111-000000000000  

After the request has been sent, the following response is returned:

  
Status Code:  
OK  
  
Headers:  
Pragma                        : no-cache  
x-ms-request-id               : f8c04a54-259b-4085-b596-e6c97fa6433a  
x-ms-ratelimit-remaining-subscription-writes: 1199  
x-ms-correlation-request-id   : ad02c0f4-ca01-49fe-b1d2-5149629d2412  
x-ms-routing-request-id       : EASTUS:20160205T230719Z:ad02c0f4-ca01-49fe-b1d2-5149629d2412  
Strict-Transport-Security     : max-age=31536000; includeSubDomains  
Cache-Control                 : no-cache  
Date                          : Fri, 05 Feb 2016 23:07:19 GMT  
Server                        : Microsoft-IIS/8.5  
X-Powered-By                  : ASP.NET  
  
Body:  
  

Get

Gets information about the specified data factory.

Request

The Get Data Factory request may be constructed as follows (HTTPS is recommended):

HTTP Verb Request URI HTTP Version
GET https://management.azure.com/subscriptions/{SubscriptionID}/resourcegroups/{ResourceGroupName}/providers/Microsoft.DataFactory/datafactories/{DataFactoryName}?api-version={api-version} HTTP/1.1

URI Parameters

URI Parameter Required Description
SubscriptionID Yes your Azure subscription ID
ResourceGroupName Yes The unique name for the resource group that hosts your Azure data factory.
DataFactoryName Yes Name of data factory you want to get.
Api-Version Yes Specifies the version of the protocol used to make this request.

Request Headers

The following table describes the request headers.

Request Header Required Description
x-ms-client-request-id Yes The operation ID for this request.

Request Body

None.

Response

The response includes an HTTP status code, a set of response headers, and a response body.

Status Code

  • 200 (OK) - if request was completed successfully.

  • 400 (Bad Request) - if request body fails validation.

  • 404 (NotFound) - if subscription or resource group does not exist.

  • 412 (Precondition Failed) - if condition specified by If-Match header failed.

  • 501 (Not Implemented) - if validate is not implemented

Response Headers

The response for this operation includes the following headers. The response may also include additional standard HTTP headers. All standard headers conform to the HTTP/1.1 protocol specification.

Response Header Description
x-ms-request-id A unique identifier for the current operation, service generated.
x-ms-ratelimit-remaining-subscription-writes The remaining limit for current subscription.
x-ms-correlation-request-id Specifies the tracing correlation Id for the request; the resource provider must log this so that end-to-end requests can be correlated across Azure.
x-ms-routing-request-id Location+DateTime+correlation-request-ID
Date A UTC date/time value generated by the service that indicates the time at which the response was initiated

Response Body

{  
    "name": "<Name>",  
    "id": "<ID>",  
    "type": "Microsoft.DataFactory/datafactories",  
    "location": "<location>",  
    "tags": "<tag>",  
    "properties": {  
        "dataFactoryId": "<DataFactoryID>",
        "provisioningState": "<provisioningstate>",  
        "error": "<Error>",  
        "errorMessage": "<ErrorMessage>"  
    }  
}  
  

The following table describes the elements of the response body.

Element Name Description
name Specifies the name of data factory
id Specifies the identifying URL of the Data Factory.
location Specifies the supported Azure location of data factory
tags A list of key-value pairs that describe the resource
datafactoryID Auto-generated ID for this data factory.
provisioningstate Specifies the current provisioning state of the Data Factory. When a Data Factory is successfully created, the value of the element is Succeeded
error Specifies whether any error occurred during deployment.
errormessage Message related to the error

Sample Request and Response

Example URI:

GET: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/adf/providers/Microsoft.DataFactory/datafactories/test?api-version=2015-10-01  

The request is sent with the following headers.

x-ms-client-request-id        : 00000000-1111-1111-1111-000000000000  

After the request has been sent, the following response is returned.

  
Status Code:  
OK  
  
Headers:  
Pragma                        : no-cache  
x-ms-request-id               : 00000000-1111-1111-1111-000000000000  
x-ms-ratelimit-remaining-subscription-writes: 799986  
x-ms-correlation-request-id   : 00000000-1111-2222-1111-000000000000  
x-ms-routing-request-id       : WESTUS:20141203T221428Z: 00000000-1111-2222-1111-000000000000  
Strict-Transport-Security     : max-age=31536000; includeSubDomains  
Cache-Control                 : no-cache  
Date                          : Wed, 03 Dec 2014 22:14:27 GMT  
Server                        : Microsoft-IIS/8.5  
X-Powered-By                  : ASP.NET  
  
The response includes the following XML body.  
{  
    "name": "test",  
    "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/adf/providers/Microsoft.DataFactory/datafactories/test",  
    "type": "Microsoft.DataFactory/datafactories",  
    "location": "westus",  
    "tags": {},  
    "properties": {  
        "dataFactoryId": "00000000-1111-1111-1111-000000000000",  
        "provisioningState": "Succeeded",  
        "error": null,  
        "errorMessage": null  
    }  
}  
  

List

Lists information of all data factories in a resource group.

Request

The List Data Factories request may be constructed as follows (HTTPS is recommended).:

HTTP Verb Request URI HTTP Version
GET https://management.azure.com/subscriptions/{SubscriptionID}/resourcegroups/{ResourceGroupName}/providers/Microsoft.DataFactory/datafactories?api-version={api-version} HTTP/1.1

URI Parameters

URI Parameter Required Description
SubscriptionID Yes Your Azure subscription ID.
ResourceGroupName Yes A unique name for the resource group that hosts your Azure data factory Service.
Api-Version Yes Specifies the version of the protocol used to make this request.

Request Headers

The following table describes the request headers.

Request Header Required Description
x-ms-client-request-id Yes The operation id for this request.

Request Body

None.

Response

The response includes an HTTP status code, a set of response headers, and a response body.

Status Code

  • 200 (OK) - if the request was completed successfully.

  • 400 (Bad Request) - if the request body fails validation.

  • 404 (NotFound) - if the subscription or resource group does not exist.

  • 412 (Precondition Failed) - if the condition specified by If-Match header failed.

Response Headers

The response for this operation includes the following headers. The response may also include additional standard HTTP headers. All standard headers conform to the HTTP/1.1 protocol specification.

Response Header Description
x-ms-request-id A unique identifier for the current operation, service generated.
x-ms-ratelimit-remaining-subscription-writes The remaining limit for current subscription.
x-ms-correlation-request-id Specifies the tracing correlation Id for the request. The resource provider must log this so that end-to-end requests can be correlated across Azure.
x-ms-routing-request-id Location+DateTime+correlation-request-ID
Date A UTC date/time value generated by the service that indicates the time at which the response was initiated.

Response Body

{  
    "value": [  
    {  
        "name": <name1> ,  
        "id": <id>,  
        "type": "Microsoft.DataFactory/datafactories",  
        "location": <location>,  
        "tags": {},  
        "properties": {  
            "dataFactoryId": <datafactoryID>
            "provisioningState": "Succeeded",  
            "error": null,  
            "errorMessage": null  
        }  
    },   
    {  
        "name": <name2> ,  
        "id": <id>,  
        "type": "Microsoft.DataFactory/datafactories",  
        "location": <location>,  
        "tags": {},  
        "properties": {  
            "dataFactoryId": <datafactoryID>
            "provisioningState": "Succeeded",  
            "error": null,  
            "errorMessage": null  
        }  
    }  
    ]  
}  
  

The following table describes the elements of the response body.

Element Name Description
name Specifies the name of data factory.
id Specifies the identifying URL of the Data Factory.
location Specifies the supported Azure location of data factory.
tags A list of key value pairs that describe the resource.
datafactoryID Auto-generated ID for this data factory.
provisioningstate Specifies the current provisioning state of the data factory. When a data factory is successfully created, the value of the element is Succeeded.
error Specifies any error occurred during deployment.
errormessage Message related to the error.

If there are more than 100 records, you will get 100 records at a time with a nextLink:

{
    "value": [  
    {  
        "name": <name1> ,  
        "id": <id>,  
        "type": "Microsoft.DataFactory/datafactories",  
        "location": <location>,  
        "tags": {},  
        "properties": {  
            "dataFactoryId": <datafactoryID>,
            "provisioningState": "Succeeded",  
            "error": null,  
            "errorMessage": null  
        }  
    },   
    {  
        "name": <name2> ,  
        "id": <id>,  
        "type": "Microsoft.DataFactory/datafactories",  
        "location": <location>,  
        "tags": {},  
        "properties": {  
            "dataFactoryId": <datafactoryID>,  
            "provisioningState": "Succeeded",  
            "error": null,  
            "errorMessage": null  
        }  
    }  
    ],  

    "nextLink": "https://management.azure.com/subscriptions/{subscription ID>/resourcegroups/{Resource group name>/providers/Microsoft.DataFactory/datafactories?api-version=2015-10-01&%24skipToken=MSExNiFSR0YwWVVGeWRHbG1ZV04wCjEhNTIhUkVGZlpUSXlaR1UyTXpndFpURTJNeTAwWXpZNUxUaGhNR0l0Wm1VMU1ETmpOakF4T0RObA%3d%3d"
}  

You send the next request using the nextLink URL to get the next set of records. You may need to wrap & with double quotes ("") in the nextLink URL. Only 100 records are returned at a time.

Sample Request and Response

Example URI:

GET: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/adf/providers/Microsoft.DataFactory/datafactories?api-version=2015-10-01  

The request is sent with the following headers.

x-ms-client-request-id        : 00000000-1111-1111-1111-000000000000  

After the request has been sent, the following response is returned.

  
Status Code:  
OK  
  
Headers:  
Pragma                        : no-cache  
x-ms-request-id               : 00000000-1111-1111-1111-000000000000  
x-ms-ratelimit-remaining-subscription-writes: 799986  
x-ms-correlation-request-id   : 00000000-1111-2222-1111-000000000000  
x-ms-routing-request-id       : WESTUS:20141203T221428Z: 00000000-1111-2222-1111-000000000000  
Strict-Transport-Security     : max-age=31536000; includeSubDomains  
Cache-Control                 : no-cache  
Date                          : Wed, 03 Dec 2014 22:14:27 GMT  
Server                        : Microsoft-IIS/8.5  
X-Powered-By                  : ASP.NET  
  
The response includes the following XML body.  
{  
"value": [  
    {  
        "name": "test",  
        "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/adf/providers/Microsoft.DataFactory/datafactories/test",  
        "type": "Microsoft.DataFactory/datafactories",  
        "location": "westus",  
        "tags": {},  
        "properties": {  
            "dataFactoryId": "00000000-1111-1111-1111-000000000000",  
            "provisioningState": "Succeeded",  
            "error": null,  
            "errorMessage": null  
        }  
    },  
    {  
        "name": "test2",  
        "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/adf/providers/Microsoft.DataFactory/datafactories/test2",  
        "type": "Microsoft.DataFactory/datafactories",  
        "location": "westus",  
        "tags": {},  
        "properties": {  
            "dataFactoryId": "00000000-1111-1111-1111-000000000001",  
            "provisioningState": "Succeeded",  
            "error": null,  
            "errorMessage": null  
        }  
    }  
]  
}  
  

List Activity Windows

Lists the first page of activity window instances associated with a data factory along with a link to the next page.

Request

The Get Activity window request may be constructed as follows (HTTPS is recommended):

HTTP Verb Request URI HTTP Version
POST https://management.azure.com/subscriptions/{SubscriptionID}/resourcegroups/{ResourceGroupName}/providers/Microsoft.DataFactory/datafactories/{DataFactoryName}/activitywindows?api-version={api-version} HTTP/1.1

URI Parameters

URI Parameter Required Description
SubscriptionID Yes Your Azure subscription ID.
ResourceGroupName Yes Name of the resource group that hosts your Azure data factory.
DataFactoryName Yes Name of the the data factory.
Api-Version Yes Specifies the version of the protocol used to make this request.

Request Headers

The following table describes the request headers.

Request Header Required Description
x-ms-client-request-id Yes The operation id for this request.

Request Body

Element name Description Required
Filter The activity window filter specified using Azure Search filter grammar. See https://msdn.microsoft.com/library/azure/dn798921.aspx for details. No
OrderBy Order the response by specified activity window properties. This is a list of comma separated properties. For example: WindowStart, PercentComplete. By befault, the order is ascending order (ASC). Specify DESC if you want the list to be ordered in descending order. No
Top The number of activity windows to be listed. No
RunStart The start time of activity window run. No
RunEnd The end time of activity window run. No
WindowStart The start time of activity window. No
WindowEnd The end time of activity window. No
WindowState The state of activity window. Must be one of the values specified in this article. No
WindowSubstate The substate of activity window. Must be one of the values specified in this article. No

Response

The response includes an HTTP status code, a set of response headers, and a response body.

Status Code

  • 200 (OK) - if the request completed successfully.

  • 400 (Bad Request) - if the request body fails validation.

  • 404 (NotFound) - if the subscription or resource group does not exist.

Response Headers

The response for this operation includes the following headers. The response may also include additional standard HTTP headers. All standard headers conform to the HTTP/1.1 protocol specification.

Response Header Description
x-ms-request-id A unique identifier for the current operation, service generated.
x-ms-ratelimit-remaining-subscription-writes The remaining limit for current subscription.
x-ms-correlation-request-id Specifies the tracing correlation Id for the request. The resource provider must log this so that end-to-end requests can be correlated across Azure.
x-ms-routing-request-id Location+DateTime+correlation-request-ID
Date A UTC date/time value generated by the service that indicates the time at which the response was initiated.

Response Body

{  
    "value": {  
    "activityWindows": [  
      {  
        "resourceGroupName": "<resource group name>",  
        "dataFactoryName": "<data factory name>",  
        "pipelineName": "<pipeline name>",  
        "activityName": "<Pipeline activity name.>",  
        "linkedServiceName": "<linked service name>",  
        "activityType": "<The activity type>",  
        "runAttempts": "<Number of activity run attempts.>",  
        "runStart": "<start time of the last run>",  
        "runEnd": "<end time of the last run>",  
        "duration": "<duration of the activity window>",  
        "percentComplete": "<percent completion of activity window>",  
        "windowStart": "<window start time>",  
        "windowEnd": "<window end time>",  
        "windowState": "<window state>",  
        "windowSubstate": "<window substate>",  
        "inputDatasets": "[<input dataset names>]",  
        "outputDatasets": [  
          "<output dataset names>"  
        ],  
        "inputDatasetIds":["<input dataset ids>"],  
        "outputDatasetIds": [  
          "<output dataset ids>" 
        ]  
      }  
    ],  
    "lastUpdate":"<The approximate time for the last activity windows>",  
    "aggregates": {}  
  },  
    "nextLink": "<Link to next page>"  
}  
  

Sample Request and Response

Example URI:

POST:https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/ADF/providers/Microsoft.DataFactory/datafactories/dfName/activitywindows?api-version=2015-10-01  

The request is sent with the following header and the body:

Header:

x-ms-client-request-id        : 00000000-1111-1111-1111-000000000000  

Body:

{
  "top": 5
}

After the request has been sent, the following response is returned.

  
Status Code:  
OK  
  
Headers:  
Pragma                        : no-cache  
x-ms-request-id               : 00000000-1111-1111-1111-000000000000  
x-ms-ratelimit-remaining-subscription-writes: 799985  
x-ms-correlation-request-id   : 00000000-1111-2222-1111-000000000000  
x-ms-routing-request-id       : WESTUS:20141203T213307Z: 00000000-1111-2222-1111-000000000000  
Strict-Transport-Security     : max-age=31536000; includeSubDomains  
Cache-Control                 : no-cache  
Date                          : Wed, 03 Dec 2014 21:33:07 GMT  
Server                        : Microsoft-IIS/8.5  
X-Powered-By                  : ASP.NET  
  

The response includes the following XML body.

"value": {  
    "activityWindows": [  
      {  
        "resourceGroupName": "rgName",  
        "dataFactoryName": "dfName",  
        "pipelineName": "DA_WikipediaClickEvents",  
        "activityName": "DA_WikipediaClickEvents",  
        "linkedServiceName": "LS_Wikipedia",  
        "activityType": "Copy",  
        "runAttempts": 1,  
        "runStart": "2016-01-26T21:41:48.636Z",  
        "runEnd": "2016-01-26T21:41:48.886Z",  
        "duration": "00:00:00.0000250",  
        "percentComplete": 100,  
        "windowStart": "2016-01-25T01:00:00Z",  
        "windowEnd": "2016-01-25T02:00:00Z",  
        "windowState": "Pending",  
        "windowSubstate": "Validating",  
        "inputDatasets": ["DA_WikipediaEvents"],  
        "outputDatasets": [  
           "DA_WikipediaClickEvents"  
        ],  
        "inputDatasetIds": ["308F5E07-5B0C-4AE9-95EB-9CEF26CFDD21"],  
        "outputDatasetIds": [  
          "1e4a0e42-5df3-4a7e-9860-7f75d306ff75"  
        ]  
      },
        {  
        "resourceGroupName": "rgName",  
        "dataFactoryName": "dfName",  
        "pipelineName": "DA_WikipediaClickEvents",  
        "activityName": "DA_WikipediaClickEvents",  
        "linkedServiceName": "LS_Wikipedia",  
        "activityType": "Copy",  
        "runAttempts": 1,  
        "runStart": "2016-01-26T21:41:48.636Z",  
        "runEnd": "2016-01-26T21:41:48.886Z",  
        "duration": "00:00:00.0000250",  
        "percentComplete": 100,  
        "windowStart": "2016-01-25T02:00:00Z",  
        "windowEnd": "2016-01-25T03:00:00Z",  
        "windowState": "Pending",  
        "windowSubstate": "Validating",  
        "inputDatasets": ["DA_WikipediaEvents"],  
        "outputDatasets": [  
           "DA_WikipediaClickEvents"  
        ],  
        "inputDatasetIds": ["308F5E07-5B0C-4AE9-95EB-9CEF26CFDD21"],  
        "outputDatasetIds": [  
          "1e4a0e42-5df3-4a7e-9860-7f75d306ff75"  
        ]  
      },
      {  
        "resourceGroupName": "rgName",  
        "dataFactoryName": "dfName",  
        "pipelineName": "DA_WikipediaClickEvents",  
        "activityName": "DA_WikipediaClickEvents",  
        "linkedServiceName": "LS_Wikipedia",  
        "activityType": "Copy",  
        "runAttempts": 1,  
        "runStart": "2016-01-26T21:41:48.636Z",  
        "runEnd": "2016-01-26T21:41:48.886Z",  
        "duration": "00:00:00.0000250",  
        "percentComplete": 100,  
        "windowStart": "2016-01-03:00:00Z",  
        "windowEnd": "2016-01-25T04:00:00Z",  
        "windowState": "Pending",  
        "windowSubstate": "Validating",  
        "inputDatasets": ["DA_WikipediaEvents"],  
        "outputDatasets": [  
           "DA_WikipediaClickEvents"  
        ],  
        "inputDatasetIds": ["308F5E07-5B0C-4AE9-95EB-9CEF26CFDD21"],  
        "outputDatasetIds": [  
          "1e4a0e42-5df3-4a7e-9860-7f75d306ff75"  
        ]  
      },
      {  
        "resourceGroupName": "rgName",  
        "dataFactoryName": "dfName",  
        "pipelineName": "DA_WikipediaClickEvents",  
        "activityName": "DA_WikipediaClickEvents",  
        "linkedServiceName": "LS_Wikipedia",  
        "activityType": "Copy",  
        "runAttempts": 1,  
        "runStart": "2016-01-26T21:41:48.636Z",  
        "runEnd": "2016-01-26T21:41:48.886Z",  
        "duration": "00:00:00.0000250",  
        "percentComplete": 100,  
        "windowStart": "2016-01-04:00:00Z",  
        "windowEnd": "2016-01-25T05:00:00Z",  
        "windowState": "Pending",  
        "windowSubstate": "Validating",  
        "inputDatasets": ["DA_WikipediaEvents"],  
        "outputDatasets": [  
           "DA_WikipediaClickEvents"  
        ],  
        "inputDatasetIds": ["308F5E07-5B0C-4AE9-95EB-9CEF26CFDD21"],  
        "outputDatasetIds": [  
          "1e4a0e42-5df3-4a7e-9860-7f75d306ff75"  
        ]  
      },
      {  
        "resourceGroupName": "rgName",  
        "dataFactoryName": "dfName",  
        "pipelineName": "DA_WikipediaClickEvents",  
        "activityName": "DA_WikipediaClickEvents",  
        "linkedServiceName": "LS_Wikipedia",  
        "activityType": "Copy",  
        "runAttempts": 1,  
        "runStart": "2016-01-26T21:41:48.636Z",  
        "runEnd": "2016-01-26T21:41:48.886Z",  
        "duration": "00:00:00.0000250",  
        "percentComplete": 100,  
        "windowStart": "2016-01-25T05:00:00Z",  
        "windowEnd": "2016-01-25T06:00:00Z",  
        "windowState": "Pending",  
        "windowSubstate": "Validating",  
        "inputDatasets": ["DA_WikipediaEvents"],  
        "outputDatasets": [  
           "DA_WikipediaClickEvents"  
        ],  
        "inputDatasetIds": ["308F5E07-5B0C-4AE9-95EB-9CEF26CFDD21"],  
        "outputDatasetIds": [  
          "1e4a0e42-5df3-4a7e-9860-7f75d306ff75"  
        ]  
      }
    ],  
    "lastUpdate": "2016-01-26T21:43:45.6837301+00:00",  
    "aggregates": {}  
  },  
    "nextLink": "https://localhost:86/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rgName/datafactories/dfName/activitywindows/skip=FG154H?ApiVerion01012015"}  
  

Use the nextLink URL to get the next page of results.

Using filter in the request body

{
  "filter": "(ActivityName eq 'BlobToSqlCopyActivity') and (PipelineName eq 'DP_WikipediaSamplePipeline')"
}