POST api/relations/ReplaceRelationsByEntity

Replace Relations By Entity

Request Information

URI Parameters

None.

Body Parameters

WorkPoint365.WebAPI.Model.ReplaceRelationsByEntityParameter
NameDescriptionTypeAdditional information
FromBusinessModuleId

Gets or sets the from business module id.

globally unique identifier

None.

FromEntityId

Gets or sets the from entity id.

integer

None.

ToBusinessModuleId

Gets or sets the to business module id.

globally unique identifier

None.

ToEntityId

Gets or sets the to entity id.

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "FromBusinessModuleId": "e8b65d2f-984c-40ef-bea2-df67454d07f4",
  "FromEntityId": 2,
  "ToBusinessModuleId": "8c00c20c-19f2-4b57-abbb-b1d107b69b95",
  "ToEntityId": 4
}

application/xml, text/xml

Sample:
<ReplaceRelationsByEntityParameter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WorkPoint365.WebAPI.Model">
  <FromBusinessModuleId>e8b65d2f-984c-40ef-bea2-df67454d07f4</FromBusinessModuleId>
  <FromEntityId>2</FromEntityId>
  <ToBusinessModuleId>8c00c20c-19f2-4b57-abbb-b1d107b69b95</ToBusinessModuleId>
  <ToEntityId>4</ToEntityId>
</ReplaceRelationsByEntityParameter>

Response Information

Resource Description

System.Web.Http.IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.