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": "6c8d116d-aec3-457a-9750-5ae498a351a8",
"FromEntityId": 2,
"ToBusinessModuleId": "0a80d2ce-584c-4450-bcd0-c2dfeaeacc5f",
"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>6c8d116d-aec3-457a-9750-5ae498a351a8</FromBusinessModuleId> <FromEntityId>2</FromEntityId> <ToBusinessModuleId>0a80d2ce-584c-4450-bcd0-c2dfeaeacc5f</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.