POST api/relations/ReplaceRelationsByEntity
Replace Relations By Entity
Request Information
URI Parameters
None.
Body Parameters
WorkPoint365.WebAPI.Model.ReplaceRelationsByEntityParameter| Name | Description | Type | Additional 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": "6048edad-27ea-4c0c-917b-6d4fbcd29b68",
"FromEntityId": 2,
"ToBusinessModuleId": "1c1895ab-5f9b-4747-a126-f54fbaafa816",
"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>6048edad-27ea-4c0c-917b-6d4fbcd29b68</FromBusinessModuleId> <FromEntityId>2</FromEntityId> <ToBusinessModuleId>1c1895ab-5f9b-4747-a126-f54fbaafa816</ToBusinessModuleId> <ToEntityId>4</ToEntityId> </ReplaceRelationsByEntityParameter>
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.