GET api/Data?FetchXml={FetchXml}&PageNumber={PageNumber}&PageCount={PageCount}&PagingCookie={PagingCookie}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| FetchXml | string |
Required |
|
| PageNumber | integer |
Default value is 1 |
|
| PageCount | integer |
Default value is 250 |
|
| PagingCookie | string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
DataResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| PagingCookie | string |
None. |
|
| MoreRecords | boolean |
None. |
|
| RecordsCount | integer |
None. |
|
| Records | Collection of RecordResponse |
None. |
Response Formats
application/json, text/json
Sample:
{
"PagingCookie": "sample string 1",
"MoreRecords": true,
"RecordsCount": 3,
"Records": [
{
"Attributes": [
{
"FormattedValue": [
"sample string 1",
"sample string 2"
],
"Key": "sample string 1",
"Value": [
{},
{}
],
"AttributeType": {
"Type": "sample string 1",
"LogicalName": "sample string 2"
}
},
{
"FormattedValue": [
"sample string 1",
"sample string 2"
],
"Key": "sample string 1",
"Value": [
{},
{}
],
"AttributeType": {
"Type": "sample string 1",
"LogicalName": "sample string 2"
}
}
]
},
{
"Attributes": [
{
"FormattedValue": [
"sample string 1",
"sample string 2"
],
"Key": "sample string 1",
"Value": [
{},
{}
],
"AttributeType": {
"Type": "sample string 1",
"LogicalName": "sample string 2"
}
},
{
"FormattedValue": [
"sample string 1",
"sample string 2"
],
"Key": "sample string 1",
"Value": [
{},
{}
],
"AttributeType": {
"Type": "sample string 1",
"LogicalName": "sample string 2"
}
}
]
}
]
}
application/xml, text/xml
Sample:
<DataResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Protech.UX.UX365API.Core.Models">
<MoreRecords>true</MoreRecords>
<PagingCookie>sample string 1</PagingCookie>
<Records>
<RecordResponse>
<Attributes>
<AttributeResponse>
<AttributeType>
<LogicalName>sample string 2</LogicalName>
<Type>sample string 1</Type>
</AttributeType>
<Key>sample string 1</Key>
<Value xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d6p1:anyType />
<d6p1:anyType />
</Value>
<FormattedValue xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d6p1:string>sample string 1</d6p1:string>
<d6p1:string>sample string 2</d6p1:string>
</FormattedValue>
</AttributeResponse>
<AttributeResponse>
<AttributeType>
<LogicalName>sample string 2</LogicalName>
<Type>sample string 1</Type>
</AttributeType>
<Key>sample string 1</Key>
<Value xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d6p1:anyType />
<d6p1:anyType />
</Value>
<FormattedValue xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d6p1:string>sample string 1</d6p1:string>
<d6p1:string>sample string 2</d6p1:string>
</FormattedValue>
</AttributeResponse>
</Attributes>
</RecordResponse>
<RecordResponse>
<Attributes>
<AttributeResponse>
<AttributeType>
<LogicalName>sample string 2</LogicalName>
<Type>sample string 1</Type>
</AttributeType>
<Key>sample string 1</Key>
<Value xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d6p1:anyType />
<d6p1:anyType />
</Value>
<FormattedValue xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d6p1:string>sample string 1</d6p1:string>
<d6p1:string>sample string 2</d6p1:string>
</FormattedValue>
</AttributeResponse>
<AttributeResponse>
<AttributeType>
<LogicalName>sample string 2</LogicalName>
<Type>sample string 1</Type>
</AttributeType>
<Key>sample string 1</Key>
<Value xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d6p1:anyType />
<d6p1:anyType />
</Value>
<FormattedValue xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d6p1:string>sample string 1</d6p1:string>
<d6p1:string>sample string 2</d6p1:string>
</FormattedValue>
</AttributeResponse>
</Attributes>
</RecordResponse>
</Records>
<RecordsCount>3</RecordsCount>
</DataResponse>