PUT api/Entities?viewId={viewId}&page={page}&size={size}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| viewId | string |
Required |
|
| page | integer |
Required |
|
| size | integer |
Required |
Body Parameters
Entity| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | string |
None. |
|
| UpdateEntityId | string |
None. |
|
| LogicalName | string |
None. |
|
| Attributes | Collection of Attribute |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "sample string 1",
"UpdateEntityId": "sample string 2",
"LogicalName": "sample string 3",
"Attributes": [
{
"Label": "sample string 1",
"AttributeName": "sample string 2",
"DecimalAttributeValue": 3.0,
"WholeNumberAttributeValue": 4,
"AttributeValue": "sample string 5",
"MoneyAttributeValue": 6.0,
"OptionSetAttributeValue": {
"Id": "sample string 1",
"Name": "sample string 2"
},
"AttributeType": "sample string 7"
},
{
"Label": "sample string 1",
"AttributeName": "sample string 2",
"DecimalAttributeValue": 3.0,
"WholeNumberAttributeValue": 4,
"AttributeValue": "sample string 5",
"MoneyAttributeValue": 6.0,
"OptionSetAttributeValue": {
"Id": "sample string 1",
"Name": "sample string 2"
},
"AttributeType": "sample string 7"
}
]
}
application/xml, text/xml
Sample:
<Entity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AltaiStandard.Web.Services.Models">
<Attributes>
<Attribute>
<AttributeName>sample string 2</AttributeName>
<AttributeType>sample string 7</AttributeType>
<AttributeValue>sample string 5</AttributeValue>
<DecimalAttributeValue>3</DecimalAttributeValue>
<Label>sample string 1</Label>
<MoneyAttributeValue>6</MoneyAttributeValue>
<OptionSetAttributeValue>
<Id>sample string 1</Id>
<Name>sample string 2</Name>
</OptionSetAttributeValue>
<WholeNumberAttributeValue>4</WholeNumberAttributeValue>
</Attribute>
<Attribute>
<AttributeName>sample string 2</AttributeName>
<AttributeType>sample string 7</AttributeType>
<AttributeValue>sample string 5</AttributeValue>
<DecimalAttributeValue>3</DecimalAttributeValue>
<Label>sample string 1</Label>
<MoneyAttributeValue>6</MoneyAttributeValue>
<OptionSetAttributeValue>
<Id>sample string 1</Id>
<Name>sample string 2</Name>
</OptionSetAttributeValue>
<WholeNumberAttributeValue>4</WholeNumberAttributeValue>
</Attribute>
</Attributes>
<Id>sample string 1</Id>
<LogicalName>sample string 3</LogicalName>
<UpdateEntityId>sample string 2</UpdateEntityId>
</Entity>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ViewResults| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | string |
None. |
|
| Columns | Collection of string |
None. |
|
| ColumnIdentitiers | Collection of string |
None. |
|
| ColumnFieldNameAndHeader | Collection of Dictionary of string [key] and string [value] |
None. |
|
| Attributes | Collection of Dictionary of string [key] and string [value] |
None. |
|
| Rows | Collection of Entity |
None. |
|
| PageIndex | integer |
None. |
|
| PageSize | integer |
None. |
|
| Length | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": "sample string 1",
"Columns": [
"sample string 1",
"sample string 2"
],
"ColumnIdentitiers": [
"sample string 1",
"sample string 2"
],
"ColumnFieldNameAndHeader": [
{
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
{
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
}
],
"Attributes": [
{
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
{
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
}
],
"Rows": [
{
"Id": "sample string 1",
"UpdateEntityId": "sample string 2",
"LogicalName": "sample string 3",
"Attributes": [
{
"Label": "sample string 1",
"AttributeName": "sample string 2",
"DecimalAttributeValue": 3.0,
"WholeNumberAttributeValue": 4,
"AttributeValue": "sample string 5",
"MoneyAttributeValue": 6.0,
"OptionSetAttributeValue": {
"Id": "sample string 1",
"Name": "sample string 2"
},
"AttributeType": "sample string 7"
},
{
"Label": "sample string 1",
"AttributeName": "sample string 2",
"DecimalAttributeValue": 3.0,
"WholeNumberAttributeValue": 4,
"AttributeValue": "sample string 5",
"MoneyAttributeValue": 6.0,
"OptionSetAttributeValue": {
"Id": "sample string 1",
"Name": "sample string 2"
},
"AttributeType": "sample string 7"
}
]
},
{
"Id": "sample string 1",
"UpdateEntityId": "sample string 2",
"LogicalName": "sample string 3",
"Attributes": [
{
"Label": "sample string 1",
"AttributeName": "sample string 2",
"DecimalAttributeValue": 3.0,
"WholeNumberAttributeValue": 4,
"AttributeValue": "sample string 5",
"MoneyAttributeValue": 6.0,
"OptionSetAttributeValue": {
"Id": "sample string 1",
"Name": "sample string 2"
},
"AttributeType": "sample string 7"
},
{
"Label": "sample string 1",
"AttributeName": "sample string 2",
"DecimalAttributeValue": 3.0,
"WholeNumberAttributeValue": 4,
"AttributeValue": "sample string 5",
"MoneyAttributeValue": 6.0,
"OptionSetAttributeValue": {
"Id": "sample string 1",
"Name": "sample string 2"
},
"AttributeType": "sample string 7"
}
]
}
],
"PageIndex": 2,
"PageSize": 3,
"Length": 4
}
application/xml, text/xml
Sample:
<ViewResults xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AltaiStandard.Web.Services.Models">
<Attributes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:ArrayOfKeyValueOfstringstring>
<d2p1:KeyValueOfstringstring>
<d2p1:Key>sample string 1</d2p1:Key>
<d2p1:Value>sample string 2</d2p1:Value>
</d2p1:KeyValueOfstringstring>
<d2p1:KeyValueOfstringstring>
<d2p1:Key>sample string 3</d2p1:Key>
<d2p1:Value>sample string 4</d2p1:Value>
</d2p1:KeyValueOfstringstring>
</d2p1:ArrayOfKeyValueOfstringstring>
<d2p1:ArrayOfKeyValueOfstringstring>
<d2p1:KeyValueOfstringstring>
<d2p1:Key>sample string 1</d2p1:Key>
<d2p1:Value>sample string 2</d2p1:Value>
</d2p1:KeyValueOfstringstring>
<d2p1:KeyValueOfstringstring>
<d2p1:Key>sample string 3</d2p1:Key>
<d2p1:Value>sample string 4</d2p1:Value>
</d2p1:KeyValueOfstringstring>
</d2p1:ArrayOfKeyValueOfstringstring>
</Attributes>
<ColumnFieldNameAndHeader xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:ArrayOfKeyValueOfstringstring>
<d2p1:KeyValueOfstringstring>
<d2p1:Key>sample string 1</d2p1:Key>
<d2p1:Value>sample string 2</d2p1:Value>
</d2p1:KeyValueOfstringstring>
<d2p1:KeyValueOfstringstring>
<d2p1:Key>sample string 3</d2p1:Key>
<d2p1:Value>sample string 4</d2p1:Value>
</d2p1:KeyValueOfstringstring>
</d2p1:ArrayOfKeyValueOfstringstring>
<d2p1:ArrayOfKeyValueOfstringstring>
<d2p1:KeyValueOfstringstring>
<d2p1:Key>sample string 1</d2p1:Key>
<d2p1:Value>sample string 2</d2p1:Value>
</d2p1:KeyValueOfstringstring>
<d2p1:KeyValueOfstringstring>
<d2p1:Key>sample string 3</d2p1:Key>
<d2p1:Value>sample string 4</d2p1:Value>
</d2p1:KeyValueOfstringstring>
</d2p1:ArrayOfKeyValueOfstringstring>
</ColumnFieldNameAndHeader>
<ColumnIdentitiers xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</ColumnIdentitiers>
<Columns xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</Columns>
<Id>sample string 1</Id>
<Length>4</Length>
<PageIndex>2</PageIndex>
<PageSize>3</PageSize>
<Rows>
<Entity>
<Attributes>
<Attribute>
<AttributeName>sample string 2</AttributeName>
<AttributeType>sample string 7</AttributeType>
<AttributeValue>sample string 5</AttributeValue>
<DecimalAttributeValue>3</DecimalAttributeValue>
<Label>sample string 1</Label>
<MoneyAttributeValue>6</MoneyAttributeValue>
<OptionSetAttributeValue>
<Id>sample string 1</Id>
<Name>sample string 2</Name>
</OptionSetAttributeValue>
<WholeNumberAttributeValue>4</WholeNumberAttributeValue>
</Attribute>
<Attribute>
<AttributeName>sample string 2</AttributeName>
<AttributeType>sample string 7</AttributeType>
<AttributeValue>sample string 5</AttributeValue>
<DecimalAttributeValue>3</DecimalAttributeValue>
<Label>sample string 1</Label>
<MoneyAttributeValue>6</MoneyAttributeValue>
<OptionSetAttributeValue>
<Id>sample string 1</Id>
<Name>sample string 2</Name>
</OptionSetAttributeValue>
<WholeNumberAttributeValue>4</WholeNumberAttributeValue>
</Attribute>
</Attributes>
<Id>sample string 1</Id>
<LogicalName>sample string 3</LogicalName>
<UpdateEntityId>sample string 2</UpdateEntityId>
</Entity>
<Entity>
<Attributes>
<Attribute>
<AttributeName>sample string 2</AttributeName>
<AttributeType>sample string 7</AttributeType>
<AttributeValue>sample string 5</AttributeValue>
<DecimalAttributeValue>3</DecimalAttributeValue>
<Label>sample string 1</Label>
<MoneyAttributeValue>6</MoneyAttributeValue>
<OptionSetAttributeValue>
<Id>sample string 1</Id>
<Name>sample string 2</Name>
</OptionSetAttributeValue>
<WholeNumberAttributeValue>4</WholeNumberAttributeValue>
</Attribute>
<Attribute>
<AttributeName>sample string 2</AttributeName>
<AttributeType>sample string 7</AttributeType>
<AttributeValue>sample string 5</AttributeValue>
<DecimalAttributeValue>3</DecimalAttributeValue>
<Label>sample string 1</Label>
<MoneyAttributeValue>6</MoneyAttributeValue>
<OptionSetAttributeValue>
<Id>sample string 1</Id>
<Name>sample string 2</Name>
</OptionSetAttributeValue>
<WholeNumberAttributeValue>4</WholeNumberAttributeValue>
</Attribute>
</Attributes>
<Id>sample string 1</Id>
<LogicalName>sample string 3</LogicalName>
<UpdateEntityId>sample string 2</UpdateEntityId>
</Entity>
</Rows>
</ViewResults>