POST api/Data
Request Information
URI Parameters
None.
Body Parameters
DataRequestName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
Attributes | Collection of EntityAttribute |
Required |
|
LogicalName | string |
Required |
Request Formats
application/json, text/json
Sample:
{ "Id": "cf115018-2953-40fa-b0b7-f9042c73ebd8", "Attributes": [ { "Key": "sample string 1", "Value": [ {}, {} ], "AttributeType": { "Type": "sample string 1", "LogicalName": "sample string 2" } }, { "Key": "sample string 1", "Value": [ {}, {} ], "AttributeType": { "Type": "sample string 1", "LogicalName": "sample string 2" } } ], "LogicalName": "sample string 1" }
application/xml, text/xml
Sample:
<DataRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Protech.UX.UX365API.Core.Models"> <Attributes> <EntityAttribute> <AttributeType> <LogicalName>sample string 2</LogicalName> <Type>sample string 1</Type> </AttributeType> <Key>sample string 1</Key> <Value xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:anyType /> <d4p1:anyType /> </Value> </EntityAttribute> <EntityAttribute> <AttributeType> <LogicalName>sample string 2</LogicalName> <Type>sample string 1</Type> </AttributeType> <Key>sample string 1</Key> <Value xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:anyType /> <d4p1:anyType /> </Value> </EntityAttribute> </Attributes> <Id>cf115018-2953-40fa-b0b7-f9042c73ebd8</Id> <LogicalName>sample string 1</LogicalName> </DataRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
globally unique identifierResponse Formats
application/json, text/json
Sample:
"5b63d2c5-dad7-4798-a5c0-d593a5ea38af"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">5b63d2c5-dad7-4798-a5c0-d593a5ea38af</guid>