PUT api/DataEntityRelationships/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
Collection of DataEntityRelationship| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| DataEntityId | integer |
None. |
|
| DataEntityEndpointId | integer |
None. |
|
| SourceTableId | integer |
None. |
|
| SourceKeyFieldId | integer |
None. |
|
| TargetTableId | integer |
None. |
|
| TargetKeyFieldId | integer |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"DataEntityId": 2,
"DataEntityEndpointId": 3,
"SourceTableId": 4,
"SourceKeyFieldId": 5,
"TargetTableId": 6,
"TargetKeyFieldId": 7
},
{
"Id": 1,
"DataEntityId": 2,
"DataEntityEndpointId": 3,
"SourceTableId": 4,
"SourceKeyFieldId": 5,
"TargetTableId": 6,
"TargetKeyFieldId": 7
}
]
application/xml, text/xml
Sample:
<ArrayOfDataEntityRelationship xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DOMDM.WebApi.Models">
<DataEntityRelationship>
<DataEntityEndpointId>3</DataEntityEndpointId>
<DataEntityId>2</DataEntityId>
<Id>1</Id>
<SourceKeyFieldId>5</SourceKeyFieldId>
<SourceTableId>4</SourceTableId>
<TargetKeyFieldId>7</TargetKeyFieldId>
<TargetTableId>6</TargetTableId>
</DataEntityRelationship>
<DataEntityRelationship>
<DataEntityEndpointId>3</DataEntityEndpointId>
<DataEntityId>2</DataEntityId>
<Id>1</Id>
<SourceKeyFieldId>5</SourceKeyFieldId>
<SourceTableId>4</SourceTableId>
<TargetKeyFieldId>7</TargetKeyFieldId>
<TargetTableId>6</TargetTableId>
</DataEntityRelationship>
</ArrayOfDataEntityRelationship>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.